checkpoint
This commit is contained in:
11
test/mock/api/db.json
Normal file
11
test/mock/api/db.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"index": ["infobases", "publications", "module", "config"],
|
||||
"infobases":["test1", "accounting", "bpdemo", "hrm31", "Trade-2021"],
|
||||
"publications":["accounting", "hrm31"],
|
||||
"publication":[
|
||||
{"name": "accounting", "url": "/acc"},
|
||||
{"name": "hrm31", "url": "/hrm"}
|
||||
],
|
||||
"module":{},
|
||||
"config":{}
|
||||
}
|
7
test/mock/api/routes.json
Normal file
7
test/mock/api/routes.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"/api/v1/*": "/$1",
|
||||
"/": "/index",
|
||||
"": "/index",
|
||||
"/publications/:name": "/publication/:name",
|
||||
"/publications/:name/url": "/publication/:name"
|
||||
}
|
Reference in New Issue
Block a user