Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languageactionscript3
titlesoa.json for type=config
{
  	"name": "Nginx Config",
  	"type": "config",
    "group": "Examples",
	"description": "This is the description of your config",
	"subType": "configuration",
	"tags": ["tag1", "tag2"],
	"attributes": {
		"att1": ["att1.1", "att1.2"],
		"att2": ["att2.1", "att2.2"]
	},
	"tab": {
		"main": "Main tab",
		"sub": "Sub tab"
	},
	"program": ["soajs"],
	"documentation": {
		"readme": "/doc/markupfile",
		"release": "/doc/markupfile"
	},
	"version": "1",
 	"profile": {
        //free to add whatever you want
    }
}


...

VariableRequireddescriptionexampledefault
UI meta data
typeYesThe following type is supported: static, service, daemon, multi, config, custom (anything else)if not set the default type will be custom.custom
tab


-
subTypeNo

configuration
nameYesThe name of the static content. It has to be unique and not been used by another config at the Deployer config catalog.



groupYesThe group of the service, make sure you set the right group to properly display the service under the right group at the API catalog.

The group should reflect the system the service belongs to "Payment"


descriptionNoThe static description to appear in the Deployer config catalog UI"This is a string"-
Search meta data
tagsNo

-
attributesNo

-
programNo

-
Documentation meta data
documentationNo

-
Type meta data
versionYesThe version of the config. make sure it has the following syntax: a string of /[0-9]+(.[0-9]+)?/"1" or "1.1""1"