summaryrefslogtreecommitdiffstats
path: root/catalog-be/README.txt
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2017-02-19 10:28:42 +0200
committerMichael Lando <ml636r@att.com>2017-02-19 10:51:01 +0200
commit451a3400b76511393c62a444f588a4ed15f4a549 (patch)
treee4f5873a863d1d3e55618eab48b83262f874719d /catalog-be/README.txt
parent5abfe4e1fb5fae4bbd5fbc340519f52075aff3ff (diff)
Initial OpenECOMP SDC commit
Change-Id: I0924d5a6ae9cdc161ae17c68d3689a30d10f407b Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-be/README.txt')
-rw-r--r--catalog-be/README.txt41
1 files changed, 41 insertions, 0 deletions
diff --git a/catalog-be/README.txt b/catalog-be/README.txt
new file mode 100644
index 0000000000..575484081f
--- /dev/null
+++ b/catalog-be/README.txt
@@ -0,0 +1,41 @@
+#open rpm
+#install jetty
+#run installJettyBase.sh
+#copy jvm.properties to base
+#export variables
+#run startJetty.sh
+
+#Properties:
+
+ STOP.PORT=[number]
+ The port to use to stop the running Jetty server.
+ Required along with STOP.KEY if you want to use the --stop option above.
+
+ STOP.KEY=[alphanumeric]
+ The passphrase defined to stop the server.
+ Requried along with STOP.PORT if you want to use the --stop option above.
+
+ STOP.WAIT=[number]
+ 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.
+
+
+#Upload Normative types:
+# 1. create zip file containing the yaml
+# 2. create json string (payloadName should be the yml file name): {
+# "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"]
+# }
+#
+#
+# 3. run curl command: curl -v -F resourceMetadata=<json string> -F resourceZip=@<zip file location> <BE host:port>/sdc2/rest/v1/catalog/upload/multipart
+# e.g.:
+# 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
+
+#