Skip to content
Snippets Groups Projects
Commit 2db3ac49 authored by Martin Weise's avatar Martin Weise
Browse files

structure now according to mavens standard

parent 0fe83439
No related branches found
No related tags found
No related merge requests found
Showing
with 77 additions and 6 deletions
version: "3.6"
volumes:
fda-metadata-db-data:
services:
fda-metadata-db:
restart: always
container_name: fda-metadata-db
hostname: fda-metadata-db
image: postgres:13-alpine
volumes:
- fda-metadata-db-data:/var/lib/postgresql/data
network_mode: bridge
ports:
- 5432:5432
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: fda
fda-discovery-server:
restart: always
container_name: fda-discovery-server
hostname: fda-discovery-server
build: ./fda-discovery-server
......@@ -14,6 +35,7 @@ services:
- 9090:9090
fda-gateway-service:
restart: always
container_name: fda-gateway-service
hostname: fda-gateway-service
build: ./fda-gateway-service
......@@ -39,6 +61,7 @@ services:
driver: json-file
fda-database-managing-service:
restart: always
container_name: fda-database-managing-service
hostname: fda-database-managing-service
build:
......@@ -59,6 +82,7 @@ services:
driver: json-file
fda-container-managing-service:
restart: always
container_name: fda-container-managing-service
hostname: fda-container-managing-service
build: ./fda-container-managing-service
......@@ -78,6 +102,7 @@ services:
driver: json-file
fda-query-service:
restart: always
container_name: fda-query-service
hostname: fda-query-service
build: ./fda-query-service
......@@ -99,6 +124,7 @@ services:
driver: json-file
fda-table-service:
restart: always
container_name: fda-table-service
hostname: fda-table-service
build: ./fda-table-service
......@@ -119,6 +145,7 @@ services:
- fda-discovery-server
fda-analyse-service:
restart: always
container_name: fda-analyse-service
hostname: fda-analyse-service
build: ./fda-analyse-service
......@@ -143,6 +170,7 @@ services:
driver: json-file
fda-ui:
restart: always
container_name: fda-ui
hostname: fda-ui
build: ./fda-ui
......
......@@ -6,7 +6,7 @@ COPY ./pom.xml ./
RUN mvn -fn -B dependency:go-offline > /dev/null
COPY src/main/java/api ./api
COPY api/src/main/java/api ./api
COPY src/main/java/rest ./rest-service
COPY src/main/java/services ./services
......
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>at.tuwien</groupId>
<artifactId>fda-container-managing-service</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>api</artifactId>
<version>0.0.1-SNAPSHOT</version>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
</project>
\ No newline at end of file
......@@ -38,6 +38,11 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
......
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>at.tuwien</groupId>
<artifactId>fda-container-managing-service</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>rest-service</artifactId>
<version>0.0.1-SNAPSHOT</version>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
</project>
\ No newline at end of file
package rest;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
@SpringBootApplication
@ComponentScan(basePackages = "services.entities")
@ComponentScan(basePackages = "entities")
@EnableSwagger2
public class FdaContainerManagingApplication {
......
package rest.config;
package config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
......
package rest.endpoints;
package endpoints;
import api.dto.container.ContainerActionTypeDto;
import api.dto.container.DatabaseContainerBriefDto;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment