Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
awa-w5d5-microservices
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
StudentAddressDetails
awa-w5d5-microservices
Commits
892cce3e
Commit
892cce3e
authored
Apr 12, 2021
by
Xiyang Lu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
04/12 connect with config server
parent
1dda15ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
build.gradle
student-address-service/build.gradle
+6
-0
bootstrap.properties
...t-address-service/src/main/resources/bootstrap.properties
+4
-0
No files found.
student-address-service/build.gradle
View file @
892cce3e
...
...
@@ -15,9 +15,15 @@ repositories {
dependencies
{
implementation
'org.springframework.boot:spring-boot-starter-web'
implementation
'org.springframework.boot:spring-boot-starter-data-jpa'
// https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-config
implementation
group:
'org.springframework.cloud'
,
name:
'spring-cloud-starter-config'
,
version:
'2.0.1.RELEASE'
runtimeOnly
'mysql:mysql-connector-java'
testImplementation
'org.springframework.boot:spring-boot-starter-test'
// https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-bootstrap
implementation
group:
'org.springframework.cloud'
,
name:
'spring-cloud-starter-bootstrap'
,
version:
'3.0.2'
}
test
{
...
...
student-address-service/src/main/resources/bootstrap.properties
0 → 100644
View file @
892cce3e
spring.application.name
=
nisum-test-service
#spring.cloud.config.uri=http://localhost:8080/
spring.cloud.config.fail-fast
=
true
spring.profiles.active
=
dev
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment