SOAJS helps you orchestrating different types pf repositories, here is the soa.json for a repository with static content aka react, angular, etc ...
soa.json for type=static
{ "name": "frontend", "type": "static", "description": "This is the description of your static", "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" }
Variable | Required | description | example |
---|---|---|---|
UI meta data | |||
type | Yes | The following type is supported: static, service, daemon, multi, custom (anything else) | if not set the default type will be custom. |
tab | |||
name | Yes | The name of the static content. It has to be unique and not been used by other static contents at the Frontend catalog. | |
description | No | The static description to appear in the Frontend catalog UI | "This is a string" |
Search meta data | |||
tags | No | ||
attributes | No | ||
program | No | ||
Documentation meta data | |||
documentation | No | ||
Type meta data | |||
version | Yes | The version of the service. make sure it has the following syntax: a string of /[0-9]+(.[0-9]+)?/ | "1" or "1.1" |
Add Comment