Compare commits

14 Commits

Author SHA1 Message Date
8a5dada781 update super pom version and commons version 2024-10-24 21:08:53 +11:00
c2e75ef94d Update for next development version [skip ci] 2024-09-11 11:43:27 +00:00
35b45e3da4 Merge tag '1.0.8' into develop
Tag release
2024-09-11 11:43:25 +00:00
78dc349290 [RELEASE] 1.0.8
Some checks failed
RELEASE - Build and Publish Maven Artifact and Docker Image / Build Java Package and Publish (push) Has been cancelled
RELEASE - Build and Publish Maven Artifact and Docker Image / build-docker (linux/amd64) (push) Has been cancelled
RELEASE - Build and Publish Maven Artifact and Docker Image / build-docker (linux/arm64) (push) Has been cancelled
RELEASE - Build and Publish Maven Artifact and Docker Image / merge-docker (push) Has been cancelled
2024-09-11 11:43:25 +00:00
4ad93a4b7e Update versions for release 2024-09-11 11:43:00 +00:00
31a3e786cd Merge pull request #19 from 3dwardch3ng/develop
release
2024-09-11 21:42:31 +10:00
cd5ef6bf02 add springdoc config 2024-09-11 21:36:44 +10:00
917db3eafb update super pom version 2024-09-11 21:34:33 +10:00
4a89510fc8 add config server user creds 2024-09-11 21:31:41 +10:00
97b272d5c8 add commons security library 2024-09-11 21:12:33 +10:00
6ec906f156 Merge pull request #18 from 3dwardch3ng/renovate/actions-setup-java-4.x
chore(deps): update actions/setup-java action to v4.3.0
2024-09-10 16:25:59 +10:00
renovate[bot]
2ee6a3ffec chore(deps): update actions/setup-java action to v4.3.0 2024-09-09 16:32:58 +00:00
37f8d6a250 Revert "add GHA pipeline for sonarqube test"
This reverts commit e27ca00044.
2024-09-09 21:07:06 +10:00
e27ca00044 add GHA pipeline for sonarqube test 2024-09-09 21:06:03 +10:00
4 changed files with 29 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-java@v4.2.2 - uses: actions/setup-java@v4.3.0
if: ${{ hashFiles('**/pom.xml') }} if: ${{ hashFiles('**/pom.xml') }}
with: with:
java-version: 17 java-version: 17
@@ -77,7 +77,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-java@v4.2.2 - uses: actions/setup-java@v4.3.0
if: ${{ hashFiles('**/pom.xml') }} if: ${{ hashFiles('**/pom.xml') }}
with: with:
java-version: 17 java-version: 17
@@ -162,7 +162,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-java@v4.2.2 - uses: actions/setup-java@v4.3.0
if: ${{ hashFiles('**/pom.xml') }} if: ${{ hashFiles('**/pom.xml') }}
with: with:
java-version: 17 java-version: 17

View File

@@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-java@v4.2.2 - uses: actions/setup-java@v4.3.0
if: ${{ hashFiles('**/pom.xml') }} if: ${{ hashFiles('**/pom.xml') }}
with: with:
java-version: 17 java-version: 17
@@ -95,7 +95,7 @@ jobs:
with: with:
ref: main ref: main
fetch-depth: 1 fetch-depth: 1
- uses: actions/setup-java@v4.2.2 - uses: actions/setup-java@v4.3.0
if: ${{ hashFiles('**/pom.xml') }} if: ${{ hashFiles('**/pom.xml') }}
with: with:
java-version: 17 java-version: 17
@@ -181,7 +181,7 @@ jobs:
with: with:
ref: main ref: main
fetch-depth: 1 fetch-depth: 1
- uses: actions/setup-java@v4.2.2 - uses: actions/setup-java@v4.3.0
if: ${{ hashFiles('**/pom.xml') }} if: ${{ hashFiles('**/pom.xml') }}
with: with:
java-version: 17 java-version: 17

10
pom.xml
View File

@@ -7,11 +7,11 @@
<parent> <parent>
<groupId>sydney.cheng</groupId> <groupId>sydney.cheng</groupId>
<artifactId>ec-super-pom</artifactId> <artifactId>ec-super-pom</artifactId>
<version>1.0.4</version> <version>1.0.7</version>
</parent> </parent>
<artifactId>ec-config-server</artifactId> <artifactId>ec-config-server</artifactId>
<version>1.0.8-SNAPSHOT</version> <version>1.0.9-SNAPSHOT</version>
<licenses> <licenses>
<license> <license>
@@ -42,6 +42,7 @@
<maven.compiler.target>17</maven.compiler.target> <maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<start-class>sydney.cheng.microservice.Application</start-class> <start-class>sydney.cheng.microservice.Application</start-class>
<ec-microservice-commons.version>1.0.1</ec-microservice-commons.version>
<!-- Sonar Properties --> <!-- Sonar Properties -->
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis> <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
@@ -53,6 +54,11 @@
</properties> </properties>
<dependencies> <dependencies>
<dependency>
<groupId>sydney.cheng</groupId>
<artifactId>ec-microservice-commons-swagger</artifactId>
<version>${ec-microservice-commons.version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId> <artifactId>spring-boot-starter-actuator</artifactId>

View File

@@ -37,6 +37,12 @@ spring:
name: ${application.name} name: ${application.name}
profiles: profiles:
active: native active: native
security:
basic:
enabled: true
user:
name: ${CONFIG_SERVER_USERNAME:configuser}
password: ${CONFIG_SERVER_PASSWORD:configPass$1234}
cloud: cloud:
config: config:
server: server:
@@ -47,4 +53,12 @@ spring:
eureka: eureka:
client: client:
enabled: false enabled: false
springdoc:
swagger-ui:
path: /swagger-ui.html
displayRequestDuration: true
api-docs:
path: /api-docs
show-actuator: true