checkpoint

This commit is contained in:
2021-05-29 18:42:38 +03:00
parent 937785991f
commit 241066587d
12 changed files with 906 additions and 160 deletions

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":{}
}

@@ -0,0 +1,7 @@
{
"/api/v1/*": "/$1",
"/": "/index",
"": "/index",
"/publications/:name": "/publication/:name",
"/publications/:name/url": "/publication/:name"
}