Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Introduction


The following Data Models are used by the Repositories microservice.

The main structure of the item schema is as follow:

{
  	"type": "service | daemon | custom | resource | static | config",
	"name": "itemName",
  	"description": "Item description",
  	"configuration": {
		...
	},
	"versions" : [
		{
			"version": "1",
			"profile": {
				//free object to add whatever you see fit
			}
			...
		}
	],
	"metadata": {
		"tags": [],
    	"attributes": {
			"att1": [],
			...
		},
    	"program": []
	},
 	"ui": {
		"main": "",
		"sub": ""
	},
	"settings": {
		"acl": {},
		"recipes" : [],
		"environments :{}
	},
	"src": {
		"provider": "github | bitbucket | bitbucket_enterprise | manual",
		...
	},
	"deploy": {
		"dev" : [
			{
				"version": "1"
				...
			}
		]
	}
}

src schema

// When provider is GIT
"src": {
		"provider": "github | bitbucket | bitbucket_enterprise",
		...
	},

//When provider is manual
"src": {
		"provider": "manual"
	},


deploy schema




Data Models


  • No labels