Skip to content

Commit f3eaddf

Browse files
authored
Merge pull request #7 from AITestingOrg/performanceMetricsAdded
Performance metrics added
2 parents 7728782 + 276a8f0 commit f3eaddf

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ dependencies {
4848
compile('org.springframework.cloud:spring-cloud-starter-oauth2')
4949
compile('org.springframework.cloud:spring-cloud-starter-zuul')
5050
compile('org.springframework.boot:spring-boot-starter-web')
51+
compile('org.springframework.boot:spring-boot-starter-actuator')
52+
compile('org.springframework.boot:spring-boot-starter-security')
53+
compile('org.springframework.data:spring-data-rest-hal-browser')
5154
providedRuntime('org.springframework.boot:spring-boot-starter-tomcat')
5255
testCompile ('org.springframework.cloud:spring-cloud-starter-eureka-server')
5356
testCompile('com.jayway.restassured:rest-assured:2.5.0')

readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# Edge Service
2-
The edge service is one of the backing services that serves as the front door for the API. The services utilizes Zuul.
2+
The edge service is one of the backing services that serves as the front door for the API. The services utilizes Zuul.
3+
4+
#Performance Metrics API
5+
Once edge service is UP, you can access the metrics at http://localhost:8080/actuator

src/main/resources/application.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ zuul:
1414
security:
1515
oauth2:
1616
resource:
17-
userInfoUri: http://localhost:8181/uaa/user
17+
userInfoUri: http://localhost:8080/uaa/user
1818
ignored: /catalog/**
1919
eureka:
2020
instance:
@@ -24,7 +24,10 @@ eureka:
2424
fetchRegistry: true
2525
serviceUrl:
2626
defaultZone: http://discovery-service:8761/eureka/
27-
27+
management:
28+
security:
29+
enabled: false
30+
context-path: /actuator
2831
---
2932
spring:
3033
profiles: docker

0 commit comments

Comments
 (0)