Skip to content

Commit 59cc49f

Browse files
xujinVancySavoki
authored andcommitted
add moss-ui
1 parent 5b6532e commit 59cc49f

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

moss-ui/.gitignore

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/npm-debug.log*
6+
/yarn-error.log
7+
/yarn.lock
8+
/package-lock.json
9+
10+
# production
11+
/dist
12+
dist.zip
13+
14+
# misc
15+
.DS_Store
16+
17+
# umi
18+
.umi
19+
.umi-production

moss-ui/src/models/application/service.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,12 @@ const application = {
100100

101101
return fetch({
102102
method: 'get',
103+
<<<<<<< HEAD
103104
headers: {
104105
Accept: '*/*'
105106
},
107+
=======
108+
>>>>>>> 07edb6c... add moss-ui
106109
url: `admin/instances/${id}/actuator/health`,
107110
})
108111
.then(data => {
@@ -147,9 +150,12 @@ const application = {
147150

148151
fetchApplicationGCLog: (id: string, page = 1, size = 100): Promise<GCLogData> => {
149152
return fetch({
153+
<<<<<<< HEAD
150154
header: {
151155
Accept: 'application/json'
152156
},
157+
=======
158+
>>>>>>> 07edb6c... add moss-ui
153159
url: `admin/instances/${id}/actuator/gc?page=${page}&size=${size}`,
154160
}).then(data => {
155161
return model.GCLog(data)
@@ -188,7 +194,11 @@ const application = {
188194
const requestConf: any = {
189195
method: 'get',
190196
responseType: 'Arraybuffer',
197+
<<<<<<< HEAD
191198
url: `admin/instances/${id}/actuator/logfile/${value}`,
199+
=======
200+
url: `admin/instances/${id}/actuator/${value}logfile`,
201+
>>>>>>> 07edb6c... add moss-ui
192202
}
193203

194204
if (offset && offset > 0) {

0 commit comments

Comments
 (0)