Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
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
openSource
spring-cloud-netflix
Commits
a19163dd
Unverified
Commit
a19163dd
authored
Feb 12, 2018
by
Spencer Gibb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update to new web endpoint property
parent
6d67f1be
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
application.yml
spring-cloud-netflix-core/src/test/resources/application.yml
+1
-1
ApplicationContextTests.java
.../cloud/netflix/eureka/server/ApplicationContextTests.java
+1
-1
ApplicationServletPathTests.java
...ud/netflix/eureka/server/ApplicationServletPathTests.java
+1
-1
ApplicationTests.java
...amework/cloud/netflix/eureka/server/ApplicationTests.java
+1
-1
RoutesEndpointIntegrationTests.java
...rk/cloud/netflix/zuul/RoutesEndpointIntegrationTests.java
+1
-1
No files found.
spring-cloud-netflix-core/src/test/resources/application.yml
View file @
a19163dd
...
...
@@ -36,4 +36,4 @@ feignClient:
localappName
:
localapp
methodLevelRequestMappingPath
:
/hello2
myPlaceholderHeader
:
myPlaceholderHeaderValue
management.endpoints.web.expose
:
'
*'
management.endpoints.web.expos
ure.includ
e
:
'
*'
spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/ApplicationContextTests.java
View file @
a19163dd
...
...
@@ -44,7 +44,7 @@ import static org.junit.Assert.assertTrue;
@RunWith
(
SpringRunner
.
class
)
@SpringBootTest
(
classes
=
Application
.
class
,
webEnvironment
=
WebEnvironment
.
RANDOM_PORT
,
properties
=
{
"spring.application.name=eureka"
,
"server.servlet.context-path=/context"
,
"management.security.enabled=false"
,
"management.endpoints.web.expose=*"
})
"management.security.enabled=false"
,
"management.endpoints.web.expos
ure.includ
e=*"
})
public
class
ApplicationContextTests
{
private
static
final
String
BASE_PATH
=
new
WebEndpointProperties
().
getBasePath
();
...
...
spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/ApplicationServletPathTests.java
View file @
a19163dd
...
...
@@ -43,7 +43,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen
@RunWith
(
SpringRunner
.
class
)
@SpringBootTest
(
classes
=
Application
.
class
,
webEnvironment
=
RANDOM_PORT
,
properties
=
{
"spring.application.name=eureka"
,
"server.servlet.path=/servlet"
,
"management.security.enabled=false"
,
"management.endpoints.web.expose=*"
})
"management.security.enabled=false"
,
"management.endpoints.web.expos
ure.includ
e=*"
})
public
class
ApplicationServletPathTests
{
private
static
final
String
BASE_PATH
=
new
WebEndpointProperties
().
getBasePath
();
...
...
spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/ApplicationTests.java
View file @
a19163dd
...
...
@@ -52,7 +52,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen
@RunWith
(
SpringRunner
.
class
)
@SpringBootTest
(
classes
=
Application
.
class
,
webEnvironment
=
RANDOM_PORT
,
properties
=
{
"spring.jmx.enabled=true"
,
"management.security.enabled=false"
,
"management.endpoints.web.expose=*"
})
"spring.jmx.enabled=true"
,
"management.security.enabled=false"
,
"management.endpoints.web.expos
ure.includ
e=*"
})
public
class
ApplicationTests
{
private
static
final
String
BASE_PATH
=
new
WebEndpointProperties
().
getBasePath
();
...
...
spring-cloud-netflix-zuul/src/test/java/org/springframework/cloud/netflix/zuul/RoutesEndpointIntegrationTests.java
View file @
a19163dd
...
...
@@ -49,7 +49,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen
*/
@RunWith
(
SpringRunner
.
class
)
@SpringBootTest
(
webEnvironment
=
RANDOM_PORT
,
value
=
{
"zuul.routes.sslservice.url=https://localhost:8443"
,
"management.security.enabled=false"
,
"management.endpoints.web.expose=*"
})
value
=
{
"zuul.routes.sslservice.url=https://localhost:8443"
,
"management.security.enabled=false"
,
"management.endpoints.web.expos
ure.includ
e=*"
})
@DirtiesContext
public
class
RoutesEndpointIntegrationTests
{
private
static
final
String
BASE_PATH
=
new
WebEndpointProperties
().
getBasePath
();
...
...
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