Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 20e81ac

Browse files
Create readme.md
1 parent 8055a69 commit 20e81ac

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Centralized Configuration using github
2+
3+
GET -> `http://localhost:8888/s1rates/default/main`
4+
5+
```json
6+
{
7+
"name": "s1rates",
8+
"profiles": [
9+
"default"
10+
],
11+
"label": "main",
12+
"version": "29ab92d02e1e4aed70efe8eaee73472747797235",
13+
"state": null,
14+
"propertySources": [
15+
{
16+
"name": "https://github.com/javaHelper/pluralsight-spring-cloudconfig-wa-tolls/station1/s1rates.properties",
17+
"source": {
18+
"rate": "1.91",
19+
"lanecount": "1"
20+
}
21+
},
22+
{
23+
"name": "https://github.com/javaHelper/pluralsight-spring-cloudconfig-wa-tolls/s1rates.properties",
24+
"source": {
25+
"rate": "1.91",
26+
"lanecount": "1"
27+
}
28+
},
29+
{
30+
"name": "https://github.com/javaHelper/pluralsight-spring-cloudconfig-wa-tolls/application.properties",
31+
"source": {
32+
"rate": "1.55",
33+
"tollstart": "05:00",
34+
"tollstop": "22:00",
35+
"lanecount": "0",
36+
"invalid.connstring": "<n/a>"
37+
}
38+
}
39+
]
40+
}
41+
```
42+
43+
GET -> `http://localhost:8888/s2rates/default/main`
44+
45+
```json
46+
{
47+
"name": "s2rates",
48+
"profiles": [
49+
"default"
50+
],
51+
"label": "main",
52+
"version": "0b09e2f2ca026806afd9ab1c86114ad032fa0d79",
53+
"state": null,
54+
"propertySources": [
55+
{
56+
"name": "https://github.com/javaHelper/pluralsight-spring-cloudconfig-wa-tolls/station2/s2rates.properties",
57+
"source": {
58+
"rate": "1.65",
59+
"lanecount": "3"
60+
}
61+
},
62+
{
63+
"name": "https://github.com/javaHelper/pluralsight-spring-cloudconfig-wa-tolls/application.properties",
64+
"source": {
65+
"rate": "1.55",
66+
"tollstart": "05:00",
67+
"tollstop": "22:00",
68+
"lanecount": "0",
69+
"invalid.connstring": "<n/a>"
70+
}
71+
}
72+
]
73+
}
74+
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /