Skip to content

Commit a0be5fc

Browse files
committed
create user service webflux from ingestion service code
1 parent f74936e commit a0be5fc

34 files changed

+288
-886
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ RUN mvn clean package -DskipTests
99
# ---- Run stage ----
1010
FROM eclipse-temurin:21-jdk-alpine
1111
WORKDIR /app
12-
COPY --from=build /app/target/ingestion-0.0.1-SNAPSHOT.jar app.jar
12+
COPY --from=build /app/target/user-0.0.1-SNAPSHOT.jar app.jar
1313
ENTRYPOINT ["java", "-jar", "app.jar", "--spring.profiles.active=webflux"]

collections/restapi-collection.json

Lines changed: 0 additions & 255 deletions
This file was deleted.

docker-compose.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
services:
2-
ingestion-webflux:
2+
user-webflux:
33
build: .
4-
container_name: ingestion-webflux
4+
container_name: user-webflux
55
environment:
66
- SERVER_PORT=8181
7+
- MONGODB_URI=mongodb://user:pass@mongo:27017/minisocialdb?authSource=admin
8+
- MONGODB_DATABASE=minisocialdb
79
ports:
810
- "8181:8181"
911
networks:

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>br.edu.ufrn</groupId>
12-
<artifactId>ingestion</artifactId>
12+
<artifactId>user</artifactId>
1313
<version>0.0.1-SNAPSHOT</version>
14-
<name>ingestion</name>
15-
<description>Ingestion Service</description>
14+
<name>user</name>
15+
<description>User Webflux Service</description>
1616
<url/>
1717
<licenses>
1818
<license/>
@@ -44,7 +44,7 @@
4444
<!-- Storage dependencies -->
4545
<dependency>
4646
<groupId>org.springframework.boot</groupId>
47-
<artifactId>spring-boot-starter-data-cassandra</artifactId>
47+
<artifactId>spring-boot-starter-data-mongodb-reactive</artifactId>
4848
</dependency>
4949
<dependency>
5050
<groupId>org.redisson</groupId>

src/main/java/br/edu/ufrn/ingestion/controller/IngestionGraphQLController.java

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)