...
The following Data Models are used by the Repositories Marketplace microservice.
The main structure of the item schema is as follow:
Code Block |
---|
|
{
"type": "service | daemon | custom | resource | static | config",
"name": "itemName",
"description": "Item description",
"configuration": {
... //changes based on the type
},
"versions" : [
{
"version": "1",
"profile": {
//free object to add whatever you see fit
}
...//changes based on the type
}
],
"metadata": {
"tags": [],
"attributes": {
"att1": [],
...//add as much attributes as you want
},
"program": ["ecommerce", ...]
},
"ui": {
"main": "",
"sub": ""
},
"settings": {
"acl": {},
"recipes" : [],
"environments :{},
"deployment":{}
},
"src": {
"provider": "github | bitbucket | bitbucket_enterprise | manual | apibuilder",
...//Changes based on the provider, check below
},
"deploy": {
"dev" : [
{
"version": "1"
...//Check below
}
]
}
} |
...
Code Block |
---|
|
{
...//changes based on the type
} |
setting schema
Code Block |
---|
|
{
"acl": {},
"recipes" : [],
"environments :{},
"deployment":{
"token": "ooooo"
}
} |
Data Models
...
Child pages (Children Display) |
---|