summaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
authorItohan Ukponmwan <itohan.ukponmwan@intel.com>2019-08-05 16:30:20 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-05 16:30:20 +0000
commit55f55f93890a2c4745ee89505cc889f54ba3c3dd (patch)
tree5eb804de9b3907b38621a3f5d8169ae3f6a64c21 /deployment
parentd53b78f51ed1a37f13163fe0ffd77ebd1c7f6f6f (diff)
parentb9d85a33892c99949aff8e3471eb0fdc039d44aa (diff)
Merge changes I816a1dbb,Ice38da57,I1217d391,I07d22e81,I0ddcdc1c, ...
* changes: Add integration support Update framework Add vf model add artifact command Add service model artifact add command Add VF model checkout command Add VF checkin command Add sdc service resource property set Add sdc consumer-show command Add sdc consumer create command Add ID output in service-model commands Update open-cli.properties Update the sample command OCS YAML Add product into service and schema list Update the version format Update the README Set SNAPSHOT versioning clean-up stale onap profiles Ignore python build artifacts from git
Diffstat (limited to 'deployment')
-rw-r--r--deployment/docker/pom.xml4
-rw-r--r--deployment/pom.xml2
-rw-r--r--deployment/zip/pom.xml21
-rw-r--r--deployment/zip/src/main/release/conf/open-cli.properties13
-rw-r--r--deployment/zip/src/main/release/data/onap-beijing-profile.json52
-rw-r--r--deployment/zip/src/main/release/data/onap-casablanca-profile.json57
6 files changed, 27 insertions, 122 deletions
diff --git a/deployment/docker/pom.xml b/deployment/docker/pom.xml
index 40240f9b..4a5837a8 100644
--- a/deployment/docker/pom.xml
+++ b/deployment/docker/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.onap.cli</groupId>
<artifactId>cli-deployment</artifactId>
- <version>3.0.0</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<artifactId>cli-docker</artifactId>
<name>cli/deployment/docker</name>
- <version>3.0.0</version>
+ <version>4.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
diff --git a/deployment/pom.xml b/deployment/pom.xml
index c3f70458..58793d82 100644
--- a/deployment/pom.xml
+++ b/deployment/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.onap.cli</groupId>
<artifactId>cli</artifactId>
- <version>3.0.0</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<artifactId>cli-deployment</artifactId>
diff --git a/deployment/zip/pom.xml b/deployment/zip/pom.xml
index 454e259e..6af31ca3 100644
--- a/deployment/zip/pom.xml
+++ b/deployment/zip/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.onap.cli</groupId>
<artifactId>cli-deployment</artifactId>
- <version>3.0.0</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<artifactId>cli-zip</artifactId>
@@ -71,6 +71,12 @@
ant.delete(dir: "${deployUnzip}/data")
ant.mkdir(dir: "${deployUnzip}/data")
+ ant.delete(dir: "${deployUnzip}/data/tmp")
+ ant.mkdir(dir: "${deployUnzip}/data/tmp")
+
+ ant.delete(dir: "${deployUnzip}/script")
+ ant.mkdir(dir: "${deployUnzip}/script")
+
ant.copy(todir: "${deployUnzip}") {
fileset(dir: "${basedir}/src/main/release"){
exclude(name: "**/.gitignore")
@@ -96,16 +102,21 @@
fileset(dir:
"${project.build.directory}/../../../grpc/target/lib/")
}
+
ant.copy(todir:
"${deployUnzip}/conf") {
+ fileset(dir:
+ "${project.build.directory}/../../../products/target/conf/")
+ fileset(dir:
+ "${project.build.directory}/../../../profiles/target/conf/")
fileset(file:
- "${basedir}/src/main/release/conf/open-cli.properties")
+ "${basedir}/src/main/release/conf/*.properties")
}
ant.copy(todir:
- "${deployUnzip}/conf") {
- fileset(file:
- "${basedir}/src/main/release/conf/log4j.properties")
+ "${deployUnzip}/script") {
+ fileset(dir:
+ "${project.build.directory}/../../../products/target/script/")
}
ant.copy(todir:
diff --git a/deployment/zip/src/main/release/conf/open-cli.properties b/deployment/zip/src/main/release/conf/open-cli.properties
index eca284ad..65d4db7e 100644
--- a/deployment/zip/src/main/release/conf/open-cli.properties
+++ b/deployment/zip/src/main/release/conf/open-cli.properties
@@ -13,10 +13,13 @@
# limitations under the License.
cli.product_name=open-cli
-cli.version=2.0.5
+cli.version=3.0.0
cli.discover_always=false
-cli.data.dir=/opt/oclip/data
-cli.artifact.dir=/opt/oclip/artifacts
+cli.data.dir=$s{env:OPEN_CLI_HOME}/data
+cli.artifact.dir=$s{env:OPEN_CLI_HOME}/data/artifacts
+cli.tmp.dir=$s{env:OPEN_CLI_HOME}/data/tmp
+#timeout in seconds
+cli.grpc.client.timeout=60
#schema validation
cli.schema.base.sections=open_cli_schema_version,name,description,parameters,results,info
@@ -31,12 +34,12 @@ cli.schema.base.parameters.sections.mandatory=name,description,type
cli.schema.base.results.sections=name,description,scope,type,is_secured, default_value
cli.schema.base.results.sections.mandatory=name, description, type, scope
-cli.schema.boolean_values=true,false
+cli.schema.boolean_values=true
cli.schema.command.type=cmd,auth,catalog
# moco properties
cli.sample.gen.enable=false
-cli.sample.gen.target=.
+cli.sample.gen.target=$s{env:OPEN_CLI_HOME}/open-cli-sample
# mrkanag Move this to db, once exteranl command registration is supported in place of discovery
cli.schema.profile.available=http,snmp,cmd
diff --git a/deployment/zip/src/main/release/data/onap-beijing-profile.json b/deployment/zip/src/main/release/data/onap-beijing-profile.json
deleted file mode 100644
index 5cd58c4c..00000000
--- a/deployment/zip/src/main/release/data/onap-beijing-profile.json
+++ /dev/null
@@ -1,52 +0,0 @@
-[
- {
- "product" : "onap-beijing",
- "name" : "aai:host-url",
- "value" : "https://192.168.17.35:30233"
- },
- {
- "product" : "onap-beijing",
- "name" : "aai:host-username",
- "value" : "AAI"
- },
- {
- "product" : "onap-beijing",
- "name" : "aai:host-password",
- "value" : "AAI"
- },
- {
- "product" : "onap-beijing",
- "name" : "msb:host-url",
- "value" : "http://192.168.17.35:30081"
- },
- {
- "product" : "onap-beijing",
- "name" : "sdc:host-url",
- "value" : "http://192.168.17.35:30206"
- },
- {
- "product" : "onap-beijing",
- "name" : "sdc:host-username",
- "value" : "cs_0008"
- },
- {
- "product" : "onap-beijing",
- "name" : "sdc:host-password",
- "value" : "demo123456!"
- },
- {
- "product" : "onap-beijing",
- "name" : "so:host-url",
- "value" : "http://192.168.17.35:30223"
- },
- {
- "product" : "onap-beijing",
- "name" : "so:host-username",
- "value" : "InfraPortalClien"
- },
- {
- "product" : "onap-beijing",
- "name" : "so:host-password",
- "value" : "password1$"
- }
-] \ No newline at end of file
diff --git a/deployment/zip/src/main/release/data/onap-casablanca-profile.json b/deployment/zip/src/main/release/data/onap-casablanca-profile.json
deleted file mode 100644
index 36c4a5a9..00000000
--- a/deployment/zip/src/main/release/data/onap-casablanca-profile.json
+++ /dev/null
@@ -1,57 +0,0 @@
-[
- {
- "product" : "onap-casablanca",
- "name" : "aai:host-url",
- "value" : "https://192.168.17.7:8443"
- },
- {
- "product" : "onap-casablanca",
- "name" : "aai:host-username",
- "value" : "AAI"
- },
- {
- "product" : "onap-casablanca",
- "name" : "aai:host-password",
- "value" : "AAI"
- },
- {
- "product" : "onap-casablanca",
- "name" : "msb:host-url",
- "value" : "http://192.168.17.5:80"
- },
- {
- "product" : "onap-casablanca",
- "name" : "sdc:host-url",
- "value" : "http://192.168.17.13:8080"
- },
- {
- "product" : "onap-casablanca",
- "name" : "sdc:host-username",
- "value" : "cs_0008"
- },
- {
- "product" : "onap-casablanca",
- "name" : "sdc:host-password",
- "value" : "demo123456!"
- },
- {
- "product" : "onap-casablanca",
- "name" : "policy:host-url",
- "value" : "http://192.168.17.19:8443"
- },
- {
- "product" : "onap-casablanca",
- "name" : "so:host-url",
- "value" : "http://192.168.17.3:8080"
- },
- {
- "product" : "onap-casablanca",
- "name" : "so:host-username",
- "value" : "InfraPortalClien"
- },
- {
- "product" : "onap-casablanca",
- "name" : "so:host-password",
- "value" : "password1$"
- }
-] \ No newline at end of file