| #copy jvm.properties to base |
| The port to use to stop the running Jetty server. |
| Required along with STOP.KEY if you want to use the --stop option above. |
| The passphrase defined to stop the server. |
| Required along with STOP.PORT if you want to use the --stop option above. |
| The time (in seconds) to wait for confirmation that the running |
| Jetty server has stopped. If not specified, the stopper will wait |
| indefinitely. Use in conjunction with the --stop option. |
| # 1. create a zip file containing the yaml |
| # 2. create a json string (payloadName should be the yml file name): { |
| # "payloadName":"normative-types-new-root.yml", |
| # "resourceName":"tosca.nodes.Root", |
| # "description":"Represents a generic software component that can be managed and run by a Compute Node Type.", |
| # "resourceIconPath":"defaulticon", |
| # 3. run curl command: curl -v -F resourceMetadata=<json string> -F resourceZip=@<zip file location> <BE host:port>/sdc2/rest/v1/catalog/upload/multipart |
| # curl -v -F resourceMetadata='{"payloadName":"normative-types-new-root.yml","userId":"adminid","resourceName":"tosca.nodes.Root","description":"Represents a generic software component that can be managed and run by a Compute Node Type.","resourceIconPath":"defaulticon","category":"Abstract","tags":["Root"]}' -F resourceZip=@/var/tmp/normative-types-new-root.zip localhost:8080/sdc2/rest/v1/catalog/upload/multipart |