Merge pull request #19 from 3dwardch3ng/develop

release
This commit is contained in:
2024-09-11 21:42:31 +10:00
committed by GitHub
4 changed files with 28 additions and 9 deletions

View File

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

View File

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

View File

@@ -7,11 +7,11 @@
<parent>
<groupId>sydney.cheng</groupId>
<artifactId>ec-super-pom</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>
</parent>
<artifactId>ec-config-server</artifactId>
<version>1.0.7</version>
<version>1.0.8-SNAPSHOT</version>
<licenses>
<license>
@@ -53,6 +53,11 @@
</properties>
<dependencies>
<dependency>
<groupId>sydney.cheng</groupId>
<artifactId>ec-microservice-commons-swagger</artifactId>
<version>1.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>

View File

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