diff --git a/backend/src/test/resources/application-customer.properties b/backend/src/test/resources/application-customer.properties deleted file mode 100755 index 631e7abf..00000000 --- a/backend/src/test/resources/application-customer.properties +++ /dev/null @@ -1,64 +0,0 @@ -# Server Config -server.port=${SERVER_PORT:8081} -my.base.url=http://host.minikube.internal -request.serverendpoint=${my.base.url}:${server.port}/catena/product-stock/request -request.apiassetid=product-stock-request-api -response.serverendpoint=${my.base.url}:${server.port}/catena/product-stock/response -response.apiassetid=product-stock-response-api -edr.endpoint=${my.base.url}:${server.port}/catena/edrendpoint -# DB Configuration -spring.datasource.driver-class-name=${DATASOURCE_DRIVERCLASSNAME:org.hsqldb.jdbc.JDBCDriver} -spring.datasource.url=${DATASOURCE_URL:jdbc:hsqldb:mem:testdb;DB_CLOSE_DELAY=-1} -spring.datasource.username=${DATASOURCE_USERNAME:sa} -spring.datasource.password=${DATASOURCE_PASSWORD:} -spring.jpa.hibernate.ddl-auto=create -# API Root -server.servlet.context-path=${API_ROOTDIR:/catena} -# EDC Config -edc.controlplane.host=${EDC_CONTROLPLANE_HOST:192.168.49.2} -edc.controlplane.data.path=/api/v1/data -edc.controlplane.data.port=${EDC_CONTROLPLANE_DATA_PORT:31944} -edc.controlplane.key=${EDC_CONTROLPLANE_KEY:password} - -edc.applydataplaneworkaround=true -edc.dataplane.public.port=31944 -minikube.ip=${MINIKUBE_IP:host.minikube.internal} -# Jackson (JSON) -#spring.jackson.default-property-inclusion=non_empty -#logging.level.org.hibernate.SQL=DEBUG -#logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE -spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true - - -# Own EDC-IDS-URL -edc.idsUrl=${EDC_IDSURL:http://customer-control-plane:8184/api/v1/ids} - -# Own BPNL -own.bpnl=${OWN_BPNL:BPNL4444444444XX} - -# Own name (self-description) -own.name=${OWN_NAME:Scenario Customer} - -# Own BPNS (optional: if this is set, then set own.default.site.name as well) -own.default.bpns=${OWN_BPNS:BPNS4444444444XY} -# Name of Site (see above) -own.default.site.name=${OWN_SITE:Hauptwerk Musterhausen} - -# If a BPNS is set, then this BPNA will be attached to it. -# Otherwise, it will be attached immediately to the BPNL (see above) -own.default.bpna=${OWN_BPNS:BPNA4444444444ZZ} -own.default.streetandnumber=${OWN_STREETANDNUMBER:Musterstrasse 35b} -own.default.zipcodeandcity=${OWN_ZIPCODEANDCITY:77777 Musterhausen} -own.default.country=${OWN_COUNTRY:Germany} - -# The number of minutes before received authentication data -# in the context of a consumer pull is removed from memory -own.edr.deletiontimer=2 - -puris.apiversion=1.0.0 -puris.demonstrator.role=customer -puris.api.key=test -# run with: -# ./mvnw spring-boot:run -Dspring-boot.run.arguments=--spring.profiles.active=customer -# alternatively: -# ./mvnw spring-boot:run -Dspring-boot.run.arguments=--spring.config.location="./src/main/resources/application-customer.properties" diff --git a/backend/src/test/resources/application-supplier.properties b/backend/src/test/resources/application-supplier.properties deleted file mode 100644 index 8329b32f..00000000 --- a/backend/src/test/resources/application-supplier.properties +++ /dev/null @@ -1,65 +0,0 @@ -# Server Config -server.port=${SERVER_PORT:8082} -my.base.url=http://host.minikube.internal -request.serverendpoint=${my.base.url}:${server.port}/catena/product-stock/request -request.apiassetid=product-stock-request-api -response.serverendpoint=${my.base.url}:${server.port}/catena/product-stock/response -response.apiassetid=product-stock-response-api -edr.endpoint=${my.base.url}:${server.port}/catena/edrendpoint -# DB Configuration -spring.datasource.driver-class-name=${DATASOURCE_DRIVERCLASSNAME:org.hsqldb.jdbc.JDBCDriver} -spring.datasource.url=${DATASOURCE_URL:jdbc:hsqldb:mem:testdb;DB_CLOSE_DELAY=-1} -spring.datasource.username=${DATASOURCE_USERNAME:sa} -spring.datasource.password=${DATASOURCE_PASSWORD:} -spring.jpa.hibernate.ddl-auto=create -# API Root -server.servlet.context-path=${API_ROOTDIR:/catena} -# EDC Config -edc.controlplane.host=${EDC_CONTROLPLANE_HOST:192.168.49.2} -edc.controlplane.data.port=${EDC_CONTROLPLANE_DATA_PORT:32272} -edc.controlplane.data.path=/api/v1/data -edc.controlplane.key=${EDC_CONTROLPLANE_KEY:password} - -edc.applydataplaneworkaround=true -edc.dataplane.public.port=31102 -minikube.ip=${MINIKUBE_IP:host.minikube.internal} -# Jackson (JSON) -#spring.jackson.default-property-inclusion=non_empty -#logging.level.org.hibernate.SQL=DEBUG -#logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE -spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true - - -# Own EDC-IDS-URL -edc.idsUrl=${EDC_IDSURL:http://supplier-control-plane:9184/api/v1/ids} - -# Own BPNL -own.bpnl=${OWN_BPNL:BPNL1234567890ZZ} - -# Own name (self-description) -own.name=${OWN_NAME:Scenario Supplier} - -# Own BPNS (optional: if this is set, then set own.default.site.name as well) -own.default.bpns=${OWN_BPNS:BPNS1234567890ZZ} - -# Name of Site (see above) -own.default.site.name=${OWN_SITE:Konzernzentrale Dudelsdorf} - -# If a BPNS is set, then this BPNA will be attached to it. -# Otherwise, it will be attached immediately to the BPNL (see above) -own.default.bpna=${OWN_BPNS:BPNA1234567890AA} -own.default.streetandnumber=${OWN_STREETANDNUMBER:Heinrich-Supplier-Strasse 1} -own.default.zipcodeandcity=${OWN_ZIPCODEANDCITY:77785 Dudelsdorf} -own.default.country=${OWN_COUNTRY:Germany} - -# The number of minutes before received authentication data -# in the context of a consumer pull is removed from memory -own.edr.deletiontimer=2 - -puris.apiversion=1.0.0 -puris.demonstrator.role=supplier -puris.api.key=test -# run with: -# ./mvnw spring-boot:run -Dspring-boot.run.arguments=--spring.profiles.active=supplier -# alternatively: -# ./mvnw spring-boot:run -Dspring-boot.run.arguments=--spring.config.location="./src/main/resources/application-supplier.properties"