diff --git a/Dockerfile b/Dockerfile index 6c13738..02360a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,5 +5,5 @@ ENV db_hostname dcsa_db COPY run-in-container.sh /run.sh RUN chmod +x /run.sh COPY application/src/main/resources/application.yml . -COPY application/target/dcsa-template-application.jar . +COPY application/target/dcsa-rmc-application.jar . CMD ["/run.sh"] diff --git a/README.md b/README.md index 60a4129..5347a11 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# DCSA Project Template +# DCSA RMC - Reefer Monitoring Commercial **[RECOMMENDED]**
Setup a Github Personal Access Token as mentioned [here](https://github.com/dcsaorg/DCSA-Core/blob/master/README.md#how-to-use-dcsa-core-packages). @@ -12,8 +12,8 @@ Setup a Github Personal Access Token as mentioned [here](https://github.com/dcsa - Update GitHub Actions ### Checklist to setup the `template` for your project: -- [ ] Rename the project, DCSA-{ProjectName} (e.g. DCSA-TNT) -- [ ] `DCSA-Project-Template > pom.xml` +- [x] Rename the project, DCSA-{ProjectName} (e.g. DCSA-TNT) +- [x] `DCSA-Project-Template > pom.xml` ```xml org.dcsa.template dcsa-template-parent @@ -24,7 +24,7 @@ Setup a Github Personal Access Token as mentioned [here](https://github.com/dcsa DCSA Template ``` -- [ ] `DCSA-Project-Template > domain > pom.xml` +- [x] `DCSA-Project-Template > domain > pom.xml` ```xml org.dcsa.template @@ -32,7 +32,7 @@ Setup a Github Personal Access Token as mentioned [here](https://github.com/dcsa ... ``` -- [ ] `DCSA-Project-Template > transfer-obj > pom.xml` +- [x] `DCSA-Project-Template > transfer-obj > pom.xml` ```xml org.dcsa.template @@ -40,7 +40,7 @@ Setup a Github Personal Access Token as mentioned [here](https://github.com/dcsa ... ``` -- [ ] `DCSA-Project-Template > service > pom.xml` +- [x] `DCSA-Project-Template > service > pom.xml` ```xml org.dcsa.template @@ -48,7 +48,7 @@ Setup a Github Personal Access Token as mentioned [here](https://github.com/dcsa ... ``` -- [ ] `DCSA-Project-Template > application > pom.xml` +- [x] `DCSA-Project-Template > application > pom.xml` ```xml org.dcsa.template @@ -56,8 +56,8 @@ Setup a Github Personal Access Token as mentioned [here](https://github.com/dcsa ... ``` -- [ ] Rename package `DCSA-Project-Template > application > src > main > java > org.dcsa.template` -- [ ] `DCSA-Project-Template > application > src > main > resources > application.yml` +- [x] Rename package `DCSA-Project-Template > application > src > main > java > org.dcsa.template` +- [x] `DCSA-Project-Template > application > src > main > resources > application.yml` ```yaml spring: application: @@ -65,11 +65,11 @@ Setup a Github Personal Access Token as mentioned [here](https://github.com/dcsa datasource: url: jdbc:postgresql://${db_hostname}/dcsa_template ``` -- [ ] `DCSA-Project-Template > Dockerfile` +- [x] `DCSA-Project-Template > Dockerfile` ```dockerfile COPY application/target/dcsa-template-application.jar . ``` -- [ ] `DCSA-Project-Template > docker-compose.yml` +- [x] `DCSA-Project-Template > docker-compose.yml` ```yaml dcsa-template: container_name: dcsa_template diff --git a/application/pom.xml b/application/pom.xml index e2df5bd..e529f31 100644 --- a/application/pom.xml +++ b/application/pom.xml @@ -2,8 +2,8 @@ 4.0.0 - org.dcsa.template - dcsa-template-parent + org.dcsa.rmc + dcsa-rmc-parent ${revision}${sha1}${changelist} diff --git a/application/src/main/java/org/dcsa/template/Application.java b/application/src/main/java/org/dcsa/rmc/Application.java similarity index 100% rename from application/src/main/java/org/dcsa/template/Application.java rename to application/src/main/java/org/dcsa/rmc/Application.java diff --git a/application/src/main/resources/application.yml b/application/src/main/resources/application.yml index f715ba4..5e9292a 100644 --- a/application/src/main/resources/application.yml +++ b/application/src/main/resources/application.yml @@ -4,10 +4,10 @@ dcsa: spring: application: - name: dcsa-template + name: dcsa-rmc datasource: driver-class-name: org.postgresql.Driver - url: jdbc:postgresql://${db_hostname}/dcsa_template + url: jdbc:postgresql://${db_hostname}/dcsa_rmc username: dcsa_db_owner jpa: database-platform: org.hibernate.dialect.PostgreSQLDialect diff --git a/docker-compose.yml b/docker-compose.yml index e847cd4..a9e80f8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.5' services: dcsa-template: - container_name: dcsa_template + container_name: dcsa_rmc build: . ports: @@ -24,7 +24,7 @@ services: dcsa-test-db: image: postgres:15-alpine - container_name: dcsa_template_db + container_name: dcsa_rmc_db environment: POSTGRES_PASSWORD: "change_this_password" volumes: diff --git a/domain/pom.xml b/domain/pom.xml index 49e8d96..d1ac7a1 100644 --- a/domain/pom.xml +++ b/domain/pom.xml @@ -2,8 +2,8 @@ 4.0.0 - org.dcsa.template - dcsa-template-parent + org.dcsa.rmc + dcsa-rmc-parent ${revision}${sha1}${changelist} diff --git a/pom.xml b/pom.xml index 7c86d9a..3410622 100644 --- a/pom.xml +++ b/pom.xml @@ -8,12 +8,12 @@ 1.5-SNAPSHOT - org.dcsa.template - dcsa-template-parent + org.dcsa.rmc + dcsa-rmc-parent ${revision}${sha1}${changelist} pom ${project.name} - ${project.name} Project + ${project.name} Reefer Monitoring Commercial @@ -30,9 +30,9 @@ 2.21.1 - org.dcsa.template - dcsa-template - DCSA Template + org.dcsa.rmc + dcsa-rmc + DCSA-RMC diff --git a/service/pom.xml b/service/pom.xml index 263dcab..61622da 100644 --- a/service/pom.xml +++ b/service/pom.xml @@ -2,8 +2,8 @@ 4.0.0 - org.dcsa.template - dcsa-template-parent + org.dcsa.rmc + dcsa-rmc-parent ${revision}${sha1}${changelist} diff --git a/transfer-obj/pom.xml b/transfer-obj/pom.xml index 53e6a9b..4e953a3 100644 --- a/transfer-obj/pom.xml +++ b/transfer-obj/pom.xml @@ -2,8 +2,8 @@ 4.0.0 - org.dcsa.template - dcsa-template-parent + org.dcsa.rmc + dcsa-rmc-parent ${revision}${sha1}${changelist}