There are 2 subtypes of Daemon catalogs, which require 2 separate Soa.json files for cronJob daemons and soajs daemons.
The soajs daemon has extra parameters where the user can add specifically for soajs.
...
SubType : cronJob
Code Block | ||||
---|---|---|---|---|
| ||||
{ "type": "daemon", "subType": "cronJob", "name": "kubernetes", "group": "damongroup", "description": "This is the description of your cronJob daemon", "tags": ["tag1", "tag2"], "attributes": { "att1": ["att1.1", "att1.2"], "att2": ["att2.1", "att2.2"] }, "program": ["soajs"], "tab": { "main": "kubernetes cronjob", "sub": "Subtype Daemon" }, "documentation": { "readme": "/doc/markupfile", "release": "/doc/markupfile" }, "port": 4100, "version": "1", "maintenance": { "port": { "type": "inherit" }, "readiness": "/heartbeat" }, "prerequisites": { "cpu": " ", "memory": " " } } |
...
|
---|
...
subType : daemon
The SOAJS daemon has extra parameters where the user can add specifically for this subType.
Code Block | ||||
---|---|---|---|---|
| ||||
{ "type": "daemon", "subType": "daemon", "name": "damonss", "group": "damongroup", "description": "This is the description of your daemon of type soajs", "tags": ["tag1", "tag2"], "attributes": { "att1": ["att1.1", "att1.2"], "att2": ["att2.1", "att2.2"] }, "program": ["soajs"], "tab": { "main": "kubernetes cronjob", "sub": "Subtype Daemon" }, "documentation": { "readme": "/doc/markupfile", "release": "/doc/markupfile" }, "port": 4100, "version": "1", "extKeyRequired": true, "oauth": true, "urac": true, "urac_Profile": true, "urac_ACL": false, "tenant_Profile": false, "provision_ACL": false, "requestTimeout": 30, "requestTimeoutRenewal": 5, "maintenance": { "port": { "type": "inherit" }, "readiness": "/heartbeat" }, "prerequisites": { "cpu": " ", "memory": " " } } |
...