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 76945c3

Browse files
Create readme.md
1 parent 9493667 commit 76945c3

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Creating config-server for Local files
2+
3+
GET -> `http://localhost:8888/app1/default`
4+
5+
```json
6+
{
7+
"name": "app1",
8+
"profiles": [
9+
"default"
10+
],
11+
"label": null,
12+
"version": null,
13+
"state": null,
14+
"propertySources": [
15+
{
16+
"name": "classpath:/config/app1.properties",
17+
"source": {
18+
"greeting": "hello"
19+
}
20+
}
21+
]
22+
}
23+
```
24+
25+
GET -> `http://localhost:8888/app2/default`
26+
27+
```json
28+
{
29+
"name": "app2",
30+
"profiles": [
31+
"default"
32+
],
33+
"label": null,
34+
"version": null,
35+
"state": null,
36+
"propertySources": [
37+
{
38+
"name": "classpath:/config/app2.properties",
39+
"source": {
40+
"greeting": "Namaskar"
41+
}
42+
}
43+
]
44+
}
45+
```
46+
47+
GET -> `http://localhost:8888/app3/default`
48+
49+
```json
50+
{
51+
"name": "app3",
52+
"profiles": [
53+
"default"
54+
],
55+
"label": null,
56+
"version": null,
57+
"state": null,
58+
"propertySources": [
59+
{
60+
"name": "classpath:/config/app3.properties",
61+
"source": {
62+
"greeting": "hola"
63+
}
64+
}
65+
]
66+
}
67+
```

0 commit comments

Comments
(0)

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