diff options
author | Eran (ev672n), Vosk <ev672n@att.com> | 2018-08-06 15:26:20 +0300 |
---|---|---|
committer | Eran (ev672n), Vosk <ev672n@att.com> | 2018-08-06 15:26:20 +0300 |
commit | 98402fb4dc509ce1de0beccb3daefb4c8a755957 (patch) | |
tree | 39de55dd6c4bdcf28a4bee7c323d03e5200e4be6 | |
parent | aa17bf450180971b442a8b49ae08ba986c44cfb7 (diff) |
Changing the dcae ci code
Dockerizing the DCAE-CI code
Change-Id: If8647213ee3e68fa00f81ae426404810d5469326
Issue-ID: SDC-1603
Signed-off-by: Eran (ev672n), Vosk <ev672n@att.com>
130 files changed, 25866 insertions, 1835 deletions
@@ -1,4 +1,4 @@ [gerrit] host=gerrit.onap.org port=29418 -project=sdc/jtosca.git +project=sdc/dcae-d/ci.git diff --git a/.maven-dockerignore b/.maven-dockerignore new file mode 100644 index 0000000..8897bd9 --- /dev/null +++ b/.maven-dockerignore @@ -0,0 +1 @@ +target/docker/** diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..053dd43 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,24 @@ +FROM onap/base_sdc-sanity:1.3.1 + +RUN apk add --no-cache \ + shadow \ + && : + +RUN mkdir ExtentReport logs + +COPY chef-solo chef-solo +COPY target/dcae-ci-tests-*-jar-with-dependencies.jar dcae-ci-tests-jar-with-dependencies.jar +COPY target/classes/testSuite/testSuite.xml /testSuite/testSuite.xml +COPY target/classes/conf conf +COPY startup.sh startup.sh + +RUN set -x ; \ + groupadd -g 35953 -f dcae ; \ + useradd -u 352070 -g dcae -Gdcae -m -d /home/dcae dcae && exit 0 ; exit 1 + +RUN chmod 775 startup.sh /testSuite/testSuite.xml /chef-solo /conf /ExtentReport /logs ; \ + chown dcae:dcae startup.sh /testSuite/testSuite.xml /chef-solo /conf /ExtentReport /logs + +USER dcae + +ENTRYPOINT ["./startup.sh"]
\ No newline at end of file diff --git a/LICENSE.TXT b/LICENSE.TXT deleted file mode 100644 index 4ab2a6d..0000000 --- a/LICENSE.TXT +++ /dev/null @@ -1,19 +0,0 @@ -/* -* ============LICENSE_START========================================== -* =================================================================== -* Copyright © 2018 AT&T Intellectual Property. -* All rights reserved. -* =================================================================== -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* ============LICENSE_END============================================ -*/ diff --git a/chef-solo/cookbooks/dcae-ci-tests/.gitignore b/chef-solo/cookbooks/dcae-ci-tests/.gitignore new file mode 100644 index 0000000..064f878 --- /dev/null +++ b/chef-solo/cookbooks/dcae-ci-tests/.gitignore @@ -0,0 +1,19 @@ +.vagrant +Berksfile.lock +*~ +*# +.#* +\#*# +.*.sw[a-z] +*.un~ + +# Bundler +Gemfile.lock +bin/* +.bundle/* + +.kitchen/ +.kitchen.local.yml + +######### Private +run.me
\ No newline at end of file diff --git a/chef-solo/cookbooks/dcae-ci-tests/.kitchen.yml b/chef-solo/cookbooks/dcae-ci-tests/.kitchen.yml new file mode 100644 index 0000000..c108d46 --- /dev/null +++ b/chef-solo/cookbooks/dcae-ci-tests/.kitchen.yml @@ -0,0 +1,16 @@ +--- +driver: + name: vagrant + +provisioner: + name: chef_zero + +platforms: + - name: ubuntu-16.04 + - name: centos-7.1 + +suites: + - name: default + run_list: + - recipe[dcae-ci-tests::default] + attributes: diff --git a/chef-solo/cookbooks/dcae-ci-tests/README.md b/chef-solo/cookbooks/dcae-ci-tests/README.md new file mode 100644 index 0000000..27aba53 --- /dev/null +++ b/chef-solo/cookbooks/dcae-ci-tests/README.md @@ -0,0 +1,4 @@ +# Deploy-DCAE + +TODO: Enter the cookbook description here. + diff --git a/chef-solo/cookbooks/dcae-ci-tests/attributes/default.rb b/chef-solo/cookbooks/dcae-ci-tests/attributes/default.rb new file mode 100644 index 0000000..59149fc --- /dev/null +++ b/chef-solo/cookbooks/dcae-ci-tests/attributes/default.rb @@ -0,0 +1,7 @@ +# App Versions +default['DCAE']['BE'][:http_port] = 8082 +default['DCAE']['BE'][:https_port] = 8444 +default['DCAE']['FE'][:http_port] = 8183 +default['DCAE']['FE'][:https_port] = 9444 + +default['disableHttp'] = true
\ No newline at end of file diff --git a/chef-solo/cookbooks/dcae-ci-tests/metadata.rb b/chef-solo/cookbooks/dcae-ci-tests/metadata.rb new file mode 100644 index 0000000..4b61d00 --- /dev/null +++ b/chef-solo/cookbooks/dcae-ci-tests/metadata.rb @@ -0,0 +1,7 @@ +name 'dcae-ci-tests' +maintainer 'Avishai G' +maintainer_email 'ag860a@intl.att.com' +license 'all_rights' +description 'Installs/Configures dcae-ci-tests' +long_description 'Installs/Configures DCAE-CI' +version '1.0.0' diff --git a/chef-solo/cookbooks/dcae-ci-tests/recipes/dcae-ci_setup.rb b/chef-solo/cookbooks/dcae-ci-tests/recipes/dcae-ci_setup.rb new file mode 100644 index 0000000..7bf9260 --- /dev/null +++ b/chef-solo/cookbooks/dcae-ci-tests/recipes/dcae-ci_setup.rb @@ -0,0 +1,30 @@ +url = "#{node['Webseal_URL']}" +be_vip = node['DCAE_BE_VIP'] +fe_vip = node['DCAE_FE_VIP'] + +if node['disableHttp'] + protocol = "https" + be_port = node['DCAE']['BE'][:https_port] + fe_port = node['DCAE']['FE'][:https_port] +else + protocol = "http" + be_port = node['DCAE']['BE'][:http_port] + fe_port = node['DCAE']['FE'][:http_port] +end + +template "dcae-ci-tests-conf" do + sensitive true + path "/conf/conf.yaml" + source "conf.yaml.erb" + owner "dcae" + group "dcae" + mode "0755" + variables ({ + :catalogbe_ip => be_vip, + :catalogbe_port => be_port, + :protocol => protocol, + :url => url, + :catalogfe_ip => fe_vip, + :catalogfe_port => fe_port + }) +end
\ No newline at end of file diff --git a/chef-solo/cookbooks/dcae-ci-tests/templates/default/conf.yaml.erb b/chef-solo/cookbooks/dcae-ci-tests/templates/default/conf.yaml.erb new file mode 100644 index 0000000..1dd9cee --- /dev/null +++ b/chef-solo/cookbooks/dcae-ci-tests/templates/default/conf.yaml.erb @@ -0,0 +1,19 @@ +dcaeBeHost: <%= @protocol %>://<%= @catalogbe_ip %> +dcaeBePort: <%= @catalogbe_port %> +sdcBeHost: <%= @protocol %>://<%= @catalogbe_ip %> +sdcBePort: 8443 +apiPath: "/dcae" +url: <%= @url %> +reportDBhost: null +reportDBport: 88 +captureTraffic: false +useBrowserMobProxy: false +stopOnClassFailure: null +reportFileName: UI_Extent_Report.html +reportFolder: ./ExtentReport/ +numOfAttemptsToRefresh: 22 +rerun: false +windowsDownloadDirectory: null +screenshotFolder: ./ExtentReport/screenshots/ +harFilesFolder: ./ExtentReport/har_files/ +toscaLabUrl: http://<%= @catalogbe_ip %>:8085
\ No newline at end of file diff --git a/chef-solo/environments/.keep b/chef-solo/environments/.keep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/chef-solo/environments/.keep diff --git a/chef-solo/roles/dcae-ci.json b/chef-solo/roles/dcae-ci.json new file mode 100644 index 0000000..2dd9449 --- /dev/null +++ b/chef-solo/roles/dcae-ci.json @@ -0,0 +1,17 @@ +{ + "name": "dcae-ci-tests", + "description": "Installation application Setup - dcae-ci-tests", + "json_class": "Chef::Role", + "default_attributes": { + + }, + "override_attributes": { + + }, + "chef_type": "role", + "run_list": [ + "recipe[dcae-ci-tests::dcae-ci_setup]" + ], + "env_run_lists": { + } +} diff --git a/chef-solo/solo.json b/chef-solo/solo.json new file mode 100644 index 0000000..399e809 --- /dev/null +++ b/chef-solo/solo.json @@ -0,0 +1,3 @@ +{ + "run_list": [ "role[dcae-ci]" ] +} diff --git a/chef-solo/solo.rb b/chef-solo/solo.rb new file mode 100644 index 0000000..06c1af4 --- /dev/null +++ b/chef-solo/solo.rb @@ -0,0 +1,16 @@ +root = File.absolute_path(File.dirname(__FILE__)) +file_cache_path root +cookbook_path root + '/cookbooks' +json_attribs root + '/solo.json' +checksum_path root + '/checksums' +data_bag_path root + '/data_bags' +environment_path root + '/environments' +file_backup_path root + '/backup' +file_cache_path root + '/cache' +log_level :info +log_location STDOUT +rest_timeout 300 +role_path root + '/roles' +syntax_check_cache_path +umask 0022 +verbose_logging nil diff --git a/cypress-docker/.gitignore b/cypress-docker/.gitignore new file mode 100644 index 0000000..bbb5d53 --- /dev/null +++ b/cypress-docker/.gitignore @@ -0,0 +1,3 @@ +.DS_Store +test/src/.Trash-0/ +test/src/cypress/videos/ diff --git a/cypress-docker/CODE_OF_CONDUCT.md b/cypress-docker/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..cb65de5 --- /dev/null +++ b/cypress-docker/CODE_OF_CONDUCT.md @@ -0,0 +1,52 @@ +# Contributor Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [hello@cypress.io](mailto:hello@cypress.io). All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org diff --git a/cypress-docker/CONTRIBUTING.md b/cypress-docker/CONTRIBUTING.md new file mode 100644 index 0000000..8cd77f8 --- /dev/null +++ b/cypress-docker/CONTRIBUTING.md @@ -0,0 +1,7 @@ +# Contributing to Cypress + +Thanks for taking the time to contribute! :smile: + +## Code of Conduct + +All contributors are expecting to abide by our [Code of Conduct](CODE_OF_CONDUCT.md). diff --git a/cypress-docker/README.md b/cypress-docker/README.md new file mode 100644 index 0000000..2e8c532 --- /dev/null +++ b/cypress-docker/README.md @@ -0,0 +1,38 @@ +# Cypress Docker Images + +./node_modules/.bin/stop-only cypress + +These images provide all of the required dependencies for running Cypress in Docker. + +We have two main images: + +| Image | Default | CI Build | Description | +| ---------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------- | +| [cypress/base](base) | `cypress/base:8` | [![Docker Build Status](https://img.shields.io/docker/build/cypress/base.svg)](https://hub.docker.com/r/cypress/base/) | All system dependencies, no browsers. | +| [cypress/browsers](browsers) | `cypress/browsers` | [![Docker Build Status](https://img.shields.io/docker/build/cypress/browsers.svg)](https://hub.docker.com/r/cypress/browsers/) | All system dependencies and Chrome and Firefox browsers. | + +Of these images, we provide multiple tags for various operating systems and specific browser versions. These allow you to target specific combinations you need. We only provide browsers for `Debian`, but you can use our base images and build your own. + +| Name + Tag | Node | Operating System | Dependences | Browsers | +| -------------------------------------------------------- | ---- | ---------------- | ----------- | ---------------- | +| [cypress/base:4](base/4) | 4 | Debian | ✅ | 🚫 | +| [cypress/base:6](base/6) | 6 | Debian | ✅ | 🚫 | +| [cypress/base:8](base/8) | 8 | Debian | ✅ | 🚫 | +| [cypress/base:10](base/10) | 10 | Debian | ✅ | 🚫 | +| [cypress/base:centos7](base/centos7) | 6 | CentOS | ✅ | 🚫 | +| [cypress/base:ubuntu16](base/ubuntu16) | 6 | Ubuntu | ✅ | 🚫 | +| [cypress/browsers:chrome65-ff57](browsers/chrome65-ff57) | 8 | Debian | ✅ | Chrome 65, FF 57 | + +## DockerHub + +All of the images and tags are [published to DockerHub here](https://hub.docker.com/r/cypress). + +## Examples + +We utilize many of these docker images in our own projects, with different CI providers. + +[Check out our docs for examples.](https://on.cypress.io/docker) + +## Contributing + +See [CONTRIBUTING.md](CONTRIBUTING.md) diff --git a/cypress-docker/base/10/Dockerfile b/cypress-docker/base/10/Dockerfile new file mode 100644 index 0000000..db4eaaf --- /dev/null +++ b/cypress-docker/base/10/Dockerfile @@ -0,0 +1,17 @@ +FROM node:10.0 + +RUN apt-get update && \ + apt-get install -y \ + libgtk2.0-0 \ + libnotify-dev \ + libgconf-2-4 \ + libnss3 \ + libxss1 \ + libasound2 \ + xvfb + +RUN npm i -g npm@6 + +# versions of local tools +RUN node -v +RUN npm -v diff --git a/cypress-docker/base/10/README.md b/cypress-docker/base/10/README.md new file mode 100644 index 0000000..ffd80d8 --- /dev/null +++ b/cypress-docker/base/10/README.md @@ -0,0 +1,12 @@ +# cypress/base:10 + +## Example + +Sample Dockerfile + +``` +FROM cypress/base:10 +RUN npm install --save-dev cypress +RUN $(npm bin)/cypress verify +RUN $(npm bin)/cypress run +``` diff --git a/cypress-docker/base/10/build.sh b/cypress-docker/base/10/build.sh new file mode 100644 index 0000000..e16db5a --- /dev/null +++ b/cypress-docker/base/10/build.sh @@ -0,0 +1,7 @@ +set e+x + +# build image with Cypress dependencies +LOCAL_NAME=cypress/base:10 + +echo "Building $LOCAL_NAME" +docker build -t $LOCAL_NAME . diff --git a/cypress-docker/base/4/Dockerfile b/cypress-docker/base/4/Dockerfile new file mode 100644 index 0000000..4298ce4 --- /dev/null +++ b/cypress-docker/base/4/Dockerfile @@ -0,0 +1,11 @@ +FROM node:4.8.4 + +RUN apt-get update && \ + apt-get install -y \ + libgtk2.0-0 \ + libnotify-dev \ + libgconf-2-4 \ + libnss3 \ + libxss1 \ + libasound2 \ + xvfb diff --git a/cypress-docker/base/4/README.md b/cypress-docker/base/4/README.md new file mode 100644 index 0000000..6213bd1 --- /dev/null +++ b/cypress-docker/base/4/README.md @@ -0,0 +1,12 @@ +# cypress/base:4 + +## Example + +Sample Dockerfile + +``` +FROM cypress/base:4 +RUN npm install --save-dev cypress +RUN $(npm bin)/cypress verify +RUN $(npm bin)/cypress run +``` diff --git a/cypress-docker/base/4/build.sh b/cypress-docker/base/4/build.sh new file mode 100644 index 0000000..ed2436a --- /dev/null +++ b/cypress-docker/base/4/build.sh @@ -0,0 +1,7 @@ +set e+x + +# build image with Cypress dependencies +LOCAL_NAME=cypress/base:4 + +echo "Building $LOCAL_NAME" +docker build -t $LOCAL_NAME . diff --git a/cypress-docker/base/6/Dockerfile b/cypress-docker/base/6/Dockerfile new file mode 100644 index 0000000..268108e --- /dev/null +++ b/cypress-docker/base/6/Dockerfile @@ -0,0 +1,11 @@ +FROM node:6.11.1 + +RUN apt-get update && \ + apt-get install -y \ + libgtk2.0-0 \ + libnotify-dev \ + libgconf-2-4 \ + libnss3 \ + libxss1 \ + libasound2 \ + xvfb diff --git a/cypress-docker/base/6/README.md b/cypress-docker/base/6/README.md new file mode 100644 index 0000000..d52297f --- /dev/null +++ b/cypress-docker/base/6/README.md @@ -0,0 +1,12 @@ +# cypress/base:6 + +## Example + +Sample Dockerfile + +``` +FROM cypress/base:6 +RUN npm install --save-dev cypress +RUN $(npm bin)/cypress verify +RUN $(npm bin)/cypress run +``` diff --git a/cypress-docker/base/6/build.sh b/cypress-docker/base/6/build.sh new file mode 100644 index 0000000..66a767e --- /dev/null +++ b/cypress-docker/base/6/build.sh @@ -0,0 +1,7 @@ +set e+x + +# build image with Cypress dependencies +LOCAL_NAME=cypress/base:6 + +echo "Building $LOCAL_NAME" +docker build -t $LOCAL_NAME . diff --git a/cypress-docker/base/8/Dockerfile b/cypress-docker/base/8/Dockerfile new file mode 100644 index 0000000..294e2f0 --- /dev/null +++ b/cypress-docker/base/8/Dockerfile @@ -0,0 +1,17 @@ +FROM node:8.11 + +RUN apt-get update && \ + apt-get install -y \ + libgtk2.0-0 \ + libnotify-dev \ + libgconf-2-4 \ + libnss3 \ + libxss1 \ + libasound2 \ + xvfb + +RUN npm install npm@5.8.0 -g + +# versions of local tools +RUN node -v +RUN npm -v diff --git a/cypress-docker/base/8/README.md b/cypress-docker/base/8/README.md new file mode 100644 index 0000000..2078c5e --- /dev/null +++ b/cypress-docker/base/8/README.md @@ -0,0 +1,12 @@ +# cypress/base:8 + +## Example + +Sample Dockerfile + +``` +FROM cypress/base:8 +RUN npm install --save-dev cypress +RUN $(npm bin)/cypress verify +RUN $(npm bin)/cypress run +``` diff --git a/cypress-docker/base/8/build.sh b/cypress-docker/base/8/build.sh new file mode 100644 index 0000000..6e34b8d --- /dev/null +++ b/cypress-docker/base/8/build.sh @@ -0,0 +1,7 @@ +set e+x + +# build image with Cypress dependencies +LOCAL_NAME=cypress/base:8 + +echo "Building $LOCAL_NAME" +docker build -t $LOCAL_NAME . diff --git a/cypress-docker/base/README.md b/cypress-docker/base/README.md new file mode 100644 index 0000000..6cec89a --- /dev/null +++ b/cypress-docker/base/README.md @@ -0,0 +1,15 @@ +# cypress/base + +Main images that include all dependencies necessary to run Cypress. +Each tag is in a sub folder, named after Node version or OS it is built on. + +Name + Tag | Node | Operating System | Link | Yarn version +--- | --- | --- | --- | --- +cypress/base:4 | 4 | Debian | [/4](4) | 0.24.4 +cypress/base:6 | 6 | Debian | [/6](6) | 0.24.6 +cypress/base:8 | 8 | Debian | [/8](8) | 1.5.1 +cypress/base:10 | 10 | Debian | [/10](10) | 1.6.0 +cypress/base:centos7 | 6 | CentOS | [/centos7](centos7) | 🚫 +cypress/base:ubuntu16 | 6 | Ubuntu | [/ubuntu16](ubuntu16) | 🚫 + +**note** Cypress no longer supports Node 0.12 diff --git a/cypress-docker/base/centos7/Dockerfile b/cypress-docker/base/centos7/Dockerfile new file mode 100644 index 0000000..045f33f --- /dev/null +++ b/cypress-docker/base/centos7/Dockerfile @@ -0,0 +1,31 @@ +FROM centos:7 + +# To find which package provides missing dependency, for example libXss.so +# yum whatprovides libXss* +# and then install displayed answer like +# yum install -y libXScrnSaver* + +# Install dependencies +RUN yum install -y xorg-x11-server-Xvfb +RUN yum install -y gtk2-2.24* +RUN yum install -y libXtst* +# provides libXss +RUN yum install -y libXScrnSaver* +# provides libgconf-2 +RUN yum install -y GConf2* +# provides libasound +RUN yum install -y alsa-lib* + +# Install Node +RUN yum install -y epel-release +RUN yum install -y nodejs-6.11.3 +# comment out installing NPM 5 because fails +# with error: +# Error: Cannot find module 'semver' +# RUN npm install -g npm@5 +RUN node -v +RUN npm -v + +# there is some dependency I cannot figure out missing +# which gets installed when installing "git*" +RUN yum install -y git* diff --git a/cypress-docker/base/centos7/README.md b/cypress-docker/base/centos7/README.md new file mode 100644 index 0000000..5dd6a69 --- /dev/null +++ b/cypress-docker/base/centos7/README.md @@ -0,0 +1,14 @@ +# cypress/base:centos7 + +This image was built to resolve [issue #18](https://github.com/cypress-io/cypress-docker-images/issues/18) + +## Example + +Sample Dockerfile + +``` +FROM cypress/base:centos7 +RUN npm install --save-dev cypress +RUN $(npm bin)/cypress verify +RUN $(npm bin)/cypress run +``` diff --git a/cypress-docker/base/centos7/build.sh b/cypress-docker/base/centos7/build.sh new file mode 100644 index 0000000..d4ff1b0 --- /dev/null +++ b/cypress-docker/base/centos7/build.sh @@ -0,0 +1,7 @@ +set e+x + +# build image with Cypress dependencies +LOCAL_NAME=cypress/base:centos7 + +echo "Building $LOCAL_NAME" +docker build -t $LOCAL_NAME . diff --git a/cypress-docker/base/ubuntu16/Dockerfile b/cypress-docker/base/ubuntu16/Dockerfile new file mode 100644 index 0000000..619f603 --- /dev/null +++ b/cypress-docker/base/ubuntu16/Dockerfile @@ -0,0 +1,31 @@ +FROM ubuntu:16.04 + +RUN apt-get update && \ + apt-get install -y apt-transport-https curl + +RUN touch /etc/apt/sources.list.d/nodesource.list +RUN echo "deb https://deb.nodesource.com/node_6.x xenial main" > /etc/apt/sources.list.d/nodesource.list +RUN echo "deb-src https://deb.nodesource.com/node_6.x xenial main" >> /etc/apt/sources.list.d/nodesource.list + +RUN curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - +RUN apt-get update + +# Should install Node 6 +RUN apt-get install -y nodejs + +# Install Git client +RUN apt-get update && apt-get install -y git +RUN git --version + +# Install Cypress dependencies (separate commands to avoid time outs) +RUN apt-get install -y \ + libgtk2.0-0 +RUN apt-get install -y \ + libnotify-dev +RUN apt-get install -y \ + libgconf-2-4 \ + libnss3 \ + libxss1 +RUN apt-get install -y \ + libasound2 \ + xvfb diff --git a/cypress-docker/base/ubuntu16/README.md b/cypress-docker/base/ubuntu16/README.md new file mode 100644 index 0000000..908c1c3 --- /dev/null +++ b/cypress-docker/base/ubuntu16/README.md @@ -0,0 +1,14 @@ +# cypress/base:ubuntu16 + +This image was built to resolve [issue #19](https://github.com/cypress-io/cypress-docker-images/issues/19) + +## Example + +Sample Dockerfile + +``` +FROM cypress/base:ubuntu16 +RUN npm install --save-dev cypress +RUN $(npm bin)/cypress verify +RUN $(npm bin)/cypress run +``` diff --git a/cypress-docker/base/ubuntu16/build.sh b/cypress-docker/base/ubuntu16/build.sh new file mode 100644 index 0000000..80e79b0 --- /dev/null +++ b/cypress-docker/base/ubuntu16/build.sh @@ -0,0 +1,7 @@ +set e+x + +# build image with Cypress dependencies +LOCAL_NAME=cypress/base:ubuntu16 + +echo "Building $LOCAL_NAME" +docker build -t $LOCAL_NAME . diff --git a/cypress-docker/browsers/README.md b/cypress-docker/browsers/README.md new file mode 100644 index 0000000..c95932d --- /dev/null +++ b/cypress-docker/browsers/README.md @@ -0,0 +1,8 @@ +# cypress/browsers + +> Image with all dependencies and a browser + +- Node 6 + Chrome 63 + Firefox 57 [/chrome63-ff57](chrome63-ff57) +- Node 8 + Chrome 65 + Firefox 57 [/chrome65-ff57](chrome65-ff57) + +See Cypress on CI using these images [here](https://on.cypress.io/docker) diff --git a/cypress-docker/browsers/chrome63-ff57/Dockerfile b/cypress-docker/browsers/chrome63-ff57/Dockerfile new file mode 100644 index 0000000..93379e7 --- /dev/null +++ b/cypress-docker/browsers/chrome63-ff57/Dockerfile @@ -0,0 +1,43 @@ +FROM cypress/base:6 + +ARG FIREFOX_VERSION=57.0.2 + +USER root + +RUN node --version +RUN echo "force new chrome here" + +# install Chromebrowser +RUN \ + wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \ + echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list && \ + apt-get update && \ + apt-get install -y dbus-x11 google-chrome-stable && \ + rm -rf /var/lib/apt/lists/* + +# "fake" dbus address to prevent errors +# https://github.com/SeleniumHQ/docker-selenium/issues/87 +ENV DBUS_SESSION_BUS_ADDRESS=/dev/null + +# install Firefox browser +RUN wget --no-verbose -O /tmp/firefox.tar.bz2 https://download-installer.cdn.mozilla.net/pub/firefox/releases/$FIREFOX_VERSION/linux-x86_64/en-US/firefox-$FIREFOX_VERSION.tar.bz2 \ + && tar -C /opt -xjf /tmp/firefox.tar.bz2 \ + && rm /tmp/firefox.tar.bz2 \ + && ln -fs /opt/firefox/firefox /usr/bin/firefox + +# Add zip utility - it comes in very handy +RUN apt-get update && apt-get install -y zip + +# versions of local tools +RUN google-chrome --version +RUN firefox --version +RUN zip --version +RUN git --version + +# a few environment variables to make NPM installs easier +# good colors for most applications +ENV TERM xterm +# avoid million NPM install messages +ENV npm_config_loglevel warn +# allow installing when the main user is root +ENV npm_config_unsafe_perm true diff --git a/cypress-docker/browsers/chrome63-ff57/README.md b/cypress-docker/browsers/chrome63-ff57/README.md new file mode 100644 index 0000000..aec940c --- /dev/null +++ b/cypress-docker/browsers/chrome63-ff57/README.md @@ -0,0 +1,20 @@ +# cypress/browsers:chrome63-ff57 + +A complete image with all dependencies for Cypress included browsers Chrome, Firefox + +[Dockerfile](Dockerfile) + +## Example + +If you want to build your image + +``` +FROM cypress/browsers:chrome63-ff57 +RUN npm i cypress +RUN firefox --version +RUN $(npm bin)/cypress run --browser chrome +RUN $(npm bin)/cypress run --browser firefox +``` + +This image uses the `root` user. You might want to switch to non-root +user when running this container for security. diff --git a/cypress-docker/browsers/chrome63-ff57/build.sh b/cypress-docker/browsers/chrome63-ff57/build.sh new file mode 100644 index 0000000..36ead7d --- /dev/null +++ b/cypress-docker/browsers/chrome63-ff57/build.sh @@ -0,0 +1,6 @@ +set e+x + +LOCAL_NAME=cypress/browsers:chrome63-ff57 + +echo "Building $LOCAL_NAME" +docker build -t $LOCAL_NAME . diff --git a/cypress-docker/browsers/chrome65-ff57/Dockerfile b/cypress-docker/browsers/chrome65-ff57/Dockerfile new file mode 100644 index 0000000..2fdabfc --- /dev/null +++ b/cypress-docker/browsers/chrome65-ff57/Dockerfile @@ -0,0 +1,43 @@ +FROM cypress/base:8 + +ARG FIREFOX_VERSION=57.0.2 + +USER root + +RUN node --version +RUN echo "force new chrome here" + +# install Chromebrowser +RUN \ + wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \ + echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list && \ + apt-get update && \ + apt-get install -y dbus-x11 google-chrome-stable && \ + rm -rf /var/lib/apt/lists/* + +# "fake" dbus address to prevent errors +# https://github.com/SeleniumHQ/docker-selenium/issues/87 +ENV DBUS_SESSION_BUS_ADDRESS=/dev/null + +# install Firefox browser +RUN wget --no-verbose -O /tmp/firefox.tar.bz2 https://download-installer.cdn.mozilla.net/pub/firefox/releases/$FIREFOX_VERSION/linux-x86_64/en-US/firefox-$FIREFOX_VERSION.tar.bz2 \ + && tar -C /opt -xjf /tmp/firefox.tar.bz2 \ + && rm /tmp/firefox.tar.bz2 \ + && ln -fs /opt/firefox/firefox /usr/bin/firefox + +# Add zip utility - it comes in very handy +RUN apt-get update && apt-get install -y zip + +# versions of local tools +RUN google-chrome --version +RUN firefox --version +RUN zip --version +RUN git --version + +# a few environment variables to make NPM installs easier +# good colors for most applications +ENV TERM xterm +# avoid million NPM install messages +ENV npm_config_loglevel warn +# allow installing when the main user is root +ENV npm_config_unsafe_perm true diff --git a/cypress-docker/browsers/chrome65-ff57/README.md b/cypress-docker/browsers/chrome65-ff57/README.md new file mode 100644 index 0000000..d308004 --- /dev/null +++ b/cypress-docker/browsers/chrome65-ff57/README.md @@ -0,0 +1,20 @@ +# cypress/browsers:chrome65-ff57 + +A complete image with all dependencies for Cypress included browsers Chrome, Firefox + +[Dockerfile](Dockerfile) + +## Example + +If you want to build your image + +``` +FROM cypress/browsers:chrome65-ff57 +RUN npm i cypress +RUN firefox --version +RUN $(npm bin)/cypress run --browser chrome +RUN $(npm bin)/cypress run --browser firefox +``` + +This image uses the `root` user. You might want to switch to non-root +user when running this container for security. diff --git a/cypress-docker/browsers/chrome65-ff57/build.sh b/cypress-docker/browsers/chrome65-ff57/build.sh new file mode 100644 index 0000000..6f8b6c7 --- /dev/null +++ b/cypress-docker/browsers/chrome65-ff57/build.sh @@ -0,0 +1,6 @@ +set e+x + +LOCAL_NAME=cypress/browsers:chrome65-ff57 + +echo "Building $LOCAL_NAME" +docker build -t $LOCAL_NAME . diff --git a/cypress-docker/test/Dockerfile b/cypress-docker/test/Dockerfile new file mode 100644 index 0000000..9cb534e --- /dev/null +++ b/cypress-docker/test/Dockerfile @@ -0,0 +1,27 @@ +FROM cypress/browsers:chrome65-ff57 + +USER root + +ENV PATH /home/node/app/node_modules/.bin:$PATH + +ENV npm_config_loglevel=warn + +WORKDIR /home/node/app + +COPY src/package.json . + +RUN npm i npm@latest -g + +RUN npm config set proxy http://one.proxy.att.com:8080 +RUN npm config set https-proxy http://one.proxy.att.com:8080 + +RUN npm install --verbose --save \ + mocha@5.0.0 \ + mochawesome@3.0.2 \ + cypress@2.1.0 \ + cypress-testing-library@2.2.0 + +RUN /home/node/app/node_modules/.bin/cypress verify && \ + /home/node/app/node_modules/.bin/cypress --version + +CMD ["cypress", "run", "--browser", "chrome"] diff --git a/cypress-docker/test/build.sh b/cypress-docker/test/build.sh new file mode 100644 index 0000000..4e8ed64 --- /dev/null +++ b/cypress-docker/test/build.sh @@ -0,0 +1,12 @@ +set e+x + +LOCAL_NAME=dockercentral.it.att.com:5100/com.att.sdc/dcae-cypress:1.0.0 + +echo "[INFO] Building $LOCAL_NAME" + +docker build -t $LOCAL_NAME \ + --build-arg HTTP_PROXY=http://one.proxy.att.com:8080 \ + --build-arg HTTPS_PROXY=http://one.proxy.att.com:8080 \ + . + +echo "[INFO] Done" diff --git a/cypress-docker/test/src/cypress.json b/cypress-docker/test/src/cypress.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/cypress-docker/test/src/cypress.json @@ -0,0 +1 @@ +{} diff --git a/cypress-docker/test/src/cypress.json.tpl b/cypress-docker/test/src/cypress.json.tpl new file mode 100644 index 0000000..5a33747 --- /dev/null +++ b/cypress-docker/test/src/cypress.json.tpl @@ -0,0 +1,12 @@ +{ + "chromeWebSecurity": false, + "requestTimeout": 60000, + "responseTimeout": 100000, + "videoRecording": false, + "baseUrl": "https://<dcae_fe_ip>:<dcae_fe_port>/dcaed/#/", + "env": { + "backendUrl": + "https://<dcae_fe_ip>:<dcae_fe_port>/dcaed/dcaeProxy" + }, + "reporter": "/home/node/app/node_modules/mochawesome" +} diff --git a/cypress-docker/test/src/cypress/fixtures/TranslateSimpleCopy.json b/cypress-docker/test/src/cypress/fixtures/TranslateSimpleCopy.json new file mode 100644 index 0000000..2741f9c --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/TranslateSimpleCopy.json @@ -0,0 +1,48 @@ +{ + "processing": [ + { + "phase": "snmp_map", + + "processors": [ + { + "array": "varbinds", + + "datacolumn": "varbind_value", + + "keycolumn": "varbind_oid", + + "class": "SnmpConvertor" + }, + + { + "phase": "sto2", + "class": "RunPhase" + } + ] + }, + + { + "phase": "sto2", + + "processors": [ + { + "updates": { + "event.commonEventHeader.domain": "a" + }, + "class": "Set" + } + ] + }, + + { + "phase": "sto2", + + "processors": [ + { + "phase": "map_publish", + "class": "RunPhase" + } + ] + } + ] +} diff --git a/cypress-docker/test/src/cypress/fixtures/createMcHp.json b/cypress-docker/test/src/cypress/fixtures/createMcHp.json new file mode 100644 index 0000000..cb1f234 --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/createMcHp.json @@ -0,0 +1,8251 @@ +{ + "vfcmt": { + "uuid": "6b1f2556-f395-465a-863c-9fe3e3cb9155", + "name": "liav", + "description": "qqq1" + }, + "cdump": { + "cid": "e6a151b1-4645-4bc6-86cb-845ddb5b615d", + "flowType": "SNMP MSE", + "version": 0, + "nodes": [ + { + "requirements": [ + { + "node": "topic0", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_0", + "relationship": { "type": "dcae.relationships.subscribe_to_events" } + }, + { + "node": "topic1", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_1", + "relationship": { "type": "dcae.relationships.subscribe_to_events" } + }, + { + "node": "topic2", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_2", + "relationship": { "type": "dcae.relationships.subscribe_to_events" } + }, + { + "node": "topic3", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_3", + "relationship": { "type": "dcae.relationships.subscribe_to_events" } + }, + { + "node": "topic4", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_4", + "relationship": { "type": "dcae.relationships.subscribe_to_events" } + }, + { + "node": "topic5", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_5", + "relationship": { "type": "dcae.relationships.subscribe_to_events" } + }, + { + "node": "topic6", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_6", + "relationship": { "type": "dcae.relationships.subscribe_to_events" } + }, + { + "node": "topic7", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_7", + "relationship": { "type": "dcae.relationships.subscribe_to_events" } + }, + { + "node": "topic8", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_8", + "relationship": { "type": "dcae.relationships.subscribe_to_events" } + }, + { + "node": "topic9", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_9", + "relationship": { "type": "dcae.relationships.subscribe_to_events" } + }, + { + "node": "topic10", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_10", + "relationship": { "type": "dcae.relationships.subscribe_to_events" } + }, + { + "node": "topic11", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_11", + "relationship": { "type": "dcae.relationships.subscribe_to_events" } + }, + { + "node": "topic12", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_12", + "relationship": { "type": "dcae.relationships.subscribe_to_events" } + }, + { + "node": "topic13", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_13", + "relationship": { "type": "dcae.relationships.subscribe_to_events" } + }, + { + "node": "topic14", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_14", + "relationship": { "type": "dcae.relationships.subscribe_to_events" } + }, + { + "node": "topic15", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_15", + "relationship": { "type": "dcae.relationships.subscribe_to_events" } + }, + { + "node": "topic16", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_16", + "relationship": { "type": "dcae.relationships.subscribe_to_events" } + }, + { + "node": "topic17", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_0", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": "topic18", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_1", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": "topic19", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_2", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": "topic20", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_3", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": "topic21", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_4", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": "topic22", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_5", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": "topic23", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_6", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": "topic24", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_7", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": "topic25", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_8", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": "topic26", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_9", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": "topic27", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_10", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": "topic28", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_11", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": "topic29", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_12", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": "topic30", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_13", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "capability": { + "name": "dcae.capabilities.dockerHost", + "id": "template.yaml/dcae.capabilities.dockerHost" + }, + "name": "host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "Highlandpark_18.06.006", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dockerApp.Highlandpark_18.06.006" }, + "properties": [ + { + "assignment": { "value": { "get_input": "centralOrEdge" } }, + "name": "centralOrEdge", + "type": "string", + "constraints": [{ "valid_values": ["central", "edge"] }], + "value": { "get_input": "centralOrEdge" } + }, + { + "assignment": { + "value": { "get_input": "globalDmaapClusterHosts" } + }, + "name": "globalDmaapClusterHosts", + "type": "string", + "value": { "get_input": "globalDmaapClusterHosts" } + }, + { + "assignment": { "value": { "get_input": "scopes" } }, + "name": "scopes", + "type": "string", + "value": { "get_input": "scopes" } + }, + { + "assignment": { "value": { "get_input": "systemEnv" } }, + "name": "systemEnv", + "type": "string", + "constraints": [{ "valid_values": ["FTL", "IST", "ETE", "PROD"] }], + "value": { "get_input": "systemEnv" } + }, + { + "assignment": { "value": { "get_input": "waitOnErrorMs" } }, + "name": "waitOnErrorMs", + "type": "string", + "value": { "get_input": "waitOnErrorMs" } + }, + { "name": "image", "type": "string", "required": true }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location_id", + "type": "string", + "required": true, + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "name": "service_component_type", + "type": "string", + "required": true + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dockerApp.Highlandpark_18.06.006", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_0", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_subscribe_0", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_1", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_subscribe_1", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_2", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_subscribe_2", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_3", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_subscribe_3", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_4", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_subscribe_4", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_5", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_subscribe_5", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_6", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_subscribe_6", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_7", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_subscribe_7", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_8", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_subscribe_8", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_9", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_subscribe_9", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_10", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_subscribe_10", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_11", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_subscribe_11", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_12", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_subscribe_12", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_13", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_subscribe_13", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_14", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_subscribe_14", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_15", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_subscribe_15", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_16", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_subscribe_16", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_0", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_publish_0", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_1", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_publish_1", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_2", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_publish_2", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_3", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_publish_3", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_4", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_publish_4", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_5", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_publish_5", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_6", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_publish_6", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_7", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_publish_7", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_8", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_publish_8", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_9", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_publish_9", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_10", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_publish_10", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_11", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_publish_11", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_12", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_publish_12", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_13", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/stream_publish_13", + "relationship": { "type": "dcae.relationships.publish_events" } + }, + { + "node": { + "name": "dcae.capabilities.dockerHost", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dockerHost" + }, + "capability": { + "name": "dcae.capabilities.dockerHost", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dockerHost" + }, + "name": "host", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.dockerApp", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dockerApp" + }, + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dockerApp.Highlandpark_18.06.006", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dockerApp.Highlandpark_18.06.006" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382756.2", + "ndata": { + "name": "n.1532849382756.2", + "label": "Highlandpark_18.06.006", + "x": 672, + "y": 472.5, + "px": 671, + "py": 471.5, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic0", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { + "get_input": "DCAE-SYSLOG-COLLECTOR_topic0_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { + "get_input": "DCAE-SYSLOG-COLLECTOR_topic0_aaf_password" + } + }, + { + "assignment": { + "value": { + "get_input": "DCAE-SYSLOG-COLLECTOR_topic0_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { + "get_input": "DCAE-SYSLOG-COLLECTOR_topic0_aaf_username" + } + }, + { + "assignment": { + "value": { + "get_input": "DCAE-SYSLOG-COLLECTOR_topic0_client_role" + } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "DCAE-SYSLOG-COLLECTOR_topic0_client_role" } + }, + { + "assignment": { + "value": { "get_input": "DCAE-SYSLOG-COLLECTOR_topic0_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "DCAE-SYSLOG-COLLECTOR_topic0_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382788.3", + "ndata": { + "name": "n.1532849382788.3", + "label": "topic0", + "x": 722, + "y": 486.60131534967695, + "px": 721, + "py": 485.60131534967695, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic1", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { + "get_input": "DCAE-UCSNMP-COLLECTOR_topic1_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { + "get_input": "DCAE-UCSNMP-COLLECTOR_topic1_aaf_password" + } + }, + { + "assignment": { + "value": { + "get_input": "DCAE-UCSNMP-COLLECTOR_topic1_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { + "get_input": "DCAE-UCSNMP-COLLECTOR_topic1_aaf_username" + } + }, + { + "assignment": { + "value": { + "get_input": "DCAE-UCSNMP-COLLECTOR_topic1_client_role" + } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "DCAE-UCSNMP-COLLECTOR_topic1_client_role" } + }, + { + "assignment": { + "value": { "get_input": "DCAE-UCSNMP-COLLECTOR_topic1_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "DCAE-UCSNMP-COLLECTOR_topic1_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382794.4", + "ndata": { + "name": "n.1532849382794.4", + "label": "topic1", + "x": 772, + "y": 504.57294903847276, + "px": 771, + "py": 503.57294903847276, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic10", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { + "get_input": + "status-poller-and-mib-poller-to-hp_topic10_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { + "get_input": + "status-poller-and-mib-poller-to-hp_topic10_aaf_password" + } + }, + { + "assignment": { + "value": { + "get_input": + "status-poller-and-mib-poller-to-hp_topic10_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { + "get_input": + "status-poller-and-mib-poller-to-hp_topic10_aaf_username" + } + }, + { + "assignment": { + "value": { + "get_input": + "status-poller-and-mib-poller-to-hp_topic10_client_role" + } + }, + "name": "client_role", + "type": "string", + "value": { + "get_input": + "status-poller-and-mib-poller-to-hp_topic10_client_role" + } + }, + { + "assignment": { + "value": { + "get_input": "status-poller-and-mib-poller-to-hp_topic10_fqtn" + } + }, + "name": "fqtn", + "type": "string", + "value": { + "get_input": "status-poller-and-mib-poller-to-hp_topic10_fqtn" + } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382800.5", + "ndata": { + "name": "n.1532849382800.5", + "label": "topic10", + "x": 822, + "y": 501.0317078892959, + "px": 821, + "py": 500.0317078892959, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic11", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { "get_input": "cdapEnrichedEvent_topic11_aaf_password" } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "cdapEnrichedEvent_topic11_aaf_password" } + }, + { + "assignment": { + "value": { "get_input": "cdapEnrichedEvent_topic11_aaf_username" } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "cdapEnrichedEvent_topic11_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "cdapEnrichedEvent_topic11_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "cdapEnrichedEvent_topic11_client_role" } + }, + { + "assignment": { + "value": { "get_input": "cdapEnrichedEvent_topic11_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "cdapEnrichedEvent_topic11_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382805.6", + "ndata": { + "name": "n.1532849382805.6", + "label": "topic11", + "x": 872, + "y": 514.531579850048, + "px": 871, + "py": 513.531579850048, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic12", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { "get_input": "dcae-sam-events_topic12_aaf_password" } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "dcae-sam-events_topic12_aaf_password" } + }, + { + "assignment": { + "value": { "get_input": "dcae-sam-events_topic12_aaf_username" } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "dcae-sam-events_topic12_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "dcae-sam-events_topic12_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "dcae-sam-events_topic12_client_role" } + }, + { + "assignment": { + "value": { "get_input": "dcae-sam-events_topic12_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "dcae-sam-events_topic12_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382812.7", + "ndata": { + "name": "n.1532849382812.7", + "label": "topic12", + "x": 922, + "y": 495.2897261737831, + "px": 921, + "py": 494.2897261737831, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic13", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { "get_input": "dcaeContrailEvent_topic13_aaf_password" } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "dcaeContrailEvent_topic13_aaf_password" } + }, + { + "assignment": { + "value": { "get_input": "dcaeContrailEvent_topic13_aaf_username" } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "dcaeContrailEvent_topic13_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "dcaeContrailEvent_topic13_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "dcaeContrailEvent_topic13_client_role" } + }, + { + "assignment": { + "value": { "get_input": "dcaeContrailEvent_topic13_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "dcaeContrailEvent_topic13_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382817.8", + "ndata": { + "name": "n.1532849382817.8", + "label": "topic13", + "x": 972, + "y": 513.8904328817677, + "px": 971, + "py": 512.8904328817677, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic14", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { "get_input": "dcae-alarm-event_topic14_aaf_password" } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "dcae-alarm-event_topic14_aaf_password" } + }, + { + "assignment": { + "value": { "get_input": "dcae-alarm-event_topic14_aaf_username" } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "dcae-alarm-event_topic14_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "dcae-alarm-event_topic14_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "dcae-alarm-event_topic14_client_role" } + }, + { + "assignment": { + "value": { "get_input": "dcae-alarm-event_topic14_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "dcae-alarm-event_topic14_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382822.9", + "ndata": { + "name": "n.1532849382822.9", + "label": "topic14", + "x": 1022, + "y": 528.7799550911096, + "px": 1021, + "py": 527.7799550911096, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic15", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { + "get_input": "DCAE-COLLECTOR-SAM_topic15_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "DCAE-COLLECTOR-SAM_topic15_aaf_password" } + }, + { + "assignment": { + "value": { + "get_input": "DCAE-COLLECTOR-SAM_topic15_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "DCAE-COLLECTOR-SAM_topic15_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "DCAE-COLLECTOR-SAM_topic15_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "DCAE-COLLECTOR-SAM_topic15_client_role" } + }, + { + "assignment": { + "value": { "get_input": "DCAE-COLLECTOR-SAM_topic15_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "DCAE-COLLECTOR-SAM_topic15_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382831.10", + "ndata": { + "name": "n.1532849382831.10", + "label": "topic15", + "x": 1072, + "y": 534.757316655178, + "px": 1071, + "py": 533.757316655178, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic16", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { + "get_input": + "DCAE-COLLECTOR-UCSNMP-VOIP-IN_topic16_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { + "get_input": "DCAE-COLLECTOR-UCSNMP-VOIP-IN_topic16_aaf_password" + } + }, + { + "assignment": { + "value": { + "get_input": + "DCAE-COLLECTOR-UCSNMP-VOIP-IN_topic16_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { + "get_input": "DCAE-COLLECTOR-UCSNMP-VOIP-IN_topic16_aaf_username" + } + }, + { + "assignment": { + "value": { + "get_input": "DCAE-COLLECTOR-UCSNMP-VOIP-IN_topic16_client_role" + } + }, + "name": "client_role", + "type": "string", + "value": { + "get_input": "DCAE-COLLECTOR-UCSNMP-VOIP-IN_topic16_client_role" + } + }, + { + "assignment": { + "value": { + "get_input": "DCAE-COLLECTOR-UCSNMP-VOIP-IN_topic16_fqtn" + } + }, + "name": "fqtn", + "type": "string", + "value": { + "get_input": "DCAE-COLLECTOR-UCSNMP-VOIP-IN_topic16_fqtn" + } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382839.11", + "ndata": { + "name": "n.1532849382839.11", + "label": "topic16", + "x": 1122, + "y": 512.9196886941024, + "px": 1121, + "py": 511.91968869410243, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic17", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { "get_input": "syslog-raw-edge_topic17_aaf_password" } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "syslog-raw-edge_topic17_aaf_password" } + }, + { + "assignment": { + "value": { "get_input": "syslog-raw-edge_topic17_aaf_username" } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "syslog-raw-edge_topic17_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "syslog-raw-edge_topic17_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "syslog-raw-edge_topic17_client_role" } + }, + { + "assignment": { + "value": { "get_input": "syslog-raw-edge_topic17_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "syslog-raw-edge_topic17_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382844.12", + "ndata": { + "name": "n.1532849382844.12", + "label": "topic17", + "x": 1172, + "y": 536.9441572070726, + "px": 1171, + "py": 535.9441572070726, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic18", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { + "get_input": "dcae-alarm-output-edge_topic18_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { + "get_input": "dcae-alarm-output-edge_topic18_aaf_password" + } + }, + { + "assignment": { + "value": { + "get_input": "dcae-alarm-output-edge_topic18_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { + "get_input": "dcae-alarm-output-edge_topic18_aaf_username" + } + }, + { + "assignment": { + "value": { + "get_input": "dcae-alarm-output-edge_topic18_client_role" + } + }, + "name": "client_role", + "type": "string", + "value": { + "get_input": "dcae-alarm-output-edge_topic18_client_role" + } + }, + { + "assignment": { + "value": { "get_input": "dcae-alarm-output-edge_topic18_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "dcae-alarm-output-edge_topic18_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382854.13", + "ndata": { + "name": "n.1532849382854.13", + "label": "topic18", + "x": 1222, + "y": 518.6547483395483, + "px": 1221, + "py": 517.6547483395483, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic19", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { "get_input": "syslog-raw_topic19_aaf_password" } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "syslog-raw_topic19_aaf_password" } + }, + { + "assignment": { + "value": { "get_input": "syslog-raw_topic19_aaf_username" } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "syslog-raw_topic19_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "syslog-raw_topic19_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "syslog-raw_topic19_client_role" } + }, + { + "assignment": { + "value": { "get_input": "syslog-raw_topic19_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "syslog-raw_topic19_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382860.14", + "ndata": { + "name": "n.1532849382860.14", + "label": "topic19", + "x": 1272, + "y": 499.47352884993177, + "px": 1271, + "py": 498.47352884993177, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic2", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { + "get_input": "edge-syslog-to-hp-overland_topic2_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { + "get_input": "edge-syslog-to-hp-overland_topic2_aaf_password" + } + }, + { + "assignment": { + "value": { + "get_input": "edge-syslog-to-hp-overland_topic2_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { + "get_input": "edge-syslog-to-hp-overland_topic2_aaf_username" + } + }, + { + "assignment": { + "value": { + "get_input": "edge-syslog-to-hp-overland_topic2_client_role" + } + }, + "name": "client_role", + "type": "string", + "value": { + "get_input": "edge-syslog-to-hp-overland_topic2_client_role" + } + }, + { + "assignment": { + "value": { "get_input": "edge-syslog-to-hp-overland_topic2_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "edge-syslog-to-hp-overland_topic2_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382865.15", + "ndata": { + "name": "n.1532849382865.15", + "label": "topic2", + "x": 1322, + "y": 485.94478121456723, + "px": 1321, + "py": 484.94478121456723, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic20", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { "get_input": "dcae-alarm-output_topic20_aaf_password" } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "dcae-alarm-output_topic20_aaf_password" } + }, + { + "assignment": { + "value": { "get_input": "dcae-alarm-output_topic20_aaf_username" } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "dcae-alarm-output_topic20_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "dcae-alarm-output_topic20_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "dcae-alarm-output_topic20_client_role" } + }, + { + "assignment": { + "value": { "get_input": "dcae-alarm-output_topic20_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "dcae-alarm-output_topic20_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382872.16", + "ndata": { + "name": "n.1532849382872.16", + "label": "topic20", + "x": 1372, + "y": 495.7821821667858, + "px": 1371, + "py": 494.7821821667858, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic21", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { "get_input": "vco-faults-out_topic21_aaf_password" } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "vco-faults-out_topic21_aaf_password" } + }, + { + "assignment": { + "value": { "get_input": "vco-faults-out_topic21_aaf_username" } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "vco-faults-out_topic21_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "vco-faults-out_topic21_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "vco-faults-out_topic21_client_role" } + }, + { + "assignment": { + "value": { "get_input": "vco-faults-out_topic21_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "vco-faults-out_topic21_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382883.17", + "ndata": { + "name": "n.1532849382883.17", + "label": "topic21", + "x": 1422, + "y": 479.67875262469033, + "px": 1421, + "py": 478.67875262469033, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic22", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { "get_input": "cl-voip-out_topic22_aaf_password" } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "cl-voip-out_topic22_aaf_password" } + }, + { + "assignment": { + "value": { "get_input": "cl-voip-out_topic22_aaf_username" } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "cl-voip-out_topic22_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "cl-voip-out_topic22_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "cl-voip-out_topic22_client_role" } + }, + { + "assignment": { + "value": { "get_input": "cl-voip-out_topic22_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "cl-voip-out_topic22_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382889.18", + "ndata": { + "name": "n.1532849382889.18", + "label": "topic22", + "x": 1472, + "y": 460.7133071013865, + "px": 1471, + "py": 459.7133071013865, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic23", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { "get_input": "dcae-alarm-to-goc_topic23_aaf_password" } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "dcae-alarm-to-goc_topic23_aaf_password" } + }, + { + "assignment": { + "value": { "get_input": "dcae-alarm-to-goc_topic23_aaf_username" } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "dcae-alarm-to-goc_topic23_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "dcae-alarm-to-goc_topic23_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "dcae-alarm-to-goc_topic23_client_role" } + }, + { + "assignment": { + "value": { "get_input": "dcae-alarm-to-goc_topic23_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "dcae-alarm-to-goc_topic23_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382896.19", + "ndata": { + "name": "n.1532849382896.19", + "label": "topic23", + "x": 1522, + "y": 475.20177454977784, + "px": 1521, + "py": 474.20177454977784, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic24", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { "get_input": "overland-cl-out_topic24_aaf_password" } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "overland-cl-out_topic24_aaf_password" } + }, + { + "assignment": { + "value": { "get_input": "overland-cl-out_topic24_aaf_username" } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "overland-cl-out_topic24_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "overland-cl-out_topic24_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "overland-cl-out_topic24_client_role" } + }, + { + "assignment": { + "value": { "get_input": "overland-cl-out_topic24_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "overland-cl-out_topic24_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382901.20", + "ndata": { + "name": "n.1532849382901.20", + "label": "topic24", + "x": 1572, + "y": 463.2793081835897, + "px": 1571, + "py": 462.2793081835897, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic25", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { + "get_input": "dcae-alarm-to-pdas_topic25_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "dcae-alarm-to-pdas_topic25_aaf_password" } + }, + { + "assignment": { + "value": { + "get_input": "dcae-alarm-to-pdas_topic25_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "dcae-alarm-to-pdas_topic25_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "dcae-alarm-to-pdas_topic25_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "dcae-alarm-to-pdas_topic25_client_role" } + }, + { + "assignment": { + "value": { "get_input": "dcae-alarm-to-pdas_topic25_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "dcae-alarm-to-pdas_topic25_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382906.21", + "ndata": { + "name": "n.1532849382906.21", + "label": "topic25", + "x": 1622, + "y": 461.65165281777263, + "px": 1621, + "py": 460.65165281777263, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic26", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { "get_input": "hp-edge-to-map_topic26_aaf_password" } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "hp-edge-to-map_topic26_aaf_password" } + }, + { + "assignment": { + "value": { "get_input": "hp-edge-to-map_topic26_aaf_username" } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "hp-edge-to-map_topic26_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "hp-edge-to-map_topic26_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "hp-edge-to-map_topic26_client_role" } + }, + { + "assignment": { + "value": { "get_input": "hp-edge-to-map_topic26_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "hp-edge-to-map_topic26_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382910.22", + "ndata": { + "name": "n.1532849382910.22", + "label": "topic26", + "x": 1672, + "y": 451.0516958585429, + "px": 1671, + "py": 450.0516958585429, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic27", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { + "get_input": + "dcae-roadm-root-cause-alarm-l1_topic27_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { + "get_input": "dcae-roadm-root-cause-alarm-l1_topic27_aaf_password" + } + }, + { + "assignment": { + "value": { + "get_input": + "dcae-roadm-root-cause-alarm-l1_topic27_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { + "get_input": "dcae-roadm-root-cause-alarm-l1_topic27_aaf_username" + } + }, + { + "assignment": { + "value": { + "get_input": + "dcae-roadm-root-cause-alarm-l1_topic27_client_role" + } + }, + "name": "client_role", + "type": "string", + "value": { + "get_input": "dcae-roadm-root-cause-alarm-l1_topic27_client_role" + } + }, + { + "assignment": { + "value": { + "get_input": "dcae-roadm-root-cause-alarm-l1_topic27_fqtn" + } + }, + "name": "fqtn", + "type": "string", + "value": { + "get_input": "dcae-roadm-root-cause-alarm-l1_topic27_fqtn" + } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382915.23", + "ndata": { + "name": "n.1532849382915.23", + "label": "topic27", + "x": 1722, + "y": 461.6218316860467, + "px": 1721, + "py": 460.6218316860467, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic28", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { + "get_input": "to-event-counter-input_topic28_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { + "get_input": "to-event-counter-input_topic28_aaf_password" + } + }, + { + "assignment": { + "value": { + "get_input": "to-event-counter-input_topic28_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { + "get_input": "to-event-counter-input_topic28_aaf_username" + } + }, + { + "assignment": { + "value": { + "get_input": "to-event-counter-input_topic28_client_role" + } + }, + "name": "client_role", + "type": "string", + "value": { + "get_input": "to-event-counter-input_topic28_client_role" + } + }, + { + "assignment": { + "value": { "get_input": "to-event-counter-input_topic28_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "to-event-counter-input_topic28_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382921.24", + "ndata": { + "name": "n.1532849382921.24", + "label": "topic28", + "x": 1772, + "y": 486.4461481395826, + "px": 1771, + "py": 485.4461481395826, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic29", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { + "get_input": "hp-suppressed-events_topic29_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { + "get_input": "hp-suppressed-events_topic29_aaf_password" + } + }, + { + "assignment": { + "value": { + "get_input": "hp-suppressed-events_topic29_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { + "get_input": "hp-suppressed-events_topic29_aaf_username" + } + }, + { + "assignment": { + "value": { + "get_input": "hp-suppressed-events_topic29_client_role" + } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "hp-suppressed-events_topic29_client_role" } + }, + { + "assignment": { + "value": { "get_input": "hp-suppressed-events_topic29_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "hp-suppressed-events_topic29_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382927.25", + "ndata": { + "name": "n.1532849382927.25", + "label": "topic29", + "x": 1822, + "y": 500.40070071171925, + "px": 1821, + "py": 499.40070071171925, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic3", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { "get_input": "snmp-from-hp-edge_topic3_aaf_password" } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "snmp-from-hp-edge_topic3_aaf_password" } + }, + { + "assignment": { + "value": { "get_input": "snmp-from-hp-edge_topic3_aaf_username" } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "snmp-from-hp-edge_topic3_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "snmp-from-hp-edge_topic3_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "snmp-from-hp-edge_topic3_client_role" } + }, + { + "assignment": { + "value": { "get_input": "snmp-from-hp-edge_topic3_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "snmp-from-hp-edge_topic3_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382932.26", + "ndata": { + "name": "n.1532849382932.26", + "label": "topic3", + "x": 1872, + "y": 515.868321281148, + "px": 1871, + "py": 514.868321281148, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic30", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { + "get_input": "DCAE-HPOVERLAND-EVENTS-OUT_topic30_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { + "get_input": "DCAE-HPOVERLAND-EVENTS-OUT_topic30_aaf_password" + } + }, + { + "assignment": { + "value": { + "get_input": "DCAE-HPOVERLAND-EVENTS-OUT_topic30_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { + "get_input": "DCAE-HPOVERLAND-EVENTS-OUT_topic30_aaf_username" + } + }, + { + "assignment": { + "value": { + "get_input": "DCAE-HPOVERLAND-EVENTS-OUT_topic30_client_role" + } + }, + "name": "client_role", + "type": "string", + "value": { + "get_input": "DCAE-HPOVERLAND-EVENTS-OUT_topic30_client_role" + } + }, + { + "assignment": { + "value": { + "get_input": "DCAE-HPOVERLAND-EVENTS-OUT_topic30_fqtn" + } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "DCAE-HPOVERLAND-EVENTS-OUT_topic30_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382936.27", + "ndata": { + "name": "n.1532849382936.27", + "label": "topic30", + "x": 1922, + "y": 497.531730923174, + "px": 1921, + "py": 496.531730923174, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic4", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { + "get_input": "dcae-alarm-from-goc_topic4_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "dcae-alarm-from-goc_topic4_aaf_password" } + }, + { + "assignment": { + "value": { + "get_input": "dcae-alarm-from-goc_topic4_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "dcae-alarm-from-goc_topic4_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "dcae-alarm-from-goc_topic4_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "dcae-alarm-from-goc_topic4_client_role" } + }, + { + "assignment": { + "value": { "get_input": "dcae-alarm-from-goc_topic4_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "dcae-alarm-from-goc_topic4_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382941.28", + "ndata": { + "name": "n.1532849382941.28", + "label": "topic4", + "x": 1972, + "y": 507.3685505151999, + "px": 1971, + "py": 506.3685505151999, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic5", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { "get_input": "sec-fault-to-hp_topic5_aaf_password" } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "sec-fault-to-hp_topic5_aaf_password" } + }, + { + "assignment": { + "value": { "get_input": "sec-fault-to-hp_topic5_aaf_username" } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "sec-fault-to-hp_topic5_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "sec-fault-to-hp_topic5_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "sec-fault-to-hp_topic5_client_role" } + }, + { + "assignment": { + "value": { "get_input": "sec-fault-to-hp_topic5_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "sec-fault-to-hp_topic5_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382945.29", + "ndata": { + "name": "n.1532849382945.29", + "label": "topic5", + "x": 2022, + "y": 530.1392149781236, + "px": 2021, + "py": 529.1392149781236, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic6", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { "get_input": "sec-syslog-to-hp_topic6_aaf_password" } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "sec-syslog-to-hp_topic6_aaf_password" } + }, + { + "assignment": { + "value": { "get_input": "sec-syslog-to-hp_topic6_aaf_username" } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "sec-syslog-to-hp_topic6_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "sec-syslog-to-hp_topic6_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "sec-syslog-to-hp_topic6_client_role" } + }, + { + "assignment": { + "value": { "get_input": "sec-syslog-to-hp_topic6_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "sec-syslog-to-hp_topic6_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382950.30", + "ndata": { + "name": "n.1532849382950.30", + "label": "topic6", + "x": 2072, + "y": 508.9208187691307, + "px": 2071, + "py": 507.9208187691307, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic7", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { + "get_input": "sec-heartbeat-to-hp_topic7_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "sec-heartbeat-to-hp_topic7_aaf_password" } + }, + { + "assignment": { + "value": { + "get_input": "sec-heartbeat-to-hp_topic7_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "sec-heartbeat-to-hp_topic7_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "sec-heartbeat-to-hp_topic7_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "sec-heartbeat-to-hp_topic7_client_role" } + }, + { + "assignment": { + "value": { "get_input": "sec-heartbeat-to-hp_topic7_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "sec-heartbeat-to-hp_topic7_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382958.31", + "ndata": { + "name": "n.1532849382958.31", + "label": "topic7", + "x": 2122, + "y": 526.4226049970656, + "px": 2121, + "py": 525.4226049970656, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic8", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { + "get_input": "DCAE-STATUSPOLLER-EVENT_topic8_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { + "get_input": "DCAE-STATUSPOLLER-EVENT_topic8_aaf_password" + } + }, + { + "assignment": { + "value": { + "get_input": "DCAE-STATUSPOLLER-EVENT_topic8_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { + "get_input": "DCAE-STATUSPOLLER-EVENT_topic8_aaf_username" + } + }, + { + "assignment": { + "value": { + "get_input": "DCAE-STATUSPOLLER-EVENT_topic8_client_role" + } + }, + "name": "client_role", + "type": "string", + "value": { + "get_input": "DCAE-STATUSPOLLER-EVENT_topic8_client_role" + } + }, + { + "assignment": { + "value": { "get_input": "DCAE-STATUSPOLLER-EVENT_topic8_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "DCAE-STATUSPOLLER-EVENT_topic8_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382964.32", + "ndata": { + "name": "n.1532849382964.32", + "label": "topic8", + "x": 2172, + "y": 519.6073537005977, + "px": 2171, + "py": 518.6073537005977, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_password"] } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "aaf_username"] } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "client_role"] } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "location"] } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { "get_property": ["SELF", "node_name"] } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic9", + "description": + "/sdc/v1/catalog/resources/d696074a-2237-4ae4-a180-2cf7388c9a78/toscaModel/", + "type": { "name": "tosca.dcae.nodes.dmaap.existingTopic" }, + "properties": [ + { + "assignment": { + "value": { "get_input": "DCAE-GFP-PMOSS-OS_topic9_aaf_password" } + }, + "name": "aaf_password", + "type": "string", + "value": { "get_input": "DCAE-GFP-PMOSS-OS_topic9_aaf_password" } + }, + { + "assignment": { + "value": { "get_input": "DCAE-GFP-PMOSS-OS_topic9_aaf_username" } + }, + "name": "aaf_username", + "type": "string", + "value": { "get_input": "DCAE-GFP-PMOSS-OS_topic9_aaf_username" } + }, + { + "assignment": { + "value": { "get_input": "DCAE-GFP-PMOSS-OS_topic9_client_role" } + }, + "name": "client_role", + "type": "string", + "value": { "get_input": "DCAE-GFP-PMOSS-OS_topic9_client_role" } + }, + { + "assignment": { + "value": { "get_input": "DCAE-GFP-PMOSS-OS_topic9_fqtn" } + }, + "name": "fqtn", + "type": "string", + "value": { "get_input": "DCAE-GFP-PMOSS-OS_topic9_fqtn" } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { "get_property": ["SELF", "composition", "location_id"] } + }, + { + "assignment": { "value": "__GET_NODE_NAME__" }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + } + ], + "typeinfo": { + "itemId": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.capabilities.Node" + } + } + ], + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.existingTopic", + "id": + "d696074a-2237-4ae4-a180-2cf7388c9a78/tosca.dcae.nodes.dmaap.existingTopic" + }, + "id": "d696074a-2237-4ae4-a180-2cf7388c9a78", + "nid": "n.1532849382968.33", + "ndata": { + "name": "n.1532849382968.33", + "label": "topic9", + "x": 2222, + "y": 514.7849136042705, + "px": 2221, + "py": 513.7849136042705, + "ports": [], + "radius": 30 + } + } + ], + "relations": [ + { + "rid": "lnk.1532849382978.34", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382788.3", + "name2": "topic0", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382788.3", + "p1": "stream_subscribe_0", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_subscribe_0"] + } + }, + { + "rid": "lnk.1532849382982.35", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382794.4", + "name2": "topic1", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382794.4", + "p1": "stream_subscribe_1", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_subscribe_1"] + } + }, + { + "rid": "lnk.1532849382986.36", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382865.15", + "name2": "topic2", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382865.15", + "p1": "stream_subscribe_2", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_subscribe_2"] + } + }, + { + "rid": "lnk.1532849382991.37", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382932.26", + "name2": "topic3", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382932.26", + "p1": "stream_subscribe_3", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_subscribe_3"] + } + }, + { + "rid": "lnk.1532849382994.38", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382941.28", + "name2": "topic4", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382941.28", + "p1": "stream_subscribe_4", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_subscribe_4"] + } + }, + { + "rid": "lnk.1532849382997.39", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382945.29", + "name2": "topic5", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382945.29", + "p1": "stream_subscribe_5", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_subscribe_5"] + } + }, + { + "rid": "lnk.1532849383003.40", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382950.30", + "name2": "topic6", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382950.30", + "p1": "stream_subscribe_6", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_subscribe_6"] + } + }, + { + "rid": "lnk.1532849383006.41", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382958.31", + "name2": "topic7", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382958.31", + "p1": "stream_subscribe_7", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_subscribe_7"] + } + }, + { + "rid": "lnk.1532849383010.42", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382964.32", + "name2": "topic8", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382964.32", + "p1": "stream_subscribe_8", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_subscribe_8"] + } + }, + { + "rid": "lnk.1532849383013.43", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382968.33", + "name2": "topic9", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382968.33", + "p1": "stream_subscribe_9", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_subscribe_9"] + } + }, + { + "rid": "lnk.1532849383019.44", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382800.5", + "name2": "topic10", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382800.5", + "p1": "stream_subscribe_10", + "p2": "topic", + "relationship": [ + "Highlandpark_18.06.006", + null, + "stream_subscribe_10" + ] + } + }, + { + "rid": "lnk.1532849383024.45", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382805.6", + "name2": "topic11", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382805.6", + "p1": "stream_subscribe_11", + "p2": "topic", + "relationship": [ + "Highlandpark_18.06.006", + null, + "stream_subscribe_11" + ] + } + }, + { + "rid": "lnk.1532849383028.46", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382812.7", + "name2": "topic12", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382812.7", + "p1": "stream_subscribe_12", + "p2": "topic", + "relationship": [ + "Highlandpark_18.06.006", + null, + "stream_subscribe_12" + ] + } + }, + { + "rid": "lnk.1532849383033.47", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382817.8", + "name2": "topic13", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382817.8", + "p1": "stream_subscribe_13", + "p2": "topic", + "relationship": [ + "Highlandpark_18.06.006", + null, + "stream_subscribe_13" + ] + } + }, + { + "rid": "lnk.1532849383036.48", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382822.9", + "name2": "topic14", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382822.9", + "p1": "stream_subscribe_14", + "p2": "topic", + "relationship": [ + "Highlandpark_18.06.006", + null, + "stream_subscribe_14" + ] + } + }, + { + "rid": "lnk.1532849383040.49", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382831.10", + "name2": "topic15", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382831.10", + "p1": "stream_subscribe_15", + "p2": "topic", + "relationship": [ + "Highlandpark_18.06.006", + null, + "stream_subscribe_15" + ] + } + }, + { + "rid": "lnk.1532849383044.50", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382839.11", + "name2": "topic16", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382839.11", + "p1": "stream_subscribe_16", + "p2": "topic", + "relationship": [ + "Highlandpark_18.06.006", + null, + "stream_subscribe_16" + ] + } + }, + { + "rid": "lnk.1532849383047.51", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382844.12", + "name2": "topic17", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382844.12", + "p1": "stream_publish_0", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_publish_0"] + } + }, + { + "rid": "lnk.1532849383050.52", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382854.13", + "name2": "topic18", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382854.13", + "p1": "stream_publish_1", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_publish_1"] + } + }, + { + "rid": "lnk.1532849383055.53", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382860.14", + "name2": "topic19", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382860.14", + "p1": "stream_publish_2", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_publish_2"] + } + }, + { + "rid": "lnk.1532849383061.54", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382872.16", + "name2": "topic20", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382872.16", + "p1": "stream_publish_3", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_publish_3"] + } + }, + { + "rid": "lnk.1532849383066.55", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382883.17", + "name2": "topic21", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382883.17", + "p1": "stream_publish_4", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_publish_4"] + } + }, + { + "rid": "lnk.1532849383071.56", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382889.18", + "name2": "topic22", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382889.18", + "p1": "stream_publish_5", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_publish_5"] + } + }, + { + "rid": "lnk.1532849383075.57", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382896.19", + "name2": "topic23", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382896.19", + "p1": "stream_publish_6", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_publish_6"] + } + }, + { + "rid": "lnk.1532849383083.58", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382901.20", + "name2": "topic24", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382901.20", + "p1": "stream_publish_7", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_publish_7"] + } + }, + { + "rid": "lnk.1532849383088.59", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382906.21", + "name2": "topic25", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382906.21", + "p1": "stream_publish_8", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_publish_8"] + } + }, + { + "rid": "lnk.1532849383092.60", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382910.22", + "name2": "topic26", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382910.22", + "p1": "stream_publish_9", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_publish_9"] + } + }, + { + "rid": "lnk.1532849383096.61", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382915.23", + "name2": "topic27", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382915.23", + "p1": "stream_publish_10", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_publish_10"] + } + }, + { + "rid": "lnk.1532849383101.62", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382921.24", + "name2": "topic28", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382921.24", + "p1": "stream_publish_11", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_publish_11"] + } + }, + { + "rid": "lnk.1532849383105.63", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382927.25", + "name2": "topic29", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382927.25", + "p1": "stream_publish_12", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_publish_12"] + } + }, + { + "rid": "lnk.1532849383108.64", + "n1": "n.1532849382756.2", + "name1": "Highlandpark_18.06.006", + "n2": "n.1532849382936.27", + "name2": "topic30", + "meta": { + "n1": "n.1532849382756.2", + "n2": "n.1532849382936.27", + "p1": "stream_publish_13", + "p2": "topic", + "relationship": ["Highlandpark_18.06.006", null, "stream_publish_13"] + } + } + ], + "inputs": [], + "outputs": [] + } +} diff --git a/cypress-docker/test/src/cypress/fixtures/createMcRes.json b/cypress-docker/test/src/cypress/fixtures/createMcRes.json new file mode 100644 index 0000000..f8f6573 --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/createMcRes.json @@ -0,0 +1,1219 @@ +{ + "vfcmt": { + "uuid": "6d436c07-8006-4335-8c84-d65b4740f8d6" + }, + "cdump": { + "cid": "47908e78-9893-4f18-b767-ea7131dd8de7", + "version": 0, + "nodes": [ + { + "name": "map", + "description": + "/sdc/v1/catalog/resources/e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/artifacts/6134d7c8-f9af-4562-bf8d-e60039ec58bb", + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b", + "nid": "n.1517823219961.0", + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "properties": [ + { + "assignment": { + "value": "Map_input" + }, + "name": "format", + "type": "string" + }, + { + "assignment": { + "value": "IGNORE" + }, + "name": "route", + "type": "string" + }, + { + "assignment": { + "value": "1.0.0" + }, + "name": "version", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "node_filter": { + "capabilities": [ + { + "dcae.capabilities.stream.subscribe": { + "properties": [ + { + "format": [ + { + "equal": "VES_specification" + } + ] + }, + { + "version": [ + { + "equal": "5.28.4" + } + ] + } + ] + } + } + ] + }, + "name": "stream_publish_0", + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + { + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": "template.yaml/dcae.capabilities.cdapHost" + }, + "name": "host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "properties": [ + { + "assignment": { + "value": { + "get_input": "mappingType" + } + }, + "name": "Type1", + "description": + "CSV to VES mapping, from the file to generate multiple events or single event", + "type": "string", + "constraints": [ + { + "valid_values": ["single", "multiple"] + } + ] + }, + { + "assignment": { + "value": "multiple" + }, + "name": "mappingType", + "description": + "CSV to VES mapping, from the file to generate multiple events or single event", + "type": "string", + "constraints": [ + { + "valid_values": ["single", "multiple"] + } + ] + }, + { + "assignment": { + "value": + "com.att.gfp.dcae.eventProcessor.Catalog,com.att.ecomp.dcae.eventproc.cdap.common.processors.Catalog" + }, + "name": "defaultCatalogs", + "type": "string" + }, + { + "assignment": { + "value": { + "get_input": "defaultObjects" + } + }, + "name": "defaultObjects", + "type": "string" + }, + { + "assignment": { + "value": "Map Microservice" + }, + "name": "description", + "type": "string" + }, + { + "assignment": { + "value": { + "get_input": "dmaapConsumerGrp" + } + }, + "name": "dmaapConsumerGrp", + "type": "string" + }, + { + "assignment": { + "value": "" + }, + "name": "eventFactory", + "type": "string" + }, + { + "assignment": { + "value": + "{\"processing\":[{\"phase\":\"snmp_map\",\"filter\":{\"class\":\"StartsWith\",\"string\":\"${notify OID}\",\"value\":\".1.3.6.1.4.1.26878.200.2\"},\"processors\":[{\"class\":\"SnmpConvertor\",\"array\":\"varbinds\",\"keycolumn\":\"varbind_oid\",\"datacolumn\":\"varbind_value\"},{\"class\":\"RunPhase\",\"phase\":\"vPCRF_MOGParsingPhase\"}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"processors\":[{\"class\":\"MapAlarmValues\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"toField\":\"eventGroup\",\"map\":{\"LinkDown\":\"LinkUp_Down\",\"LinkUp\":\"LinkUp_Down\",\"HIGH CPU USAGE Alert\":\"HighCpuUsageAlert-Clear\",\"HIGH CPU USAGE Clear\":\"HighCpuUsageAlert-Clear\",\"ProcessDown\":\"ProcessUp-Down\",\"ProcessUp\":\"ProcessUp-Down\",\"HighLoadAlert\":\"HighLoadAlert-Clear\",\"HighLoadClear\":\"HighLoadAlert-Clear\",\"DiskFullAlert\":\"DiskFullAlert-Clear\",\"DiskFullClear\":\"DiskFullAlert-Clear\",\"LowSwapAlert\":\"LowMemoryAlert-Clear\",\"LowSwapClear\":\"LowMemoryAlert-Clear\",\"LowMemoryAlert\":\"LowMemoryAlert-Clear\",\"LowMemoryClear\":\"LowMemoryAlert-Clear\",\"ApplicationStartError\":\"ApplicationStartError\",\"LicenseUsageThresholdExceeded \":\"LicenseUsageThresholdExceeded \",\"LicensedSessionCreation\":\"LicensedSessionCreation\",\"InvalidLicense\":\"InvalidLicense\",\"PoliciesNotConfigured\":\"PoliciesNotConfigured\",\"DiameterAllPeersDown\":\"DiameterAllPeersUp-Down\",\"DiameterAllPeersUp\":\"DiameterAllPeersUp-Down\",\"HA Failover\":\"HAFailover\",\"GR Failover\":\"GRFailover\",\"All DB Member of replica set Down\":\"AllDBMemberReplicaSetUp-Down\",\"All DB Member of replica set Up\":\"AllDBMemberReplicaSetUp-Down\",\"No Primary DB Member Found\":\"PrimaryDBMemberFound-NotFound\",\"Primary DB Member Found\":\"PrimaryDBMemberFound-NotFound\",\"Secondary DB Member Down\":\"SecondaryDBMemberUp-Down\",\"Secondary DB Member Up\":\"SecondaryDBMemberUp-Down\",\"Arbiter Down\":\"ArbiterUp-Down\",\"Arbiter Up\":\"ArbiterUp-Down\",\"DB resync is needed\":\"DBResyncNeeded-NotNeeded\",\"DB resync is not needed\":\"DBResyncNeeded-NotNeeded\",\"Config Server Down\":\"ConfigServerUp-Down\",\"Config Server Up\":\"ConfigServerUp-Down\",\"VM Down\":\"VMUp-Down\",\"VM Up\":\"VMUp-Down\",\"QNS Process Down\":\"QNSProcessUp-Down\",\"QNS Process Up\":\"QNSProcessUp-Down\",\"VirtualInterface Down\":\"VirtualInterfaceUp-Down\",\"VirtualInterface Up\":\"VirtualInterfaceUp-Down\",\"MemcachedConnectError\":\"MemcachedConnectError\",\"PolicyConfiguration\":\"PolicyConfiguration\",\"DiameterPeerDown\":\"DiameterPeerDown\",\"DeveloperMode\":\"DeveloperMode\",\"ZeroMQConnectionError\":\"ZeroMQConnectionError\",\"Admin User Logged In\":\"AdminUserLoggedIn\"}},{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.domain\":\"fault\",\"event.commonEventHeader.version\":3,\"event.faultFields.faultFieldsVersion\":2.0,\"event.faultFields.vfStatus\":\"Active\",\"event.commonEventHeader.priority\":\"Normal\",\"event.commonEventHeader.sequence\":0,\"event.faultFields.alarmCondition\":\"${_1_3_6_1_4_1_26878_100_1_1_9}\",\"event.faultFields.alarmAdditionalInformation[0].name\":\"EventGroup\",\"event.faultFields.alarmAdditionalInformation[0].value\":\"${eventGroup}\",\"event.faultFields.alarmAdditionalInformation[1].name\":\"OID1\",\"event.faultFields.alarmAdditionalInformation[1].value\":\"${varbinds[0].varbind_value}\"}},{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.startEpochMicrosec\":\"%{now.ms}\"}},{\"class\":\"MapAlarmValues\",\"field\":\"_1_3_6_1_4_1_26878_100_1_4\",\"default\":\"WARNING\",\"toField\":\"event.faultFields.eventSeverity\",\"map\":{\"0\":\"CRITICAL\",\"1\":\"CRITICAL\",\"2\":\"MAJOR\",\"3\":\"MAJOR\",\"4\":\"MINOR\",\"5\":\"WARNING\",\"6\":\"WARNING\",\"7\":\"WARNING\",\"8\":\"WARNING\",\"9\":\"NORMAL\"}},{\"class\":\"MapAlarmValues\",\"field\":\"_1_3_6_1_4_1_26878_100_1_3\",\"default\":\"\",\"toField\":\"event.faultFields.specificProblem\",\"map\":{\"0\":\"Hardware\",\"1\":\"Networking\",\"2\":\"Virtualization\",\"3\":\"Operating System\",\"4\":\"Application\",\"5\":\"Process\"}},{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.lastEpochMicrosec\":\"${event.commonEventHeader.startEpochMicrosec}\"}},{\"class\":\"ConvertFieldTypes\",\"updates\":{\"event.commonEventHeader.startEpochMicrosec\":\"long\",\"event.commonEventHeader.lastEpochMicrosec\":\"long\"}}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DiskFullAlert\",\"LowSwapAlert\",\"LowMemoryAlert\"]},\"processors\":[{\"class\":\"Set\",\"updates\":{\"event.faultFields.eventSeverity\":\"MAJOR\"}}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"filter\":{\"class\":\"Contains\",\"string\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"value\":\"mog\"},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"event.commonEventHeader.sourceName\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\"([^:]*):.*\"},{\"class\":\"Set\",\"updates\":{\"event.faultFields.eventSourceType\":\"vMOG\",\"event.commonEventHeader.functionalRole\":\"vMoG\",\"event.commonEventHeader.eventType\":\"vMoG_Alarms\",\"event.commonEventHeader.eventId\":\"${event.commonEventHeader.sourceName}_${eventGroup}\",\"event.commonEventHeader.eventName\":\"NA\"}}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"filter\":{\"class\":\"Not\",\"filter\":{\"class\":\"Contains\",\"string\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"value\":\"mog\"}},\"processors\":[{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.sourceName\":\"${agent address}\",\"event.faultFields.eventSourceType\":\"vPCRF\",\"event.commonEventHeader.functionalRole\":\"vPCRF\",\"event.commonEventHeader.eventType\":\"PCRF_Alarms\",\"event.commonEventHeader.eventId\":\"${agent address}_${eventGroup}\",\"event.commonEventHeader.reportingEntityName\":\"${event.commonEventHeader.sourceName}\"}}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"filter\":{\"class\":\"Contains\",\"string\":\"${_1_3_6_1_4_1_26878_100_1_1_7}\",\"value\":\"mogx\"},\"processors\":[{\"class\":\"Set\",\"updates\":{\"event.faultFields.alarmCondition\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"event.faultFields.specificProblem\":\"${_1_3_6_1_4_1_26878_100_1_1_9}\",\"event.commonEventHeader.reportingEntityName\":\"${event.commonEventHeader.sourceName}\"}},{\"class\":\"RunPhase\",\"phase\":\"vPCRF_MOGX_ParsingPhase\"},{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.eventId\":\"${event.commonEventHeader.sourceName}_${eventGroup}_${eventKey}\"}}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"LinkDown\",\"LinkUp\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* (.*)\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"ProcessDown\",\"ProcessUp\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*:(.*) process.*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DiskFullAlert\",\"DiskFullClear\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*:(.*):.*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"QNS Process Down\",\"QNS Process Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*:(.*) server on .*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DiameterPeerDown\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* (.*) [R/r]ealm.*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DiameterAllPeersDown\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*Realm: (.*):[^:]*peers.*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"VirtualInterface Down\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*onnect (.*). Not reachable\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"VirtualInterface Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*: (.*) is up\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"GR Failover\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*: (Geo Failover done from .*) of .*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"Arbiter Down\",\"Arbiter Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* Arbiter (.*) is .*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"All DB Member of replica set Down\",\"All DB Member of replica set Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* All DB members of replica set (.*) are .*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"No Primary DB Member Found\",\"Primary DB Member Found\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* Replica-set (.*)\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DB Member Down\",\"DB Member Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* (DB.Member .*) of SET .*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"Secondary DB Member Down\",\"Secondary DB Member Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*Secondary (DB.*) is.*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DB Resync is needed\",\"DB Resync is not needed\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* member (.*:[0-9]+).*$\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"ZeroMQConnectionError\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* for (tcp.*)\"}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"processors\":[{\"class\":\"Clear\",\"fields\":[\"community len\",\"cambria.partition\",\"notify OID\",\"notify OID len\",\"epoch_serno\",\"protocol version\",\"agent name\",\"trap category\",\"community\",\"time received\",\"agent address\",\"varbinds\"]},{\"class\":\"ClearNoneStandardFields\",\"reservedFields\":[\"event\",\"parserType\"]},{\"class\":\"LogEvent\",\"title\":\"UCSNMPEvent-vPCRF_MOG_Parser_Output\",\"logName\":\"com.att.gfp.dcae.eventProcessor.output\",\"logLevel\":\"DEBUG\"},{\"class\":\"LogText\",\"logLevel\":\"INFO\",\"logText\":\"Finished_vPCRF_MOGParsingPhase Mapping Phase\"},{\"class\":\"RunPhase\",\"phase\":\"map_publish\"}]}]}" + }, + "name": "json", + "type": "string" + }, + { + "assignment": { + "value": { + "get_input": "monitorThreads" + } + }, + "name": "monitorThreads", + "type": "string" + }, + { + "assignment": { + "value": "mapMS" + }, + "name": "name", + "type": "string" + }, + { + "assignment": { + "value": "snmp_map" + }, + "name": "phases.snmp_map.phaseName", + "type": "string" + }, + { + "assignment": { + "value": ".*snmp.*" + }, + "name": "phases.snmp_map.streamPattern", + "type": "string" + }, + { + "assignment": { + "value": "syslog_map" + }, + "name": "phases.syslog_map.phaseName", + "type": "string" + }, + { + "assignment": { + "value": ".*syslog.*" + }, + "name": "phases.syslog_map.streamPattern", + "type": "string" + }, + { + "assignment": { + "value": + "{\"phase\":\"map_publish\",\"processors\":[{\"class\":\"EventProcessorMetric\",\"metric\":\"out.events\"},{\"class\":\"SendEvent\",\"channel\":\"DCAE-MAP-EVENT-OUT\"}]}" + }, + "name": "postConfig", + "type": "string" + }, + { + "assignment": { + "value": "vnfTypes.*" + }, + "name": "ruleKeyPattern", + "type": "string" + }, + { + "assignment": { + "value": + "[{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"MOD\",\"INT\":\"INT\",\"HSEV\":\"header-SEV \",\"SEVDES\":\"Syslog-Severity\"},\"filter\":{\"${Priority}\":\"$Priority\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"0\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"1\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"0\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"2\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"0\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"3\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"0\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"4\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"0\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"5\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"0\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"6\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"0\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"7\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"1\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"8\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"1\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"9\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"1\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"10\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"1\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"11\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"1\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"12\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"1\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"13\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"1\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"14\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"1\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"15\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"2\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"16\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"2\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"17\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"2\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"18\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"2\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"19\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"2\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"20\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"2\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"21\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"2\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"22\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"2\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"23\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"3\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"24\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"3\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"25\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"3\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"26\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"3\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"27\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"3\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"28\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"3\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"29\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"3\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"30\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"3\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"31\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"4\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"32\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"4\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"33\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"4\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"34\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"4\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"35\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"4\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"36\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"4\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"37\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"4\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"38\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"4\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"39\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"5\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"40\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"5\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"41\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"5\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"42\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"5\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"43\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"5\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"44\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"5\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"45\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"5\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"46\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"5\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"47\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"6\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"48\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"6\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"49\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"6\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"50\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"6\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"51\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"6\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"52\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"6\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"53\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"6\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"54\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"6\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"55\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"7\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"56\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"7\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"57\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"7\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"58\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"7\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"59\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"7\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"60\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"7\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"61\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"7\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"62\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"7\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"63\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"8\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"64\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"8\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"65\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"8\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"66\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"8\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"67\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"8\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"68\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"8\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"69\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"8\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"70\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"8\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"71\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"9\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"72\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"9\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"73\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"9\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"74\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"9\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"75\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"9\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"76\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"9\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"77\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"9\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"78\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"9\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"79\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"10\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"80\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"10\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"81\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"10\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"82\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"10\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"83\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"10\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"84\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"10\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"85\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"10\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"86\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"10\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"87\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"11\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"88\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"11\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"89\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"11\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"90\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"11\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"91\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"11\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"92\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"11\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"93\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"11\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"94\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"11\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"95\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"12\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"96\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"12\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"97\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"12\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"98\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"12\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"99\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"12\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"100\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"12\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"101\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"12\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"102\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"12\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"103\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"13\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"104\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"13\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"105\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"13\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"106\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"13\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"107\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"13\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"108\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"13\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"109\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"13\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"110\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"13\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"111\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"14\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"112\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"14\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"113\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"14\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"114\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"14\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"115\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"14\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"116\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"14\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"117\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"14\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"118\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"14\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"119\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"15\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"120\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"15\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"121\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"15\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"122\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"15\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"123\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"15\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"124\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"15\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"125\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"15\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"126\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"15\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"127\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"16\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"128\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"16\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"129\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"16\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"130\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"16\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"131\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"16\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"132\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"16\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"133\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"16\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"134\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"16\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"135\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"17\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"136\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"17\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"137\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"17\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"138\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"17\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"139\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"17\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"140\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"17\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"141\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"17\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"142\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"17\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"143\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"18\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"144\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"18\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"145\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"18\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"146\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"18\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"147\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"18\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"148\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"18\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"149\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"18\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"150\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"18\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"151\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"19\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"152\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"19\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"153\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"19\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"154\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"19\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"155\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"19\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"156\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"19\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"157\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"19\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"158\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"19\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"159\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"20\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"160\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"20\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"161\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"20\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"162\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"20\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"163\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"20\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"164\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"20\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"165\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"20\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"166\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"20\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"167\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"21\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"168\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"21\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"169\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"21\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"170\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"21\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"171\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"21\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"172\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"21\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"173\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"21\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"174\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"21\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"175\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"22\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"176\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"22\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"177\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"22\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"178\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"22\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"179\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"22\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"180\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"22\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"181\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"22\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"182\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"22\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"183\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"23\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"184\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"23\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"185\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"23\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"186\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"23\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"187\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"23\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"188\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"23\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"189\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"23\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"190\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"23\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"191\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"24\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"192\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"24\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"193\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"24\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"194\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"24\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"195\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"24\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"196\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"24\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"197\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"24\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"198\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"23\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"199\"}}]" + }, + "name": "settings", + "type": "string" + }, + { + "assignment": { + "value": "False" + }, + "name": "startNoChannels", + "type": "string" + }, + { + "default": "cdap_broker", + "assignment": { + "value": { + "get_input": "connected_broker_dns_name" + } + }, + "name": "connected_broker_dns_name", + "type": "string", + "required": true + }, + { + "name": "jar_url", + "type": "string", + "required": true + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location_id", + "type": "string", + "required": true + }, + { + "name": "service_component_type", + "type": "string", + "required": true + } + ], + "typeinfo": { + "itemId": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.dcae.nodes.cdapApp.Map", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.stream.subscribe" + }, + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.stream.subscribe" + }, + "name": "stream_publish_0", + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/stream_publish_0", + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + { + "node": { + "name": "dcae.capabilities.cdapHost", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.cdapHost" + }, + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.cdapHost" + }, + "name": "host", + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.stream.subscribe" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "http://135.91.225.81:8080", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.cdapApp", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.dcae.nodes.cdapApp" + }, + { + "name": "tosca.dcae.nodes.Root", + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.cdapApp.Map", + "id": 0 + }, + "type": { + "name": "tosca.dcae.nodes.cdapApp.Map" + } + }, + { + "name": "supplement", + "description": + "/sdc/v1/catalog/resources/30d0b4f4-efc5-424a-9d26-6d7843a0971d/artifacts/2d68c4e3-a4ab-46b3-ae3b-2a593fa97ded", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d", + "nid": "n.1517823224030.1", + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "properties": [ + { + "assignment": { + "value": "VES_specification" + }, + "name": "format", + "type": "string" + }, + { + "assignment": { + "value": "IGNORE" + }, + "name": "route", + "type": "string" + }, + { + "assignment": { + "value": "5.28.4" + }, + "name": "version", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "node_filter": { + "capabilities": [ + { + "dcae.capabilities.stream.subscribe": { + "properties": [ + { + "format": [ + { + "equal": "VES_specification" + } + ] + }, + { + "version": [ + { + "equal": "5.28.4" + } + ] + } + ] + } + } + ] + }, + "name": "stream_publish_0", + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + { + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": "template.yaml/dcae.capabilities.cdapHost" + }, + "name": "host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "properties": [ + { + "assignment": { + "value": + "com.att.gfp.dcae.eventProcessor.Catalog,com.att.ecomp.dcae.eventproc.cdap.common.processors.Catalog" + }, + "name": "defaultCatalogs", + "type": "string" + }, + { + "assignment": { + "value": { + "get_input": "defaultObjects" + } + }, + "name": "defaultObjects", + "type": "string" + }, + { + "assignment": { + "value": "Supplement Microservice" + }, + "name": "description", + "type": "string" + }, + { + "assignment": { + "value": { + "get_input": "dmaapConsumerGrp" + } + }, + "name": "dmaapConsumerGrp", + "type": "string" + }, + { + "assignment": { + "value": "" + }, + "name": "eventFactory", + "type": "string" + }, + { + "assignment": { + "value": + "{\"processing\":[{\"phase\":\"supplement\",\"filter\":{\"class\":\"OneOf\",\"field\":\"event.commonEventHeader.eventType\",\"values\":[\"vPCRF_Alarms\",\"vMoG_Alarms\",\"applicationVnf\",\"GuestOS_Alarms\",\"Control\"]},\"processors\":[{\"class\":\"DateFormatter\",\"value\":\"${event.commonEventHeader.startEpochMicrosec}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\",\"toField\":\"event.commonEventHeader.internalHeaderFields.firstDatetime\",\"toFormat\":\"EEE,ddMMMyyyyHH:mm:ssZ\",\"toTz\":\"GMT\"},{\"class\":\"DateFormatter\",\"value\":\"${event.commonEventHeader.lastEpochMicrosec}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\",\"toField\":\"event.commonEventHeader.internalHeaderFields.lastDatetime\",\"toFormat\":\"EEE,ddMMMyyyyHH:mm:ssZ\",\"toTz\":\"GMT\"},{\"class\":\"DateFormatter\",\"value\":\"%{now.ms}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\",\"toField\":\"event.commonEventHeader.internalHeaderFields.collectorTimeStamp\",\"toFormat\":\"EEE,ddMMMyyyyHH:mm:ssZ\",\"toTz\":\"GMT\"},{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.internalHeaderFields.internalHeaderFieldsVersion\":\"9.9\",\"event.commonEventHeader.internalHeaderFields.eventTag\":\"${hp.tag}\"}}]},{\"phase\":\"supplement\",\"processors\":[{\"class\":\"RunPhase\",\"phase\":\"supplement_publish\"}]},{\"phase\":\"ves_supplement\",\"filter\":{\"class\":\"OneOf\",\"field\":\"event.commonEventHeader.eventType\",\"values\":[\"vIRC_Alarms\"]},\"processors\":[{\"class\":\"RunPhase\",\"phase\":\"supplement_publish\"}]}]}" + }, + "name": "json", + "type": "string" + }, + { + "assignment": { + "value": { + "get_input": "monitorThreads" + } + }, + "name": "monitorThreads", + "type": "string" + }, + { + "assignment": { + "value": "supplementMS" + }, + "name": "name", + "type": "string" + }, + { + "assignment": { + "value": "supplement" + }, + "name": "phases.supplement.phaseName", + "type": "string" + }, + { + "assignment": { + "value": ".*supplement-in.*" + }, + "name": "phases.supplement.streamPattern", + "type": "string" + }, + { + "assignment": { + "value": "ves_supplement" + }, + "name": "phases.ves_supplement.phaseName", + "type": "string" + }, + { + "assignment": { + "value": ".*sec-fault.*" + }, + "name": "phases.ves_supplement.streamPattern", + "type": "string" + }, + { + "assignment": { + "value": + "{\"phase\":\"supplement_publish\",\"processors\":[{\"class\":\"EventProcessorMetric\",\"metric\":\"out.events\"},{\"class\":\"SendEvent\",\"channel\":\"DCAE-SUPPLEMENT-EVENT-OUT\"}]}" + }, + "name": "postConfig", + "type": "string" + }, + { + "assignment": { + "value": "vnfTypes.*" + }, + "name": "ruleKeyPattern", + "type": "string" + }, + { + "assignment": { + "value": "False" + }, + "name": "startNoChannels", + "type": "string" + }, + { + "default": "cdap_broker", + "assignment": { + "value": { + "get_input": "connected_broker_dns_name" + } + }, + "name": "connected_broker_dns_name", + "type": "string", + "required": true + }, + { + "name": "jar_url", + "type": "string", + "required": true + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location_id", + "type": "string", + "required": true + }, + { + "name": "service_component_type", + "type": "string", + "required": true + } + ], + "typeinfo": { + "itemId": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.dcae.nodes.cdapApp.Supplement", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.stream.subscribe" + }, + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.stream.subscribe" + }, + "name": "stream_publish_0", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/stream_publish_0", + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + { + "node": { + "name": "dcae.capabilities.cdapHost", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.cdapHost" + }, + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.cdapHost" + }, + "name": "host", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.stream.subscribe" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "http://135.91.225.81:8080", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.cdapApp", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.dcae.nodes.cdapApp" + }, + { + "name": "tosca.dcae.nodes.Root", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.cdapApp.Supplement", + "id": 0 + }, + "type": { + "name": "tosca.dcae.nodes.cdapApp.Supplement" + } + }, + { + "name": "enrich", + "description": + "/sdc/v1/catalog/resources/8743b27b-f01e-4b17-a306-37efd42983d0/artifacts/c96f3ffd-516c-470b-ab7c-ced64fb244f0", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0", + "nid": "n.1517823228454.2", + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "properties": [ + { + "assignment": { + "value": "VES_specification" + }, + "name": "format", + "type": "string" + }, + { + "assignment": { + "value": "IGNORE" + }, + "name": "route", + "type": "string" + }, + { + "assignment": { + "value": "5.28.4" + }, + "name": "version", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "node_filter": { + "capabilities": [ + { + "dcae.capabilities.stream.subscribe": { + "properties": [ + { + "format": [ + { + "equal": "VES_specification" + } + ] + }, + { + "version": [ + { + "equal": "5.28.4" + } + ] + } + ] + } + } + ] + }, + "name": "stream_publish_0", + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + { + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": "template.yaml/dcae.capabilities.cdapHost" + }, + "name": "host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "properties": [ + { + "assignment": { + "value": + "com.att.ecomp.dcae.eventproc.cdap.common.processors.Catalog,com.att.sa.highlandPark.topoTools.HpTopoDbObjectCatalog,com.att.sa.highlandPark.topoTools.HpTopoDbProcessors,com.att.gfp.dcae.eventProcessor.Catalog" + }, + "name": "defaultCatalogs", + "type": "string" + }, + { + "assignment": { + "value": { + "get_input": "defaultObjects" + } + }, + "name": "defaultObjects", + "type": "string" + }, + { + "assignment": { + "value": "Enrich Microservice" + }, + "name": "description", + "type": "string" + }, + { + "assignment": { + "value": { + "get_input": "dmaapConsumerGrp" + } + }, + "name": "dmaapConsumerGrp", + "type": "string" + }, + { + "assignment": { + "value": "" + }, + "name": "eventFactory", + "type": "string" + }, + { + "assignment": { + "value": + "{\"processing\":[{\"phase\":\"enrich\",\"filter\":{\"class\":\"Assigned\",\"field\":\"event.commonEventHeader.sourceName\",\"emtpyIsAssigned\":false},\"processors\":[{\"class\":\"StringTransform\",\"value\":\"${event.commonEventHeader.sourceName}\",\"toField\":\"searchString\",\"targetCase\":\"lower\"},{\"class\":\"EventProcessorMetric\",\"metric\":\"in.events\"},{\"class\":\"LogText\",\"logLevel\":\"WARN\",\"logText\":\"Alarm_EnrichmentStartingfor${hp.tag}\"},{\"class\":\"TopoSearch\",\"searchField\":\"oid\",\"searchValue\":\"${searchString}\",\"updates\":{\"event.commonEventHeader.sourceName\":\"${ptnii_name}\",\"event.commonEventHeader.sourceId\":\"${vserver_id}\",\"event.commonEventHeader.reportingEntityName\":\"${vnf_name}\",\"event.commonEventHeader.reportingEntityId\":\"${vnf_id}\",\"event.commonEventHeader.internalHeaderFields.equipmentType\":\"${equip_type}\",\"event.commonEventHeader.internalHeaderFields.provStatus\":\"${prov_status}\",\"event.commonEventHeader.internalHeaderFields.inMaint\":\"${in_maint}\",\"event.commonEventHeader.internalHeaderFields.tenantName\":\"${tenant_name}\",\"event.commonEventHeader.internalHeaderFields.eventSourceHostname\":\"${hostname}\",\"isEnriched\":true}},{\"class\":\"Set\",\"updates\":{\"event.preCorrelationAging\":\"${preCorrelationAging}\",\"event.prepublishAging\":\"${prepublishAging}\"}},{\"class\":\"Clear\",\"fields\":[\"searchString\"]},{\"class\":\"RunPhase\",\"phase\":\"enrich_publish\"}]}]}" + }, + "name": "json", + "type": "string" + }, + { + "assignment": { + "value": { + "get_input": "monitorThreads" + } + }, + "name": "monitorThreads", + "type": "string" + }, + { + "assignment": { + "value": "enrichMS" + }, + "name": "name", + "type": "string" + }, + { + "assignment": { + "value": "enrich" + }, + "name": "phases.enrich.phaseName", + "type": "string" + }, + { + "assignment": { + "value": ".*" + }, + "name": "phases.enrich.streamPattern", + "type": "string" + }, + { + "assignment": { + "value": + "{\"phase\":\"enrich_publish\",\"processors\":[{\"class\":\"EventProcessorMetric\",\"metric\":\"out.events\"},{\"class\":\"SendEvent\",\"channel\":\"DCAE-ENRICH-EVENT-OUT\"}]}" + }, + "name": "postConfig", + "type": "string" + }, + { + "assignment": { + "value": "vnfTypes.*" + }, + "name": "ruleKeyPattern", + "type": "string" + }, + { + "assignment": { + "value": "False" + }, + "name": "startNoChannels", + "type": "string" + }, + { + "default": "cdap_broker", + "assignment": { + "value": { + "get_input": "connected_broker_dns_name" + } + }, + "name": "connected_broker_dns_name", + "type": "string", + "required": true + }, + { + "name": "jar_url", + "type": "string", + "required": true + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location_id", + "type": "string", + "required": true + }, + { + "name": "service_component_type", + "type": "string", + "required": true + } + ], + "typeinfo": { + "itemId": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.dcae.nodes.cdapApp.Enrich", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.stream.subscribe" + }, + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.stream.subscribe" + }, + "name": "stream_publish_0", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/stream_publish_0", + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + { + "node": { + "name": "dcae.capabilities.cdapHost", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.cdapHost" + }, + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.cdapHost" + }, + "name": "host", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.stream.subscribe" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "http://135.91.225.81:8080", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.cdapApp", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.dcae.nodes.cdapApp" + }, + { + "name": "tosca.dcae.nodes.Root", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.cdapApp.Enrich", + "id": 0 + }, + "type": { + "name": "tosca.dcae.nodes.cdapApp.Enrich" + } + } + ], + "relations": [ + { + "n1": "n.1520766712715.7", + "name1": "foi", + "n2": "n.1520766711386.5", + "name2": "topic1", + "meta": { + "n1": "n.1520766712715.7", + "p1": "stream_publish_0", + "relationship": ["foi", null, "stream_publish_0"], + "n2": "n.1520766711386.5", + "p2": "topic" + } + }, + { + "n1": "n.1520766712715.7", + "name1": "foi", + "n2": "n.1520766712709.6", + "name2": "feed0", + "meta": { + "n1": "n.1520766712715.7", + "p1": "stream_publish_0", + "n2": "n.1520766712709.6", + "p2": "feed", + "relationship": [ + "foi", + "dcae.relationships.publish_files", + "stream_publish_0" + ] + } + }, + { + "n1": "n.1520766711370.3", + "name1": "componentSpec_docker_map", + "n2": "n.1520766711379.4", + "name2": "feed0", + "meta": { + "n1": "n.1520766711370.3", + "p1": "stream_subscribe_0", + "n2": "n.1520766711379.4", + "p2": "feed", + "relationship": [ + "componentSpec_docker_map", + "dcae.relationships.subscribe_to_files", + "stream_subscribe_0" + ] + } + }, + { + "n1": "n.1520766711370.3", + "name1": "componentSpec_docker_map", + "n2": "n.1520766711386.5", + "name2": "topic1", + "meta": { + "n1": "n.1520766711370.3", + "p1": "stream_publish_0", + "n2": "n.1520766711386.5", + "p2": "topic", + "relationship": [ + "componentSpec_docker_map", + "dcae.relationships.publish_events", + "stream_publish_0" + ] + } + } + ], + "inputs": [], + "outputs": [] + } +} diff --git a/cypress-docker/test/src/cypress/fixtures/createMcResWithBooleanDDL.json b/cypress-docker/test/src/cypress/fixtures/createMcResWithBooleanDDL.json new file mode 100644 index 0000000..d42df24 --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/createMcResWithBooleanDDL.json @@ -0,0 +1,1734 @@ +{ + "vfcmt": { + "uuid": "6d436c07-8006-4335-8c84-d65b4740f8d6" + }, + + "cdump": { + "cid": "47908e78-9893-4f18-b767-ea7131dd8de7", + + "version": 0, + + "nodes": [ + { + "name": "map", + + "description": + "/sdc/v1/catalog/resources/e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/artifacts/6134d7c8-f9af-4562-bf8d-e60039ec58bb", + + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b", + + "nid": "n.1517823219961.0", + + "capabilities": [ + { + "name": "stream_subscribe_0", + + "type": { + "name": "dcae.capabilities.stream.subscribe", + + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + + "properties": [ + { + "assignment": { + "value": "Map_input" + }, + + "name": "format", + + "type": "string" + }, + + { + "assignment": { + "value": "IGNORE" + }, + + "name": "route", + + "type": "string" + }, + + { + "assignment": { + "value": "1.0.0" + }, + + "name": "version", + + "type": "string" + } + ] + }, + + { + "name": "feature", + + "type": { + "name": "tosca.capabilities.Node", + + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.stream.subscribe", + + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + + "node_filter": { + "capabilities": [ + { + "dcae.capabilities.stream.subscribe": { + "properties": [ + { + "format": [ + { + "equal": "VES_specification" + } + ] + }, + + { + "version": [ + { + "equal": "5.28.4" + } + ] + } + ] + } + } + ] + }, + + "name": "stream_publish_0", + + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + + { + "capability": { + "name": "dcae.capabilities.cdapHost", + + "id": "template.yaml/dcae.capabilities.cdapHost" + }, + + "name": "host", + + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + + { + "capability": { + "name": "dcae.capabilities.composition.host", + + "id": "template.yaml/dcae.capabilities.composition.host" + }, + + "name": "composition" + }, + + { + "occurrences": [0, "UNBOUNDED"], + + "node": "tosca.nodes.Root", + + "capability": { + "name": "tosca.capabilities.Node", + + "id": "template.yaml/tosca.capabilities.Node" + }, + + "name": "dependency", + + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + + "properties": [ + { + "assignment": { + "value": "" + }, + + "name": "valueUndefined", + + "description": "valueUndefined", + + "type": "boolean", + + "constraints": [ + { + "valid_values": ["single", "multiple"] + } + ] + }, + + { + "assignment": { + "value": "false" + }, + + "name": "valueFalse", + + "description": "DDL value false", + + "type": "boolean", + + "constraints": [ + { + "valid_values": ["single", "multiple"] + } + ] + }, + + { + "assignment": { + "value": "true" + }, + + "name": "valueTrue", + + "description": "DDL value true", + + "type": "boolean", + + "constraints": [ + { + "valid_values": ["single", "multiple"] + } + ] + }, + + { + "assignment": { + "value": "multiple" + }, + + "name": "mappingType", + + "description": + "CSV to VES mapping, from the file to generate multiple events or single event", + + "type": "string", + + "constraints": [ + { + "valid_values": ["single", "multiple"] + } + ] + }, + + { + "assignment": { + "value": + "com.att.gfp.dcae.eventProcessor.Catalog,com.att.ecomp.dcae.eventproc.cdap.common.processors.Catalog" + }, + + "name": "defaultCatalogs", + + "type": "string" + }, + + { + "assignment": { + "value": { + "get_input": "defaultObjects" + } + }, + + "name": "defaultObjects", + + "type": "string" + }, + + { + "assignment": { + "value": "Map Microservice" + }, + + "name": "description", + + "type": "string" + }, + + { + "assignment": { + "value": { + "get_input": "dmaapConsumerGrp" + } + }, + + "name": "dmaapConsumerGrp", + + "type": "string" + }, + + { + "assignment": { + "value": "" + }, + + "name": "eventFactory", + + "type": "string" + }, + + { + "assignment": { + "value": + "{\"processing\":[{\"phase\":\"snmp_map\",\"filter\":{\"class\":\"StartsWith\",\"string\":\"${notify OID}\",\"value\":\".1.3.6.1.4.1.26878.200.2\"},\"processors\":[{\"class\":\"SnmpConvertor\",\"array\":\"varbinds\",\"keycolumn\":\"varbind_oid\",\"datacolumn\":\"varbind_value\"},{\"class\":\"RunPhase\",\"phase\":\"vPCRF_MOGParsingPhase\"}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"processors\":[{\"class\":\"MapAlarmValues\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"toField\":\"eventGroup\",\"map\":{\"LinkDown\":\"LinkUp_Down\",\"LinkUp\":\"LinkUp_Down\",\"HIGH CPU USAGE Alert\":\"HighCpuUsageAlert-Clear\",\"HIGH CPU USAGE Clear\":\"HighCpuUsageAlert-Clear\",\"ProcessDown\":\"ProcessUp-Down\",\"ProcessUp\":\"ProcessUp-Down\",\"HighLoadAlert\":\"HighLoadAlert-Clear\",\"HighLoadClear\":\"HighLoadAlert-Clear\",\"DiskFullAlert\":\"DiskFullAlert-Clear\",\"DiskFullClear\":\"DiskFullAlert-Clear\",\"LowSwapAlert\":\"LowMemoryAlert-Clear\",\"LowSwapClear\":\"LowMemoryAlert-Clear\",\"LowMemoryAlert\":\"LowMemoryAlert-Clear\",\"LowMemoryClear\":\"LowMemoryAlert-Clear\",\"ApplicationStartError\":\"ApplicationStartError\",\"LicenseUsageThresholdExceeded \":\"LicenseUsageThresholdExceeded \",\"LicensedSessionCreation\":\"LicensedSessionCreation\",\"InvalidLicense\":\"InvalidLicense\",\"PoliciesNotConfigured\":\"PoliciesNotConfigured\",\"DiameterAllPeersDown\":\"DiameterAllPeersUp-Down\",\"DiameterAllPeersUp\":\"DiameterAllPeersUp-Down\",\"HA Failover\":\"HAFailover\",\"GR Failover\":\"GRFailover\",\"All DB Member of replica set Down\":\"AllDBMemberReplicaSetUp-Down\",\"All DB Member of replica set Up\":\"AllDBMemberReplicaSetUp-Down\",\"No Primary DB Member Found\":\"PrimaryDBMemberFound-NotFound\",\"Primary DB Member Found\":\"PrimaryDBMemberFound-NotFound\",\"Secondary DB Member Down\":\"SecondaryDBMemberUp-Down\",\"Secondary DB Member Up\":\"SecondaryDBMemberUp-Down\",\"Arbiter Down\":\"ArbiterUp-Down\",\"Arbiter Up\":\"ArbiterUp-Down\",\"DB resync is needed\":\"DBResyncNeeded-NotNeeded\",\"DB resync is not needed\":\"DBResyncNeeded-NotNeeded\",\"Config Server Down\":\"ConfigServerUp-Down\",\"Config Server Up\":\"ConfigServerUp-Down\",\"VM Down\":\"VMUp-Down\",\"VM Up\":\"VMUp-Down\",\"QNS Process Down\":\"QNSProcessUp-Down\",\"QNS Process Up\":\"QNSProcessUp-Down\",\"VirtualInterface Down\":\"VirtualInterfaceUp-Down\",\"VirtualInterface Up\":\"VirtualInterfaceUp-Down\",\"MemcachedConnectError\":\"MemcachedConnectError\",\"PolicyConfiguration\":\"PolicyConfiguration\",\"DiameterPeerDown\":\"DiameterPeerDown\",\"DeveloperMode\":\"DeveloperMode\",\"ZeroMQConnectionError\":\"ZeroMQConnectionError\",\"Admin User Logged In\":\"AdminUserLoggedIn\"}},{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.domain\":\"fault\",\"event.commonEventHeader.version\":3,\"event.faultFields.faultFieldsVersion\":2.0,\"event.faultFields.vfStatus\":\"Active\",\"event.commonEventHeader.priority\":\"Normal\",\"event.commonEventHeader.sequence\":0,\"event.faultFields.alarmCondition\":\"${_1_3_6_1_4_1_26878_100_1_1_9}\",\"event.faultFields.alarmAdditionalInformation[0].name\":\"EventGroup\",\"event.faultFields.alarmAdditionalInformation[0].value\":\"${eventGroup}\",\"event.faultFields.alarmAdditionalInformation[1].name\":\"OID1\",\"event.faultFields.alarmAdditionalInformation[1].value\":\"${varbinds[0].varbind_value}\"}},{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.startEpochMicrosec\":\"%{now.ms}\"}},{\"class\":\"MapAlarmValues\",\"field\":\"_1_3_6_1_4_1_26878_100_1_4\",\"default\":\"WARNING\",\"toField\":\"event.faultFields.eventSeverity\",\"map\":{\"0\":\"CRITICAL\",\"1\":\"CRITICAL\",\"2\":\"MAJOR\",\"3\":\"MAJOR\",\"4\":\"MINOR\",\"5\":\"WARNING\",\"6\":\"WARNING\",\"7\":\"WARNING\",\"8\":\"WARNING\",\"9\":\"NORMAL\"}},{\"class\":\"MapAlarmValues\",\"field\":\"_1_3_6_1_4_1_26878_100_1_3\",\"default\":\"\",\"toField\":\"event.faultFields.specificProblem\",\"map\":{\"0\":\"Hardware\",\"1\":\"Networking\",\"2\":\"Virtualization\",\"3\":\"Operating System\",\"4\":\"Application\",\"5\":\"Process\"}},{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.lastEpochMicrosec\":\"${event.commonEventHeader.startEpochMicrosec}\"}},{\"class\":\"ConvertFieldTypes\",\"updates\":{\"event.commonEventHeader.startEpochMicrosec\":\"long\",\"event.commonEventHeader.lastEpochMicrosec\":\"long\"}}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DiskFullAlert\",\"LowSwapAlert\",\"LowMemoryAlert\"]},\"processors\":[{\"class\":\"Set\",\"updates\":{\"event.faultFields.eventSeverity\":\"MAJOR\"}}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"filter\":{\"class\":\"Contains\",\"string\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"value\":\"mog\"},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"event.commonEventHeader.sourceName\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\"([^:]*):.*\"},{\"class\":\"Set\",\"updates\":{\"event.faultFields.eventSourceType\":\"vMOG\",\"event.commonEventHeader.functionalRole\":\"vMoG\",\"event.commonEventHeader.eventType\":\"vMoG_Alarms\",\"event.commonEventHeader.eventId\":\"${event.commonEventHeader.sourceName}_${eventGroup}\",\"event.commonEventHeader.eventName\":\"NA\"}}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"filter\":{\"class\":\"Not\",\"filter\":{\"class\":\"Contains\",\"string\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"value\":\"mog\"}},\"processors\":[{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.sourceName\":\"${agent address}\",\"event.faultFields.eventSourceType\":\"vPCRF\",\"event.commonEventHeader.functionalRole\":\"vPCRF\",\"event.commonEventHeader.eventType\":\"PCRF_Alarms\",\"event.commonEventHeader.eventId\":\"${agent address}_${eventGroup}\",\"event.commonEventHeader.reportingEntityName\":\"${event.commonEventHeader.sourceName}\"}}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"filter\":{\"class\":\"Contains\",\"string\":\"${_1_3_6_1_4_1_26878_100_1_1_7}\",\"value\":\"mogx\"},\"processors\":[{\"class\":\"Set\",\"updates\":{\"event.faultFields.alarmCondition\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"event.faultFields.specificProblem\":\"${_1_3_6_1_4_1_26878_100_1_1_9}\",\"event.commonEventHeader.reportingEntityName\":\"${event.commonEventHeader.sourceName}\"}},{\"class\":\"RunPhase\",\"phase\":\"vPCRF_MOGX_ParsingPhase\"},{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.eventId\":\"${event.commonEventHeader.sourceName}_${eventGroup}_${eventKey}\"}}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"LinkDown\",\"LinkUp\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* (.*)\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"ProcessDown\",\"ProcessUp\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*:(.*) process.*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DiskFullAlert\",\"DiskFullClear\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*:(.*):.*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"QNS Process Down\",\"QNS Process Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*:(.*) server on .*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DiameterPeerDown\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* (.*) [R/r]ealm.*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DiameterAllPeersDown\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*Realm: (.*):[^:]*peers.*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"VirtualInterface Down\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*onnect (.*). Not reachable\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"VirtualInterface Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*: (.*) is up\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"GR Failover\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*: (Geo Failover done from .*) of .*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"Arbiter Down\",\"Arbiter Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* Arbiter (.*) is .*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"All DB Member of replica set Down\",\"All DB Member of replica set Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* All DB members of replica set (.*) are .*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"No Primary DB Member Found\",\"Primary DB Member Found\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* Replica-set (.*)\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DB Member Down\",\"DB Member Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* (DB.Member .*) of SET .*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"Secondary DB Member Down\",\"Secondary DB Member Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*Secondary (DB.*) is.*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DB Resync is needed\",\"DB Resync is not needed\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* member (.*:[0-9]+).*$\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"ZeroMQConnectionError\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* for (tcp.*)\"}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"processors\":[{\"class\":\"Clear\",\"fields\":[\"community len\",\"cambria.partition\",\"notify OID\",\"notify OID len\",\"epoch_serno\",\"protocol version\",\"agent name\",\"trap category\",\"community\",\"time received\",\"agent address\",\"varbinds\"]},{\"class\":\"ClearNoneStandardFields\",\"reservedFields\":[\"event\",\"parserType\"]},{\"class\":\"LogEvent\",\"title\":\"UCSNMPEvent-vPCRF_MOG_Parser_Output\",\"logName\":\"com.att.gfp.dcae.eventProcessor.output\",\"logLevel\":\"DEBUG\"},{\"class\":\"LogText\",\"logLevel\":\"INFO\",\"logText\":\"Finished_vPCRF_MOGParsingPhase Mapping Phase\"},{\"class\":\"RunPhase\",\"phase\":\"map_publish\"}]}]}" + }, + + "name": "json", + + "type": "string" + }, + + { + "assignment": { + "value": { + "get_input": "monitorThreads" + } + }, + + "name": "monitorThreads", + + "type": "string" + }, + + { + "assignment": { + "value": "mapMS" + }, + + "name": "name", + + "type": "string" + }, + + { + "assignment": { + "value": "snmp_map" + }, + + "name": "phases.snmp_map.phaseName", + + "type": "string" + }, + + { + "assignment": { + "value": ".*snmp.*" + }, + + "name": "phases.snmp_map.streamPattern", + + "type": "string" + }, + + { + "assignment": { + "value": "syslog_map" + }, + + "name": "phases.syslog_map.phaseName", + + "type": "string" + }, + + { + "assignment": { + "value": ".*syslog.*" + }, + + "name": "phases.syslog_map.streamPattern", + + "type": "string" + }, + + { + "assignment": { + "value": + "{\"phase\":\"map_publish\",\"processors\":[{\"class\":\"EventProcessorMetric\",\"metric\":\"out.events\"},{\"class\":\"SendEvent\",\"channel\":\"DCAE-MAP-EVENT-OUT\"}]}" + }, + + "name": "postConfig", + + "type": "string" + }, + + { + "assignment": { + "value": "vnfTypes.*" + }, + + "name": "ruleKeyPattern", + + "type": "string" + }, + + { + "assignment": { + "value": + "[{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"MOD\",\"INT\":\"INT\",\"HSEV\":\"header-SEV \",\"SEVDES\":\"Syslog-Severity\"},\"filter\":{\"${Priority}\":\"$Priority\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"0\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"1\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"0\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"2\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"0\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"3\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"0\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"4\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"0\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"5\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"0\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"6\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"0\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"7\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"1\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"8\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"1\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"9\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"1\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"10\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"1\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"11\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"1\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"12\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"1\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"13\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"1\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"14\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"1\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"15\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"2\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"16\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"2\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"17\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"2\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"18\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"2\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"19\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"2\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"20\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"2\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"21\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"2\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"22\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"2\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"23\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"3\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"24\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"3\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"25\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"3\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"26\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"3\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"27\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"3\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"28\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"3\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"29\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"3\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"30\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"3\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"31\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"4\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"32\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"4\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"33\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"4\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"34\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"4\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"35\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"4\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"36\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"4\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"37\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"4\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"38\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"4\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"39\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"5\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"40\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"5\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"41\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"5\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"42\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"5\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"43\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"5\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"44\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"5\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"45\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"5\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"46\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"5\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"47\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"6\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"48\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"6\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"49\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"6\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"50\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"6\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"51\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"6\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"52\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"6\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"53\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"6\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"54\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"6\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"55\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"7\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"56\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"7\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"57\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"7\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"58\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"7\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"59\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"7\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"60\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"7\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"61\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"7\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"62\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"7\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"63\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"8\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"64\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"8\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"65\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"8\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"66\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"8\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"67\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"8\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"68\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"8\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"69\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"8\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"70\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"8\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"71\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"9\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"72\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"9\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"73\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"9\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"74\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"9\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"75\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"9\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"76\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"9\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"77\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"9\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"78\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"9\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"79\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"10\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"80\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"10\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"81\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"10\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"82\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"10\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"83\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"10\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"84\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"10\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"85\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"10\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"86\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"10\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"87\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"11\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"88\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"11\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"89\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"11\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"90\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"11\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"91\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"11\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"92\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"11\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"93\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"11\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"94\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"11\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"95\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"12\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"96\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"12\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"97\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"12\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"98\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"12\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"99\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"12\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"100\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"12\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"101\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"12\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"102\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"12\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"103\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"13\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"104\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"13\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"105\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"13\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"106\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"13\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"107\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"13\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"108\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"13\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"109\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"13\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"110\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"13\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"111\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"14\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"112\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"14\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"113\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"14\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"114\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"14\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"115\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"14\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"116\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"14\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"117\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"14\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"118\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"14\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"119\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"15\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"120\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"15\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"121\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"15\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"122\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"15\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"123\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"15\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"124\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"15\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"125\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"15\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"126\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"15\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"127\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"16\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"128\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"16\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"129\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"16\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"130\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"16\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"131\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"16\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"132\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"16\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"133\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"16\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"134\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"16\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"135\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"17\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"136\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"17\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"137\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"17\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"138\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"17\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"139\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"17\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"140\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"17\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"141\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"17\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"142\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"17\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"143\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"18\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"144\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"18\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"145\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"18\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"146\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"18\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"147\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"18\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"148\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"18\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"149\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"18\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"150\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"18\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"151\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"19\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"152\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"19\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"153\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"19\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"154\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"19\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"155\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"19\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"156\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"19\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"157\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"19\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"158\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"19\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"159\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"20\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"160\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"20\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"161\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"20\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"162\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"20\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"163\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"20\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"164\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"20\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"165\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"20\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"166\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"20\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"167\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"21\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"168\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"21\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"169\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"21\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"170\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"21\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"171\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"21\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"172\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"21\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"173\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"21\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"174\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"21\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"175\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"22\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"176\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"22\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"177\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"22\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"178\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"22\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"179\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"22\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"180\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"22\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"181\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"22\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"182\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"22\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"183\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"23\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"184\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"23\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"185\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"23\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"186\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"23\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"187\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"23\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"188\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"23\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"189\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"23\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"190\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"23\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"191\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"24\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"192\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"24\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"193\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"24\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"194\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"24\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"195\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"24\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"196\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"24\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"197\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"24\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"198\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"23\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"199\"}}]" + }, + + "name": "settings", + + "type": "string" + }, + + { + "assignment": { + "value": "False" + }, + + "name": "startNoChannels", + + "type": "string" + }, + + { + "default": "cdap_broker", + + "assignment": { + "value": { + "get_input": "connected_broker_dns_name" + } + }, + + "name": "connected_broker_dns_name", + + "type": "string", + + "required": true + }, + + { + "name": "jar_url", + "type": "string", + "required": true + }, + + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + + "name": "location_id", + + "type": "string", + + "required": true + }, + + { + "name": "service_component_type", + + "type": "string", + + "required": true + } + ], + + "typeinfo": { + "itemId": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.dcae.nodes.cdapApp.Map", + + "requirements": [ + { + "node": { + "name": "dcae.capabilities.stream.subscribe", + + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.stream.subscribe" + }, + + "capability": { + "name": "dcae.capabilities.stream.subscribe", + + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.stream.subscribe" + }, + + "name": "stream_publish_0", + + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/stream_publish_0", + + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + + { + "node": { + "name": "dcae.capabilities.cdapHost", + + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.cdapHost" + }, + + "capability": { + "name": "dcae.capabilities.cdapHost", + + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.cdapHost" + }, + + "name": "host", + + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/host", + + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + + { + "node": { + "name": "dcae.capabilities.composition.host", + + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.composition.host" + }, + + "capability": { + "name": "dcae.capabilities.composition.host", + + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.composition.host" + }, + + "name": "composition", + + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/composition" + }, + + { + "occurrences": [0, "UNBOUNDED"], + + "node": { + "name": "tosca.capabilities.Node", + + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.capabilities.Node" + }, + + "capability": { + "name": "tosca.capabilities.Node", + + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.capabilities.Node" + }, + + "name": "dependency", + + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dependency", + + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + + "capabilities": [ + { + "name": "stream_subscribe_0", + + "type": { + "name": "dcae.capabilities.stream.subscribe", + + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.stream.subscribe" + } + }, + + { + "name": "feature", + + "type": { + "name": "tosca.capabilities.Node", + + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.capabilities.Node" + } + } + ], + + "catalogId": 0, + + "catalog": "http://135.91.225.81:8080", + + "hierarchy": [ + { + "name": "tosca.dcae.nodes.cdapApp", + + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.dcae.nodes.cdapApp" + }, + + { + "name": "tosca.dcae.nodes.Root", + + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.dcae.nodes.Root" + }, + + { + "name": "tosca.nodes.Root", + + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.nodes.Root" + } + ], + + "name": "tosca.dcae.nodes.cdapApp.Map", + + "id": 0 + }, + + "type": { + "name": "tosca.dcae.nodes.cdapApp.Map" + } + }, + + { + "name": "supplement", + + "description": + "/sdc/v1/catalog/resources/30d0b4f4-efc5-424a-9d26-6d7843a0971d/artifacts/2d68c4e3-a4ab-46b3-ae3b-2a593fa97ded", + + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d", + + "nid": "n.1517823224030.1", + + "capabilities": [ + { + "name": "stream_subscribe_0", + + "type": { + "name": "dcae.capabilities.stream.subscribe", + + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + + "properties": [ + { + "assignment": { + "value": "VES_specification" + }, + + "name": "format", + + "type": "string" + }, + + { + "assignment": { + "value": "IGNORE" + }, + + "name": "route", + + "type": "string" + }, + + { + "assignment": { + "value": "5.28.4" + }, + + "name": "version", + + "type": "string" + } + ] + }, + + { + "name": "feature", + + "type": { + "name": "tosca.capabilities.Node", + + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.stream.subscribe", + + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + + "node_filter": { + "capabilities": [ + { + "dcae.capabilities.stream.subscribe": { + "properties": [ + { + "format": [ + { + "equal": "VES_specification" + } + ] + }, + + { + "version": [ + { + "equal": "5.28.4" + } + ] + } + ] + } + } + ] + }, + + "name": "stream_publish_0", + + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + + { + "capability": { + "name": "dcae.capabilities.cdapHost", + + "id": "template.yaml/dcae.capabilities.cdapHost" + }, + + "name": "host", + + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + + { + "capability": { + "name": "dcae.capabilities.composition.host", + + "id": "template.yaml/dcae.capabilities.composition.host" + }, + + "name": "composition" + }, + + { + "occurrences": [0, "UNBOUNDED"], + + "node": "tosca.nodes.Root", + + "capability": { + "name": "tosca.capabilities.Node", + + "id": "template.yaml/tosca.capabilities.Node" + }, + + "name": "dependency", + + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + + "properties": [ + { + "assignment": { + "value": + "com.att.gfp.dcae.eventProcessor.Catalog,com.att.ecomp.dcae.eventproc.cdap.common.processors.Catalog" + }, + + "name": "defaultCatalogs", + + "type": "string" + }, + + { + "assignment": { + "value": { + "get_input": "defaultObjects" + } + }, + + "name": "defaultObjects", + + "type": "string" + }, + + { + "assignment": { + "value": "Supplement Microservice" + }, + + "name": "description", + + "type": "string" + }, + + { + "assignment": { + "value": { + "get_input": "dmaapConsumerGrp" + } + }, + + "name": "dmaapConsumerGrp", + + "type": "string" + }, + + { + "assignment": { + "value": "" + }, + + "name": "eventFactory", + + "type": "string" + }, + + { + "assignment": { + "value": + "{\"processing\":[{\"phase\":\"supplement\",\"filter\":{\"class\":\"OneOf\",\"field\":\"event.commonEventHeader.eventType\",\"values\":[\"vPCRF_Alarms\",\"vMoG_Alarms\",\"applicationVnf\",\"GuestOS_Alarms\",\"Control\"]},\"processors\":[{\"class\":\"DateFormatter\",\"value\":\"${event.commonEventHeader.startEpochMicrosec}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\",\"toField\":\"event.commonEventHeader.internalHeaderFields.firstDatetime\",\"toFormat\":\"EEE,ddMMMyyyyHH:mm:ssZ\",\"toTz\":\"GMT\"},{\"class\":\"DateFormatter\",\"value\":\"${event.commonEventHeader.lastEpochMicrosec}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\",\"toField\":\"event.commonEventHeader.internalHeaderFields.lastDatetime\",\"toFormat\":\"EEE,ddMMMyyyyHH:mm:ssZ\",\"toTz\":\"GMT\"},{\"class\":\"DateFormatter\",\"value\":\"%{now.ms}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\",\"toField\":\"event.commonEventHeader.internalHeaderFields.collectorTimeStamp\",\"toFormat\":\"EEE,ddMMMyyyyHH:mm:ssZ\",\"toTz\":\"GMT\"},{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.internalHeaderFields.internalHeaderFieldsVersion\":\"9.9\",\"event.commonEventHeader.internalHeaderFields.eventTag\":\"${hp.tag}\"}}]},{\"phase\":\"supplement\",\"processors\":[{\"class\":\"RunPhase\",\"phase\":\"supplement_publish\"}]},{\"phase\":\"ves_supplement\",\"filter\":{\"class\":\"OneOf\",\"field\":\"event.commonEventHeader.eventType\",\"values\":[\"vIRC_Alarms\"]},\"processors\":[{\"class\":\"RunPhase\",\"phase\":\"supplement_publish\"}]}]}" + }, + + "name": "json", + + "type": "string" + }, + + { + "assignment": { + "value": { + "get_input": "monitorThreads" + } + }, + + "name": "monitorThreads", + + "type": "string" + }, + + { + "assignment": { + "value": "supplementMS" + }, + + "name": "name", + + "type": "string" + }, + + { + "assignment": { + "value": "supplement" + }, + + "name": "phases.supplement.phaseName", + + "type": "string" + }, + + { + "assignment": { + "value": ".*supplement-in.*" + }, + + "name": "phases.supplement.streamPattern", + + "type": "string" + }, + + { + "assignment": { + "value": "ves_supplement" + }, + + "name": "phases.ves_supplement.phaseName", + + "type": "string" + }, + + { + "assignment": { + "value": ".*sec-fault.*" + }, + + "name": "phases.ves_supplement.streamPattern", + + "type": "string" + }, + + { + "assignment": { + "value": + "{\"phase\":\"supplement_publish\",\"processors\":[{\"class\":\"EventProcessorMetric\",\"metric\":\"out.events\"},{\"class\":\"SendEvent\",\"channel\":\"DCAE-SUPPLEMENT-EVENT-OUT\"}]}" + }, + + "name": "postConfig", + + "type": "string" + }, + + { + "assignment": { + "value": "vnfTypes.*" + }, + + "name": "ruleKeyPattern", + + "type": "string" + }, + + { + "assignment": { + "value": "False" + }, + + "name": "startNoChannels", + + "type": "string" + }, + + { + "default": "cdap_broker", + + "assignment": { + "value": { + "get_input": "connected_broker_dns_name" + } + }, + + "name": "connected_broker_dns_name", + + "type": "string", + + "required": true + }, + + { + "name": "jar_url", + "type": "string", + "required": true + }, + + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + + "name": "location_id", + + "type": "string", + + "required": true + }, + + { + "name": "service_component_type", + + "type": "string", + + "required": true + } + ], + + "typeinfo": { + "itemId": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.dcae.nodes.cdapApp.Supplement", + + "requirements": [ + { + "node": { + "name": "dcae.capabilities.stream.subscribe", + + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.stream.subscribe" + }, + + "capability": { + "name": "dcae.capabilities.stream.subscribe", + + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.stream.subscribe" + }, + + "name": "stream_publish_0", + + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/stream_publish_0", + + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + + { + "node": { + "name": "dcae.capabilities.cdapHost", + + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.cdapHost" + }, + + "capability": { + "name": "dcae.capabilities.cdapHost", + + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.cdapHost" + }, + + "name": "host", + + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/host", + + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + + { + "node": { + "name": "dcae.capabilities.composition.host", + + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.composition.host" + }, + + "capability": { + "name": "dcae.capabilities.composition.host", + + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.composition.host" + }, + + "name": "composition", + + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/composition" + }, + + { + "occurrences": [0, "UNBOUNDED"], + + "node": { + "name": "tosca.capabilities.Node", + + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.capabilities.Node" + }, + + "capability": { + "name": "tosca.capabilities.Node", + + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.capabilities.Node" + }, + + "name": "dependency", + + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dependency", + + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + + "capabilities": [ + { + "name": "stream_subscribe_0", + + "type": { + "name": "dcae.capabilities.stream.subscribe", + + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.stream.subscribe" + } + }, + + { + "name": "feature", + + "type": { + "name": "tosca.capabilities.Node", + + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.capabilities.Node" + } + } + ], + + "catalogId": 0, + + "catalog": "http://135.91.225.81:8080", + + "hierarchy": [ + { + "name": "tosca.dcae.nodes.cdapApp", + + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.dcae.nodes.cdapApp" + }, + + { + "name": "tosca.dcae.nodes.Root", + + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.dcae.nodes.Root" + }, + + { + "name": "tosca.nodes.Root", + + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.nodes.Root" + } + ], + + "name": "tosca.dcae.nodes.cdapApp.Supplement", + + "id": 0 + }, + + "type": { + "name": "tosca.dcae.nodes.cdapApp.Supplement" + } + }, + + { + "name": "enrich", + + "description": + "/sdc/v1/catalog/resources/8743b27b-f01e-4b17-a306-37efd42983d0/artifacts/c96f3ffd-516c-470b-ab7c-ced64fb244f0", + + "id": "8743b27b-f01e-4b17-a306-37efd42983d0", + + "nid": "n.1517823228454.2", + + "capabilities": [ + { + "name": "stream_subscribe_0", + + "type": { + "name": "dcae.capabilities.stream.subscribe", + + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + + "properties": [ + { + "assignment": { + "value": "VES_specification" + }, + + "name": "format", + + "type": "string" + }, + + { + "assignment": { + "value": "IGNORE" + }, + + "name": "route", + + "type": "string" + }, + + { + "assignment": { + "value": "5.28.4" + }, + + "name": "version", + + "type": "string" + } + ] + }, + + { + "name": "feature", + + "type": { + "name": "tosca.capabilities.Node", + + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.stream.subscribe", + + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + + "node_filter": { + "capabilities": [ + { + "dcae.capabilities.stream.subscribe": { + "properties": [ + { + "format": [ + { + "equal": "VES_specification" + } + ] + }, + + { + "version": [ + { + "equal": "5.28.4" + } + ] + } + ] + } + } + ] + }, + + "name": "stream_publish_0", + + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + + { + "capability": { + "name": "dcae.capabilities.cdapHost", + + "id": "template.yaml/dcae.capabilities.cdapHost" + }, + + "name": "host", + + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + + { + "capability": { + "name": "dcae.capabilities.composition.host", + + "id": "template.yaml/dcae.capabilities.composition.host" + }, + + "name": "composition" + }, + + { + "occurrences": [0, "UNBOUNDED"], + + "node": "tosca.nodes.Root", + + "capability": { + "name": "tosca.capabilities.Node", + + "id": "template.yaml/tosca.capabilities.Node" + }, + + "name": "dependency", + + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + + "properties": [ + { + "assignment": { + "value": + "com.att.ecomp.dcae.eventproc.cdap.common.processors.Catalog,com.att.sa.highlandPark.topoTools.HpTopoDbObjectCatalog,com.att.sa.highlandPark.topoTools.HpTopoDbProcessors,com.att.gfp.dcae.eventProcessor.Catalog" + }, + + "name": "defaultCatalogs", + + "type": "string" + }, + + { + "assignment": { + "value": { + "get_input": "defaultObjects" + } + }, + + "name": "defaultObjects", + + "type": "string" + }, + + { + "assignment": { + "value": "Enrich Microservice" + }, + + "name": "description", + + "type": "string" + }, + + { + "assignment": { + "value": { + "get_input": "dmaapConsumerGrp" + } + }, + + "name": "dmaapConsumerGrp", + + "type": "string" + }, + + { + "assignment": { + "value": "" + }, + + "name": "eventFactory", + + "type": "string" + }, + + { + "assignment": { + "value": + "{\"processing\":[{\"phase\":\"enrich\",\"filter\":{\"class\":\"Assigned\",\"field\":\"event.commonEventHeader.sourceName\",\"emtpyIsAssigned\":false},\"processors\":[{\"class\":\"StringTransform\",\"value\":\"${event.commonEventHeader.sourceName}\",\"toField\":\"searchString\",\"targetCase\":\"lower\"},{\"class\":\"EventProcessorMetric\",\"metric\":\"in.events\"},{\"class\":\"LogText\",\"logLevel\":\"WARN\",\"logText\":\"Alarm_EnrichmentStartingfor${hp.tag}\"},{\"class\":\"TopoSearch\",\"searchField\":\"oid\",\"searchValue\":\"${searchString}\",\"updates\":{\"event.commonEventHeader.sourceName\":\"${ptnii_name}\",\"event.commonEventHeader.sourceId\":\"${vserver_id}\",\"event.commonEventHeader.reportingEntityName\":\"${vnf_name}\",\"event.commonEventHeader.reportingEntityId\":\"${vnf_id}\",\"event.commonEventHeader.internalHeaderFields.equipmentType\":\"${equip_type}\",\"event.commonEventHeader.internalHeaderFields.provStatus\":\"${prov_status}\",\"event.commonEventHeader.internalHeaderFields.inMaint\":\"${in_maint}\",\"event.commonEventHeader.internalHeaderFields.tenantName\":\"${tenant_name}\",\"event.commonEventHeader.internalHeaderFields.eventSourceHostname\":\"${hostname}\",\"isEnriched\":true}},{\"class\":\"Set\",\"updates\":{\"event.preCorrelationAging\":\"${preCorrelationAging}\",\"event.prepublishAging\":\"${prepublishAging}\"}},{\"class\":\"Clear\",\"fields\":[\"searchString\"]},{\"class\":\"RunPhase\",\"phase\":\"enrich_publish\"}]}]}" + }, + + "name": "json", + + "type": "string" + }, + + { + "assignment": { + "value": { + "get_input": "monitorThreads" + } + }, + + "name": "monitorThreads", + + "type": "string" + }, + + { + "assignment": { + "value": "enrichMS" + }, + + "name": "name", + + "type": "string" + }, + + { + "assignment": { + "value": "enrich" + }, + + "name": "phases.enrich.phaseName", + + "type": "string" + }, + + { + "assignment": { + "value": ".*" + }, + + "name": "phases.enrich.streamPattern", + + "type": "string" + }, + + { + "assignment": { + "value": + "{\"phase\":\"enrich_publish\",\"processors\":[{\"class\":\"EventProcessorMetric\",\"metric\":\"out.events\"},{\"class\":\"SendEvent\",\"channel\":\"DCAE-ENRICH-EVENT-OUT\"}]}" + }, + + "name": "postConfig", + + "type": "string" + }, + + { + "assignment": { + "value": "vnfTypes.*" + }, + + "name": "ruleKeyPattern", + + "type": "string" + }, + + { + "assignment": { + "value": "False" + }, + + "name": "startNoChannels", + + "type": "string" + }, + + { + "default": "cdap_broker", + + "assignment": { + "value": { + "get_input": "connected_broker_dns_name" + } + }, + + "name": "connected_broker_dns_name", + + "type": "string", + + "required": true + }, + + { + "name": "jar_url", + "type": "string", + "required": true + }, + + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + + "name": "location_id", + + "type": "string", + + "required": true + }, + + { + "name": "service_component_type", + + "type": "string", + + "required": true + } + ], + + "typeinfo": { + "itemId": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.dcae.nodes.cdapApp.Enrich", + + "requirements": [ + { + "node": { + "name": "dcae.capabilities.stream.subscribe", + + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.stream.subscribe" + }, + + "capability": { + "name": "dcae.capabilities.stream.subscribe", + + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.stream.subscribe" + }, + + "name": "stream_publish_0", + + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/stream_publish_0", + + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + + { + "node": { + "name": "dcae.capabilities.cdapHost", + + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.cdapHost" + }, + + "capability": { + "name": "dcae.capabilities.cdapHost", + + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.cdapHost" + }, + + "name": "host", + + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/host", + + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + + { + "node": { + "name": "dcae.capabilities.composition.host", + + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.composition.host" + }, + + "capability": { + "name": "dcae.capabilities.composition.host", + + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.composition.host" + }, + + "name": "composition", + + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/composition" + }, + + { + "occurrences": [0, "UNBOUNDED"], + + "node": { + "name": "tosca.capabilities.Node", + + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.capabilities.Node" + }, + + "capability": { + "name": "tosca.capabilities.Node", + + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.capabilities.Node" + }, + + "name": "dependency", + + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/dependency", + + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + + "capabilities": [ + { + "name": "stream_subscribe_0", + + "type": { + "name": "dcae.capabilities.stream.subscribe", + + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.stream.subscribe" + } + }, + + { + "name": "feature", + + "type": { + "name": "tosca.capabilities.Node", + + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.capabilities.Node" + } + } + ], + + "catalogId": 0, + + "catalog": "http://135.91.225.81:8080", + + "hierarchy": [ + { + "name": "tosca.dcae.nodes.cdapApp", + + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.dcae.nodes.cdapApp" + }, + + { + "name": "tosca.dcae.nodes.Root", + + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.dcae.nodes.Root" + }, + + { + "name": "tosca.nodes.Root", + + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.nodes.Root" + } + ], + + "name": "tosca.dcae.nodes.cdapApp.Enrich", + + "id": 0 + }, + + "type": { + "name": "tosca.dcae.nodes.cdapApp.Enrich" + } + } + ], + + "relations": [ + { + "n1": "n.1520766712715.7", + + "name1": "foi", + + "n2": "n.1520766711386.5", + + "name2": "topic1", + + "meta": { + "n1": "n.1520766712715.7", + + "p1": "stream_publish_0", + + "relationship": ["foi", null, "stream_publish_0"], + + "n2": "n.1520766711386.5", + + "p2": "topic" + } + }, + + { + "n1": "n.1520766712715.7", + + "name1": "foi", + + "n2": "n.1520766712709.6", + + "name2": "feed0", + + "meta": { + "n1": "n.1520766712715.7", + + "p1": "stream_publish_0", + + "n2": "n.1520766712709.6", + + "p2": "feed", + + "relationship": [ + "foi", + + "dcae.relationships.publish_files", + + "stream_publish_0" + ] + } + }, + + { + "n1": "n.1520766711370.3", + + "name1": "componentSpec_docker_map", + + "n2": "n.1520766711379.4", + + "name2": "feed0", + + "meta": { + "n1": "n.1520766711370.3", + + "p1": "stream_subscribe_0", + + "n2": "n.1520766711379.4", + + "p2": "feed", + + "relationship": [ + "componentSpec_docker_map", + + "dcae.relationships.subscribe_to_files", + + "stream_subscribe_0" + ] + } + }, + + { + "n1": "n.1520766711370.3", + + "name1": "componentSpec_docker_map", + + "n2": "n.1520766711386.5", + + "name2": "topic1", + + "meta": { + "n1": "n.1520766711370.3", + + "p1": "stream_publish_0", + + "n2": "n.1520766711386.5", + + "p2": "topic", + + "relationship": [ + "componentSpec_docker_map", + + "dcae.relationships.publish_events", + + "stream_publish_0" + ] + } + } + ], + + "inputs": [], + + "outputs": [] + } +} diff --git a/cypress-docker/test/src/cypress/fixtures/doneSaveEditSimpleCopy.json b/cypress-docker/test/src/cypress/fixtures/doneSaveEditSimpleCopy.json new file mode 100644 index 0000000..e7ce16a --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/doneSaveEditSimpleCopy.json @@ -0,0 +1,40 @@ +{ + "version": "4.1", + + "eventType": "syslogFields", + + "description": "newRule", + + "uid": "f620724b-7170-43e1-8a8b-55e98cabe658", + + "phase": "sto2", + + "condition": null, + + "actions": [ + { + "actionType": "copy", + + "from": { + "regex": "", + + "state": "closed", + + "values": [ + { + "value": "" + }, + { + "value": "" + } + ], + + "value": "aB" + }, + + "target": "event.commonEventHeader.domain", + + "id": "296bcdd0-1d20-11e8-a96d-298fbe0cb0fd" + } + ] +} diff --git a/cypress-docker/test/src/cypress/fixtures/doneSaveSimpleCopy.json b/cypress-docker/test/src/cypress/fixtures/doneSaveSimpleCopy.json new file mode 100644 index 0000000..139dd96 --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/doneSaveSimpleCopy.json @@ -0,0 +1,40 @@ +{ + "version": "4.1", + + "eventType": "syslogFields", + + "description": "newRule", + + "uid": "f620724b-7170-43e1-8a8b-55e98cabe658", + + "phase": "sto2", + + "condition": null, + + "actions": [ + { + "actionType": "copy", + + "from": { + "regex": "", + + "state": "closed", + + "values": [ + { + "value": "" + }, + { + "value": "" + } + ], + + "value": "a" + }, + + "target": "event.commonEventHeader.domain", + + "id": "296bcdd0-1d20-11e8-a96d-298fbe0cb0fd" + } + ] +} diff --git a/cypress-docker/test/src/cypress/fixtures/doneSaveSimpleEditCopy.json b/cypress-docker/test/src/cypress/fixtures/doneSaveSimpleEditCopy.json new file mode 100644 index 0000000..1160693 --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/doneSaveSimpleEditCopy.json @@ -0,0 +1,40 @@ +{ + "version": "4.1", + + "eventType": "syslogFields", + + "description": "newRule_Copy", + + "uid": "7tw0vd4q-7170-43e1-8a8b-55e98cabe658", + + "phase": "sto2", + + "condition": null, + + "actions": [ + { + "actionType": "copy", + + "from": { + "regex": "", + + "state": "closed", + + "values": [ + { + "value": "" + }, + { + "value": "" + } + ], + + "value": "a" + }, + + "target": "event.commonEventHeader.domain", + + "id": "296bcdd0-1d20-11e8-a96d-298fbe0cb0fd" + } + ] +} diff --git a/cypress-docker/test/src/cypress/fixtures/doneSaveSimpleLogText.json b/cypress-docker/test/src/cypress/fixtures/doneSaveSimpleLogText.json new file mode 100644 index 0000000..fc68a45 --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/doneSaveSimpleLogText.json @@ -0,0 +1,48 @@ +{ + "version": "4.1", + + "eventType": "syslogFields", + + "description": "newRule2", + + "uid": "57612d40-c66d-4a5a-95c3-0165564f837d", + + "phase": "phase_1", + + "condition": null, + + "actions": [ + { + "logText": { + "name": "AAA", + + "level": "BBB", + + "text": "ABC" + }, + + "actionType": "log text", + + "from": { + "regex": "", + + "state": "closed", + + "values": [ + { + "value": "" + }, + { + "value": "" + } + ], + + "value": "" + }, + + "target": "", + + "id": "e340ab50-423b-11e8-94f2-3dd2f158c314" + } + ] +} diff --git a/cypress-docker/test/src/cypress/fixtures/doneSaveSimpleMap.json b/cypress-docker/test/src/cypress/fixtures/doneSaveSimpleMap.json new file mode 100644 index 0000000..eb7e930 --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/doneSaveSimpleMap.json @@ -0,0 +1,58 @@ +{ + "version": "4.1", + + "eventType": "syslogFields", + + "description": "newRule2", + + "uid": "57612d40-c66d-4a5a-95c3-0165564f837d", + + "phase": "phase_1", + + "condition": null, + + "actions": [ + { + "map": { + "default": "", + + "haveDefault": false, + + "values": [ + { + "key": "Key1", + "value": "Key1" + }, + + { + "key": "Key2", + "value": "Key2" + } + ] + }, + + "actionType": "map", + + "from": { + "regex": "", + + "state": "closed", + + "values": [ + { + "value": "" + }, + { + "value": "" + } + ], + + "value": "test" + }, + + "target": "event.commonEventHeader.eventId", + + "id": "e340ab50-423b-11e8-94f2-3dd2f158c314" + } + ] +} diff --git a/cypress-docker/test/src/cypress/fixtures/example.json b/cypress-docker/test/src/cypress/fixtures/example.json new file mode 100644 index 0000000..da18d93 --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/example.json @@ -0,0 +1,5 @@ +{ + "name": "Using fixtures to represent data", + "email": "hello@cypress.io", + "body": "Fixtures are a great way to mock data for responses to routes" +}
\ No newline at end of file diff --git a/cypress-docker/test/src/cypress/fixtures/getMCMock.json b/cypress-docker/test/src/cypress/fixtures/getMCMock.json new file mode 100644 index 0000000..602d2e0 --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/getMCMock.json @@ -0,0 +1,628 @@ +{ + "vfcmt": { + "uuid": "06c7d927-4e2f-47e1-a29d-b6ed229ebc0a", + "name": "vosk007", + "description": "the name is vosk, eran vosk", + "vfiName": "LiavSrv", + "flowType": "SNMP" + }, + "cdump": { + "cid": "47908e78-9893-4f18-b767-ea7131dd8de7", + "version": 0, + "nodes": [ + { + "name": "supplement", + "description": + "/sdc/v1/catalog/resources/30d0b4f4-efc5-424a-9d26-6d7843a0971d/artifacts/2d68c4e3-a4ab-46b3-ae3b-2a593fa97ded", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d", + "nid": "n.1517823224030.1", + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "properties": [ + { + "assignment": { "value": "VES_specification" }, + "name": "format", + "type": "string" + }, + { + "assignment": { "value": "IGNORE" }, + "name": "route", + "type": "string" + }, + { + "assignment": { "value": "5.28.4" }, + "name": "version", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "node_filter": { + "capabilities": [ + { + "dcae.capabilities.stream.subscribe": { + "properties": [ + { "format": [{ "equal": "VES_specification" }] }, + { "version": [{ "equal": "5.28.4" }] } + ] + } + } + ] + }, + "name": "stream_publish_0", + "relationship": { "type": "dcae.relationships.rework_connected_to" } + }, + { + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": "template.yaml/dcae.capabilities.cdapHost" + }, + "name": "host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "properties": [ + { + "assignment": { + "value": + "com.att.gfp.dcae.eventProcessor.Catalog,com.att.ecomp.dcae.eventproc.cdap.common.processors.Catalog" + }, + "name": "defaultCatalogs", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "defaultObjects" } }, + "name": "defaultObjects", + "type": "string" + }, + { + "assignment": { "value": "Supplement Microservice" }, + "name": "description", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "dmaapConsumerGrp" } }, + "name": "dmaapConsumerGrp", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "eventFactory", + "type": "string" + }, + { + "assignment": { + "value": + "{\"processing\":[{\"phase\":\"supplement\",\"filter\":{\"class\":\"OneOf\",\"field\":\"event.commonEventHeader.eventType\",\"values\":[\"vPCRF_Alarms\",\"vMoG_Alarms\",\"applicationVnf\",\"GuestOS_Alarms\",\"Control\"]},\"processors\":[{\"class\":\"DateFormatter\",\"value\":\"${event.commonEventHeader.startEpochMicrosec}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\",\"toField\":\"event.commonEventHeader.internalHeaderFields.firstDatetime\",\"toFormat\":\"EEE,ddMMMyyyyHH:mm:ssZ\",\"toTz\":\"GMT\"},{\"class\":\"DateFormatter\",\"value\":\"${event.commonEventHeader.lastEpochMicrosec}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\",\"toField\":\"event.commonEventHeader.internalHeaderFields.lastDatetime\",\"toFormat\":\"EEE,ddMMMyyyyHH:mm:ssZ\",\"toTz\":\"GMT\"},{\"class\":\"DateFormatter\",\"value\":\"%{now.ms}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\",\"toField\":\"event.commonEventHeader.internalHeaderFields.collectorTimeStamp\",\"toFormat\":\"EEE,ddMMMyyyyHH:mm:ssZ\",\"toTz\":\"GMT\"},{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.internalHeaderFields.internalHeaderFieldsVersion\":\"9.9\",\"event.commonEventHeader.internalHeaderFields.eventTag\":\"${hp.tag}\"}}]},{\"phase\":\"supplement\",\"processors\":[{\"class\":\"RunPhase\",\"phase\":\"supplement_publish\"}]},{\"phase\":\"ves_supplement\",\"filter\":{\"class\":\"OneOf\",\"field\":\"event.commonEventHeader.eventType\",\"values\":[\"vIRC_Alarms\"]},\"processors\":[{\"class\":\"RunPhase\",\"phase\":\"supplement_publish\"}]}]}" + }, + "name": "json", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "monitorThreads" } }, + "name": "monitorThreads", + "type": "string" + }, + { + "assignment": { "value": "supplementMS" }, + "name": "name", + "type": "string" + }, + { + "assignment": { "value": "supplement" }, + "name": "phases.supplement.phaseName", + "type": "string" + }, + { + "assignment": { "value": ".*supplement-in.*" }, + "name": "phases.supplement.streamPattern", + "type": "string" + }, + { + "assignment": { "value": "ves_supplement" }, + "name": "phases.ves_supplement.phaseName", + "type": "string" + }, + { + "assignment": { "value": ".*sec-fault.*" }, + "name": "phases.ves_supplement.streamPattern", + "type": "string" + }, + { + "assignment": { + "value": + "{\"phase\":\"supplement_publish\",\"processors\":[{\"class\":\"EventProcessorMetric\",\"metric\":\"out.events\"},{\"class\":\"SendEvent\",\"channel\":\"DCAE-SUPPLEMENT-EVENT-OUT\"}]}" + }, + "name": "postConfig", + "type": "string" + }, + { + "assignment": { "value": "vnfTypes.*" }, + "name": "ruleKeyPattern", + "type": "string" + }, + { + "assignment": { "value": "False" }, + "name": "startNoChannels", + "type": "string" + }, + { + "default": "cdap_broker", + "assignment": { + "value": { "get_input": "connected_broker_dns_name" } + }, + "name": "connected_broker_dns_name", + "type": "string", + "required": true + }, + { "name": "jar_url", "type": "string", "required": true }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location_id", + "type": "string", + "required": true + }, + { + "name": "service_component_type", + "type": "string", + "required": true + } + ], + "typeinfo": { + "itemId": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.dcae.nodes.cdapApp.Supplement", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.stream.subscribe" + }, + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.stream.subscribe" + }, + "name": "stream_publish_0", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/stream_publish_0", + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + { + "node": { + "name": "dcae.capabilities.cdapHost", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.cdapHost" + }, + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.cdapHost" + }, + "name": "host", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.stream.subscribe" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "http://135.91.225.81:8080", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.cdapApp", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.dcae.nodes.cdapApp" + }, + { + "name": "tosca.dcae.nodes.Root", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.cdapApp.Supplement", + "id": 0 + }, + "type": { "name": "tosca.dcae.nodes.cdapApp.Supplement" } + }, + { + "name": "enrich", + "description": + "/sdc/v1/catalog/resources/8743b27b-f01e-4b17-a306-37efd42983d0/artifacts/c96f3ffd-516c-470b-ab7c-ced64fb244f0", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0", + "nid": "n.1517823228454.2", + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "properties": [ + { + "assignment": { "value": "VES_specification" }, + "name": "format", + "type": "string" + }, + { + "assignment": { "value": "IGNORE" }, + "name": "route", + "type": "string" + }, + { + "assignment": { "value": "5.28.4" }, + "name": "version", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "node_filter": { + "capabilities": [ + { + "dcae.capabilities.stream.subscribe": { + "properties": [ + { "format": [{ "equal": "VES_specification" }] }, + { "version": [{ "equal": "5.28.4" }] } + ] + } + } + ] + }, + "name": "stream_publish_0", + "relationship": { "type": "dcae.relationships.rework_connected_to" } + }, + { + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": "template.yaml/dcae.capabilities.cdapHost" + }, + "name": "host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "properties": [ + { + "assignment": { + "value": + "com.att.ecomp.dcae.eventproc.cdap.common.processors.Catalog,com.att.sa.highlandPark.topoTools.HpTopoDbObjectCatalog,com.att.sa.highlandPark.topoTools.HpTopoDbProcessors,com.att.gfp.dcae.eventProcessor.Catalog" + }, + "name": "defaultCatalogs", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "defaultObjects" } }, + "name": "defaultObjects", + "type": "string" + }, + { + "assignment": { "value": "Enrich Microservice" }, + "name": "description", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "dmaapConsumerGrp" } }, + "name": "dmaapConsumerGrp", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "eventFactory", + "type": "string" + }, + { + "assignment": { + "value": + "{\"processing\":[{\"phase\":\"enrich\",\"filter\":{\"class\":\"Assigned\",\"field\":\"event.commonEventHeader.sourceName\",\"emtpyIsAssigned\":false},\"processors\":[{\"class\":\"StringTransform\",\"value\":\"${event.commonEventHeader.sourceName}\",\"toField\":\"searchString\",\"targetCase\":\"lower\"},{\"class\":\"EventProcessorMetric\",\"metric\":\"in.events\"},{\"class\":\"LogText\",\"logLevel\":\"WARN\",\"logText\":\"Alarm_EnrichmentStartingfor${hp.tag}\"},{\"class\":\"TopoSearch\",\"searchField\":\"oid\",\"searchValue\":\"${searchString}\",\"updates\":{\"event.commonEventHeader.sourceName\":\"${ptnii_name}\",\"event.commonEventHeader.sourceId\":\"${vserver_id}\",\"event.commonEventHeader.reportingEntityName\":\"${vnf_name}\",\"event.commonEventHeader.reportingEntityId\":\"${vnf_id}\",\"event.commonEventHeader.internalHeaderFields.equipmentType\":\"${equip_type}\",\"event.commonEventHeader.internalHeaderFields.provStatus\":\"${prov_status}\",\"event.commonEventHeader.internalHeaderFields.inMaint\":\"${in_maint}\",\"event.commonEventHeader.internalHeaderFields.tenantName\":\"${tenant_name}\",\"event.commonEventHeader.internalHeaderFields.eventSourceHostname\":\"${hostname}\",\"isEnriched\":true}},{\"class\":\"Set\",\"updates\":{\"event.preCorrelationAging\":\"${preCorrelationAging}\",\"event.prepublishAging\":\"${prepublishAging}\"}},{\"class\":\"Clear\",\"fields\":[\"searchString\"]},{\"class\":\"RunPhase\",\"phase\":\"enrich_publish\"}]}]}" + }, + "name": "json", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "monitorThreads" } }, + "name": "monitorThreads", + "type": "string" + }, + { + "assignment": { "value": "enrichMS" }, + "name": "name", + "type": "string" + }, + { + "assignment": { "value": "enrich" }, + "name": "phases.enrich.phaseName", + "type": "string" + }, + { + "assignment": { "value": ".*" }, + "name": "phases.enrich.streamPattern", + "type": "string" + }, + { + "assignment": { + "value": + "{\"phase\":\"enrich_publish\",\"processors\":[{\"class\":\"EventProcessorMetric\",\"metric\":\"out.events\"},{\"class\":\"SendEvent\",\"channel\":\"DCAE-ENRICH-EVENT-OUT\"}]}" + }, + "name": "postConfig", + "type": "string" + }, + { + "assignment": { "value": "vnfTypes.*" }, + "name": "ruleKeyPattern", + "type": "string" + }, + { + "assignment": { "value": "False" }, + "name": "startNoChannels", + "type": "string" + }, + { + "default": "cdap_broker", + "assignment": { + "value": { "get_input": "connected_broker_dns_name" } + }, + "name": "connected_broker_dns_name", + "type": "string", + "required": true + }, + { "name": "jar_url", "type": "string", "required": true }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location_id", + "type": "string", + "required": true + }, + { + "name": "service_component_type", + "type": "string", + "required": true + } + ], + "typeinfo": { + "itemId": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.dcae.nodes.cdapApp.Enrich", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.stream.subscribe" + }, + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.stream.subscribe" + }, + "name": "stream_publish_0", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/stream_publish_0", + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + { + "node": { + "name": "dcae.capabilities.cdapHost", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.cdapHost" + }, + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.cdapHost" + }, + "name": "host", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.stream.subscribe" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "http://135.91.225.81:8080", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.cdapApp", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.dcae.nodes.cdapApp" + }, + { + "name": "tosca.dcae.nodes.Root", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.cdapApp.Enrich", + "id": 0 + }, + "type": { "name": "tosca.dcae.nodes.cdapApp.Enrich" } + } + ], + "relations": [], + "inputs": [], + "outputs": [] + } +} diff --git a/cypress-docker/test/src/cypress/fixtures/getPhases.json b/cypress-docker/test/src/cypress/fixtures/getPhases.json new file mode 100644 index 0000000..3affb8a --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/getPhases.json @@ -0,0 +1,4 @@ +{ + "entryPhase": "snmp_map", + "publishPhase": "snmp_publish" +} diff --git a/cypress-docker/test/src/cypress/fixtures/igorCreateMcRes.json b/cypress-docker/test/src/cypress/fixtures/igorCreateMcRes.json new file mode 100644 index 0000000..4bca081 --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/igorCreateMcRes.json @@ -0,0 +1,1960 @@ +{ + "uuid": "6d436c07-8006-4335-8c84-d65b4740f8d6", + "cdump": { + "cid": "95222b23-df17-454d-84b0-d4667357b380", + "flowType": "SNMP", + "version": 0, + "nodes": [ + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.dockerHost", + "id": "template.yaml/dcae.capabilities.dockerHost" + }, + "name": "host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "fm_poller", + "description": + "/sdc/v1/catalog/resources/c8db6f9b-6173-4d7d-bd25-c20bfc154daa/artifacts/66b05681-a407-4e46-9239-86f245c68b81", + "type": { + "name": "tosca.dcae.nodes.dockerApp.fm_poller" + }, + "properties": [ + { + "assignment": { + "value": "ciscoRouter" + }, + "name": "DeviceCategory", + "type": "string", + "constraints": [ + { + "valid_values": [ + "ciscoSwitch", + "ciscoRouter", + "juniperSwitch", + "juniperRouter" + ] + } + ], + "value": "ciscoRouter" + }, + { + "assignment": { + "value": "/opt/app/discovery/seed" + }, + "name": "DeviceToWalkJson", + "type": "string", + "value": "/opt/app/discovery/seed" + }, + { + "assignment": { + "value": { + "get_input": "DisoveryInterval" + } + }, + "name": "DisoveryInterval", + "type": "string", + "value": { + "get_input": "DisoveryInterval" + } + }, + { + "assignment": { + "value": { + "get_input": "FlatironHost" + } + }, + "name": "FlatironHost", + "type": "string", + "value": { + "get_input": "FlatironHost" + } + }, + { + "assignment": { + "value": { + "get_input": "FlatironScope" + } + }, + "name": "FlatironScope", + "type": "string", + "value": { + "get_input": "FlatironScope" + } + }, + { + "assignment": { + "value": "/opt/app/discovery/curloutput" + }, + "name": "SeedFilePath", + "type": "string", + "value": "/opt/app/discovery/curloutput" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/app_config.json" + }, + "name": "app_config_file", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/app_config.json" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/ciscorouteroids" + }, + "name": "ciscorouter", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/ciscorouteroids" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/ciscoswitchoids" + }, + "name": "ciscoswitch", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/ciscoswitchoids" + }, + { + "assignment": { + "value": { + "get_input": "clientUri" + } + }, + "name": "clientUri", + "type": "string", + "value": { + "get_input": "clientUri" + } + }, + { + "assignment": { + "value": { + "get_input": "dcae_service_location" + } + }, + "name": "dcae_service_location", + "type": "string", + "value": { + "get_input": "dcae_service_location" + } + }, + { + "assignment": { + "value": "rv1-dis / rv1-mib" + }, + "name": "dcae_target_type", + "type": "string", + "constraints": [ + { + "valid_values": [ + "rv1-dis / rv1-mib", + "rv2- dis / rv2-mib", + "rv3- dis / rv3-mib", + "rv4- dis / rv4-mib", + "rv5- dis / rv5-mib", + "rv6- dis / rv6-mib", + "rv7- dis / rv7-mib", + "me6- dis / me6- mib" + ] + } + ], + "value": "rv1-dis / rv1-mib" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/defaultoids" + }, + "name": "default", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/defaultoids" + }, + { + "assignment": { + "value": "" + }, + "name": "dmaapSeedFilePath", + "type": "string" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/dmaap_config.json" + }, + "name": "dmaap_conf_file", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/dmaap_config.json" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/dti_config.json" + }, + "name": "dti_config_file", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/dti_config.json" + }, + { + "assignment": { + "value": { + "get_input": "environment" + } + }, + "name": "environment", + "type": "string", + "value": { + "get_input": "environment" + } + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/juniperrouteroids" + }, + "name": "juniperrouter", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/juniperrouteroids" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/juniperswitchoids" + }, + "name": "juniperswitch", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/juniperswitchoids" + }, + { + "assignment": { + "value": "/opt/app/discovery/outdata" + }, + "name": "outdata", + "type": "string", + "value": "/opt/app/discovery/outdata" + }, + { + "name": "image", + "type": "string", + "required": true + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location_id", + "type": "string", + "required": true, + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + { + "name": "service_component_type", + "type": "string", + "required": true + } + ], + "typeinfo": { + "itemId": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.dcae.nodes.dockerApp.fm_poller", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.dockerHost", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dcae.capabilities.dockerHost" + }, + "capability": { + "name": "dcae.capabilities.dockerHost", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dcae.capabilities.dockerHost" + }, + "name": "host", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "https://zldcrdm2sdc4cbe01.3f1a87.rdm2.tci.att.com:8443", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.dockerApp", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.dcae.nodes.dockerApp" + }, + { + "name": "tosca.dcae.nodes.Root", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dockerApp.fm_poller", + "id": 0 + }, + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa", + "nid": "n.1519543437108.0", + "ndata": { + "name": "n.1519543437108.0", + "label": "fm_poller", + "x": 1642, + "y": 417, + "px": 1641, + "py": 416, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "policy", + "type": { + "name": "dcae.capabilities.policy", + "id": "template.yaml/dcae.capabilities.policy" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "policy_0", + "description": + "/sdc/v1/catalog/resources/3c473efc-57fc-4a47-b3fc-190bd3b02bd2/artifacts/a04ce19c-6d71-44b7-9483-baa74d050fdb", + "type": { + "name": "tosca.dcae.nodes.policy" + }, + "properties": [ + { + "name": "policy_id", + "type": "string", + "required": true + }, + { + "assignment": { + "value": "policy.nodes.cdap.tca.hi.lo.app" + }, + "name": "policy_name", + "type": "string", + "value": "policy.nodes.cdap.tca.hi.lo.app" + } + ], + "typeinfo": { + "itemId": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.policy", + "requirements": [ + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "policy", + "type": { + "name": "dcae.capabilities.policy", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.policy" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "https://zldcrdm2sdc4cbe01.3f1a87.rdm2.tci.att.com:8443", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.policy", + "id": 0 + }, + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2", + "nid": "n.1519546229982.0", + "ndata": { + "name": "n.1519546229982.0", + "label": "policy_0", + "x": 1432, + "y": 324, + "px": 1431, + "py": 323, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "node": "topic0", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_0", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": "topic1", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_0", + "relationship": { + "type": "dcae.relationships.publish_events" + } + }, + { + "node": "policy_0", + "capability": { + "name": "dcae.capabilities.policy", + "id": "template.yaml/dcae.capabilities.policy" + }, + "name": "policy", + "relationship": { + "type": "cloudify.relationships.depends_on" + } + }, + { + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": "template.yaml/dcae.capabilities.cdapHost" + }, + "name": "host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "tcaSpec", + "description": + "/sdc/v1/catalog/resources/3c473efc-57fc-4a47-b3fc-190bd3b02bd2/artifacts/a04ce19c-6d71-44b7-9483-baa74d050fdb", + "type": { + "name": "tosca.dcae.nodes.cdapApp.tcaSpec" + }, + "properties": [ + { + "assignment": { + "value": "123.123.123.123" + }, + "name": "aaiEnrichmentHost", + "type": "string", + "value": "123.123.123.123" + }, + { + "assignment": { + "value": "true" + }, + "name": "aaiEnrichmentIgnoreSSLCertificateErrors", + "type": "string", + "value": "true" + }, + { + "assignment": { + "value": "8443" + }, + "name": "aaiEnrichmentPortNumber", + "type": "string", + "value": "8443" + }, + { + "assignment": { + "value": "https" + }, + "name": "aaiEnrichmentProtocol", + "type": "string", + "value": "https" + }, + { + "assignment": { + "value": "http://username:password@proxyhost.com:8080" + }, + "name": "aaiEnrichmentProxyURL", + "type": "string", + "value": "http://username:password@proxyhost.com:8080" + }, + { + "assignment": { + "value": "DCAE" + }, + "name": "aaiEnrichmentUserName", + "type": "string", + "value": "DCAE" + }, + { + "assignment": { + "value": "DCAE" + }, + "name": "aaiEnrichmentUserPassword", + "type": "string", + "value": "DCAE" + }, + { + "assignment": { + "value": "/aai/v11/search/nodes-query" + }, + "name": "aaiVMEnrichmentAPIPath", + "type": "string", + "value": "/aai/v11/search/nodes-query" + }, + { + "assignment": { + "value": "/aai/v11/network/generic-vnfs/generic-vnf" + }, + "name": "aaiVNFEnrichmentAPIPath", + "type": "string", + "value": "/aai/v11/network/generic-vnfs/generic-vnf" + }, + { + "assignment": { + "value": "DCAE Analytics Threshold Crossing Alert Application" + }, + "name": "appDescription", + "type": "string", + "value": "DCAE Analytics Threshold Crossing Alert Application" + }, + { + "assignment": { + "value": "dcae-tca" + }, + "name": "appName", + "type": "string", + "value": "dcae-tca" + }, + { + "assignment": { + "value": "true" + }, + "name": "enableAAIEnrichment", + "type": "string", + "value": "true" + }, + { + "assignment": { + "value": "false" + }, + "name": "enableAlertCEFFormat", + "type": "string", + "value": "false" + }, + { + "assignment": { + "value": "application/json" + }, + "name": "publisherContentType", + "type": "string", + "value": "application/json" + }, + { + "assignment": { + "value": "1" + }, + "name": "publisherMaxBatchSize", + "type": "string", + "value": "1" + }, + { + "assignment": { + "value": "100000" + }, + "name": "publisherMaxRecoveryQueueSize", + "type": "string", + "value": "100000" + }, + { + "assignment": { + "value": "20000" + }, + "name": "publisherPollingInterval", + "type": "string", + "value": "20000" + }, + { + "assignment": { + "value": "OpenDCAE-c12" + }, + "name": "subscriberConsumerGroup", + "type": "string", + "value": "OpenDCAE-c12" + }, + { + "assignment": { + "value": "c12" + }, + "name": "subscriberConsumerId", + "type": "string", + "value": "c12" + }, + { + "assignment": { + "value": "application/json" + }, + "name": "subscriberContentType", + "type": "string", + "value": "application/json" + }, + { + "assignment": { + "value": "-1" + }, + "name": "subscriberMessageLimit", + "type": "string", + "value": "-1" + }, + { + "assignment": { + "value": "30000" + }, + "name": "subscriberPollingInterval", + "type": "string", + "value": "30000" + }, + { + "assignment": { + "value": "-1" + }, + "name": "subscriberTimeoutMS", + "type": "string", + "value": "-1" + }, + { + "assignment": { + "value": "TCAAlertsAbatementTable" + }, + "name": "tcaAlertsAbatementTableName", + "type": "string", + "value": "TCAAlertsAbatementTable" + }, + { + "assignment": { + "value": "1728000" + }, + "name": "tcaAlertsAbatementTableTTLSeconds", + "type": "string", + "value": "1728000" + }, + { + "assignment": { + "value": "TCASubscriberOutputStream" + }, + "name": "tcaSubscriberOutputStreamName", + "type": "string", + "value": "TCASubscriberOutputStream" + }, + { + "assignment": { + "value": "TCAVESAlertsTable" + }, + "name": "tcaVESAlertsTableName", + "type": "string", + "value": "TCAVESAlertsTable" + }, + { + "assignment": { + "value": "1728000" + }, + "name": "tcaVESAlertsTableTTLSeconds", + "type": "string", + "value": "1728000" + }, + { + "assignment": { + "value": "TCAVESMessageStatusTable" + }, + "name": "tcaVESMessageStatusTableName", + "type": "string", + "value": "TCAVESMessageStatusTable" + }, + { + "assignment": { + "value": "86400" + }, + "name": "tcaVESMessageStatusTableTTLSeconds", + "type": "string", + "value": "86400" + }, + { + "assignment": { + "value": + "{\"domain\":\"measurementsForVfScaling\",\"metricsPerEventName\":[{\"eventName\":\"Mfvs_eNodeB_RANKPI\",\"controlLoopSchemaType\":\"VNF\",\"policyScope\":\"resource=vFirewall;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":4000,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":20000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"},{\"closedLoopControlName\":\"CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09\",\"closedLoopEventStatus\":\"ABATED\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":0,\"direction\":\"EQUAL\",\"severity\":\"CRITICAL\"}]},{\"eventName\":\"vLoadBalancer\",\"controlLoopSchemaType\":\"VNF\",\"policyScope\":\"resource=vLoadBalancer;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":500,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":5000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"}]}]}" + }, + "name": "tca_policy", + "type": "string", + "value": + "{\"domain\":\"measurementsForVfScaling\",\"metricsPerEventName\":[{\"eventName\":\"Mfvs_eNodeB_RANKPI\",\"controlLoopSchemaType\":\"VNF\",\"policyScope\":\"resource=vFirewall;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":4000,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":20000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"},{\"closedLoopControlName\":\"CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09\",\"closedLoopEventStatus\":\"ABATED\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":0,\"direction\":\"EQUAL\",\"severity\":\"CRITICAL\"}]},{\"eventName\":\"vLoadBalancer\",\"controlLoopSchemaType\":\"VNF\",\"policyScope\":\"resource=vLoadBalancer;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":500,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":5000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"}]}]}" + }, + { + "assignment": { + "value": "2" + }, + "name": "thresholdCalculatorFlowletInstances", + "type": "string", + "value": "2" + }, + { + "default": "cdap_broker", + "assignment": { + "value": { + "get_input": "connected_broker_dns_name" + } + }, + "name": "connected_broker_dns_name", + "type": "string", + "required": true, + "value": { + "get_input": "connected_broker_dns_name" + } + }, + { + "name": "jar_url", + "type": "string", + "required": true + }, + { + "name": "service_component_type", + "type": "string", + "required": true + } + ], + "typeinfo": { + "itemId": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.cdapApp.tcaSpec", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_0", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/stream_subscribe_0", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_0", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/stream_publish_0", + "relationship": { + "type": "dcae.relationships.publish_events" + } + }, + { + "node": { + "name": "dcae.capabilities.policy", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.policy" + }, + "capability": { + "name": "dcae.capabilities.policy", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.policy" + }, + "name": "policy", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/policy", + "relationship": { + "type": "cloudify.relationships.depends_on" + } + }, + { + "node": { + "name": "dcae.capabilities.cdapHost", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.cdapHost" + }, + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.cdapHost" + }, + "name": "host", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "https://zldcrdm2sdc4cbe01.3f1a87.rdm2.tci.att.com:8443", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.cdapApp", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.cdapApp" + }, + { + "name": "tosca.dcae.nodes.Root", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.cdapApp.tcaSpec", + "id": 0 + }, + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2", + "nid": "n.1519546229993.1", + "ndata": { + "name": "n.1519546229993.1", + "label": "tcaSpec", + "x": 1482, + "y": 340.0928478067284, + "px": 1481, + "py": 339.0928478067284, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { + "get_property": ["SELF", "aaf_password"] + } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "aaf_username"] + } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "client_role"] + } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "location"] + } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "node_name"] + } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "topic_name"] + } + }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic0", + "description": + "/sdc/v1/catalog/resources/3c473efc-57fc-4a47-b3fc-190bd3b02bd2/artifacts/a04ce19c-6d71-44b7-9483-baa74d050fdb", + "type": { + "name": "tosca.dcae.nodes.dmaap.topic" + }, + "properties": [ + { + "assignment": { + "value": { + "get_input": "topic0_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { + "get_input": "topic0_aaf_password" + } + }, + { + "assignment": { + "value": { + "get_input": "topic0_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { + "get_input": "topic0_aaf_username" + } + }, + { + "assignment": { + "value": { + "get_input": "topic0_client_role" + } + }, + "name": "client_role", + "type": "string", + "value": { + "get_input": "topic0_client_role" + } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + { + "assignment": { + "value": "__GET_NODE_NAME__" + }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + }, + { + "assignment": { + "value": "" + }, + "name": "topic_name", + "type": "string" + } + ], + "typeinfo": { + "itemId": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.dmaap.topic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "https://zldcrdm2sdc4cbe01.3f1a87.rdm2.tci.att.com:8443", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.topic", + "id": 0 + }, + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2", + "nid": "n.1519546230003.2", + "ndata": { + "name": "n.1519546230003.2", + "label": "topic0", + "x": 1532, + "y": 359.82099057536396, + "px": 1531, + "py": 358.82099057536396, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { + "get_property": ["SELF", "aaf_password"] + } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "aaf_username"] + } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "client_role"] + } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "location"] + } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "node_name"] + } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "topic_name"] + } + }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic1", + "description": + "/sdc/v1/catalog/resources/3c473efc-57fc-4a47-b3fc-190bd3b02bd2/artifacts/a04ce19c-6d71-44b7-9483-baa74d050fdb", + "type": { + "name": "tosca.dcae.nodes.dmaap.topic" + }, + "properties": [ + { + "assignment": { + "value": { + "get_input": "topic1_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { + "get_input": "topic1_aaf_password" + } + }, + { + "assignment": { + "value": { + "get_input": "topic1_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { + "get_input": "topic1_aaf_username" + } + }, + { + "assignment": { + "value": { + "get_input": "topic1_client_role" + } + }, + "name": "client_role", + "type": "string", + "value": { + "get_input": "topic1_client_role" + } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + { + "assignment": { + "value": "__GET_NODE_NAME__" + }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + }, + { + "assignment": { + "value": "" + }, + "name": "topic_name", + "type": "string" + } + ], + "typeinfo": { + "itemId": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.dmaap.topic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "https://zldcrdm2sdc4cbe01.3f1a87.rdm2.tci.att.com:8443", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.topic", + "id": 0 + }, + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2", + "nid": "n.1519546230015.3", + "ndata": { + "name": "n.1519546230015.3", + "label": "topic1", + "x": 1582, + "y": 364.5060542566447, + "px": 1581, + "py": 363.5060542566447, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.dockerHost", + "id": "template.yaml/dcae.capabilities.dockerHost" + }, + "name": "host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "fm_poller", + "description": + "/sdc/v1/catalog/resources/c8db6f9b-6173-4d7d-bd25-c20bfc154daa/artifacts/66b05681-a407-4e46-9239-86f245c68b81", + "type": { + "name": "tosca.dcae.nodes.dockerApp.fm_poller" + }, + "properties": [ + { + "assignment": { + "value": "ciscoRouter" + }, + "name": "DeviceCategory", + "type": "string", + "constraints": [ + { + "valid_values": [ + "ciscoSwitch", + "ciscoRouter", + "juniperSwitch", + "juniperRouter" + ] + } + ], + "value": "ciscoRouter" + }, + { + "assignment": { + "value": "/opt/app/discovery/seed" + }, + "name": "DeviceToWalkJson", + "type": "string", + "value": "/opt/app/discovery/seed" + }, + { + "assignment": { + "value": { + "get_input": "DisoveryInterval" + } + }, + "name": "DisoveryInterval", + "type": "string", + "value": { + "get_input": "DisoveryInterval" + } + }, + { + "assignment": { + "value": { + "get_input": "FlatironHost" + } + }, + "name": "FlatironHost", + "type": "string", + "value": { + "get_input": "FlatironHost" + } + }, + { + "assignment": { + "value": { + "get_input": "FlatironScope" + } + }, + "name": "FlatironScope", + "type": "string", + "value": { + "get_input": "FlatironScope" + } + }, + { + "assignment": { + "value": "/opt/app/discovery/curloutput" + }, + "name": "SeedFilePath", + "type": "string", + "value": "/opt/app/discovery/curloutput" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/app_config.json" + }, + "name": "app_config_file", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/app_config.json" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/ciscorouteroids" + }, + "name": "ciscorouter", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/ciscorouteroids" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/ciscoswitchoids" + }, + "name": "ciscoswitch", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/ciscoswitchoids" + }, + { + "assignment": { + "value": { + "get_input": "clientUri" + } + }, + "name": "clientUri", + "type": "string", + "value": { + "get_input": "clientUri" + } + }, + { + "assignment": { + "value": { + "get_input": "dcae_service_location" + } + }, + "name": "dcae_service_location", + "type": "string", + "value": { + "get_input": "dcae_service_location" + } + }, + { + "assignment": { + "value": "rv1-dis / rv1-mib" + }, + "name": "dcae_target_type", + "type": "string", + "constraints": [ + { + "valid_values": [ + "rv1-dis / rv1-mib", + "rv2- dis / rv2-mib", + "rv3- dis / rv3-mib", + "rv4- dis / rv4-mib", + "rv5- dis / rv5-mib", + "rv6- dis / rv6-mib", + "rv7- dis / rv7-mib", + "me6- dis / me6- mib" + ] + } + ], + "value": "rv1-dis / rv1-mib" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/defaultoids" + }, + "name": "default", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/defaultoids" + }, + { + "assignment": { + "value": "" + }, + "name": "dmaapSeedFilePath", + "type": "string" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/dmaap_config.json" + }, + "name": "dmaap_conf_file", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/dmaap_config.json" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/dti_config.json" + }, + "name": "dti_config_file", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/dti_config.json" + }, + { + "assignment": { + "value": { + "get_input": "environment" + } + }, + "name": "environment", + "type": "string", + "value": { + "get_input": "environment" + } + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/juniperrouteroids" + }, + "name": "juniperrouter", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/juniperrouteroids" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/juniperswitchoids" + }, + "name": "juniperswitch", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/juniperswitchoids" + }, + { + "assignment": { + "value": "/opt/app/discovery/outdata" + }, + "name": "outdata", + "type": "string", + "value": "/opt/app/discovery/outdata" + }, + { + "name": "image", + "type": "string", + "required": true + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location_id", + "type": "string", + "required": true, + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + { + "name": "service_component_type", + "type": "string", + "required": true + } + ], + "typeinfo": { + "itemId": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.dcae.nodes.dockerApp.fm_poller", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.dockerHost", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dcae.capabilities.dockerHost" + }, + "capability": { + "name": "dcae.capabilities.dockerHost", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dcae.capabilities.dockerHost" + }, + "name": "host", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "https://zldcrdm2sdc4cbe01.3f1a87.rdm2.tci.att.com:8443", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.dockerApp", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.dcae.nodes.dockerApp" + }, + { + "name": "tosca.dcae.nodes.Root", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dockerApp.fm_poller", + "id": 0 + }, + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa", + "nid": "n.1519638059958.3", + "ndata": { + "name": "n.1519638059958.3", + "label": "fm_poller", + "x": 757, + "y": 533, + "px": 756, + "py": 532, + "ports": [], + "radius": 30 + } + } + ], + "relations": [ + { + "rid": "lnk.1519638491147.0", + "n1": "n.1519546229993.1", + "name1": "tcaSpec", + "n2": "n.1519546230003.2", + "name2": "topic0", + "meta": { + "n1": "n.1519546229993.1", + "n2": "n.1519546230003.2", + "p1": "stream_subscribe_0", + "p2": "topic", + "relationship": ["tcaSpec", null, "stream_subscribe_0"] + } + }, + { + "rid": "lnk.1519638491150.1", + "n1": "n.1519546229993.1", + "name1": "tcaSpec", + "n2": "n.1519546230015.3", + "name2": "topic1", + "meta": { + "n1": "n.1519546229993.1", + "n2": "n.1519546230015.3", + "p1": "stream_publish_0", + "p2": "topic", + "relationship": ["tcaSpec", null, "stream_publish_0"] + } + }, + { + "rid": "lnk.1519638491156.2", + "n1": "n.1519546229993.1", + "name1": "tcaSpec", + "n2": "n.1519546229982.0", + "name2": "policy_0", + "meta": { + "n1": "n.1519546229993.1", + "n2": "n.1519546229982.0", + "p1": "policy", + "p2": "policy", + "relationship": ["tcaSpec", null, "policy"] + } + } + ], + "inputs": [], + "outputs": [] + } +} diff --git a/cypress-docker/test/src/cypress/fixtures/importVfcmt.json b/cypress-docker/test/src/cypress/fixtures/importVfcmt.json new file mode 100644 index 0000000..ef2565f --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/importVfcmt.json @@ -0,0 +1,162 @@ +[ + { + "uuid": "cb06b8a9-c7e0-4451-a941-89fc338303c9", + + "invariantUUID": "8c341465-43bb-44a9-b5f0-356e6a2a855f", + + "name": "LiavSprint10.3", + + "version": "0.1", + + "toscaModelURL": + "/sdc/v1/catalog/resources/cb06b8a9-c7e0-4451-a941-89fc338303c9/toscaModel", + + "lastUpdaterUserId": "le056g", + + "category": "Template", + + "lifecycleState": "NOT_CERTIFIED_CHECKIN", + + "subCategory": "Monitoring Template", + + "resourceType": "VFCMT" + }, + + { + "uuid": "eef4a0c8-8a52-4d09-bdbd-f68dfd835ee3", + + "invariantUUID": "d8003bd6-de41-4910-b38d-a357de25a61a", + + "name": "teSt.__.monitoring---TempLATE.Rsnq", + + "version": "0.1", + + "toscaModelURL": + "/sdc/v1/catalog/resources/eef4a0c8-8a52-4d09-bdbd-f68dfd835ee3/toscaModel", + + "lastUpdaterUserId": "cs0008", + + "category": "Template", + + "lifecycleState": "NOT_CERTIFIED_CHECKIN", + + "subCategory": "Monitoring Template", + + "resourceType": "VFCMT" + }, + + { + "uuid": "f34758c9-f0e8-4b18-993a-0c1b48c5885a", + + "invariantUUID": "7a96b209-0598-4df7-9313-48234b6e731b", + + "name": "teSt.__.monitoring---TempLATE.Yh5k", + + "version": "2.0", + + "toscaModelURL": + "/sdc/v1/catalog/resources/f34758c9-f0e8-4b18-993a-0c1b48c5885a/toscaModel", + + "lastUpdaterUserId": "cs0008", + + "category": "Template", + + "lifecycleState": "CERTIFIED", + + "subCategory": "Monitoring Template", + + "resourceType": "VFCMT" + }, + + { + "uuid": "22473d26-d0bd-4c1b-84c1-20e539fb7556", + + "invariantUUID": "5feeebf4-d4e9-44bc-9f17-10703af44da7", + + "name": "CI-fJc9mhvlrfdx6qeCI", + + "version": "0.1", + + "toscaModelURL": + "/sdc/v1/catalog/resources/22473d26-d0bd-4c1b-84c1-20e539fb7556/toscaModel", + + "lastUpdaterUserId": "cs0008", + + "category": "Template", + + "lifecycleState": "NOT_CERTIFIED_CHECKIN", + + "subCategory": "Monitoring Template", + + "resourceType": "VFCMT" + }, + + { + "uuid": "dc588160-b1ca-4219-b790-bd8eda9332c1", + + "invariantUUID": "e23ac861-1ba3-4acc-a1bd-ea297c51f1da", + + "name": "teSt.__.monitoring---TempLATE.Fv2x", + + "version": "1.0", + + "toscaModelURL": + "/sdc/v1/catalog/resources/dc588160-b1ca-4219-b790-bd8eda9332c1/toscaModel", + + "lastUpdaterUserId": "cs0008", + + "category": "Template", + + "lifecycleState": "CERTIFIED", + + "subCategory": "Monitoring Template", + + "resourceType": "VFCMT" + }, + + { + "uuid": "cdb18942-e769-4361-9e89-96b06d13b138", + + "invariantUUID": "fc8c40aa-f67c-4386-92b1-fbc652b8d3dc", + + "name": "CIba71c93f4299", + + "version": "0.3", + + "toscaModelURL": + "/sdc/v1/catalog/resources/cdb18942-e769-4361-9e89-96b06d13b138/toscaModel", + + "lastUpdaterUserId": "cs0008", + + "category": "Template", + + "lifecycleState": "NOT_CERTIFIED_CHECKIN", + + "subCategory": "Monitoring Template", + + "resourceType": "VFCMT" + }, + + { + "uuid": "d9a5372c-2127-4b83-9aed-17e5b041cb45", + + "invariantUUID": "3decd698-451b-405f-93ca-dcdf1dfd525e", + + "name": "teSt.__.monitoring---TempLATE.Sgno", + + "version": "0.2", + + "toscaModelURL": + "/sdc/v1/catalog/resources/d9a5372c-2127-4b83-9aed-17e5b041cb45/toscaModel", + + "lastUpdaterUserId": "cs0008", + + "category": "Template", + + "lifecycleState": "NOT_CERTIFIED_CHECKIN", + + "subCategory": "Monitoring Template", + + "resourceType": "VFCMT" + } +] diff --git a/cypress-docker/test/src/cypress/fixtures/list-events-by-version.json b/cypress-docker/test/src/cypress/fixtures/list-events-by-version.json new file mode 100644 index 0000000..0a07af0 --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/list-events-by-version.json @@ -0,0 +1,29 @@ +[ + { + "version": "4.1", + "eventTypes": [ + "syslogFields", + "thresholdCrossingAlertFields", + "measurementsForVfScalingFields", + "mobileFlowFields", + "otherFields", + "stateChangeFields", + "faultFields" + ] + }, + { + "version": "5.3", + "eventTypes": [ + "syslogFields", + "thresholdCrossingAlertFields", + "voiceQualityFields", + "heartbeatFields", + "measurementsForVfScalingFields", + "sipSignalingFields", + "mobileFlowFields", + "otherFields", + "stateChangeFields", + "faultFields" + ] + } +] diff --git a/cypress-docker/test/src/cypress/fixtures/loadAllActionsForRuleEngine.json b/cypress-docker/test/src/cypress/fixtures/loadAllActionsForRuleEngine.json new file mode 100644 index 0000000..833549c --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/loadAllActionsForRuleEngine.json @@ -0,0 +1,380 @@ +{ + "schema": [ + { + "name": "commonEventHeader", + "children": [ + { + "name": "domain", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.domain" + }, + { + "name": "eventId", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.eventId" + }, + { + "name": "eventType", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.eventType" + }, + { + "name": "functionalRole", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.functionalRole" + }, + { + "name": "internalHeaderFields", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.internalHeaderFields" + }, + { + "name": "lastEpochMicrosec", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.lastEpochMicrosec" + }, + { + "name": "priority", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.priority" + }, + { + "name": "reportingEntityId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.reportingEntityId" + }, + { + "name": "reportingEntityName", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.reportingEntityName" + }, + { + "name": "sequence", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.sequence" + }, + { + "name": "sourceId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.sourceId" + }, + { + "name": "sourceName", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.sourceName" + }, + { + "name": "startEpochMicrosec", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.startEpochMicrosec" + }, + { + "name": "version", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.version" + } + ], + "isRequired": false, + "requiredChildren": [ + "domain", + "eventId", + "functionalRole", + "lastEpochMicrosec", + "priority", + "reportingEntityName", + "sequence", + "sourceName", + "startEpochMicrosec" + ], + "id": "event.commonEventHeader" + }, + { + "name": "syslogFields", + "children": [ + { + "name": "additionalFields", + "children": [ + { + "name": "name", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.additionalFields[].name" + }, + { + "name": "value", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.additionalFields[].value" + } + ], + "isRequired": false, + "requiredChildren": ["name", "value"], + "id": "event.syslogFields.additionalFields[]" + }, + { + "name": "eventSourceHost", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.eventSourceHost" + }, + { + "name": "eventSourceType", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.eventSourceType" + }, + { + "name": "syslogFacility", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogFacility" + }, + { + "name": "syslogFieldsVersion", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogFieldsVersion" + }, + { + "name": "syslogMsg", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.syslogMsg" + }, + { + "name": "syslogPri", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogPri" + }, + { + "name": "syslogProc", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogProc" + }, + { + "name": "syslogProcId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogProcId" + }, + { + "name": "syslogSData", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogSData" + }, + { + "name": "syslogSdId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogSdId" + }, + { + "name": "syslogSev", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogSev" + }, + { + "name": "syslogTag", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.syslogTag" + }, + { + "name": "syslogVer", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogVer" + } + ], + "isRequired": false, + "requiredChildren": ["eventSourceType", "syslogMsg", "syslogTag"], + "id": "event.syslogFields" + } + ], + "version": "4.1", + "eventType": "syslogFields", + "rules": { + "0318ba33-ed8a-4337-900f-fd08941516ca": { + "version": "4.1", + "eventType": "syslogFields", + "description": "testing", + "uid": "0318ba33-ed8a-4337-900f-fd08941516ca", + "phase": "phase_1", + "condition": { + "type": "ALL", + "children": [ + { + "left": "1", + "operator": "contains", + "right": ["1"], + "level": "1", + "name": "condition", + "id": "9206902638560" + }, + { + "type": "ALL", + "children": [ + { + "left": "2", + "operator": "endsWith", + "right": ["2"], + "level": "2", + "name": "condition", + "id": "1073000654831" + }, + { + "left": "3", + "operator": "notEqual", + "right": ["4"], + "level": "2", + "name": "condition", + "id": "1260245116254" + } + ], + "level": "1", + "name": "operator", + "id": "521213321767" + } + ], + "level": "0", + "name": "operator", + "id": "535610130324" + }, + "actions": [ + { + "target": "c", + "from": { + "regex": "b", + "state": "open", + "values": [{ "value": "" }, { "value": "" }], + "value": "a" + }, + "actionType": "copy", + "id": "fd5a96e0-7841-11e8-8524-afeb6547e257" + }, + { + "target": "1", + "from": { + "regex": "", + "state": "closed", + "values": [{ "value": "d1" }, { "value": "d2" }], + "value": "" + }, + "actionType": "concat", + "id": "09f117d0-7842-11e8-8524-afeb6547e257" + }, + { + "map": { + "default": "a1", + "haveDefault": true, + "values": [{ "key": "1", "value": "2" }] + }, + "target": "2", + "from": { + "regex": "", + "state": "closed", + "values": [{ "value": "" }, { "value": "" }], + "value": "e" + }, + "actionType": "map", + "id": "190c47d0-7842-11e8-8524-afeb6547e257" + }, + { + "dateFormatter": { + "fromFormat": "a1", + "toFormat": "a3", + "fromTimezone": "a2", + "toTimezone": "a4" + }, + "target": "3", + "from": { + "regex": "", + "state": "closed", + "values": [{ "value": "" }, { "value": "" }], + "value": "f" + }, + "actionType": "date formatter", + "id": "26bdfcc0-7842-11e8-8524-afeb6547e257" + }, + { + "logText": { "name": "a1", "level": "a2", "text": "g" }, + "actionType": "log text", + "id": "31c5a050-7842-11e8-8524-afeb6547e257" + }, + { + "logEvent": { "title": "h" }, + "actionType": "log event", + "id": "39383640-7842-11e8-8524-afeb6547e257" + }, + { + "replaceText": { "find": "a1", "replace": "a2" }, + "from": { + "regex": "", + "state": "closed", + "values": [{ "value": "" }, { "value": "" }], + "value": "i" + }, + "actionType": "replace text", + "id": "3f3df5c0-7842-11e8-8524-afeb6547e257" + }, + { + "from": { + "regex": "", + "state": "closed", + "values": [{ "value": "j" }], + "value": "" + }, + "actionType": "clear", + "id": "4dbdf730-7842-11e8-8524-afeb6547e257" + } + ] + } + } +} diff --git a/cypress-docker/test/src/cypress/fixtures/monitoringComponentsMock.json b/cypress-docker/test/src/cypress/fixtures/monitoringComponentsMock.json new file mode 100644 index 0000000..d1b0215 --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/monitoringComponentsMock.json @@ -0,0 +1,213 @@ +{ + "monitoringComponents": [ + { + "uuid": "cba37ed8-94e1-406f-b4f5-b5edbc31ac85", + + "name": "CIe4d5a9b271d6", + + "version": "0.2", + + "lastUpdaterUserId": "cs0008", + + "description": "description", + + "status": "not submitted", + + "vfiName": "vfb53dd48360ff4fa2b66e6ceb1961bd9b0" + }, + + { + "uuid": "64471437-8feb-40d9-a8b0-9407a81dd5c0", + + "name": "teSt.__.monitoring---TempLATE.6hnc", + + "version": "1.0", + + "lastUpdaterUserId": "cs0008", + + "description": "description", + + "status": "submitted", + + "vfiName": "dump0" + }, + + { + "uuid": "64471437-8feb-40d9-a8b0-9407a81dd5c1", + + "name": "teSt.__.monitoring---TempLATE.6hnc", + + "version": "1.0", + + "lastUpdaterUserId": "cs0008", + + "description": "description", + + "status": "submitted", + + "vfiName": "dump0" + }, + + { + "uuid": "cba37ed8-94e1-406f-b4f5-b5edbc31ac86", + + "name": "CIe4d5a9b271d6", + + "version": "0.2", + + "lastUpdaterUserId": "cs0008", + + "description": "description", + + "status": "not submitted", + + "vfiName": "vfb53dd48360ff4fa2b66e6ceb1961bd9b0" + }, + + { + "uuid": "64471437-8feb-40d9-a8b0-9407a81dd5c2", + + "name": "teSt.__.monitoring---TempLATE.6hnc", + + "version": "1.0", + + "lastUpdaterUserId": "cs0008", + + "description": "description", + + "status": "submitted", + + "vfiName": "dump0" + }, + + { + "uuid": "64471437-8feb-40d9-a8b0-9407a81dd5c3", + + "name": "teSt.__.monitoring---TempLATE.6hnc", + + "version": "1.0", + + "lastUpdaterUserId": "cs0008", + + "description": "description", + + "status": "submitted", + + "vfiName": "dump0" + }, + + { + "uuid": "cba37ed8-94e1-406f-b4f5-b5edbc31ac87", + + "name": "CIe4d5a9b271d6", + + "version": "0.2", + + "lastUpdaterUserId": "cs0008", + + "description": "description", + + "status": "not submitted", + + "vfiName": "vfb53dd48360ff4fa2b66e6ceb1961bd9b0" + }, + + { + "uuid": "64471437-8feb-40d9-a8b0-9407a81dd5c4", + + "name": "teSt.__.monitoring---TempLATE.6hnc", + + "version": "1.0", + + "lastUpdaterUserId": "cs0008", + + "description": "description", + + "status": "submitted", + + "vfiName": "dump0" + }, + + { + "uuid": "64471437-8feb-40d9-a8b0-9407a81dd5c5", + + "name": "teSt.__.monitoring---TempLATE.6hnc", + + "version": "1.0", + + "lastUpdaterUserId": "cs0008", + + "description": "description", + + "status": "submitted", + + "vfiName": "dump0" + }, + + { + "uuid": "cba37ed8-94e1-406f-b4f5-b5edbc31ac88", + + "name": "CIe4d5a9b271d6", + + "version": "0.2", + + "lastUpdaterUserId": "cs0008", + + "description": "description", + + "status": "not submitted", + + "vfiName": "vfb53dd48360ff4fa2b66e6ceb1961bd9b0" + }, + + { + "uuid": "64471437-8feb-40d9-a8b0-9407a81dd5c6", + + "name": "teSt.__.monitoring---TempLATE.6hnc", + + "version": "1.0", + + "lastUpdaterUserId": "cs0008", + + "description": "description", + + "status": "submitted", + + "vfiName": "dump0" + }, + + { + "uuid": "64471437-8feb-40d9-a8b0-9407a81dd5c7", + + "name": "teSt.__.monitoring---TempLATE.6hnc", + + "version": "1.0", + + "lastUpdaterUserId": "cs0008", + + "description": "description", + + "status": "submitted", + + "vfiName": "dump0" + } + ], + + "unavailable": [ + { + "uuid": "111111-1111111-1111111", + + "name": null, + + "version": null, + + "lastUpdaterUserId": null, + + "description": null, + + "status": "unavailable", + + "vfiName": "dump0" + } + ] +} diff --git a/cypress-docker/test/src/cypress/fixtures/ruleEngineLoadServerClear.json b/cypress-docker/test/src/cypress/fixtures/ruleEngineLoadServerClear.json new file mode 100644 index 0000000..90a28bd --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/ruleEngineLoadServerClear.json @@ -0,0 +1,304 @@ +{ + "schema": [ + { + "name": "commonEventHeader", + "children": [ + { + "name": "domain", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.domain" + }, + { + "name": "eventId", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.eventId" + }, + { + "name": "eventType", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.eventType" + }, + { + "name": "functionalRole", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.functionalRole" + }, + { + "name": "internalHeaderFields", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.internalHeaderFields" + }, + { + "name": "lastEpochMicrosec", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.lastEpochMicrosec" + }, + { + "name": "priority", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.priority" + }, + { + "name": "reportingEntityId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.reportingEntityId" + }, + { + "name": "reportingEntityName", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.reportingEntityName" + }, + { + "name": "sequence", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.sequence" + }, + { + "name": "sourceId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.sourceId" + }, + { + "name": "sourceName", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.sourceName" + }, + { + "name": "startEpochMicrosec", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.startEpochMicrosec" + }, + { + "name": "version", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.version" + } + ], + "isRequired": false, + "requiredChildren": [ + "domain", + "eventId", + "functionalRole", + "lastEpochMicrosec", + "priority", + "reportingEntityName", + "sequence", + "sourceName", + "startEpochMicrosec" + ], + "id": "event.commonEventHeader" + }, + { + "name": "syslogFields", + "children": [ + { + "name": "additionalFields", + "children": [ + { + "name": "name", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.additionalFields[].name" + }, + { + "name": "value", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.additionalFields[].value" + } + ], + "isRequired": false, + "requiredChildren": ["name", "value"], + "id": "event.syslogFields.additionalFields[]" + }, + { + "name": "eventSourceHost", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.eventSourceHost" + }, + { + "name": "eventSourceType", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.eventSourceType" + }, + { + "name": "syslogFacility", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogFacility" + }, + { + "name": "syslogFieldsVersion", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogFieldsVersion" + }, + { + "name": "syslogMsg", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.syslogMsg" + }, + { + "name": "syslogPri", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogPri" + }, + { + "name": "syslogProc", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogProc" + }, + { + "name": "syslogProcId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogProcId" + }, + { + "name": "syslogSData", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogSData" + }, + { + "name": "syslogSdId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogSdId" + }, + { + "name": "syslogSev", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogSev" + }, + { + "name": "syslogTag", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.syslogTag" + }, + { + "name": "syslogVer", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogVer" + } + ], + "isRequired": false, + "requiredChildren": ["eventSourceType", "syslogMsg", "syslogTag"], + "id": "event.syslogFields" + } + ], + "version": "4.1", + "eventType": "syslogFields", + "rules": { + "0318ba33-ed8a-4337-900f-fd08941516ca": { + "version": "4.1", + "eventType": "syslogFields", + "description": "testing", + "uid": "0318ba33-ed8a-4337-900f-fd08941516ca", + "phase": "phase_1", + "condition": { + "type": "ALL", + "children": [ + { + "left": "1", + "operator": "contains", + "right": ["1"], + "level": "1", + "name": "condition", + "id": "9206902638560" + }, + { + "type": "ALL", + "children": [ + { + "left": "2", + "operator": "endsWith", + "right": ["2"], + "level": "2", + "name": "condition", + "id": "1073000654831" + }, + { + "left": "3", + "operator": "notEqual", + "right": ["4"], + "level": "2", + "name": "condition", + "id": "1260245116254" + } + ], + "level": "1", + "name": "operator", + "id": "521213321767" + } + ], + "level": "0", + "name": "operator", + "id": "535610130324" + }, + "actions": [ + { + "from": { + "regex": "", + "state": "closed", + "values": [{ "value": "j" }], + "value": "" + }, + "actionType": "clear", + "id": "4dbdf730-7842-11e8-8524-afeb6547e257" + } + ] + } + } +} diff --git a/cypress-docker/test/src/cypress/fixtures/ruleEngineLoadServerCopy.json b/cypress-docker/test/src/cypress/fixtures/ruleEngineLoadServerCopy.json new file mode 100644 index 0000000..3eaeb8d --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/ruleEngineLoadServerCopy.json @@ -0,0 +1,305 @@ +{ + "schema": [ + { + "name": "commonEventHeader", + "children": [ + { + "name": "domain", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.domain" + }, + { + "name": "eventId", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.eventId" + }, + { + "name": "eventType", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.eventType" + }, + { + "name": "functionalRole", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.functionalRole" + }, + { + "name": "internalHeaderFields", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.internalHeaderFields" + }, + { + "name": "lastEpochMicrosec", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.lastEpochMicrosec" + }, + { + "name": "priority", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.priority" + }, + { + "name": "reportingEntityId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.reportingEntityId" + }, + { + "name": "reportingEntityName", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.reportingEntityName" + }, + { + "name": "sequence", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.sequence" + }, + { + "name": "sourceId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.sourceId" + }, + { + "name": "sourceName", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.sourceName" + }, + { + "name": "startEpochMicrosec", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.startEpochMicrosec" + }, + { + "name": "version", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.version" + } + ], + "isRequired": false, + "requiredChildren": [ + "domain", + "eventId", + "functionalRole", + "lastEpochMicrosec", + "priority", + "reportingEntityName", + "sequence", + "sourceName", + "startEpochMicrosec" + ], + "id": "event.commonEventHeader" + }, + { + "name": "syslogFields", + "children": [ + { + "name": "additionalFields", + "children": [ + { + "name": "name", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.additionalFields[].name" + }, + { + "name": "value", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.additionalFields[].value" + } + ], + "isRequired": false, + "requiredChildren": ["name", "value"], + "id": "event.syslogFields.additionalFields[]" + }, + { + "name": "eventSourceHost", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.eventSourceHost" + }, + { + "name": "eventSourceType", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.eventSourceType" + }, + { + "name": "syslogFacility", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogFacility" + }, + { + "name": "syslogFieldsVersion", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogFieldsVersion" + }, + { + "name": "syslogMsg", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.syslogMsg" + }, + { + "name": "syslogPri", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogPri" + }, + { + "name": "syslogProc", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogProc" + }, + { + "name": "syslogProcId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogProcId" + }, + { + "name": "syslogSData", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogSData" + }, + { + "name": "syslogSdId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogSdId" + }, + { + "name": "syslogSev", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogSev" + }, + { + "name": "syslogTag", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.syslogTag" + }, + { + "name": "syslogVer", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogVer" + } + ], + "isRequired": false, + "requiredChildren": ["eventSourceType", "syslogMsg", "syslogTag"], + "id": "event.syslogFields" + } + ], + "version": "4.1", + "eventType": "syslogFields", + "rules": { + "0318ba33-ed8a-4337-900f-fd08941516ca": { + "version": "4.1", + "eventType": "syslogFields", + "description": "testing", + "uid": "0318ba33-ed8a-4337-900f-fd08941516ca", + "phase": "phase_1", + "condition": { + "type": "ALL", + "children": [ + { + "left": "1", + "operator": "contains", + "right": ["1"], + "level": "1", + "name": "condition", + "id": "9206902638560" + }, + { + "type": "ALL", + "children": [ + { + "left": "2", + "operator": "endsWith", + "right": ["2"], + "level": "2", + "name": "condition", + "id": "1073000654831" + }, + { + "left": "3", + "operator": "notEqual", + "right": ["4"], + "level": "2", + "name": "condition", + "id": "1260245116254" + } + ], + "level": "1", + "name": "operator", + "id": "521213321767" + } + ], + "level": "0", + "name": "operator", + "id": "535610130324" + }, + "actions": [ + { + "target": "c", + "from": { + "regex": "b", + "state": "open", + "values": [{ "value": "" }, { "value": "" }], + "value": "a" + }, + "actionType": "copy", + "id": "fd5a96e0-7841-11e8-8524-afeb6547e257" + } + ] + } + } +} diff --git a/cypress-docker/test/src/cypress/fixtures/ruleEngineLoadServerReplaceText.json b/cypress-docker/test/src/cypress/fixtures/ruleEngineLoadServerReplaceText.json new file mode 100644 index 0000000..9363409 --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/ruleEngineLoadServerReplaceText.json @@ -0,0 +1,305 @@ +{ + "schema": [ + { + "name": "commonEventHeader", + "children": [ + { + "name": "domain", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.domain" + }, + { + "name": "eventId", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.eventId" + }, + { + "name": "eventType", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.eventType" + }, + { + "name": "functionalRole", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.functionalRole" + }, + { + "name": "internalHeaderFields", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.internalHeaderFields" + }, + { + "name": "lastEpochMicrosec", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.lastEpochMicrosec" + }, + { + "name": "priority", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.priority" + }, + { + "name": "reportingEntityId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.reportingEntityId" + }, + { + "name": "reportingEntityName", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.reportingEntityName" + }, + { + "name": "sequence", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.sequence" + }, + { + "name": "sourceId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.sourceId" + }, + { + "name": "sourceName", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.sourceName" + }, + { + "name": "startEpochMicrosec", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.startEpochMicrosec" + }, + { + "name": "version", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.version" + } + ], + "isRequired": false, + "requiredChildren": [ + "domain", + "eventId", + "functionalRole", + "lastEpochMicrosec", + "priority", + "reportingEntityName", + "sequence", + "sourceName", + "startEpochMicrosec" + ], + "id": "event.commonEventHeader" + }, + { + "name": "syslogFields", + "children": [ + { + "name": "additionalFields", + "children": [ + { + "name": "name", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.additionalFields[].name" + }, + { + "name": "value", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.additionalFields[].value" + } + ], + "isRequired": false, + "requiredChildren": ["name", "value"], + "id": "event.syslogFields.additionalFields[]" + }, + { + "name": "eventSourceHost", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.eventSourceHost" + }, + { + "name": "eventSourceType", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.eventSourceType" + }, + { + "name": "syslogFacility", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogFacility" + }, + { + "name": "syslogFieldsVersion", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogFieldsVersion" + }, + { + "name": "syslogMsg", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.syslogMsg" + }, + { + "name": "syslogPri", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogPri" + }, + { + "name": "syslogProc", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogProc" + }, + { + "name": "syslogProcId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogProcId" + }, + { + "name": "syslogSData", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogSData" + }, + { + "name": "syslogSdId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogSdId" + }, + { + "name": "syslogSev", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogSev" + }, + { + "name": "syslogTag", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.syslogTag" + }, + { + "name": "syslogVer", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogVer" + } + ], + "isRequired": false, + "requiredChildren": ["eventSourceType", "syslogMsg", "syslogTag"], + "id": "event.syslogFields" + } + ], + "version": "4.1", + "eventType": "syslogFields", + "rules": { + "0318ba33-ed8a-4337-900f-fd08941516ca": { + "version": "4.1", + "eventType": "syslogFields", + "description": "testing", + "uid": "0318ba33-ed8a-4337-900f-fd08941516ca", + "phase": "phase_1", + "condition": { + "type": "ALL", + "children": [ + { + "left": "1", + "operator": "contains", + "right": ["1"], + "level": "1", + "name": "condition", + "id": "9206902638560" + }, + { + "type": "ALL", + "children": [ + { + "left": "2", + "operator": "endsWith", + "right": ["2"], + "level": "2", + "name": "condition", + "id": "1073000654831" + }, + { + "left": "3", + "operator": "notEqual", + "right": ["4"], + "level": "2", + "name": "condition", + "id": "1260245116254" + } + ], + "level": "1", + "name": "operator", + "id": "521213321767" + } + ], + "level": "0", + "name": "operator", + "id": "535610130324" + }, + "actions": [ + { + "replaceText": { "find": "a1", "replace": "a2" }, + "from": { + "regex": "", + "state": "closed", + "values": [{ "value": "" }, { "value": "" }], + "value": "i" + }, + "actionType": "replace text", + "id": "3f3df5c0-7842-11e8-8524-afeb6547e257" + } + ] + } + } +} diff --git a/cypress-docker/test/src/cypress/fixtures/serviceDdl.json b/cypress-docker/test/src/cypress/fixtures/serviceDdl.json new file mode 100644 index 0000000..a0a05bc --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/serviceDdl.json @@ -0,0 +1,24 @@ +{ + "uuid": "06c7d927-4e2f-47e1-a29d-b6ed229ebc0a", + "invariantUUID": "424b2457-d0fc-4b73-aaf6-d809f402aff5", + "name": "ciService669277f472b0", + "version": "0.1", + "toscaModelURL": + "/sdc/v1/catalog/services/06c7d927-4e2f-47e1-a29d-b6ed229ebc0a/toscaModel", + "lastUpdaterUserId": "cs0008", + "category": "Mobility", + "lifecycleState": "NOT_CERTIFIED_CHECKOUT", + "distributionStatus": "DISTRIBUTION_NOT_APPROVED", + "lastUpdaterFullName": "Idan Agam", + "resources": [ + { + "resourceInstanceName": "LiavSrv", + "resourceName": "ciResVF4e28237d8f08", + "resourceInvariantUUID": "c36512c2-7938-4dce-ab9e-8884c9cb1fb0", + "resourceVersion": "0.1", + "resoucreType": "VF", + "resourceUUID": "bce6b896-c086-450c-a023-86c1129de7e8", + "artifacts": null + } + ] +} diff --git a/cypress-docker/test/src/cypress/fixtures/syslogTargetTree.json b/cypress-docker/test/src/cypress/fixtures/syslogTargetTree.json new file mode 100644 index 0000000..98c3539 --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/syslogTargetTree.json @@ -0,0 +1,403 @@ +[ + { + "name": "commonEventHeader", + + "children": [ + { + "name": "domain", + + "children": null, + + "isRequired": true, + + "requiredChildren": null, + + "id": "event.commonEventHeader.domain" + }, + + { + "name": "eventId", + + "children": null, + + "isRequired": true, + + "requiredChildren": null, + + "id": "event.commonEventHeader.eventId" + }, + + { + "name": "eventType", + + "children": null, + + "isRequired": false, + + "requiredChildren": null, + + "id": "event.commonEventHeader.eventType" + }, + + { + "name": "functionalRole", + + "children": null, + + "isRequired": true, + + "requiredChildren": null, + + "id": "event.commonEventHeader.functionalRole" + }, + + { + "name": "internalHeaderFields", + + "children": null, + + "isRequired": false, + + "requiredChildren": null, + + "id": "event.commonEventHeader.internalHeaderFields" + }, + + { + "name": "lastEpochMicrosec", + + "children": null, + + "isRequired": true, + + "requiredChildren": null, + + "id": "event.commonEventHeader.lastEpochMicrosec" + }, + + { + "name": "priority", + + "children": null, + + "isRequired": true, + + "requiredChildren": null, + + "id": "event.commonEventHeader.priority" + }, + + { + "name": "reportingEntityId", + + "children": null, + + "isRequired": false, + + "requiredChildren": null, + + "id": "event.commonEventHeader.reportingEntityId" + }, + + { + "name": "reportingEntityName", + + "children": null, + + "isRequired": true, + + "requiredChildren": null, + + "id": "event.commonEventHeader.reportingEntityName" + }, + + { + "name": "sequence", + + "children": null, + + "isRequired": true, + + "requiredChildren": null, + + "id": "event.commonEventHeader.sequence" + }, + + { + "name": "sourceId", + + "children": null, + + "isRequired": false, + + "requiredChildren": null, + + "id": "event.commonEventHeader.sourceId" + }, + + { + "name": "sourceName", + + "children": null, + + "isRequired": true, + + "requiredChildren": null, + + "id": "event.commonEventHeader.sourceName" + }, + + { + "name": "startEpochMicrosec", + + "children": null, + + "isRequired": true, + + "requiredChildren": null, + + "id": "event.commonEventHeader.startEpochMicrosec" + }, + + { + "name": "version", + + "children": null, + + "isRequired": false, + + "requiredChildren": null, + + "id": "event.commonEventHeader.version" + } + ], + + "isRequired": false, + + "requiredChildren": [ + "domain", + + "eventId", + + "functionalRole", + + "lastEpochMicrosec", + + "priority", + + "reportingEntityName", + + "sequence", + + "sourceName", + + "startEpochMicrosec" + ], + + "id": "event.commonEventHeader" + }, + + { + "name": "syslogFields", + + "children": [ + { + "name": "additionalFields", + + "children": [ + { + "name": "name", + + "children": null, + + "isRequired": true, + + "requiredChildren": null, + + "id": "event.syslogFields.additionalFields[].name" + }, + + { + "name": "value", + + "children": null, + + "isRequired": true, + + "requiredChildren": null, + + "id": "event.syslogFields.additionalFields[].value" + } + ], + + "isRequired": false, + + "requiredChildren": ["name", "value"], + + "id": "event.syslogFields.additionalFields[]" + }, + + { + "name": "eventSourceHost", + + "children": null, + + "isRequired": false, + + "requiredChildren": null, + + "id": "event.syslogFields.eventSourceHost" + }, + + { + "name": "eventSourceType", + + "children": null, + + "isRequired": true, + + "requiredChildren": null, + + "id": "event.syslogFields.eventSourceType" + }, + + { + "name": "syslogFacility", + + "children": null, + + "isRequired": false, + + "requiredChildren": null, + + "id": "event.syslogFields.syslogFacility" + }, + + { + "name": "syslogFieldsVersion", + + "children": null, + + "isRequired": false, + + "requiredChildren": null, + + "id": "event.syslogFields.syslogFieldsVersion" + }, + + { + "name": "syslogMsg", + + "children": null, + + "isRequired": true, + + "requiredChildren": null, + + "id": "event.syslogFields.syslogMsg" + }, + + { + "name": "syslogPri", + + "children": null, + + "isRequired": false, + + "requiredChildren": null, + + "id": "event.syslogFields.syslogPri" + }, + + { + "name": "syslogProc", + + "children": null, + + "isRequired": false, + + "requiredChildren": null, + + "id": "event.syslogFields.syslogProc" + }, + + { + "name": "syslogProcId", + + "children": null, + + "isRequired": false, + + "requiredChildren": null, + + "id": "event.syslogFields.syslogProcId" + }, + + { + "name": "syslogSData", + + "children": null, + + "isRequired": false, + + "requiredChildren": null, + + "id": "event.syslogFields.syslogSData" + }, + + { + "name": "syslogSdId", + + "children": null, + + "isRequired": false, + + "requiredChildren": null, + + "id": "event.syslogFields.syslogSdId" + }, + + { + "name": "syslogSev", + + "children": null, + + "isRequired": false, + + "requiredChildren": null, + + "id": "event.syslogFields.syslogSev" + }, + + { + "name": "syslogTag", + + "children": null, + + "isRequired": true, + + "requiredChildren": null, + + "id": "event.syslogFields.syslogTag" + }, + + { + "name": "syslogVer", + + "children": null, + + "isRequired": false, + + "requiredChildren": null, + + "id": "event.syslogFields.syslogVer" + } + ], + + "isRequired": false, + + "requiredChildren": ["eventSourceType", "syslogMsg", "syslogTag"], + + "id": "event.syslogFields" + } +] diff --git a/cypress-docker/test/src/cypress/fixtures/templateMock.json b/cypress-docker/test/src/cypress/fixtures/templateMock.json new file mode 100644 index 0000000..b8fff17 --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/templateMock.json @@ -0,0 +1,15 @@ +[ + { + "uuid": "2a67bbb6-3457-4bb6-baef-e3bc5f1fd9b7", + "invariantUUID": "cb594fb6-c9e7-42c1-bef9-7a1873325986", + "name": "AviStone1234", + "version": "1.0", + "toscaModelURL": + "/sdc/v1/catalog/resources/2a67bbb6-3457-4bb6-baef-e3bc5f1fd9b7/toscaModel", + "lastUpdaterUserId": "cs0008", + "category": "Template", + "lifecycleState": "CERTIFIED", + "subCategory": "Base Monitoring Template", + "resourceType": "VFCMT" + } +] diff --git a/cypress-docker/test/src/cypress/fixtures/vfniMock.json b/cypress-docker/test/src/cypress/fixtures/vfniMock.json new file mode 100644 index 0000000..cb4a91b --- /dev/null +++ b/cypress-docker/test/src/cypress/fixtures/vfniMock.json @@ -0,0 +1,12 @@ +[ + { + "uuid": "d31bc895-d908-4e62-9e81-77fd52e13632", + "invariantUUID": "4b8e8dde-8f18-42f4-86c7-3e2f9bc163b4", + "name": "LiavSrv", + "version": "0.3", + "lastUpdaterUserId": "af3193", + "category": "Mobility", + "lifecycleState": "NOT_CERTIFIED_CHECKIN", + "distributionStatus": "DISTRIBUTION_NOT_APPROVED" + } +] diff --git a/cypress-docker/test/src/cypress/integration/e2e/e2eWithIntegration-spec.js b/cypress-docker/test/src/cypress/integration/e2e/e2eWithIntegration-spec.js new file mode 100644 index 0000000..d036788 --- /dev/null +++ b/cypress-docker/test/src/cypress/integration/e2e/e2eWithIntegration-spec.js @@ -0,0 +1,79 @@ +// const randomNodeName = () => Math .random() .toString(36) +// .substr(2, 7); const NODE_NAME = randomNodeName(); const serverGetDDLData = +// () => { return cy .server() .route('GET', +// Cypress.env('backendUrl') + '/getResourcesByMonitoringTemplateCategory') +// .as('templateAPi') .route('GET', Cypress.env('backendUrl') + +// '/service/**') .as('vfniListAPi'); }; const saveAndDoneHttp = () => { +// cy.server(); cy.route({ method: 'POST', url: +// Cypress.env('backendUrl') + '/rule-editor/rule/**/**/**/**' +// }).as('doneSaveCopyRule'); }; const createNewMC = () => { cy +// .get('input[data-tests-id="nameMc"]') .type(`Hello${NODE_NAME}`) +// .get('textarea[data-tests-id="descMc"]') .type('Hello +// Description') .get('select[data-tests-id="templateDdl"]') +// .then($els => { const opt = $els.find('option'); +// const first = opt.get(1); return $els.val(first.value); +// }) .trigger('change') .get('select[data-tests-id="vfniDdl"]') +// .then($els => { const opt = $els.find('option'); +// const first = opt.get(1); return $els.val(first.value); +// }) .trigger('change') +// .get('button[data-tests-id="createMonitoring"]') .not('[disabled]') +// .should('not.contain', 'Disabled'); cy .server() +// .route({ method: 'POST', url: +// Cypress.env('backendUrl') + '/createMC' }) .as('newMC') +// .get('button[data-tests-id="createMonitoring"]') .click() +// .wait('@newMC'); }; import {buttonCreateMC} from +// '../mocks/newApp/homePage-spec'; import {selectVersionAndTypeAndAddFirstRule, +// fillRuleDescription, addCopyAction, editFirstRule} from +// '../mocks/newApp/ruleEngine-spec'; // +// https://zldcrdm2sdc4cfe01.3f1a87.rdm2.tci.att.com:9444/dcaed/#/ +// describe('DCAED - forntend e2e and inagration test ', () => { +// context('Empty Monitoring Configuration list for service ', () => { +// it(' Loads ', () => { +// cy.visit('home?userId=ym903w&userRole=DESIGNER&displayType=context&contextType +// =SERVICE&uui' + +// 'd=a94a0c90-5549-4c3a-a5fd-b122cac085cd&lifecycleState=NOT_CERTIFIED_CHECKOUT& +// isO' + 'wner=true& +// version=0.2&parentUrl=https://www.e-access.att.com&eventsClientId=DCA' + +// 'ED'); }); }); context('Create new monitoring +// configuration', () => { beforeEach(() => { +// serverGetDDLData(); +// cy.visit('home?userId=ym903w&userRole=DESIGNER&displayType=context&contextType +// =SERVICE&uui' + +// 'd=a94a0c90-5549-4c3a-a5fd-b122cac085cd&lifecycleState=NOT_CERTIFIED_CHECKOUT& +// isO' + 'wner=true& +// version=0.2&parentUrl=https://www.e-access.att.com&eventsClientId=DCA' + +// 'ED'); buttonCreateMC() .click() +// .wait(['@templateAPi', '@vfniListAPi']); }); +// it('After api call success verify create button is disabled', () => { +// cy .get('button[data-tests-id="createMonitoring"]') +// .should('be.visible') .and('be.disabled'); +// }); it('click on create mc - more then one tab should be visible', () +// => { createNewMC(); cy +// .get('ul[p-tabviewnav]') .children() +// .should($el => { expect($el.length) +// .to .be .greaterThan(1); +// }); }); it('should enter rule engine in map tab +// and create new rule', () => { createNewMC(); cy +// .get('#ui-tabpanel-1-label') .should('contain', +// 'map') .click(); +// selectVersionAndTypeAndAddFirstRule(); +// fillRuleDescription('newRule'); addCopyAction(); +// saveAndDoneHttp(); cy +// .get('button[data-tests-id="btnDone"]') .click(); +// cy .wait('@doneSaveCopyRule') +// .get('div[data-tests-id="ruleElement"]') +// .should('be.visible') .then(function ($lis) { +// expect($lis) .to .have +// .length(1); expect($lis.eq(0)) +// .to .contain('newRule'); +// }); editFirstRule(); +// fillRuleDescription('LiavRule'); saveAndDoneHttp(); +// cy .get('button[data-tests-id="btnSave"]') +// .click() .wait('@doneSaveCopyRule') +// .get('a[data-tests-id="btnBackRule"]') .click() +// .get('div[data-tests-id="ruleElement"]') +// .should('be.visible') .then(function ($lis) { +// expect($lis) .to .have +// .length(1); expect($lis.eq(0)) +// .to .contain('LiavRule'); +// }); }); }); }); diff --git a/cypress-docker/test/src/cypress/integration/mocks/newApp/errorDialog-spec.js b/cypress-docker/test/src/cypress/integration/mocks/newApp/errorDialog-spec.js new file mode 100644 index 0000000..a9c889e --- /dev/null +++ b/cypress-docker/test/src/cypress/integration/mocks/newApp/errorDialog-spec.js @@ -0,0 +1,26 @@ +describe("Dialog error - E2E test flow with mock", () => { + describe("Simulate errors", () => { + beforeEach(() => { + cy.getMCListEmpty(); + cy.getTemplateApiError(); + }); + + it("Simulate error dialog is visible", () => { + cy.get(".ui-dialog").should("be.visible"); + }); + it("Simulate error dialog is close by cancel button ", () => { + cy + .get('button[data-tests-id="error-cancel"]') + .first() + .click({ force: true }); + cy.get(".ui-dialog").should("not.be.visible"); + }); + it("Simulate error dialog is close by X button ", () => { + cy + .get('span[data-tests-id="error-cancel-icon"]') + .first() + .click({ force: true }); + cy.get(".ui-dialog").should("not.be.visible"); + }); + }); +}); diff --git a/cypress-docker/test/src/cypress/integration/mocks/newApp/generalPage-spec.js b/cypress-docker/test/src/cypress/integration/mocks/newApp/generalPage-spec.js new file mode 100644 index 0000000..45badf1 --- /dev/null +++ b/cypress-docker/test/src/cypress/integration/mocks/newApp/generalPage-spec.js @@ -0,0 +1,150 @@ +describe("General Page - E2E test flow with mock", () => { + describe("Check Boolean DDL", () => { + beforeEach(() => { + cy.httpGenerateMappingRulesFileName(); + cy.httpGetDDLData(); + cy.httpCreateNewMcWithBooleanDDL(); + cy.getMCListEmpty(); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); + }); + + // it.only("Check boolean DDL with value undefined - using true, true - using + // true and false" + " - using false.", () => { cy.fillNewMcForm(); cy + // .get('button[data-tests-id="createMonitoring"]') .as("createButton") + // .not("[disabled]") .should("not.contain", "Disabled"); + // cy.httpCreateNewMcWithBooleanDDL(); cy.emptyRuleEngine("Type1"); cy + // .get("@createButton") .click(); cy .get("#ui-tabpanel-1-label") + // .should("contain", "map") .click(); cy + // .get('button[data-tests-id="setting-gear"]') .should("be.visible") + // .first() .click({multiple: true}); cy .get(".map-setting-list + // #mappingType > .field-text") .should("have.value", ""); cy + // .get(".map-setting-list > form > #valueUndefined > select") + // .should("have.value", "true"); cy .get(".map-setting-list > form > + // #valueTrue > select") .should("have.value", "true"); cy + // .get(".map-setting-list > form > #valueFalse > select") + // .should("have.value", "false"); }); + }); + + describe("Create new MC", () => { + beforeEach(() => { + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); + }); + + it("Create button need to be disabled", () => { + cy + .get('button[data-tests-id="createMonitoring"]') + .should("be.visible") + .and("be.disabled"); + }); + + it("After submit advenced setting description exist in first input", () => { + cy.fillNewMcForm(); + cy + .get('button[data-tests-id="createMonitoring"]') + .as("createButton") + .not("[disabled]") + .should("not.contain", "Disabled"); + + cy.httpCreateNewMc(); + cy.emptyRuleEngine("Type1"); + + cy.get("@createButton").click(); + cy + .get("#ui-tabpanel-1-label") + .should("contain", "map") + .click(); + cy + .get('button[data-tests-id="setting-gear"]') + .should("be.visible") + .first() + .click({ multiple: true }); + + cy + .get(".map-setting-list #Type1 .help-description") + .trigger("mouseenter") + .get(".ui-tooltip") + .should("be.visible") + .should( + "contain", + "CSV to VES mapping, from the file to generate multiple events or single event" + ); + }); + + it("Fill form then click to submit verify setting button and constrain ddl", () => { + cy.fillNewMcForm(); + cy + .get('button[data-tests-id="createMonitoring"]') + .as("createButton") + .not("[disabled]") + .should("not.contain", "Disabled"); + + cy.httpCreateNewMc(); + cy.emptyRuleEngine("Type1"); + + cy.get("@createButton").click(); + cy + .get("#ui-tabpanel-1-label") + .should("contain", "map") + .click(); + cy + .get('button[data-tests-id="setting-gear"]') + .should("be.visible") + .first() + .click({ multiple: true }); + + cy + .get(".map-setting-list #mappingType > .field-text") + .should("have.value", ""); + }); + }); + + describe("Flow diagram", () => { + beforeEach(() => { + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); + cy.fillNewMcForm(); + cy.httpCreateNewMc(); + cy.get('button[data-tests-id="createMonitoring"]').click(); + }); + + it("should flow diagram need to exist", () => { + cy.get("#diagram").should("be.visible"); + }); + + it("should flow diagram need to contain 4 connections", () => { + cy + .get("#diagram line") + .its("length") + .should("be.equal", 4); + }); + }); + + describe("Tabs after MC created", () => { + beforeEach(() => { + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); + cy.fillNewMcForm(); + cy.httpCreateNewMc(); + cy.get('button[data-tests-id="createMonitoring"]').click(); + }); + + // it('should have 4 icon buttons in map tab', () => { cy + // .get('#ui-tabpanel-1-label') .should('contain', 'map') .click(); cy + // .get('.map-bar-icon-container>button') .should('have.length', 2) + // .get('.map-bar-icon-container>div>button') .should('have.length', 2) + // .and('be.visible'); }); it('should have 2 icon buttons in supplement tab', () + // => { cy .get('#ui-tabpanel-2-label') .should('contain', + // 'supplement') .click(); cy + // .get('.supplement-bar-icon-container>button') .should('have.length', 2) + // .and('be.visible') .get('.supplement-bar-icon-container') .children() + // .should('have.length', 3); }); + }); +}); diff --git a/cypress-docker/test/src/cypress/integration/mocks/newApp/homePage-spec.js b/cypress-docker/test/src/cypress/integration/mocks/newApp/homePage-spec.js new file mode 100644 index 0000000..4be1dde --- /dev/null +++ b/cypress-docker/test/src/cypress/integration/mocks/newApp/homePage-spec.js @@ -0,0 +1,217 @@ +export const buttonCreateMC = () => { + return cy.get('button[data-tests-id="btn-create-mc"]'); +}; +export const buttonCreateMCSpan = () => { + return cy.get('span[data-tests-id="btn-span-create-mc"]'); +}; + +export const tableItems = () => { + return cy.get("datatable-row-wrapper"); +}; + +export const monitoringComponentTable = () => { + return cy.get('ngx-datatable[data-tests-id="monitoringComponentTable"]'); +}; +export const tableItemsDeleteButton = () => { + return cy.get('button[data-tests-id="tableItemsButtonDelete"]'); +}; + +export const tableItemsInfoButton = () => { + return cy.get('button[data-tests-id="tableItemsButtonInfo"]'); +}; + +export const popupGetDeleteBtn = () => { + return cy.get('button[data-tests-id="btnDelete"]'); +}; + +export const popupGetCancelBtn = () => { + return cy.get('button[data-tests-id="btnCancel"]'); +}; + +export const getMonitoringConfiguration = () => { + return cy.get('div[data-tests-id="tableItemsMonitoringConfiguration"]'); +}; + +export const doHoverOverFirstLine = () => { + return tableItems() + .first() + .trigger("mouseover"); +}; + +export const doHoverOverFirstLineMonitoringConfiguration = () => { + tableItems() + .first() + .trigger("mouseover"); + return getMonitoringConfiguration(); +}; + +const NUMBER_OF_ITEMS = 12; + +const navigateButtonDisabled = () => { + return buttonCreateMC() + .should("be.visible") + .and("be.disabled") + .get('button[data-tests-id="btn-fab-create-mc"]') + .should("be.visible") + .and("be.disabled"); +}; + +describe("Home Page - E2E test flow with mock", () => { + describe("MC List empty", () => { + beforeEach(() => { + cy.getMCListEmpty(); + cy.homePage(); + }); + + it("Shouldn't have create table with headers", () => { + monitoringComponentTable().should("not.be.visible"); + }); + it("Shouldn't have create table with items", () => { + buttonCreateMC() + .get('div[data-tests-id="new-monitoring-title"]') + .should("contain", "Monitoring"); + }); + }); + + describe("Check Edit Save and Submit", () => { + beforeEach(() => { + cy.getMCList(); + cy.homePage(); + cy.getMC(); + cy.submitMonitoringComponent(); + cy.saveMonitoringComponent(); + }); + + it("Edit VFCMT", () => { + doHoverOverFirstLineMonitoringConfiguration() + .first() + .click({ force: true }); + }); + }); + + describe("MC List", () => { + beforeEach(() => { + cy.getMCList(); + cy.homePage(); + }); + + it("Should have create button on top of the screen", () => { + buttonCreateMC().should("be.visible"); + }); + + it("Should have create table with headers", () => { + monitoringComponentTable().should("be.visible"); + }); + it("Should have create table with items", () => { + tableItems().should("have.length", NUMBER_OF_ITEMS); + }); + }); + + describe("MC List Delete Tests", () => { + beforeEach(() => { + cy.getMCList(); + cy.homePage(); + cy.deleteMonitoringComponent(); + cy.deleteMonitoringComponentWithBlueprint(); + }); + it("Mouse hover over item, delete is visible, info not visible", () => { + doHoverOverFirstLine(); + tableItemsDeleteButton().should("be.visible"); + tableItemsInfoButton().should("not.be.visible"); + }); + + it( + "Mouse hover over item, call delete and remove not submitted (call delete without" + + " blueprint api)", + () => { + tableItems().should("have.length", NUMBER_OF_ITEMS); + doHoverOverFirstLine(); + tableItemsDeleteButton() + .should("be.visible") + .click({ force: true }); + popupGetDeleteBtn().click({ force: true }); + tableItems().should("have.length", NUMBER_OF_ITEMS - 1); + } + ); + it( + "Mouse hover over item, call delete and remove submitted (call delete with bluepr" + + "int api)", + () => { + tableItems() + .should("have.length", NUMBER_OF_ITEMS) + .last() + .trigger("mouseover"); + tableItemsDeleteButton() + .should("be.visible") + .click({ force: true }); + popupGetDeleteBtn().click({ force: true }); + tableItems().should("have.length", NUMBER_OF_ITEMS - 1); + } + ); + it("Mouse hover over item, call delete and cancelOperation", () => { + tableItems().should("have.length", NUMBER_OF_ITEMS); + doHoverOverFirstLine(); + tableItemsDeleteButton() + .should("be.visible") + .click({ force: true }); + popupGetCancelBtn().click({ force: true }); + tableItems().should("have.length", NUMBER_OF_ITEMS); + }); + }); + + describe("Show Info icon", () => { + beforeEach(() => { + cy.getMCList(); + cy.homePageCertified(); + }); + it("Mouse hover over item, delete is not visible, info visible", () => { + doHoverOverFirstLine(); + tableItemsInfoButton().should("be.visible"); + tableItemsDeleteButton().should("not.be.visible"); + }); + }); + + describe("Successfully Entry Home Page Monitoring Configuration", () => { + beforeEach(() => { + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + }); + + it("Buttons looks Assertion", () => { + buttonCreateMC() + .should("contain", "Create New MC") + .and("be.visible") + .and("not.be.disabled"); + + buttonCreateMCSpan() + .should("contain", "Add First MC") + .and("be.visible") + .and("not.be.disabled"); + }); + + it("Buttons Functionality Assertion", () => { + buttonCreateMC() + .click() + .get('div[data-tests-id="new-monitorying-titie"]') + .should("contain", "Monitoring"); + }); + }); + + describe("Not Auth Entry Home Page Monitoring Configuration", () => { + beforeEach(() => { + cy.httpGetDDLData(); + cy.getMCListEmpty(); + }); + + it("Buttons disabled when user not owner", () => { + cy.sdcIsOwnerFalse(); + navigateButtonDisabled(); + }); + + it("Buttons disabled when user not checkout", () => { + cy.sdcUserNotCheckout(); + navigateButtonDisabled(); + }); + }); +}); diff --git a/cypress-docker/test/src/cypress/integration/mocks/newApp/importPage-spec.js b/cypress-docker/test/src/cypress/integration/mocks/newApp/importPage-spec.js new file mode 100644 index 0000000..446409c --- /dev/null +++ b/cypress-docker/test/src/cypress/integration/mocks/newApp/importPage-spec.js @@ -0,0 +1,241 @@ +const loadVfcmtList = () => { + return cy + .server() + .route({ + method: 'GET', + url: + Cypress.env('backendUrl') + + '/SERVICES/06c7d927-4e2f-47e1-a29d-b6ed229ebc0a/0.1/getVfcmtsForMigration', + response: 'fixture:importVfcmt' + }) + .as('importVfcmtList'); +}; + +const getVfcmtRefData = data => { + return cy + .server() + .route({ + method: 'GET', + url: + Cypress.env('backendUrl') + + '/getVfcmtReferenceData/cb06b8a9-c7e0-4451-a941-89fc338303c9', + response: data + }) + .as('vfcmtRef'); +}; + +const getFlowType = () => { + return cy + .server() + .route({ + method: 'GET', + url: Cypress.env('backendUrl') + '/conf/composition', + response: { + flowTypes: ['Syslog', 'SNMP', 'FOI'] + } + }) + .as('flowTypes'); +}; + +const getVfniList = () => { + return cy + .server() + .route({ + method: 'GET', + url: + Cypress.env('backendUrl') + + '/service/06c7d927-4e2f-47e1-a29d-b6ed229ebc0a', + response: 'fixture:serviceDdl' + }) + .as('vfniListApi'); +}; + +const importMCServerApi = () => { + return cy + .server() + .route({ + method: 'POST', + url: Cypress.env('backendUrl') + '/importMC', + response: 'fixture:createMcRes' + }) + .as('importMC'); +}; + +const chooseVfcmtFromDDLWithVersion = () => { + return cy + .get('.ng-input > input') + .click() + .type('liav') + .type('{enter}') + .get('select[data-tests-id="vfcmtVersion"]') + .select('0.1'); +}; + +const getName = () => { + return cy.get('input[data-tests-id="nameMc"]'); +}; +const getDescription = () => { + return cy.get('textarea[data-tests-id="descMc"]'); +}; +const getFlowTypeSelect = () => { + return cy.get('select[data-tests-id="flowTypeDdl"]'); +}; +const getVfniSelect = () => { + return cy.get('select[data-tests-id="vfniDdl"]'); +}; +const getImportButton = () => { + return cy.get('button[data-tests-id="importMonitoring"]'); +}; + +describe('Import Page', () => { + context('First step - get vfcmts list and pick one', () => { + beforeEach(() => { + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + loadVfcmtList(); + cy.get('button[data-tests-id="btn-import-mc"]').click(); + }); + + it('should have values in ddl', () => { + cy + .get('ng-select') + .should('be.visible') + .click() + .get('.ng-option') + .should('contain', 7); + }); + + it('should have value on typing and press enter key', () => { + cy + .get('.ng-input > input') + .click() + .type('liav') + .type('{enter}') + .get('.ng-value-label') + .should('contain', 'LiavSprint10.3'); + }); + + it('should have version when pick vfcmt from list', () => { + cy + .get('.ng-input > input') + .click() + .type('liav') + .type('{enter}') + .get('select[data-tests-id="vfcmtVersion"]') + .should('be.visible') + .and('contain', '0.1'); + }); + }); + + context('second step - fill fileds according to server response', () => { + beforeEach(() => { + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + loadVfcmtList(); + cy.get('button[data-tests-id="btn-import-mc"]').click(); + }); + + it('get flow type true and service is match to context service', () => { + getVfcmtRefData({ + serviceUuid: '06c7d927-4e2f-47e1-a29d-b6ed229ebc0a', + name: 'test', + description: 'test', + flowType: 'FOI', + vfiName: 'LiavSrv' + }); + chooseVfcmtFromDDLWithVersion(); + getName() + .should('have.value', 'test') + .and('be.disabled'); + getDescription() + .should('have.value', 'test') + .and('be.disabled'); + getFlowTypeSelect().should('have.value', 'FOI'); + getVfniSelect().should('have.value', 'LiavSrv'); + getImportButton() + .not('[disabled]') + .should('not.contain', 'Disabled'); + }); + + it('get flow type true but service not match', () => { + getVfcmtRefData({ + serviceUuid: '555555-4e2f-47e1-a29d-b6ed229ebc0a', + name: 'test', + description: 'test', + flowType: 'FOI', + vfiName: 'ChcoSrv' + }); + getVfniList(); + chooseVfcmtFromDDLWithVersion(); + getFlowTypeSelect().should('have.value', 'FOI'); + }); + + it('get flow type false service match', () => { + getVfcmtRefData({ + serviceUuid: '06c7d927-4e2f-47e1-a29d-b6ed229ebc0a', + name: 'test', + description: 'test', + vfiName: 'LiavSrv' + }); + getImportButton() + .should('be.visible') + .and('be.disabled'); + getFlowType(); + chooseVfcmtFromDDLWithVersion(); + getName() + .should('have.value', 'test') + .and('be.disabled'); + getDescription() + .should('have.value', 'test') + .and('be.disabled'); + getVfniSelect().should('have.value', 'LiavSrv'); + }); + + it('get flow type false service not match', () => { + getVfcmtRefData({ + serviceUuid: '555555-4e2f-47e1-a29d-b6ed229ebc0a', + name: 'test', + description: 'test', + vfiName: 'ChcoSrv' + }); + getImportButton() + .should('be.visible') + .and('be.disabled'); + getFlowType(); + getVfniList(); + chooseVfcmtFromDDLWithVersion(); + getName().should('have.value', ''); + getDescription().should('have.value', ''); + }); + }); + + context('final step - import vfcmt and getting cdump for tabs', () => { + beforeEach(() => { + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + loadVfcmtList(); + cy.get('button[data-tests-id="btn-import-mc"]').click(); + getVfcmtRefData({ + serviceUuid: '06c7d927-4e2f-47e1-a29d-b6ed229ebc0a', + name: 'test', + description: 'test', + flowType: 'FOI', + vfiName: 'LiavSrv' + }); + chooseVfcmtFromDDLWithVersion(); + }); + + it('should get cdump after import and vfcmt import not visible', () => { + importMCServerApi(); + getImportButton().click({ force: true }); + cy + .get('.import-wrapper') + .should('not.be.visible') + .get('#ui-tabpanel-1-label') + .should('contain', 'map'); + }); + }); +}); diff --git a/cypress-docker/test/src/cypress/integration/mocks/newApp/ruleEngine-spec.js b/cypress-docker/test/src/cypress/integration/mocks/newApp/ruleEngine-spec.js new file mode 100644 index 0000000..cca70cf --- /dev/null +++ b/cypress-docker/test/src/cypress/integration/mocks/newApp/ruleEngine-spec.js @@ -0,0 +1,1295 @@ +export const mappingTragetDDL = () => { + return cy.get('select[data-tests-id="mappingDdl"]'); +}; + +export const getExistRulesList = () => { + return cy.get('option[data-tests-id="templateOptionsExist"]'); +}; + +export const getNotExistRulesList = () => { + return cy.get('option[data-tests-id="templateOptionsNotExist"]'); +}; + +function verifyCopyActionNotExist(actionType) { + cy + .get('select[data-tests-id="selectAction"]') + .select(actionType) + .get('button[data-tests-id="btnAddAction"]') + .click(); + cy.get('[data-tests-id="makeCopyOfAction"]').should("not.be.visible"); +} + +export const selectVersionAndTypeAndAddFirstRule = () => { + return cy + .get('select[data-tests-id="selectVersion"]') + .select("4.1") + .get('select[data-tests-id="selectEventType"]') + .select("syslog") + .get('button[data-tests-id="btnAddFirstRule"]') + .click(); +}; + +export const fillRuleDescription = text => { + return cy + .get('input[data-tests-id="inputDescription"]') + .clear() + .type(text); +}; + +export const addMapAndDeleteRowAction = () => { + cy.get('select[data-tests-id="selectAction"]').select("map"); + cy.get('button[data-tests-id="btnAddAction"]').click(); + // fill map action + cy + .get('input[data-tests-id="valueInput"]') + .first() + .type("B") + .should("have.value", "B"); + + return cy + .get('input[data-tests-id="key"]') + .type("Key1") + .should("have.value", "Key1") + .get('input[data-tests-id="value"]') + .type("Key1") + .should("have.value", "Key1") + .get('button[data-tests-id="btn-add-row"]') + .click() + .get('input[data-tests-id="key"]') + .last() + .type("Key2") + .should("have.value", "Key2") + .get('input[data-tests-id="value"]') + .last() + .type("Key2") + .should("have.value", "Key2") + .get('button[data-tests-id="btn-add-row"]') + .click() + .get('input[data-tests-id="key"]') + .last() + .type("Key3") + .should("have.value", "Key3") + .get('input[data-tests-id="value"]') + .last() + .type("Key3") + .should("have.value", "Key3") + .get('button[data-tests-id="btn-remove-row"]') + .last() + .click(); +}; + +export const addCopyAction = () => { + return cy + .get('select[data-tests-id="selectAction"]') + .select("copy") + .get('button[data-tests-id="btnAddAction"]') + .click() + .get('input[data-tests-id="valueInput"]') + .type("A") + .should("have.value", "A") + .get('span[data-tests-id="openTargetTree"]') + .click() + .get(".bottom-select") + .should("be.visible") + .find(".toggle-children") + .first() + .click() + .get('span[data-tests-id="targetNode"]') + .should(node => { + expect(node.eq(0)).to.contain("commonEventHeader"); + expect(node.eq(1)).to.contain("domain"); + }) + .each(($el, index) => { + if (index === 1) { + cy.wrap($el).click(); + } + }); +}; + +export const editFirstRule = () => { + return cy + .get('div[data-tests-id="ruleElement"]') + .first() + .trigger("mouseover") + .get('button[data-tests-id="editRule"]') + .should("be.visible") + .click(); +}; + +export const editLastRule = () => { + return cy + .wait("@doneSaveMapRule") + .get('div[data-tests-id="ruleElement"]') + .last() + .trigger("mouseover") + .get('button[data-tests-id="editRule"]') + .should("be.visible") + .click(); +}; + +export const deleteFirstRule = () => { + cy + .get('div[data-tests-id="ruleElement"]') + .first() + .trigger("mouseover") + .get('button[data-tests-id="deleteRule"]') + .should("be.visible") + .click() + .get('div[data-tests-id="delete-popup"]'); + + cy.deleteRule(); + return cy.get('button[data-tests-id="btnDelete"]').click(); +}; + +export const translateValue = () => { + return ( + '{"processing":[{"phase":"snmp_map","processors":[{"array":"varbinds","datacolumn' + + '":"varbind_value","keycolumn":"varbind_oid","class":"SnmpConvertor"},{"phase":"s' + + 'to2","class":"RunPhase"}]},{"phase":"sto2","processors":[{"updates":{"event.comm' + + 'onEventHeader.domain":"a"},"class":"Set"}]},{"phase":"sto2","processors":[{"phas' + + 'e":"map_publish","class":"RunPhase"}]}]}' + ); +}; +const NUMBER_OF_EXIST_ITEMS = 3; +const NUMBER_OF_NOT_EXIST_ITEMS = 16; + +describe("Rule engine - E2E test flow with mock", () => { + describe("Checking rules exist and not exist separation", () => { + beforeEach(() => { + cy.httpGenerateMappingRulesFileName(); + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); + cy.fillNewMcForm(); + cy.httpCreateNewMc(); + cy.emptyRuleEngine("Type1"); + cy.get('button[data-tests-id="createMonitoring"]').click(); + cy + .get("#ui-tabpanel-1-label") + .should("contain", "map") + .click(); + }); + // it("In exist group contain 3 visible options and not exist 16 visible", () => + // { mappingTragetDDL() .should("be.visible") .contains("json"); + // getExistRulesList() .not("[hidden]") .should("have.length", + // NUMBER_OF_EXIST_ITEMS); getNotExistRulesList() .not("[hidden]") + // .should("have.length", NUMBER_OF_NOT_EXIST_ITEMS); }); + }); + + describe("Mapping target select", () => { + beforeEach(() => { + cy.httpGenerateMappingRulesFileName(); + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); + cy.fillNewMcForm(); + cy.httpCreateNewMc(); + cy.getPhases(); + cy.httpGenerateMappingRulesFileName(); + cy.httpTargetTree(); + cy.emptyRuleEngine("Type1"); + cy.get('button[data-tests-id="createMonitoring"]').click(); + cy + .get("#ui-tabpanel-1-label") + .should("contain", "map") + .click(); + }); + + it("should exist and contain options", () => { + mappingTragetDDL() + .should("be.visible") + .contains("json"); + }); + }); + + describe("group list - enrich 4 new actions ", () => { + beforeEach(() => { + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); + cy.fillNewMcForm(); + cy.httpCreateNewHpMc(); + cy.getPhases(); + cy.httpGenerateMappingRulesFileName(); + cy.emptyRuleEngine("Type1"); + cy + .get('button[data-tests-id="createMonitoring"]') + .click() + .get("#ui-tabpanel-1-label") + .should("contain", "Highlandpark") + .click(); + cy.httpTargetTree(); + cy + .get('select[data-tests-id="selectVersion"]') + .select("4.1") + .get('select[data-tests-id="selectEventType"]') + .select("syslog"); + + cy + .get('[data-tests-id="addGroup"]') + .trigger("mouseenter") + .get('[data-tests-id="btnEnrich"]') + .click() + .get('[data-tests-id="addMoreRule"]') + .click(); + }); + + it("add hp metric action", () => { + cy + .get('select[data-tests-id="selectAction"]') + .select("hp metric") + .get('button[data-tests-id="btnAddAction"]') + .click() + .get('[data-tests-id="hp metric"]') + .click() + .get(".ng-input >input ") + .type("SYSL") + .type("{enter}") + .get(".ng-value-label") + .should("contain", "Jericho_SYSLOG"); + }); + it("add search action", () => { + cy + .get('select[data-tests-id="selectAction"]') + .select("Topology Search") + .get('button[data-tests-id="btnAddAction"]') + .click() + .get('[data-tests-id="searchField"]') + .type("searchField") + .get('[data-tests-id="searchValue"]') + .type("searchValue") + .get('[data-tests-id="searchLeft"]') + .type("searchLeft") + .get('[data-tests-id="searchOperator"]') + .select("notEqual") + .get('[data-tests-id="searchRight"]') + .type("searchRight") + .get('[data-tests-id="updatesKey"]') + .type("updatesKey") + .get('[data-tests-id="updatesValue"]') + .type("updatesValue") + .get('[data-tests-id="radioEnrich"]') + .click() + .get('[data-tests-id="searchFieldValue"]') + .type("searchFieldValue") + .get('[data-tests-id="searchPrefix"]') + .type("searchPrefix"); + }); + it("add string transform action ", () => { + cy + .get('select[data-tests-id="selectAction"]') + .select("string transform") + .get('button[data-tests-id="btnAddAction"]') + .click() + .get('[data-tests-id="startValue"]') + .type("start") + .get('[data-tests-id="inputTarget"]') + .last() + .type("target") + .get('[data-tests-id="targetCase"]') + .type("target-case") + .get('[data-tests-id="isTrimString"]') + .click(); + }); + it("add clear nfs action", () => { + cy + .get('select[data-tests-id="selectAction"]') + .select("clear nsf") + .get('button[data-tests-id="btnAddAction"]') + .click() + .get('input[data-tests-id="valueInput"]') + .type("ABC") + .should("have.value", "ABC"); + + cy + .get('button[data-tests-id="btnAddInput"]') + .click() + .get('input[data-tests-id="valueInput"]') + .last() + .type("DEA") + .should("have.value", "DEA"); + + cy + .get('button[data-tests-id="btnDelete"]') + .first() + .click(); + }); + }); + + describe("Group list section", () => { + beforeEach(() => { + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); + cy.fillNewMcForm(); + cy.httpCreateNewHpMc(); + cy.getPhases(); + cy.httpGenerateMappingRulesFileName(); + cy.emptyRuleEngine("Type1"); + cy + .get('button[data-tests-id="createMonitoring"]') + .click() + .get("#ui-tabpanel-1-label") + .should("contain", "Highlandpark") + .click(); + cy.httpTargetTree(); + cy + .get('select[data-tests-id="selectVersion"]') + .select("4.1") + .get('select[data-tests-id="selectEventType"]') + .select("syslog"); + }); + + it("should fill entry and publish phase ", () => { + cy + .get('[data-tests-id="entryPhase"]') + .get('[data-tests-id="publishPhase"]'); + }); + + it("should add map enrich map ", () => { + cy + .get('[data-tests-id="addGroup"]') + .trigger("mouseenter") + .get('[data-tests-id="btnMap"]') + .click() + .get('[data-tests-id="addGroup"]') + .trigger("mouseenter") + .get('[data-tests-id="btnMap"]') + .should("be.disabled") + .get('[data-tests-id="btnEnrich"]') + .click() + .get('[data-tests-id="addGroup"]') + .trigger("mouseenter") + .get('[data-tests-id="btnEnrich"]') + .should("be.disabled") + .get('[data-tests-id="btnMap"]') + .click() + .get('[data-tests-id="addGroup"]') + .trigger("mouseenter") + .get('[data-tests-id="btnMap"]') + .should("be.disabled") + .get('[data-tests-id="btnEnrich"]') + .should("be.disabled"); + }); + + it("should disabled delete when their is more then one of a kind", () => { + cy + .get('[data-tests-id="addGroup"]') + .trigger("mouseenter") + .get('[data-tests-id="btnMap"]') + .click() + .get('[data-tests-id="addGroup"]') + .trigger("mouseenter") + .get('[data-tests-id="btnEnrich"]') + .click() + .get('[data-tests-id="addGroup"]') + .trigger("mouseenter") + .get('[data-tests-id="btnMap"]') + .click() + .get('[data-tests-id="deleteGroup"]') + .each(($el, index) => { + if (index === 0 || index === 2) { + cy.wrap($el).should("not.be.disabled"); + } else { + cy.wrap($el).should("be.disabled"); + } + }); + }); + + it("should map group name need to match default value ", () => { + cy + .get('[data-tests-id="addGroup"]') + .trigger("mouseenter") + .get('[data-tests-id="btnMap"]') + .click() + .get('[data-tests-id="phase"]') + .should("have.value", "standard_Highlandpark_18.06.006"); + }); + + it("should enrich group name need to match default value", () => { + cy + .get('[data-tests-id="addGroup"]') + .trigger("mouseenter") + .get('[data-tests-id="btnEnrich"]') + .click() + .get('[data-tests-id="phase"]') + .should("have.value", "standard_Highlandpark_18.06.006_enrich"); + }); + + it("should have default actions", () => { + cy + .get('[data-tests-id="addGroup"]') + .trigger("mouseenter") + .get('[data-tests-id="btnMap"]') + .click() + .get('[data-tests-id="addMoreRule"]') + .click() + .get('[data-tests-id="selectAction"]') + .find("option") + .should("have.length", 9); // .should('not.have.value', 'hp metric') }); + it("should have more actions for enrich", () => { + cy + .get('[data-tests-id="addGroup"]') + .trigger("mouseenter") + .get('[data-tests-id="btnEnrich"]') + .click() + .get('[data-tests-id="addMoreRule"]') + .click() + .get('[data-tests-id="selectAction"]') + .find("option") + .should("have.length", 13); + }); + }); + }); + + describe("Fill all available Actions", () => { + beforeEach(() => { + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); + cy.fillNewMcForm(); + cy.httpCreateNewMc(); + cy.emptyRuleEngine("Type1"); + cy + .get('button[data-tests-id="createMonitoring"]') + .click() + .get("#ui-tabpanel-1-label") + .should("contain", "map") + .click(); + cy.httpTargetTree(); + selectVersionAndTypeAndAddFirstRule(); + fillRuleDescription("newRule"); + }); + + it("add copy action", () => { + addCopyAction(); + }); + + it("add concat action", () => { + cy.get('select[data-tests-id="selectAction"]').select("concat"); + cy.get('button[data-tests-id="btnAddAction"]').click(); + // fill concat action + cy + .get('input[data-tests-id="valueInput"]') + .first() + .type("A") + .should("have.value", "A"); + cy + .get('input[data-tests-id="valueInput"]') + .last() + .type("B") + .should("have.value", "B"); + cy + .get('span[data-tests-id="openTargetTree"]') + .click() + .get(".bottom-select") + .should("be.visible") + .find(".toggle-children") + .first() + .click(); + + cy + .get('span[data-tests-id="targetNode"]') + .should(node => { + expect(node.eq(0)).to.contain("commonEventHeader"); + expect(node.eq(1)).to.contain("domain"); + }) + .each(($el, index) => { + if (index === 1) { + cy.wrap($el).click(); + } + }); + + cy + .get('input[data-tests-id="inputTarget"]') + .should("have.value", "event.commonEventHeader.domain"); + }); + + it("add map action", () => { + addMapAndDeleteRowAction(); + + cy + .get('span[data-tests-id="openTargetTree"]') + .click() + .get(".bottom-select") + .should("be.visible") + .find(".toggle-children") + .first() + .click(); + + cy + .get('span[data-tests-id="targetNode"]') + .should(node => { + expect(node.eq(0)).to.contain("commonEventHeader"); + expect(node.eq(1)).to.contain("domain"); + }) + .each(($el, index) => { + if (index === 1) { + cy.wrap($el).click(); + } + }); + + cy.get('input[data-tests-id="defaultCheckbox"]').click(); + cy.get('input[data-tests-id="defaultInput"]').type("default value"); + + cy + .get('input[data-tests-id="inputTarget"]') + .should("have.value", "event.commonEventHeader.domain"); + }); + + it("add date-formatter action", () => { + cy.get('select[data-tests-id="selectAction"]').select("date formatter"); + cy.get('button[data-tests-id="btnAddAction"]').click(); + + // fill date-formatter action Section 1 + cy + .get('input[data-tests-id="valueInput"]') + .first() + .type("A") + .should("have.value", "A") + .get('span[data-tests-id="openTargetTree"]') + .click() + .get(".bottom-select") + .should("be.visible") + .find(".toggle-children") + .first() + .click() + .get('span[data-tests-id="targetNode"]') + .should(node => { + expect(node.eq(0)).to.contain("commonEventHeader"); + expect(node.eq(1)).to.contain("domain"); + }) + .each(($el, index) => { + if (index === 1) { + cy.wrap($el).click(); + } + }); + cy + .get('input[data-tests-id="inputTarget"]') + .should("have.value", "event.commonEventHeader.domain"); + + // Section 2 + cy + .get('input[data-tests-id="InputFromFormat"]') + .type("04/03/2018") + .should("have.value", "04/03/2018") + .get('input[data-tests-id="InputFromTimezone"]') + .type("11:50:00") + .should("have.value", "11:50:00") + .get('input[data-tests-id="InputToFormat"]') + .type("04/08/2018") + .should("have.value", "04/08/2018") + .get('input[data-tests-id="InputToTimezone"]') + .type("11:50:00") + .should("have.value", "11:50:00"); + }); + + it("add conditional action", () => { + cy + .get('input[data-tests-id="isCondition"]') + .click() + .get('input[data-tests-id="left"]') + .type("ABC") + .should("have.value", "ABC"); + + cy + .get('select[data-tests-id="selectOperator"]') + .select("startsWith") + .get('input[data-tests-id="right"]') + .type("A") + .should("have.value", "A"); + + cy + .get('button[data-tests-id="addCondition"]') + .click() + .get('input[data-tests-id="left"]') + .last() + .type("DEF") + .should("have.value", "DEF"); + + cy + .get('select[data-tests-id="selectOperator"]') + .last() + .select("endsWith") + .get('input[data-tests-id="right"]') + .last() + .type("F") + .should("have.value", "F"); + + cy + .get('button[data-tests-id="addCondition"]') + .click() + .get('input[data-tests-id="left"]') + .last() + .type("HIJ") + .should("have.value", "HIJ"); + + cy + .get('select[data-tests-id="selectOperator"]') + .last() + .select("equals") + .get('input[data-tests-id="right"]') + .last() + .type("HHH") + .should("have.value", "HHH"); + + cy + .get('button[data-tests-id="RemoveCondition"]') + .last() + .click() + .get('button[data-tests-id="addConditionGroup"]') + .click(); + + // try to delete element (1 of 2 items in group) + cy + .get('button[data-tests-id="RemoveCondition"]') + .last() + .click() + .get('input[data-tests-id="left"]') + .eq(2) + .type("KLM") + .should("have.value", "KLM"); + + cy + .get('select[data-tests-id="selectOperator"]') + .eq(2) + .select("notEqual") + .get('input[data-tests-id="right"]') + .eq(2) + .type("MMM") + .should("have.value", "MMM") + .get('input[data-tests-id="left"]') + .last() + .type("NOP") + .should("have.value", "NOP"); + + cy + .get('select[data-tests-id="selectOperator"]') + .last() + .select("contains") + .get('input[data-tests-id="right"]') + .last() + .type("PPP") + .should("have.value", "PPP"); + + cy + .get('button[data-tests-id="addCondition"]') + .last() + .click() + .get('input[data-tests-id="left"]') + .last() + .type("QQQ") + .should("have.value", "QQQ"); + + cy + .get('select[data-tests-id="selectOperator"]') + .last() + .select("endsWith") + .get('input[data-tests-id="right"]') + .last() + .type("Q") + .should("have.value", "Q") + .get('button[data-tests-id="RemoveCondition"]') + .last() + .click(); + + cy + .get('button[data-tests-id="removeConditionNode"]') + .last() + .click(); + }); + + it("add clear action", () => { + cy + .get('select[data-tests-id="selectAction"]') + .select("clear") + .get('button[data-tests-id="btnAddAction"]') + .click() + .get('input[data-tests-id="valueInput"]') + .type("ABC") + .should("have.value", "ABC"); + + cy + .get('button[data-tests-id="btnAddInput"]') + .click() + .get('input[data-tests-id="valueInput"]') + .last() + .type("DEA") + .should("have.value", "DEA"); + + cy + .get('button[data-tests-id="btnDelete"]') + .first() + .click(); + }); + + it("add replace text action", () => { + cy + .get('select[data-tests-id="selectAction"]') + .select("replace text") + .get('button[data-tests-id="btnAddAction"]') + .click(); + + cy + .get('input[data-tests-id="valueInput"]') + .type("ABC") + .should("have.value", "ABC"); + + cy + .get('input[data-tests-id="InputFindWhat"]') + .type("AAA") + .should("have.value", "AAA"); + + cy + .get('input[data-tests-id="InputReplaceWith"]') + .type("BBB") + .should("have.value", "BBB"); + }); + + it("add log text action", () => { + cy + .get('select[data-tests-id="selectAction"]') + .select("log text") + .get('button[data-tests-id="btnAddAction"]') + .click(); + + cy + .get('input[data-tests-id="InputLogText"]') + .type("ABC") + .should("have.value", "ABC"); + + cy + .get('input[data-tests-id="InputLogName"]') + .type("AAA") + .should("have.value", "AAA"); + + cy + .get('input[data-tests-id="InputLogLevel"]') + .type("BBB") + .should("have.value", "BBB"); + }); + + it("add log event action", () => { + cy + .get('select[data-tests-id="selectAction"]') + .select("log event") + .get('button[data-tests-id="btnAddAction"]') + .click(); + + cy + .get('input[data-tests-id="InputLogTitle"]') + .type("Title test") + .should("have.value", "Title test"); + }); + }); + + describe("rule and Actions CRUD Procedure", () => { + beforeEach(() => { + cy.httpGenerateMappingRulesFileName(); + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); + cy.fillNewMcForm(); + cy.httpCreateNewMc(); + cy.emptyRuleEngine("Type1"); + cy + .get('button[data-tests-id="createMonitoring"]') + .click() + .get("#ui-tabpanel-1-label") + .should("contain", "map") + .click(); + cy.httpTargetTree(); + selectVersionAndTypeAndAddFirstRule(); + fillRuleDescription("newRule"); + }); + + it("add clear action", () => { + cy + .get('select[data-tests-id="selectAction"]') + .select("copy") + .get('button[data-tests-id="btnAddAction"]') + .click() + .get('select[data-tests-id="selectAction"]') + .select("concat") + .get('button[data-tests-id="btnAddAction"]') + .click() + .get('select[data-tests-id="selectAction"]') + .select("map") + .get('button[data-tests-id="btnAddAction"]') + .click() + .get('select[data-tests-id="selectAction"]') + .select("date formatter") + .get('button[data-tests-id="btnAddAction"]') + .click() + .get('select[data-tests-id="selectAction"]') + .select("log text") + .get('button[data-tests-id="btnAddAction"]') + .click() + .get('select[data-tests-id="selectAction"]') + .select("log event") + .get('button[data-tests-id="btnAddAction"]') + .click() + .get('select[data-tests-id="selectAction"]') + .select("replace text") + .get('button[data-tests-id="btnAddAction"]') + .click() + .get('select[data-tests-id="selectAction"]') + .select("clear") + .get('button[data-tests-id="btnAddAction"]') + .click(); + }); + + it("add rule with copy action CRUD procedure", () => { + // Create action + addCopyAction(); + + cy.getLatestMcUuid(); + cy.doneSaveRule(); + cy.get('button[data-tests-id="btnDone"]').click(); + + // value approve + editFirstRule(); + + cy + .get('input[data-tests-id="valueInput"]') + .should("have.value", "a") + .get('input[data-tests-id="inputTarget"]') + .should("have.value", "event.commonEventHeader.domain") + + // change value + .get('input[data-tests-id="valueInput"]') + .type("B") + .get('button[data-tests-id="btnSave"]') + .click(); + + cy.getLatestMcUuid(); + cy.doneSaveAndEditRule(); + cy.get('button[data-tests-id="btnDone"]').click(); + + // Delete copy action + cy.getLatestMcUuid(); + cy.wait("@doneSaveAndEditRule"); + deleteFirstRule(); + }); + + it("add multiple rules CRUD procedure", () => { + // Create actions + addCopyAction(); + cy.getLatestMcUuid(); + cy.doneSaveRule(); + + cy.get('button[data-tests-id="btnDone"]').click(); + + // Edit copy action - verify values + editFirstRule(); + + cy + .get('input[data-tests-id="valueInput"]') + .should("have.value", "a") + .get('input[data-tests-id="inputTarget"]') + .should("have.value", "event.commonEventHeader.domain") + .get('button[data-tests-id="btnDone"]') + .click(); + + // Add new rule with map action + cy.get('button[data-tests-id="addMoreRule"]').click(); + fillRuleDescription("newRule2"); + addMapAndDeleteRowAction(); + + cy.getLatestMcUuid(); + cy.doneSaveMapRule(); + + cy.get('button[data-tests-id="btnDone"]').click(); + + // Verify map values + editLastRule(); + + cy + .get('input[data-tests-id="key"]') + .first() + .should("have.value", "Key1") + .get('input[data-tests-id="value"]') + .first() + .should("have.value", "Key1") + .get('input[data-tests-id="key"]') + .last() + .should("have.value", "Key2") + .get('input[data-tests-id="value"]') + .last() + .should("have.value", "Key2"); + cy.get('button[data-tests-id="btnDone"]').click(); + + // Delete copy Action + cy.getLatestMcUuid(); + deleteFirstRule(); + }); + + it("add rule with log text action CRUD procedure", () => { + cy + .get('select[data-tests-id="selectAction"]') + .select("log text") + .get('button[data-tests-id="btnAddAction"]') + .click(); + + cy + .get('input[data-tests-id="InputLogText"]') + .type("ABC") + .should("have.value", "ABC"); + + cy + .get('input[data-tests-id="InputLogName"]') + .type("AAA") + .should("have.value", "AAA"); + + cy + .get('input[data-tests-id="InputLogLevel"]') + .type("BBB") + .should("have.value", "BBB"); + + cy.getLatestMcUuid(); + cy.doneSaveLogTextRule(); + cy.get('button[data-tests-id="btnDone"]').click(); + + // value assertion + editFirstRule(); + + cy + .get('input[data-tests-id="InputLogText"]') + .should("have.value", "ABC") + .get('input[data-tests-id="InputLogName"]') + .should("have.value", "AAA") + .get('input[data-tests-id="InputLogLevel"]') + .should("have.value", "BBB"); + + cy.get('button[data-tests-id="btnDone"]').click(); + }); + }); + + // describe("import rules", () => { beforeEach(() => { + // cy.httpGenerateMappingRulesFileName(); cy.httpGetDDLData(); + // cy.getMCListEmpty(); cy.homePage(); + // cy.get('button[data-tests-id="btn-create-mc"]').click(); cy.fillNewMcForm(); + // cy.httpCreateNewMc(); cy.emptyRuleEngine("json"); cy + // .get('button[data-tests-id="createMonitoring"]') .click() + // .get("#ui-tabpanel-1-label") .should("contain", "map") .click(); + // cy.httpTargetTree(); }); it("should open import rules", () => { cy + // .get('[data-tests-id="import-rules"]') .should("be.visible") .click() + // .get('[data-tests-id="import-rules-container"]') .should("be.visible"); }); + // }); + + describe("copy rules", () => { + beforeEach(() => { + cy.httpGenerateMappingRulesFileName(); + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); + cy.fillNewMcForm(); + cy.httpCreateNewMc(); + cy.emptyRuleEngine("Type1"); + cy + .get('button[data-tests-id="createMonitoring"]') + .click() + .get("#ui-tabpanel-1-label") + .should("contain", "map") + .click(); + cy.httpTargetTree(); + selectVersionAndTypeAndAddFirstRule(); + fillRuleDescription("newRule"); + addCopyAction(); + cy.getLatestMcUuid(); + cy.doneSaveRule(); + cy.get('button[data-tests-id="btnDone"]').click(); + }); + + it("should copy rule to edit mode", () => { + cy + .get('div[data-tests-id="ruleElement"]') + .first() + .trigger("mouseover") + .get('[data-tests-id="copyRule"]') + .should("be.visible") + .click() + .get(".toast-container") + .should("be.visible") + .get('[data-tests-id="inputDescription"]') + .should("have.value", "newRule_Copy"); + }); + + it("should get one rule in list after copy rule and click on back", () => { + cy + .get('div[data-tests-id="ruleElement"]') + .first() + .trigger("mouseover") + .get('[data-tests-id="copyRule"]') + .should("be.visible") + .click() + .get('[data-tests-id="btnBackRule"]') + .click() + .get('div[data-tests-id="ruleElement"]') + .should("have.length.lt", 2); + }); + + it("should get two rules in list after copy rule and click on done", () => { + cy + .get('div[data-tests-id="ruleElement"]') + .first() + .trigger("mouseover") + .get('[data-tests-id="copyRule"]') + .should("be.visible") + .click(); + cy.getLatestMcUuid(); + cy.doneSaveCopyRule(); + cy + .get('button[data-tests-id="btnDone"]') + .click() + .get('div[data-tests-id="ruleElement"]') + .should("have.length", 2); + }); + }); + + describe("copy actions", () => { + beforeEach(() => { + cy.httpGenerateMappingRulesFileName(); + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); + cy.fillNewMcForm(); + cy.httpCreateNewMc(); + cy.emptyRuleEngine("Type1"); + cy + .get('button[data-tests-id="createMonitoring"]') + .click() + .get("#ui-tabpanel-1-label") + .should("contain", "map") + .click(); + cy.httpTargetTree(); + selectVersionAndTypeAndAddFirstRule(); + fillRuleDescription("newRule"); + }); + + it("should copy actions", () => { + addCopyAction(); + cy + .get('input[data-tests-id="valueInput"]') + .first() + .trigger("mouseover") + .get('[data-tests-id="makeCopyOfAction"]') + .should("be.visible") + .click() + .get('[data-tests-id="valueInput"]') + .last() + .should("have.value", "A") + .get('[data-tests-id="inputTarget"]') + .last() + .should("have.value", "event.commonEventHeader.domain"); + }); + + it("should not have copy actions in ", () => { + verifyCopyActionNotExist("map"); + verifyCopyActionNotExist("clear"); + verifyCopyActionNotExist("log text"); + }); + }); + + describe("Load all actions and condition from server", () => { + it("should load rule action type correct", () => { + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); + cy.fillNewMcForm(); + cy.httpCreateNewMc(); + cy.getListOfRuleEngine("Type1"); + cy.httpGenerateMappingRulesFileName(); + cy + .get('button[data-tests-id="createMonitoring"]') + .click() + .get("#ui-tabpanel-1-label") + .should("contain", "map") + .click(); + editFirstRule(); + + const listOfRules = [ + "COPY", + "CONCAT", + "MAP", + "DATE FORMATTER", + "LOG TEXT", + "LOG EVENT", + "REPLACE TEXT", + "CLEAR" + ]; + cy.get(".action-info").each(($el, index, $list) => { + expect($el.text().trim()).to.equal(listOfRules[index]); + }); + }); + + it("should load rule replace text action data correct", () => { + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); + cy.fillNewMcForm(); + cy.httpCreateNewMc(); + cy.server(); + cy.route({ + method: "GET", + url: `${Cypress.env( + "backendUrl" + )}/rule-editor/rule/6d436c07-8006-4335-8c84-d65b4740f8d6/map/n.1517823219961.0/Type1`, + response: "fixture:ruleEngineLoadServerReplaceText" + }); + cy.httpGenerateMappingRulesFileName(); + cy + .get('button[data-tests-id="createMonitoring"]') + .click() + .get("#ui-tabpanel-1-label") + .should("contain", "map") + .click(); + editFirstRule(); + + cy.get('input[data-tests-id="valueInput"]').should("have.value", "i"); + + cy.get('input[data-tests-id="InputFindWhat"]').should("have.value", "a1"); + + cy + .get('input[data-tests-id="InputReplaceWith"]') + .should("have.value", "a2"); + }); + it("should load rule clear action data correct", () => { + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); + cy.fillNewMcForm(); + cy.httpCreateNewMc(); + cy.server(); + cy.route({ + method: "GET", + url: `${Cypress.env( + "backendUrl" + )}/rule-editor/rule/6d436c07-8006-4335-8c84-d65b4740f8d6/map/n.1517823219961.0/Type1`, + response: "fixture:ruleEngineLoadServerClear" + }); + cy.httpGenerateMappingRulesFileName(); + cy + .get('button[data-tests-id="createMonitoring"]') + .click() + .get("#ui-tabpanel-1-label") + .should("contain", "map") + .click(); + editFirstRule(); + + cy.get('input[data-tests-id="valueInput"]').should("have.value", "j"); + }); + it("should load rule copy action data correct", () => { + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); + cy.fillNewMcForm(); + cy.httpCreateNewMc(); + cy.server(); + cy.route({ + method: "GET", + url: `${Cypress.env( + "backendUrl" + )}/rule-editor/rule/6d436c07-8006-4335-8c84-d65b4740f8d6/map/n.1517823219961.0/Type1`, + response: "fixture:ruleEngineLoadServerCopy" + }); + cy.httpGenerateMappingRulesFileName(); + cy + .get('button[data-tests-id="createMonitoring"]') + .click() + .get("#ui-tabpanel-1-label") + .should("contain", "map") + .click(); + editFirstRule(); + + cy + .get('[data-tests-id="valueInput"]') + .should("have.value", "a") + .get('[data-tests-id="inputTarget"]') + .should("have.value", "c") + .get('[data-tests-id="inputFromRegex"]') + .should("have.value", "b"); + }); + }); + + describe("Translate and save Rule List", () => { + beforeEach(() => { + cy.httpGetDDLData(); + cy.getMCListEmpty(); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); + cy.fillNewMcForm(); + cy.httpCreateNewMc(); + cy.getPhases(); + cy.httpGenerateMappingRulesFileName(); + cy.emptyRuleEngine("Type1"); + cy + .get('button[data-tests-id="createMonitoring"]') + .click() + .get("#ui-tabpanel-1-label") + .should("contain", "map") + .click(); + cy.httpTargetTree(); + selectVersionAndTypeAndAddFirstRule(); + fillRuleDescription("newRule"); + addCopyAction(); + cy.getLatestMcUuid(); + cy.doneSaveRule(); + }); + + context("Play with save, back and done button", () => { + it("should rule exist in list after save rule and click back", () => { + cy + .get('button[data-tests-id="btnSave"]') + .click() + .get('a[data-tests-id="btnBackRule"]') + .click() + .get('div[data-tests-id="ruleElement"]') + .should("be.visible") + .then(function($lis) { + expect($lis).to.have.length(1); + expect($lis.eq(0)).to.contain("newRule"); + }); + }); + + it("should rule exist in list after done edit rule", () => { + cy + .get('button[data-tests-id="btnDone"]') + .click() + .get('div[data-tests-id="ruleElement"]') + .should("be.visible") + .then(function($lis) { + expect($lis).to.have.length(1); + expect($lis.eq(0)).to.contain("newRule"); + }); + }); + }); + + context("Translate", () => { + it("should open advanced setting when translate successfuly", () => { + cy.get('button[data-tests-id="btnDone"]').click(); + cy.wait("@doneSaveCopyRule").httpTransalte(); + cy + .get('button[data-tests-id="btnTranslate"]') + .click() + .get(".toast-container") + .should("be.visible") + .get(".map-setting-list > form > #Type1 > input") + .should("be.visible") + .and("have.value", translateValue()); + }); + }); + }); +}); diff --git a/cypress-docker/test/src/cypress/integration/mocks/oldApp/tiles-spec.js b/cypress-docker/test/src/cypress/integration/mocks/oldApp/tiles-spec.js new file mode 100644 index 0000000..c48f169 --- /dev/null +++ b/cypress-docker/test/src/cypress/integration/mocks/oldApp/tiles-spec.js @@ -0,0 +1,26 @@ +// describe('home screen', () => { +// beforeEach(() => { +// cy.visit('http://localhost:9000/#/dcae/home'); +// }); + +// it('should verify create new asset button', () => { +// cy.get('[data-tests-id=AddButtonsArea]').should('be.visible'); +// }); + +// it('should get vfcmt from server', () => { +// cy.server() +// .route('GET', 'getResourcesByCategory', [{ +// category: "Template", +// invariantUUID: "6cab2212-24c0-424f-8b67-e7ea48e005f1", +// lastUpdaterUserId: "is8413", +// lifecycleState: "NOT_CERTIFIED_CHECKOUT", +// name: "Igortest1", +// resourceType: "VFCMT", +// subCategory: "Monitoring Template", +// toscaModelURL: "/sdc/v1/catalog/resources/29161df9-f550-41be-9d7a-750eb72b39f1/", +// uuid: "29161df9-f550-41be-9d7a-750eb72b39f1", +// version: "0.1" +// }]) +// .get('.dcae-dashboard-card').should('be.greaterThan', '1'); +// }); +// }) diff --git a/cypress-docker/test/src/cypress/plugins/index.js b/cypress-docker/test/src/cypress/plugins/index.js new file mode 100644 index 0000000..5c93abd --- /dev/null +++ b/cypress-docker/test/src/cypress/plugins/index.js @@ -0,0 +1,15 @@ +// *********************************************************** This example +// plugins/index.js can be used to load plugins +// +// You can change the location of this file or turn off loading the plugins file +// with the 'pluginsFile' configuration option. +// +// You can read more here: https://on.cypress.io/plugins-guide +// *********************************************************** This function is +// called when a project is opened or re-opened (e.g. due to the project's +// config changing) + +module.exports = (on, config) => { + // `on` is used to hook into various events Cypress emits `config` is the + // resolved Cypress config +}; diff --git a/cypress-docker/test/src/cypress/support/commands.js b/cypress-docker/test/src/cypress/support/commands.js new file mode 100644 index 0000000..562bb4d --- /dev/null +++ b/cypress-docker/test/src/cypress/support/commands.js @@ -0,0 +1,25 @@ +// *********************************************** This example commands.js +// shows you how to create the custom command: 'login'. +// +// The commands.js file is a great place to modify existing commands and create +// custom commands for use throughout your tests. +// +// You can read more about custom commands here: +// https://on.cypress.io/api/commands +// *********************************************** +// +// Cypress.Commands.add("login", function(email, password){ var email = +// email || "joe@example.com" var password = password || "foobar" +// +// var log = Cypress.Log.command({ name: "login", message: [email, +// password], consoleProps: function(){ return { email: email, +// password: password } } }) +// +// cy .visit("/login", {log: false}) .contains("Log In", {log: false}) +// .get("#email", {log: false}).type(email, {log: false}) .get("#password", +// {log: false}).type(password, {log: false}) .get("button", {log: +// false}).click({log: false}) //this should submit the form .get("h1", +// {log: false}).contains("Dashboard", {log: false}) //we should be on the +// dashboard now .url({log: false}).should("match", /dashboard/, {log: +// false}) .then(function(){ log.snapshot().end() }) }) import +// "/home/node/app/node_modules/cypress-testing-library/add-commands"; diff --git a/cypress-docker/test/src/cypress/support/defaults.js b/cypress-docker/test/src/cypress/support/defaults.js new file mode 100644 index 0000000..24d28fd --- /dev/null +++ b/cypress-docker/test/src/cypress/support/defaults.js @@ -0,0 +1,17 @@ +// *********************************************** +// This example defaults.js shows you how to +// customize the internal behavior of Cypress. +// +// The defaults.js file is a great place to +// override defaults used throughout all tests. +// +// *********************************************** +// +// Cypress.Server.defaults({ +// delay: 500, +// whitelist: function(xhr){} +// }) + +// Cypress.Cookies.defaults({ +// whitelist: ["session_id", "remember_token"] +// })
\ No newline at end of file diff --git a/cypress-docker/test/src/cypress/support/generalCommands.js b/cypress-docker/test/src/cypress/support/generalCommands.js new file mode 100644 index 0000000..ace8f18 --- /dev/null +++ b/cypress-docker/test/src/cypress/support/generalCommands.js @@ -0,0 +1,73 @@ +function httpGetDDLData() { + cy + .server() + .route({ + method: "GET", + url: + Cypress.env("backendUrl") + + "/service/06c7d927-4e2f-47e1-a29d-b6ed229ebc0a", + response: "fixture:serviceDdl" + }) + .as("vfniListApi") + .route({ + method: "GET", + url: + Cypress.env("backendUrl") + "/getResourcesByMonitoringTemplateCategory", + response: [ + { + name: "AviStone1234" + } + ] + }) + .as("templateAPi"); +} + +function fillNewMcForm() { + cy.get('input[data-tests-id="nameMc"]').type("new mc"); + cy.get('textarea[data-tests-id="descMc"]').type("Hello Description"); + cy.get('select[data-tests-id="templateDdl"]').select("AviStone1234"); + cy.get('select[data-tests-id="vfniDdl"]').select("LiavSrv"); +} + +function httpCreateNewMc() { + cy.server(); + cy + .route({ + method: "POST", + url: Cypress.env("backendUrl") + "/createMC", + response: "fixture:createMcRes" + }) + .as("newMC"); +} + +function httpCreateNewHpMc() { + cy.server(); + cy + .route({ + method: "POST", + url: Cypress.env("backendUrl") + "/createMC", + response: "fixture:createMcHp" + }) + .as("newMC"); +} + +function httpCreateNewMcWithBooleanDDL() { + cy.server(); + cy + .route({ + method: "POST", + url: Cypress.env("backendUrl") + "/createMC", + response: "fixture:createMcResWithBooleanDDL" + }) + .as("newMCWithBooleanDDL"); +} + +// Add cypress commands +Cypress.Commands.add("httpGetDDLData", httpGetDDLData); +Cypress.Commands.add("fillNewMcForm", fillNewMcForm); +Cypress.Commands.add("httpCreateNewMc", httpCreateNewMc); +Cypress.Commands.add("httpCreateNewHpMc", httpCreateNewHpMc); +Cypress.Commands.add( + "httpCreateNewMcWithBooleanDDL", + httpCreateNewMcWithBooleanDDL +); diff --git a/cypress-docker/test/src/cypress/support/homeCommands.js b/cypress-docker/test/src/cypress/support/homeCommands.js new file mode 100644 index 0000000..77b4010 --- /dev/null +++ b/cypress-docker/test/src/cypress/support/homeCommands.js @@ -0,0 +1,168 @@ +// functionality +function sdcIsOwnerFalse() { + cy.visit( + "home?userId=cs0008&userRole=DESIGNER&displayType=context&contextType=SERVICES&uu" + + "id=06c7d927-4e2f-47e1-a29d-b6ed229ebc0a&lifecycleState=NOT_CERTIFIED_CHECKOUT&is" + + "Owner=false&version=0.1" + ); +} + +function sdcUserNotCheckout() { + cy.visit( + "home?userId=cs0008&userRole=DESIGNER&displayType=context&contextType=SERVICES&uu" + + "id=06c7d927-4e2f-47e1-a29d-b6ed229ebc0a&lifecycleState=READY_FOR_CERTIFICATION&i" + + "sOwner=true&version=0.1" + ); +} + +function homePage() { + cy.visit( + "home?userId=cs0008&userRole=DESIGNER&displayType=context&contextType=SERVICES&uu" + + "id=06c7d927-4e2f-47e1-a29d-b6ed229ebc0a&lifecycleState=NOT_CERTIFIED_CHECKOUT&is" + + "Owner=true&version=0.1" + ); +} + +function homePageCertified() { + cy.visit( + "home?userId=cs0008&userRole=DESIGNER&displayType=context&contextType=SERVICES&uu" + + "id=06c7d927-4e2f-47e1-a29d-b6ed229ebc0a&lifecycleState=CERTIFIED_CHECKOUT&isOwne" + + "r=true&version=0.1" + ); +} + +function deleteMonitoringComponent() { + cy + .server() + .route({ + method: "DELETE", + url: + Cypress.env("backendUrl") + + "/SERVICES/06c7d927-4e2f-47e1-a29d-b6ed229ebc0a/vfb53dd48360ff4fa2b66e6ceb1961bd9" + + "b0/cba37ed8-94e1-406f-b4f5-b5edbc31ac85/deleteVfcmtReference", + response: "{}" + }) + .as("deleteMonitoringComponent"); +} + +function saveMonitoringComponent() { + cy + .server() + .route({ + method: "POST", + url: + Cypress.env("backendUrl") + + "/SERVICES/06c7d927-4e2f-47e1-a29d-b6ed229ebc0a/vfb53dd48360ff4fa2b66e6ceb1961bd9" + + "b0/saveComposition/cba37ed8-94e1-406f-b4f5-b5edbc31ac85", + response: "{}" + }) + .as("saveMonitoringComponent"); +} + +function submitMonitoringComponent() { + cy + .server() + .route({ + method: "POST", + url: + Cypress.env("backendUrl") + + "/SERVICES/createBluePrint/cba37ed8-94e1-406f-b4f5-b5edbc31ac85/06c7d927-4e2f-47e" + + "1-a29d-b6ed229ebc0a/vfb53dd48360ff4fa2b66e6ceb1961bd9b0/", + response: "{}" + }) + .as("submitMonitoringComponent"); +} + +function deleteMonitoringComponentWithBlueprint() { + cy + .server() + .route({ + method: "DELETE", + url: + Cypress.env("backendUrl") + + "/SERVICES/06c7d927-4e2f-47e1-a29d-b6ed229ebc0a/dump0/64471437-8feb-40d9-a8b0-940" + + "7a81dd5c0/deleteVfcmtReference", + response: "{}" + }) + .as("deleteMonitoringComponentWithBlueprint"); +} + +function getMCList() { + cy + .server() + .route({ + method: "GET", + url: + Cypress.env("backendUrl") + + "/SERVICES/06c7d927-4e2f-47e1-a29d-b6ed229ebc0a/0.1/monitoringComponents", + response: "fixture:monitoringComponentsMock" + }) + .as("mcList"); +} + +function getMC() { + cy + .server() + .route({ + method: "GET", + url: + Cypress.env("backendUrl") + + "/getMC/cba37ed8-94e1-406f-b4f5-b5edbc31ac85", + response: "fixture:getMCMock" + }) + .as("getMC"); +} + +function getMCListEmpty() { + cy + .server() + .route({ + method: "GET", + url: + Cypress.env("backendUrl") + + "/SERVICES/06c7d927-4e2f-47e1-a29d-b6ed229ebc0a/0.1/monitoringComponents", + response: "{}" + }) + .as("mcListEmpty"); +} + +function getTemplateApiError() { + cy.server().route({ + method: "GET", + url: + Cypress.env("backendUrl") + + "/service/06c7d927-4e2f-47e1-a29d-b6ed229ebc0a", + status: 500, + response: { + requestError: { + policyException: { + messageId: "POL5000", + text: "Error: Internal Server Error. Please try again later.", + variables: [], + formattedErrorMessage: + "Error: Internal Server Error. Please try again later." + } + }, + notes: 'Error: Requested "123" resource was not found.' + } + }); + cy.homePage(); + cy.get('button[data-tests-id="btn-create-mc"]').click(); +} + +// Add cypress commands +Cypress.Commands.add("homePage", homePage); +Cypress.Commands.add("getTemplateApiError", getTemplateApiError); +Cypress.Commands.add("homePageCertified", homePageCertified); +Cypress.Commands.add("sdcIsOwnerFalse", sdcIsOwnerFalse); +Cypress.Commands.add("sdcUserNotCheckout", sdcUserNotCheckout); +Cypress.Commands.add("getMCList", getMCList); +Cypress.Commands.add("getMCListEmpty", getMCListEmpty); +Cypress.Commands.add("deleteMonitoringComponent", deleteMonitoringComponent); +Cypress.Commands.add( + "deleteMonitoringComponentWithBlueprint", + deleteMonitoringComponentWithBlueprint +); +Cypress.Commands.add("submitMonitoringComponent", submitMonitoringComponent); +Cypress.Commands.add("saveMonitoringComponent", saveMonitoringComponent); +Cypress.Commands.add("getMC", getMC); diff --git a/cypress-docker/test/src/cypress/support/index.js b/cypress-docker/test/src/cypress/support/index.js new file mode 100644 index 0000000..db18940 --- /dev/null +++ b/cypress-docker/test/src/cypress/support/index.js @@ -0,0 +1,26 @@ +// *********************************************************** +// This example support/index.js is processed and +// loaded automatically before your other test files. +// +// This is a great place to put global configuration and +// behavior that modifies Cypress. +// +// You can change the location of this file or turn off +// automatically serving support files with the +// 'supportFile' configuration option. +// +// You can read more here: +// https://on.cypress.io/guides/configuration#section-global +// *********************************************************** + +// Import commands.js and defaults.js +// using ES2015 syntax: +import "./commands"; +import "./defaults"; +import "./generalCommands"; +import "./homeCommands"; +import "./ruleEngineCommands"; + +// Alternatively you can use CommonJS syntax: +// require("./commands") +// require("./defaults")
\ No newline at end of file diff --git a/cypress-docker/test/src/cypress/support/ruleEngineCommands.js b/cypress-docker/test/src/cypress/support/ruleEngineCommands.js new file mode 100644 index 0000000..70f1a4b --- /dev/null +++ b/cypress-docker/test/src/cypress/support/ruleEngineCommands.js @@ -0,0 +1,197 @@ +function getListOfRuleEngine(targetFiled) { + cy.server(); + cy + .route({ + method: "GET", + url: `${Cypress.env( + "backendUrl" + )}/rule-editor/rule/6d436c07-8006-4335-8c84-d65b4740f8d6/map/n.1517823219961.0/${targetFiled}`, + response: "fixture:loadAllActionsForRuleEngine" + }) + .as("serverWithRuleList"); +} + +function emptyRuleEngine(targetFiled) { + cy.server(); + cy + .route({ + method: "GET", + url: `${Cypress.env( + "backendUrl" + )}/rule-editor/rule/6d436c07-8006-4335-8c84-d65b4740f8d6/map/n.1517823219961.0/${targetFiled}`, + response: {} + }) + .as("serverRuleList") + .route({ + method: "GET", + url: Cypress.env("backendUrl") + "/rule-editor/list-events-by-versions", + response: "fixture:list-events-by-version" + }) + .as("serverEventsAndVersion"); +} + +function getLatestMcUuid() { + cy.server(); + cy + .route({ + method: "GET", + url: + Cypress.env("backendUrl") + + "/SERVICES/06c7d927-4e2f-47e1-a29d-b6ed229ebc0a/LiavSrv/6d436c07-8006-4335-8c84-d" + + "65b4740f8d6/getLatestMcUuid", + response: { + uuid: "6d436c07-8006-4335-8c84-d65b4740f8d6" + } + }) + .as("getLatestMcUuid"); +} + +function httpTargetTree() { + cy.server(); + cy + .route({ + method: "GET", + url: + Cypress.env("backendUrl") + "/rule-editor/definition/4.1/syslogFields", + response: "fixture:syslogTargetTree" + }) + .as("targetData"); +} + +function getPhases() { + cy.server(); + cy + .route({ + method: "GET", + url: Cypress.env("backendUrl") + "/conf/getPhases/default", + response: "fixture:getPhases" + }) + .as("phase"); +} + +function doneSaveRule() { + cy.server(); + cy + .route({ + method: "POST", + url: + Cypress.env("backendUrl") + + "/rule-editor/rule/6d436c07-8006-4335-8c84-d65b4740f8d6/map/n.1517823219961.0/Typ" + + "e1", + response: "fixture:doneSaveSimpleCopy" + }) + .as("doneSaveCopyRule"); +} + +function doneSaveCopyRule() { + cy.server(); + cy + .route({ + method: "POST", + url: + Cypress.env("backendUrl") + + "/rule-editor/rule/6d436c07-8006-4335-8c84-d65b4740f8d6/map/n.1517823219961.0/Typ" + + "e1", + response: "fixture:doneSaveSimpleEditCopy" + }) + .as("doneSaveCopyRule"); +} + +function deleteRule() { + cy.server(); + cy + .route({ + method: "DELETE", + url: + Cypress.env("backendUrl") + + "/rule-editor/rule/6d436c07-8006-4335-8c84-d65b4740f8d6/map/n.1517823219961.0/Typ" + + "e1/f620724b-7170-43e1-8a8b-55e98cabe658", + response: "{}" + }) + .as("deleteCopyRule"); +} + +function doneSaveAndEditRule() { + cy.server(); + cy + .route({ + method: "POST", + url: + Cypress.env("backendUrl") + + "/rule-editor/rule/6d436c07-8006-4335-8c84-d65b4740f8d6/map/n.1517823219961.0/Typ" + + "e1", + response: "fixture:doneSaveEditSimpleCopy" + }) + .as("doneSaveAndEditRule"); +} + +function doneSaveMapRule() { + cy.server(); + cy + .route({ + method: "POST", + url: + Cypress.env("backendUrl") + + "/rule-editor/rule/6d436c07-8006-4335-8c84-d65b4740f8d6/map/n.1517823219961.0/Typ" + + "e1", + response: "fixture:doneSaveSimpleMap" + }) + .as("doneSaveMapRule"); +} + +function doneSaveLogTextRule() { + cy.server(); + cy + .route({ + method: "POST", + url: + Cypress.env("backendUrl") + + "/rule-editor/rule/6d436c07-8006-4335-8c84-d65b4740f8d6/map/n.1517823219961.0/Typ" + + "e1", + response: "fixture:doneSaveSimpleLogText" + }) + .as("doneSaveLogTextRule"); +} + +function httpTransalte() { + cy.server(); + cy + .route({ + method: "POST", + url: Cypress.env("backendUrl") + "/rule-editor/rule/translate", + response: "fixture:TranslateSimpleCopy" + }) + .as("TranslateSimpleCopy"); +} + +function httpGenerateMappingRulesFileName() { + cy.server(); + cy + .route({ + method: "GET", + url: + Cypress.env("backendUrl") + + "/rule-editor/getExistingRuleTargets/6d436c07-8006-4335-8c84-d65b4740f8d6/map/n.1" + + "517823219961.0", + response: ["Type1", "json", "name"] + }) + .as("TranslateSimpleCopy"); +} + +// Add cypress commands +Cypress.Commands.add("emptyRuleEngine", emptyRuleEngine); +Cypress.Commands.add("getListOfRuleEngine", getListOfRuleEngine); +Cypress.Commands.add("getLatestMcUuid", getLatestMcUuid); +Cypress.Commands.add("httpTargetTree", httpTargetTree); +Cypress.Commands.add("doneSaveRule", doneSaveRule); +Cypress.Commands.add("doneSaveCopyRule", doneSaveCopyRule); +Cypress.Commands.add("doneSaveAndEditRule", doneSaveAndEditRule); +Cypress.Commands.add("doneSaveMapRule", doneSaveMapRule); +Cypress.Commands.add("doneSaveLogTextRule", doneSaveLogTextRule); +Cypress.Commands.add("deleteRule", deleteRule); +Cypress.Commands.add("getPhases", getPhases); +Cypress.Commands.add("httpTransalte", httpTransalte); +Cypress.Commands.add( + "httpGenerateMappingRulesFileName", + httpGenerateMappingRulesFileName +); diff --git a/cypress-docker/test/src/cypress/tsconfig.json b/cypress-docker/test/src/cypress/tsconfig.json new file mode 100644 index 0000000..36de33d --- /dev/null +++ b/cypress-docker/test/src/cypress/tsconfig.json @@ -0,0 +1,8 @@ +{ + "compilerOptions": { + "allowJs": true, + "baseUrl": "../node_modules", + "types": ["cypress"] + }, + "include": ["**/*.*"] +} diff --git a/cypress-docker/test/src/package-lock.json b/cypress-docker/test/src/package-lock.json new file mode 100644 index 0000000..8947289 --- /dev/null +++ b/cypress-docker/test/src/package-lock.json @@ -0,0 +1,2551 @@ +{ + "name": "src", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@cypress/listr-verbose-renderer": { + "version": "0.4.1", + "resolved": + "https://registry.npmjs.org/@cypress/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz", + "integrity": "sha1-p3SS9LEdzHxEajSz4ochr9M8ZCo=", + "requires": { + "chalk": "1.1.3", + "cli-cursor": "1.0.2", + "date-fns": "1.29.0", + "figures": "1.7.0" + }, + "dependencies": { + "ansi-styles": { + "version": "2.2.1", + "resolved": + "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "requires": { + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": + "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + } + } + }, + "@cypress/xvfb": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@cypress/xvfb/-/xvfb-1.1.3.tgz", + "integrity": + "sha512-EfRzw+wgI0Zdb4ZlhSvjh3q7I+oenqEYPXvr7oH/2RnzQqGDrPr7IU1Pi2yzGwoXmkNUQbo6qvntnItvQj0F4Q==", + "requires": { + "lodash.once": "4.1.1" + } + }, + "@types/blob-util": { + "version": "1.3.3", + "resolved": + "https://registry.npmjs.org/@types/blob-util/-/blob-util-1.3.3.tgz", + "integrity": + "sha512-4ahcL/QDnpjWA2Qs16ZMQif7HjGP2cw3AGjHabybjw7Vm1EKu+cfQN1D78BaZbS1WJNa1opSMF5HNMztx7lR0w==" + }, + "@types/bluebird": { + "version": "3.5.18", + "resolved": + "https://registry.npmjs.org/@types/bluebird/-/bluebird-3.5.18.tgz", + "integrity": + "sha512-OTPWHmsyW18BhrnG5x8F7PzeZ2nFxmHGb42bZn79P9hl+GI5cMzyPgQTwNjbem0lJhoru/8vtjAFCUOu3+gE2w==" + }, + "@types/chai": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.0.8.tgz", + "integrity": + "sha512-m812CONwdZn/dMzkIJEY0yAs4apyTkTORgfB2UsMOxgkUbC205AHnm4T8I0I5gPg9MHrFc1dJ35iS75c0CJkjg==" + }, + "@types/chai-jquery": { + "version": "1.1.35", + "resolved": + "https://registry.npmjs.org/@types/chai-jquery/-/chai-jquery-1.1.35.tgz", + "integrity": + "sha512-7aIt9QMRdxuagLLI48dPz96YJdhu64p6FCa6n4qkGN5DQLHnrIjZpD9bXCvV2G0NwgZ1FAmfP214dxc5zNCfgQ==", + "requires": { + "@types/chai": "4.0.8", + "@types/jquery": "3.2.16" + } + }, + "@types/jquery": { + "version": "3.2.16", + "resolved": + "https://registry.npmjs.org/@types/jquery/-/jquery-3.2.16.tgz", + "integrity": + "sha512-q2WC02YxQoX2nY1HRKlYGHpGP1saPmD7GN0pwCDlTz35a4eOtJG+aHRlXyjCuXokUukSrR2aXyBhSW3j+jPc0A==" + }, + "@types/lodash": { + "version": "4.14.87", + "resolved": + "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.87.tgz", + "integrity": + "sha512-AqRC+aEF4N0LuNHtcjKtvF9OTfqZI0iaBoe3dA6m/W+/YZJBZjBmW/QIZ8fBeXC6cnytSY9tBoFBqZ9uSCeVsw==" + }, + "@types/minimatch": { + "version": "3.0.1", + "resolved": + "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.1.tgz", + "integrity": + "sha512-rUO/jz10KRSyA9SHoCWQ8WX9BICyj5jZYu1/ucKEJKb4KzLZCKMURdYbadP157Q6Zl1x0vHsrU+Z/O0XlhYQDw==" + }, + "@types/mocha": { + "version": "2.2.44", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-2.2.44.tgz", + "integrity": + "sha512-k2tWTQU8G4+iSMvqKi0Q9IIsWAp/n8xzdZS4Q4YVIltApoMA00wFBFdlJnmoaK1/z7B0Cy0yPe6GgXteSmdUNw==" + }, + "@types/sinon": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-4.0.0.tgz", + "integrity": + "sha512-cuK4xM8Lg2wd8cxshcQa8RG4IK/xfyB6TNE6tNVvkrShR4xdrYgsV04q6Dp6v1Lp6biEFdzD8k8zg/ujQeiw+A==" + }, + "@types/sinon-chai": { + "version": "2.7.29", + "resolved": + "https://registry.npmjs.org/@types/sinon-chai/-/sinon-chai-2.7.29.tgz", + "integrity": + "sha512-EkI/ZvJT4hglWo7Ipf9SX+J+R9htNOMjW8xiOhce7+0csqvgoF5IXqY5Ae1GqRgNtWCuaywR5HjVa1snkTqpOw==", + "requires": { + "@types/chai": "4.0.8", + "@types/sinon": "4.0.0" + } + }, + "ajv": { + "version": "4.11.8", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz", + "integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=", + "requires": { + "co": "4.6.0", + "json-stable-stringify": "1.0.1" + } + }, + "amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=" + }, + "ansi-escapes": { + "version": "1.4.0", + "resolved": + "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", + "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=" + }, + "ansi-regex": { + "version": "3.0.0", + "resolved": + "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": + "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": + "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "1.9.2" + } + }, + "asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" + }, + "asn1": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", + "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=" + }, + "assert-plus": { + "version": "0.2.0", + "resolved": + "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz", + "integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=" + }, + "async": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/async/-/async-2.1.4.tgz", + "integrity": "sha1-LSFgx3iAMuTdbL4lAvH5osj2zeQ=", + "requires": { + "lodash": "4.17.4" + } + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, + "atob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.1.tgz", + "integrity": "sha1-ri1acpR38onWDdf5amMUoi3Wwio=" + }, + "aws-sign2": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz", + "integrity": "sha1-FDQt0428yU0OW4fXY81jYSwOeU8=" + }, + "aws4": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.7.0.tgz", + "integrity": + "sha512-32NDda82rhwD9/JBCCkB+MRYDp0oSvlo2IL6rQWA10PQi7tDUM3eqMSltXmY+Oyl/7N3P3qNtAlv7X0d9bI28w==" + }, + "babel-runtime": { + "version": "6.26.0", + "resolved": + "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "requires": { + "core-js": "2.5.7", + "regenerator-runtime": "0.11.1" + } + }, + "balanced-match": { + "version": "1.0.0", + "resolved": + "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": + "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "optional": true, + "requires": { + "tweetnacl": "0.14.5" + } + }, + "bluebird": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.0.tgz", + "integrity": "sha1-eRQg1/VR7qKJdFOop3ZT+WYG1nw=" + }, + "boom": { + "version": "2.10.1", + "resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", + "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=", + "requires": { + "hoek": "2.16.3" + } + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": + "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": + "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "requires": { + "balanced-match": "1.0.0", + "concat-map": "0.0.1" + } + }, + "browser-stdout": { + "version": "1.3.1", + "resolved": + "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", + "integrity": + "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==" + }, + "buffer-crc32": { + "version": "0.2.13", + "resolved": + "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=" + }, + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=" + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": + "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.4.0" + } + }, + "check-more-types": { + "version": "2.24.0", + "resolved": + "https://registry.npmjs.org/check-more-types/-/check-more-types-2.24.0.tgz", + "integrity": "sha1-FCD/sQ/URNz8ebQ4kbv//TKoRgA=" + }, + "ci-info": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.1.3.tgz", + "integrity": + "sha512-SK/846h/Rcy8q9Z9CAwGBLfCJ6EkjJWdpelWDufQpqVDYq2Wnnv8zlSO6AMQap02jvhVruKKpEtQOufo3pFhLg==" + }, + "cli-cursor": { + "version": "1.0.2", + "resolved": + "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", + "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", + "requires": { + "restore-cursor": "1.0.1" + } + }, + "cli-spinners": { + "version": "0.1.2", + "resolved": + "https://registry.npmjs.org/cli-spinners/-/cli-spinners-0.1.2.tgz", + "integrity": "sha1-u3ZNiOGF+54eaiofGXcjGPYF4xw=" + }, + "cli-truncate": { + "version": "0.2.1", + "resolved": + "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.2.1.tgz", + "integrity": "sha1-nxXPuwcFAFNpIWxiasfQWrkN1XQ=", + "requires": { + "slice-ansi": "0.0.4", + "string-width": "1.0.2" + } + }, + "cliui": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz", + "integrity": + "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==", + "requires": { + "string-width": "2.1.1", + "strip-ansi": "4.0.0", + "wrap-ansi": "2.1.0" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": + "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" + }, + "string-width": { + "version": "2.1.1", + "resolved": + "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": + "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "requires": { + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": + "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "requires": { + "ansi-regex": "3.0.0" + } + } + } + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=" + }, + "code-point-at": { + "version": "1.1.0", + "resolved": + "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" + }, + "color-convert": { + "version": "1.9.2", + "resolved": + "https://registry.npmjs.org/color-convert/-/color-convert-1.9.2.tgz", + "integrity": + "sha512-3NUJZdhMhcdPn8vJ9v2UQJoH0qqoGUkYTgFEPZaPjEtwmmKUfNV46zZmgB2M5M4DCEQHMaCfWHCxiBflLm04Tg==", + "requires": { + "color-name": "1.1.1" + } + }, + "color-name": { + "version": "1.1.1", + "resolved": + "https://registry.npmjs.org/color-name/-/color-name-1.1.1.tgz", + "integrity": "sha1-SxQVMEz1ACjqgWQ2Q72C6gWANok=" + }, + "combined-stream": { + "version": "1.0.6", + "resolved": + "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.6.tgz", + "integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=", + "requires": { + "delayed-stream": "1.0.0" + } + }, + "commander": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", + "integrity": + "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==" + }, + "common-tags": { + "version": "1.4.0", + "resolved": + "https://registry.npmjs.org/common-tags/-/common-tags-1.4.0.tgz", + "integrity": "sha1-EYe+Tz1M8MBCfUP3Tu8fc1AWFMA=", + "requires": { + "babel-runtime": "6.26.0" + } + }, + "concat-map": { + "version": "0.0.1", + "resolved": + "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "concat-stream": { + "version": "1.6.0", + "resolved": + "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.0.tgz", + "integrity": "sha1-CqxmL9Ur54lk1VMvaUeE5wEQrPc=", + "requires": { + "inherits": "2.0.3", + "readable-stream": "2.3.6", + "typedarray": "0.0.6" + } + }, + "core-js": { + "version": "2.5.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz", + "integrity": + "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw==" + }, + "core-util-is": { + "version": "1.0.2", + "resolved": + "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "cross-spawn": { + "version": "5.1.0", + "resolved": + "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "requires": { + "lru-cache": "4.1.3", + "shebang-command": "1.2.0", + "which": "1.3.1" + } + }, + "cryptiles": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz", + "integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=", + "requires": { + "boom": "2.10.1" + } + }, + "css": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/css/-/css-2.2.3.tgz", + "integrity": + "sha512-0W171WccAjQGGTKLhw4m2nnl0zPHUlTO/I8td4XzJgIB8Hg3ZZx71qT4G4eX8OVsSiaAKiUMy73E3nsbPlg2DQ==", + "requires": { + "inherits": "2.0.3", + "source-map": "0.1.43", + "source-map-resolve": "0.5.2", + "urix": "0.1.0" + } + }, + "cypress": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-2.1.0.tgz", + "integrity": + "sha512-EKXGjKFKUkhXXfAkYixBN2Lo2Gji4ZGC+ezWflRf/co49+OyHarZaXp7Y/n826WjmMdpHTmkOw4wUWBgyFHEHQ==", + "requires": { + "@cypress/listr-verbose-renderer": "0.4.1", + "@cypress/xvfb": "1.1.3", + "@types/blob-util": "1.3.3", + "@types/bluebird": "3.5.18", + "@types/chai": "4.0.8", + "@types/chai-jquery": "1.1.35", + "@types/jquery": "3.2.16", + "@types/lodash": "4.14.87", + "@types/minimatch": "3.0.1", + "@types/mocha": "2.2.44", + "@types/sinon": "4.0.0", + "@types/sinon-chai": "2.7.29", + "bluebird": "3.5.0", + "chalk": "2.1.0", + "check-more-types": "2.24.0", + "commander": "2.11.0", + "common-tags": "1.4.0", + "debug": "3.1.0", + "extract-zip": "1.6.6", + "fs-extra": "4.0.1", + "getos": "2.8.4", + "glob": "7.1.2", + "is-ci": "1.0.10", + "is-installed-globally": "0.1.0", + "lazy-ass": "1.6.0", + "listr": "0.12.0", + "lodash": "4.17.4", + "minimist": "1.2.0", + "progress": "1.1.8", + "ramda": "0.24.1", + "request": "2.81.0", + "request-progress": "0.3.1", + "supports-color": "5.1.0", + "tmp": "0.0.31", + "url": "0.11.0", + "yauzl": "2.8.0" + }, + "dependencies": { + "chalk": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.1.0.tgz", + "integrity": + "sha512-LUHGS/dge4ujbXMJrnihYMcL4AoOweGnw9Tp3kQuqy1Kx5c1qKjqvMJZ6nVJPMWJtKCTN72ZogH3oeSO9g9rXQ==", + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "4.5.0" + }, + "dependencies": { + "supports-color": { + "version": "4.5.0", + "resolved": + "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz", + "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=", + "requires": { + "has-flag": "2.0.0" + } + } + } + }, + "has-flag": { + "version": "2.0.0", + "resolved": + "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", + "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=" + }, + "supports-color": { + "version": "5.1.0", + "resolved": + "https://registry.npmjs.org/supports-color/-/supports-color-5.1.0.tgz", + "integrity": + "sha512-Ry0AwkoKjDpVKK4sV4h6o3UJmNRbjYm2uXhwfj3J56lMVdvnUNqzQVRztOOMGQ++w1K/TjNDFvpJk0F/LoeBCQ==", + "requires": { + "has-flag": "2.0.0" + } + } + } + }, + "cypress-testing-library": { + "version": "2.2.0", + "resolved": + "https://registry.npmjs.org/cypress-testing-library/-/cypress-testing-library-2.2.0.tgz", + "integrity": + "sha512-SIkGr/E8zCiYGhwc5Ti3jP47zBw15qRDtFP9wYkkklZUVqsHss74UhNh37hiYjlYXcR2cVSf8qYDrmJNqRz07A==", + "requires": { + "dom-testing-library": "2.6.3" + } + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "requires": { + "assert-plus": "1.0.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": + "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + } + } + }, + "date-fns": { + "version": "1.29.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-1.29.0.tgz", + "integrity": + "sha512-lbTXWZ6M20cWH8N9S6afb0SBm6tMk+uUg6z3MqHPKE9atmsY3kJkTm8vKe93izJ2B2+q5MV990sM2CHgtAZaOw==" + }, + "dateformat": { + "version": "3.0.3", + "resolved": + "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", + "integrity": + "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==" + }, + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": + "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "requires": { + "ms": "2.0.0" + } + }, + "decamelize": { + "version": "1.2.0", + "resolved": + "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" + }, + "decode-uri-component": { + "version": "0.2.0", + "resolved": + "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=" + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": + "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + }, + "diff": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", + "integrity": + "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==" + }, + "dom-testing-library": { + "version": "2.6.3", + "resolved": + "https://registry.npmjs.org/dom-testing-library/-/dom-testing-library-2.6.3.tgz", + "integrity": + "sha512-zd0IHMH+nzL13yAjBsbJ6/Ivvmt88HovoIHmFCdqr7/3oB37M7W7tM1ucaAkPoisq4efAO9F9I8nu6gh7k56uA==", + "requires": { + "jest-dom": "1.3.1", + "mutationobserver-shim": "0.3.2", + "pretty-format": "22.4.3", + "wait-for-expect": "0.4.0" + } + }, + "ecc-jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", + "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", + "optional": true, + "requires": { + "jsbn": "0.1.1" + } + }, + "elegant-spinner": { + "version": "1.0.1", + "resolved": + "https://registry.npmjs.org/elegant-spinner/-/elegant-spinner-1.0.1.tgz", + "integrity": "sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4=" + }, + "encoding": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", + "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", + "requires": { + "iconv-lite": "0.4.23" + } + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": + "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + }, + "execa": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", + "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", + "requires": { + "cross-spawn": "5.1.0", + "get-stream": "3.0.0", + "is-stream": "1.1.0", + "npm-run-path": "2.0.2", + "p-finally": "1.0.0", + "signal-exit": "3.0.2", + "strip-eof": "1.0.0" + } + }, + "exit-hook": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz", + "integrity": "sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g=" + }, + "extend": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", + "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=" + }, + "extract-zip": { + "version": "1.6.6", + "resolved": + "https://registry.npmjs.org/extract-zip/-/extract-zip-1.6.6.tgz", + "integrity": "sha1-EpDt6NINCHK0Kf0/NRyhKOxe+Fw=", + "requires": { + "concat-stream": "1.6.0", + "debug": "2.6.9", + "mkdirp": "0.5.0", + "yauzl": "2.4.1" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": + "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "yauzl": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.4.1.tgz", + "integrity": "sha1-lSj0QtqxsihOWLQ3m7GU4i4MQAU=", + "requires": { + "fd-slicer": "1.0.1" + } + } + } + }, + "extsprintf": { + "version": "1.3.0", + "resolved": + "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" + }, + "fbjs": { + "version": "0.8.17", + "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.17.tgz", + "integrity": "sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90=", + "requires": { + "core-js": "1.2.7", + "isomorphic-fetch": "2.2.1", + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "promise": "7.3.1", + "setimmediate": "1.0.5", + "ua-parser-js": "0.7.18" + }, + "dependencies": { + "core-js": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", + "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=" + } + } + }, + "fd-slicer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz", + "integrity": "sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU=", + "requires": { + "pend": "1.2.0" + } + }, + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "requires": { + "escape-string-regexp": "1.0.5", + "object-assign": "4.1.1" + } + }, + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "requires": { + "locate-path": "2.0.0" + } + }, + "forever-agent": { + "version": "0.6.1", + "resolved": + "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" + }, + "form-data": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.1.4.tgz", + "integrity": "sha1-M8GDrPGTJ27KqYFDpp6Uv+4XUNE=", + "requires": { + "asynckit": "0.4.0", + "combined-stream": "1.0.6", + "mime-types": "2.1.18" + } + }, + "fs-extra": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.1.tgz", + "integrity": "sha1-f8DGyJV/mD9X8waiTlud3Y0N2IA=", + "requires": { + "graceful-fs": "4.1.11", + "jsonfile": "3.0.1", + "universalify": "0.1.2" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": + "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + }, + "fsu": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/fsu/-/fsu-1.1.1.tgz", + "integrity": + "sha512-xQVsnjJ/5pQtcKh+KjUoZGzVWn4uNkchxTF6Lwjr4Gf7nQr8fmUfhKJ62zE77+xQg9xnxi5KUps7XGs+VC986A==" + }, + "get-caller-file": { + "version": "1.0.3", + "resolved": + "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", + "integrity": + "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==" + }, + "get-stream": { + "version": "3.0.0", + "resolved": + "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=" + }, + "getos": { + "version": "2.8.4", + "resolved": "https://registry.npmjs.org/getos/-/getos-2.8.4.tgz", + "integrity": "sha1-e4YD02GcKOOMsP56T2PDrLgNUWM=", + "requires": { + "async": "2.1.4" + } + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "requires": { + "assert-plus": "1.0.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": + "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + } + } + }, + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": + "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "global-dirs": { + "version": "0.1.1", + "resolved": + "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz", + "integrity": "sha1-sxnA3UYH81PzvpzKTHL8FIxJ9EU=", + "requires": { + "ini": "1.3.5" + } + }, + "graceful-fs": { + "version": "4.1.11", + "resolved": + "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + }, + "growl": { + "version": "1.10.5", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", + "integrity": + "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==" + }, + "har-schema": { + "version": "1.0.5", + "resolved": + "https://registry.npmjs.org/har-schema/-/har-schema-1.0.5.tgz", + "integrity": "sha1-0mMTX0MwfALGAq/I/pWXDAFRNp4=" + }, + "har-validator": { + "version": "4.2.1", + "resolved": + "https://registry.npmjs.org/har-validator/-/har-validator-4.2.1.tgz", + "integrity": "sha1-M0gdDxu/9gDdID11gSpqX7oALio=", + "requires": { + "ajv": "4.11.8", + "har-schema": "1.0.5" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "requires": { + "ansi-regex": "2.1.1" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "resolved": + "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" + } + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "hawk": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz", + "integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=", + "requires": { + "boom": "2.10.1", + "cryptiles": "2.0.5", + "hoek": "2.16.3", + "sntp": "1.0.9" + } + }, + "he": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", + "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=" + }, + "hoek": { + "version": "2.16.3", + "resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", + "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=" + }, + "http-signature": { + "version": "1.1.1", + "resolved": + "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz", + "integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=", + "requires": { + "assert-plus": "0.2.0", + "jsprim": "1.4.1", + "sshpk": "1.14.2" + } + }, + "husky": { + "version": "0.14.3", + "resolved": "https://registry.npmjs.org/husky/-/husky-0.14.3.tgz", + "integrity": + "sha512-e21wivqHpstpoiWA/Yi8eFti8E+sQDSS53cpJsPptPs295QTOQR0ZwnHo2TXy1XOpZFD9rPOd3NpmqTK6uMLJA==", + "dev": true, + "requires": { + "is-ci": "1.0.10", + "normalize-path": "1.0.0", + "strip-indent": "2.0.0" + } + }, + "iconv-lite": { + "version": "0.4.23", + "resolved": + "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", + "integrity": + "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", + "requires": { + "safer-buffer": "2.1.2" + } + }, + "ignore": { + "version": "3.3.10", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", + "integrity": + "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", + "dev": true + }, + "indent-string": { + "version": "3.2.0", + "resolved": + "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", + "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=" + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "requires": { + "once": "1.4.0", + "wrappy": "1.0.2" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" + }, + "ini": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": + "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==" + }, + "invert-kv": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", + "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=" + }, + "is-ci": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.0.10.tgz", + "integrity": "sha1-9zkzayYyNlBhqdSCcM1WrjNpMY4=", + "requires": { + "ci-info": "1.1.3" + } + }, + "is-finite": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", + "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", + "requires": { + "number-is-nan": "1.0.1" + } + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": + "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "requires": { + "number-is-nan": "1.0.1" + } + }, + "is-installed-globally": { + "version": "0.1.0", + "resolved": + "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.1.0.tgz", + "integrity": "sha1-Df2Y9akRFxbdU13aZJL2e/PSWoA=", + "requires": { + "global-dirs": "0.1.1", + "is-path-inside": "1.0.1" + } + }, + "is-path-inside": { + "version": "1.0.1", + "resolved": + "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", + "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", + "requires": { + "path-is-inside": "1.0.2" + } + }, + "is-promise": { + "version": "2.1.0", + "resolved": + "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", + "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=" + }, + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": + "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" + }, + "isomorphic-fetch": { + "version": "2.2.1", + "resolved": + "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", + "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", + "requires": { + "node-fetch": "1.7.3", + "whatwg-fetch": "2.0.4" + } + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + }, + "jest-diff": { + "version": "22.4.3", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-22.4.3.tgz", + "integrity": + "sha512-/QqGvCDP5oZOF6PebDuLwrB2BMD8ffJv6TAGAdEVuDx1+uEgrHpSFrfrOiMRx2eJ1hgNjlQrOQEHetVwij90KA==", + "requires": { + "chalk": "2.4.1", + "diff": "3.5.0", + "jest-get-type": "22.4.3", + "pretty-format": "22.4.3" + } + }, + "jest-dom": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jest-dom/-/jest-dom-1.3.1.tgz", + "integrity": + "sha512-5JjgBAkbBA61SlPO0S2rZJ5saOkhkj+lLXqAXcP59O6xfM59+kgJnSAFO1whJQlrxwu7mfM3TsuJrO8YeFQ79g==", + "requires": { + "chalk": "2.4.1", + "css": "2.2.3", + "jest-diff": "22.4.3", + "jest-matcher-utils": "22.4.3", + "pretty-format": "23.2.0", + "redent": "2.0.0" + }, + "dependencies": { + "pretty-format": { + "version": "23.2.0", + "resolved": + "https://registry.npmjs.org/pretty-format/-/pretty-format-23.2.0.tgz", + "integrity": "sha1-OwqqY8AYpTWDNzwcs6XZbMXoMBc=", + "requires": { + "ansi-regex": "3.0.0", + "ansi-styles": "3.2.1" + } + } + } + }, + "jest-get-type": { + "version": "22.4.3", + "resolved": + "https://registry.npmjs.org/jest-get-type/-/jest-get-type-22.4.3.tgz", + "integrity": + "sha512-/jsz0Y+V29w1chdXVygEKSz2nBoHoYqNShPe+QgxSNjAuP1i8+k4LbQNrfoliKej0P45sivkSCh7yiD6ubHS3w==" + }, + "jest-matcher-utils": { + "version": "22.4.3", + "resolved": + "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-22.4.3.tgz", + "integrity": + "sha512-lsEHVaTnKzdAPR5t4B6OcxXo9Vy4K+kRRbG5gtddY8lBEC+Mlpvm1CJcsMESRjzUhzkz568exMV1hTB76nAKbA==", + "requires": { + "chalk": "2.4.1", + "jest-get-type": "22.4.3", + "pretty-format": "22.4.3" + } + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": + "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "optional": true + }, + "json-schema": { + "version": "0.2.3", + "resolved": + "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" + }, + "json-stable-stringify": { + "version": "1.0.1", + "resolved": + "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", + "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", + "requires": { + "jsonify": "0.0.0" + } + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": + "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + }, + "jsonfile": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-3.0.1.tgz", + "integrity": "sha1-pezG9l9T9mLEQVx2daAzHQmS7GY=", + "requires": { + "graceful-fs": "4.1.11" + } + }, + "jsonify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", + "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=" + }, + "jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": + "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + } + } + }, + "lazy-ass": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/lazy-ass/-/lazy-ass-1.6.0.tgz", + "integrity": "sha1-eZllXoZGwX8In90YfRUNMyTVRRM=" + }, + "lcid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "requires": { + "invert-kv": "1.0.0" + } + }, + "listr": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/listr/-/listr-0.12.0.tgz", + "integrity": "sha1-a84sD1YD+klYDqF81qAMwOX6RRo=", + "requires": { + "chalk": "1.1.3", + "cli-truncate": "0.2.1", + "figures": "1.7.0", + "indent-string": "2.1.0", + "is-promise": "2.1.0", + "is-stream": "1.1.0", + "listr-silent-renderer": "1.1.1", + "listr-update-renderer": "0.2.0", + "listr-verbose-renderer": "0.4.1", + "log-symbols": "1.0.2", + "log-update": "1.0.2", + "ora": "0.2.3", + "p-map": "1.2.0", + "rxjs": "5.5.11", + "stream-to-observable": "0.1.0", + "strip-ansi": "3.0.1" + }, + "dependencies": { + "ansi-styles": { + "version": "2.2.1", + "resolved": + "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "requires": { + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" + } + }, + "indent-string": { + "version": "2.1.0", + "resolved": + "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", + "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "requires": { + "repeating": "2.0.1" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": + "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + } + } + }, + "listr-silent-renderer": { + "version": "1.1.1", + "resolved": + "https://registry.npmjs.org/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz", + "integrity": "sha1-kktaN1cVN3C/Go4/v3S4u/P5JC4=" + }, + "listr-update-renderer": { + "version": "0.2.0", + "resolved": + "https://registry.npmjs.org/listr-update-renderer/-/listr-update-renderer-0.2.0.tgz", + "integrity": "sha1-yoDhd5tOcCZoB+ju0a1qvjmFUPk=", + "requires": { + "chalk": "1.1.3", + "cli-truncate": "0.2.1", + "elegant-spinner": "1.0.1", + "figures": "1.7.0", + "indent-string": "3.2.0", + "log-symbols": "1.0.2", + "log-update": "1.0.2", + "strip-ansi": "3.0.1" + }, + "dependencies": { + "ansi-styles": { + "version": "2.2.1", + "resolved": + "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "requires": { + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": + "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + } + } + }, + "listr-verbose-renderer": { + "version": "0.4.1", + "resolved": + "https://registry.npmjs.org/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz", + "integrity": "sha1-ggb0z21S3cWCfl/RSYng6WWTOjU=", + "requires": { + "chalk": "1.1.3", + "cli-cursor": "1.0.2", + "date-fns": "1.29.0", + "figures": "1.7.0" + }, + "dependencies": { + "ansi-styles": { + "version": "2.2.1", + "resolved": + "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "requires": { + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": + "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + } + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": + "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "requires": { + "p-locate": "2.0.0", + "path-exists": "3.0.0" + } + }, + "lodash": { + "version": "4.17.4", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", + "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=" + }, + "lodash.isfunction": { + "version": "3.0.9", + "resolved": + "https://registry.npmjs.org/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz", + "integrity": + "sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==" + }, + "lodash.once": { + "version": "4.1.1", + "resolved": + "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" + }, + "log-symbols": { + "version": "1.0.2", + "resolved": + "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", + "integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=", + "requires": { + "chalk": "1.1.3" + }, + "dependencies": { + "ansi-styles": { + "version": "2.2.1", + "resolved": + "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "requires": { + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": + "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + } + } + }, + "log-update": { + "version": "1.0.2", + "resolved": + "https://registry.npmjs.org/log-update/-/log-update-1.0.2.tgz", + "integrity": "sha1-GZKfZMQJPS0ucHWh2tivWcKWuNE=", + "requires": { + "ansi-escapes": "1.4.0", + "cli-cursor": "1.0.2" + } + }, + "loose-envify": { + "version": "1.4.0", + "resolved": + "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": + "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "requires": { + "js-tokens": "4.0.0" + } + }, + "lru-cache": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz", + "integrity": + "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==", + "requires": { + "pseudomap": "1.0.2", + "yallist": "2.1.2" + } + }, + "mem": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", + "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", + "requires": { + "mimic-fn": "1.2.0" + } + }, + "mime-db": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz", + "integrity": + "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==" + }, + "mime-types": { + "version": "2.1.18", + "resolved": + "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz", + "integrity": + "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==", + "requires": { + "mime-db": "1.33.0" + } + }, + "mimic-fn": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", + "integrity": + "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==" + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": + "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "requires": { + "brace-expansion": "1.1.11" + } + }, + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" + }, + "mkdirp": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.0.tgz", + "integrity": "sha1-HXMHam35hs2TROFecfzAWkyavxI=", + "requires": { + "minimist": "0.0.8" + }, + "dependencies": { + "minimist": { + "version": "0.0.8", + "resolved": + "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" + } + } + }, + "mocha": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-5.2.0.tgz", + "integrity": + "sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ==", + "requires": { + "browser-stdout": "1.3.1", + "commander": "2.15.1", + "debug": "3.1.0", + "diff": "3.5.0", + "escape-string-regexp": "1.0.5", + "glob": "7.1.2", + "growl": "1.10.5", + "he": "1.1.1", + "minimatch": "3.0.4", + "mkdirp": "0.5.1", + "supports-color": "5.4.0" + }, + "dependencies": { + "commander": { + "version": "2.15.1", + "resolved": + "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", + "integrity": + "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==" + }, + "minimist": { + "version": "0.0.8", + "resolved": + "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" + }, + "mkdirp": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "requires": { + "minimist": "0.0.8" + } + } + } + }, + "mochawesome": { + "version": "3.0.2", + "resolved": + "https://registry.npmjs.org/mochawesome/-/mochawesome-3.0.2.tgz", + "integrity": + "sha512-2fdl+Y5rSPlslVmuBRjT3829GYj/hh7Cyber+EkIubD60W44EkMR58jPHeopG5eBGgk3HWRl6Rm/g2knDeSbEA==", + "requires": { + "babel-runtime": "6.26.0", + "chalk": "2.4.1", + "diff": "3.5.0", + "json-stringify-safe": "5.0.1", + "lodash": "4.17.4", + "mochawesome-report-generator": "3.1.2", + "strip-ansi": "4.0.0", + "uuid": "3.3.2" + }, + "dependencies": { + "strip-ansi": { + "version": "4.0.0", + "resolved": + "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "requires": { + "ansi-regex": "3.0.0" + } + } + } + }, + "mochawesome-report-generator": { + "version": "3.1.2", + "resolved": + "https://registry.npmjs.org/mochawesome-report-generator/-/mochawesome-report-generator-3.1.2.tgz", + "integrity": + "sha512-tR6yZ72ZzoQrTEhEu04SUQQLDpBbrLoNdbnouygH2hTAcf9EkkMi7+vtWz0PYIc1EUzvb+kUBfZZUjG4zu2OOA==", + "requires": { + "chalk": "2.4.1", + "dateformat": "3.0.3", + "fs-extra": "4.0.3", + "fsu": "1.1.1", + "lodash.isfunction": "3.0.9", + "opener": "1.4.3", + "prop-types": "15.6.2", + "react": "16.4.1", + "react-dom": "16.4.1", + "tcomb": "3.2.27", + "tcomb-validation": "3.4.1", + "validator": "9.4.1", + "yargs": "10.1.2" + }, + "dependencies": { + "fs-extra": { + "version": "4.0.3", + "resolved": + "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz", + "integrity": + "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==", + "requires": { + "graceful-fs": "4.1.11", + "jsonfile": "4.0.0", + "universalify": "0.1.2" + } + }, + "jsonfile": { + "version": "4.0.0", + "resolved": + "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "requires": { + "graceful-fs": "4.1.11" + } + } + } + }, + "mri": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/mri/-/mri-1.1.1.tgz", + "integrity": "sha1-haom09ru7t+A3FmEr5XMXKXK2fE=", + "dev": true + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "mutationobserver-shim": { + "version": "0.3.2", + "resolved": + "https://registry.npmjs.org/mutationobserver-shim/-/mutationobserver-shim-0.3.2.tgz", + "integrity": "sha1-9NXa56SXGiIHkU+1qQ69UUtlrMo=" + }, + "node-fetch": { + "version": "1.7.3", + "resolved": + "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": + "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "requires": { + "encoding": "0.1.12", + "is-stream": "1.1.0" + } + }, + "normalize-path": { + "version": "1.0.0", + "resolved": + "https://registry.npmjs.org/normalize-path/-/normalize-path-1.0.0.tgz", + "integrity": "sha1-MtDkcvkf80VwHBWoMRAY07CpA3k=", + "dev": true + }, + "npm-run-path": { + "version": "2.0.2", + "resolved": + "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", + "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", + "requires": { + "path-key": "2.0.1" + } + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": + "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" + }, + "oauth-sign": { + "version": "0.8.2", + "resolved": + "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", + "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=" + }, + "object-assign": { + "version": "4.1.1", + "resolved": + "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "requires": { + "wrappy": "1.0.2" + } + }, + "onetime": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", + "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=" + }, + "opener": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/opener/-/opener-1.4.3.tgz", + "integrity": "sha1-XG2ixdflgx6P+jlklQ+NZnSskLg=" + }, + "ora": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/ora/-/ora-0.2.3.tgz", + "integrity": "sha1-N1J9Igrc1Tw5tzVx11QVbV22V6Q=", + "requires": { + "chalk": "1.1.3", + "cli-cursor": "1.0.2", + "cli-spinners": "0.1.2", + "object-assign": "4.1.1" + }, + "dependencies": { + "ansi-styles": { + "version": "2.2.1", + "resolved": + "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "requires": { + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": + "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + } + } + }, + "os-locale": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", + "integrity": + "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", + "requires": { + "execa": "0.7.0", + "lcid": "1.0.0", + "mem": "1.1.0" + } + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" + }, + "p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=" + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": + "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "requires": { + "p-try": "1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "requires": { + "p-limit": "1.3.0" + } + }, + "p-map": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz", + "integrity": + "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==" + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=" + }, + "path-exists": { + "version": "3.0.0", + "resolved": + "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=" + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": + "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" + }, + "path-is-inside": { + "version": "1.0.2", + "resolved": + "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=" + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" + }, + "pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" + }, + "performance-now": { + "version": "0.2.0", + "resolved": + "https://registry.npmjs.org/performance-now/-/performance-now-0.2.0.tgz", + "integrity": "sha1-M+8wxcd9TqIcWlOGnZG1bY8lVeU=" + }, + "prettier": { + "version": "1.13.7", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.13.7.tgz", + "integrity": + "sha512-KIU72UmYPGk4MujZGYMFwinB7lOf2LsDNGSOC8ufevsrPLISrZbNJlWstRi3m0AMuszbH+EFSQ/r6w56RSPK6w==", + "dev": true + }, + "pretty-format": { + "version": "22.4.3", + "resolved": + "https://registry.npmjs.org/pretty-format/-/pretty-format-22.4.3.tgz", + "integrity": + "sha512-S4oT9/sT6MN7/3COoOy+ZJeA92VmOnveLHgrwBE3Z1W5N9S2A1QGNYiE1z75DAENbJrXXUb+OWXhpJcg05QKQQ==", + "requires": { + "ansi-regex": "3.0.0", + "ansi-styles": "3.2.1" + } + }, + "pretty-quick": { + "version": "1.6.0", + "resolved": + "https://registry.npmjs.org/pretty-quick/-/pretty-quick-1.6.0.tgz", + "integrity": + "sha512-bnCmsPy98ERD7VWBO+0y1OGWLfx/DPUjNFN2ZRVyxuGBiic1BXAGgjHsTKgBIbPISdqpP6KBEmRV0Lir4xu/BA==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "execa": "0.8.0", + "find-up": "2.1.0", + "ignore": "3.3.10", + "mri": "1.1.1" + }, + "dependencies": { + "execa": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.8.0.tgz", + "integrity": "sha1-2NdrvBtVIX7RkP1t1J08d07PyNo=", + "dev": true, + "requires": { + "cross-spawn": "5.1.0", + "get-stream": "3.0.0", + "is-stream": "1.1.0", + "npm-run-path": "2.0.2", + "p-finally": "1.0.0", + "signal-exit": "3.0.2", + "strip-eof": "1.0.0" + } + } + } + }, + "process-nextick-args": { + "version": "2.0.0", + "resolved": + "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": + "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==" + }, + "progress": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/progress/-/progress-1.1.8.tgz", + "integrity": "sha1-4mDHj2Fhzdmw5WzD4Khd4Xx6V74=" + }, + "promise": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", + "integrity": + "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "requires": { + "asap": "2.0.6" + } + }, + "prop-types": { + "version": "15.6.2", + "resolved": + "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz", + "integrity": + "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==", + "requires": { + "loose-envify": "1.4.0", + "object-assign": "4.1.1" + } + }, + "pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=" + }, + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" + }, + "qs": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.4.0.tgz", + "integrity": "sha1-E+JtKK1rD/qpExLNO/cI7TUecjM=" + }, + "querystring": { + "version": "0.2.0", + "resolved": + "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" + }, + "ramda": { + "version": "0.24.1", + "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.24.1.tgz", + "integrity": "sha1-w7d1UZfzW43DUCIoJixMkd22uFc=" + }, + "react": { + "version": "16.4.1", + "resolved": "https://registry.npmjs.org/react/-/react-16.4.1.tgz", + "integrity": + "sha512-3GEs0giKp6E0Oh/Y9ZC60CmYgUPnp7voH9fbjWsvXtYFb4EWtgQub0ADSq0sJR0BbHc4FThLLtzlcFaFXIorwg==", + "requires": { + "fbjs": "0.8.17", + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "prop-types": "15.6.2" + } + }, + "react-dom": { + "version": "16.4.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.4.1.tgz", + "integrity": + "sha512-1Gin+wghF/7gl4Cqcvr1DxFX2Osz7ugxSwl6gBqCMpdrxHjIFUS7GYxrFftZ9Ln44FHw0JxCFD9YtZsrbR5/4A==", + "requires": { + "fbjs": "0.8.17", + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "prop-types": "15.6.2" + } + }, + "readable-stream": { + "version": "2.3.6", + "resolved": + "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": + "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "redent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz", + "integrity": "sha1-wbIAe0LVfrE4kHmzyDM2OdXhzKo=", + "requires": { + "indent-string": "3.2.0", + "strip-indent": "2.0.0" + } + }, + "regenerator-runtime": { + "version": "0.11.1", + "resolved": + "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": + "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" + }, + "repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "requires": { + "is-finite": "1.0.2" + } + }, + "request": { + "version": "2.81.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.81.0.tgz", + "integrity": "sha1-xpKJRqDgbF+Nb4qTM0af/aRimKA=", + "requires": { + "aws-sign2": "0.6.0", + "aws4": "1.7.0", + "caseless": "0.12.0", + "combined-stream": "1.0.6", + "extend": "3.0.1", + "forever-agent": "0.6.1", + "form-data": "2.1.4", + "har-validator": "4.2.1", + "hawk": "3.1.3", + "http-signature": "1.1.1", + "is-typedarray": "1.0.0", + "isstream": "0.1.2", + "json-stringify-safe": "5.0.1", + "mime-types": "2.1.18", + "oauth-sign": "0.8.2", + "performance-now": "0.2.0", + "qs": "6.4.0", + "safe-buffer": "5.1.2", + "stringstream": "0.0.6", + "tough-cookie": "2.3.4", + "tunnel-agent": "0.6.0", + "uuid": "3.3.2" + } + }, + "request-progress": { + "version": "0.3.1", + "resolved": + "https://registry.npmjs.org/request-progress/-/request-progress-0.3.1.tgz", + "integrity": "sha1-ByHBBdipasayzossia4tXs/Pazo=", + "requires": { + "throttleit": "0.0.2" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": + "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" + }, + "require-main-filename": { + "version": "1.0.1", + "resolved": + "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", + "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=" + }, + "resolve-url": { + "version": "0.2.1", + "resolved": + "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=" + }, + "restore-cursor": { + "version": "1.0.1", + "resolved": + "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", + "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", + "requires": { + "exit-hook": "1.1.1", + "onetime": "1.1.0" + } + }, + "rxjs": { + "version": "5.5.11", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.11.tgz", + "integrity": + "sha512-3bjO7UwWfA2CV7lmwYMBzj4fQ6Cq+ftHc2MvUe+WMS7wcdJ1LosDWmdjPQanYp2dBRj572p7PeU81JUxHKOcBA==", + "requires": { + "symbol-observable": "1.0.1" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": + "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": + "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": + "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": + "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "set-blocking": { + "version": "2.0.0", + "resolved": + "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" + }, + "setimmediate": { + "version": "1.0.5", + "resolved": + "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" + }, + "shebang-command": { + "version": "1.2.0", + "resolved": + "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "requires": { + "shebang-regex": "1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": + "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=" + }, + "signal-exit": { + "version": "3.0.2", + "resolved": + "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" + }, + "slice-ansi": { + "version": "0.0.4", + "resolved": + "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", + "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=" + }, + "sntp": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", + "integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=", + "requires": { + "hoek": "2.16.3" + } + }, + "source-map": { + "version": "0.1.43", + "resolved": + "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", + "integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=", + "requires": { + "amdefine": "1.0.1" + } + }, + "source-map-resolve": { + "version": "0.5.2", + "resolved": + "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", + "integrity": + "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", + "requires": { + "atob": "2.1.1", + "decode-uri-component": "0.2.0", + "resolve-url": "0.2.1", + "source-map-url": "0.4.0", + "urix": "0.1.0" + } + }, + "source-map-url": { + "version": "0.4.0", + "resolved": + "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", + "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=" + }, + "sshpk": { + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.2.tgz", + "integrity": "sha1-xvxhZIo9nE52T9P8306hBeSSupg=", + "requires": { + "asn1": "0.2.3", + "assert-plus": "1.0.0", + "bcrypt-pbkdf": "1.0.2", + "dashdash": "1.14.1", + "ecc-jsbn": "0.1.1", + "getpass": "0.1.7", + "jsbn": "0.1.1", + "safer-buffer": "2.1.2", + "tweetnacl": "0.14.5" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": + "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + } + } + }, + "stream-to-observable": { + "version": "0.1.0", + "resolved": + "https://registry.npmjs.org/stream-to-observable/-/stream-to-observable-0.1.0.tgz", + "integrity": "sha1-Rb8dny19wJvtgfHDB8Qw5ouEz/4=" + }, + "string-width": { + "version": "1.0.2", + "resolved": + "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": + "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": + "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "requires": { + "safe-buffer": "5.1.2" + } + }, + "stringstream": { + "version": "0.0.6", + "resolved": + "https://registry.npmjs.org/stringstream/-/stringstream-0.0.6.tgz", + "integrity": + "sha512-87GEBAkegbBcweToUrdzf3eLhWNg06FJTebl4BVJz/JgWy8CvEr9dRtX5qWphiynMSQlxxi+QqN0z5T32SLlhA==" + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": + "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "requires": { + "ansi-regex": "2.1.1" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "resolved": + "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" + } + } + }, + "strip-eof": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=" + }, + "strip-indent": { + "version": "2.0.0", + "resolved": + "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz", + "integrity": "sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=" + }, + "supports-color": { + "version": "5.4.0", + "resolved": + "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", + "integrity": + "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", + "requires": { + "has-flag": "3.0.0" + } + }, + "symbol-observable": { + "version": "1.0.1", + "resolved": + "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz", + "integrity": "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=" + }, + "tcomb": { + "version": "3.2.27", + "resolved": "https://registry.npmjs.org/tcomb/-/tcomb-3.2.27.tgz", + "integrity": + "sha512-XWdJW7F/M3YzXhDEUP8ycmNWoYymBtsHwCHoda0YF44RthJsls95TqDrmpAlC1sB/KXaCvkdBlcNRq+AaV6klA==" + }, + "tcomb-validation": { + "version": "3.4.1", + "resolved": + "https://registry.npmjs.org/tcomb-validation/-/tcomb-validation-3.4.1.tgz", + "integrity": + "sha512-urVVMQOma4RXwiVCa2nM2eqrAomHROHvWPuj6UkDGz/eb5kcy0x6P0dVt6kzpUZtYMNoAqJLWmz1BPtxrtjtrA==", + "requires": { + "tcomb": "3.2.27" + } + }, + "throttleit": { + "version": "0.0.2", + "resolved": + "https://registry.npmjs.org/throttleit/-/throttleit-0.0.2.tgz", + "integrity": "sha1-z+34jmDADdlpe2H90qg0OptoDq8=" + }, + "tmp": { + "version": "0.0.31", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.31.tgz", + "integrity": "sha1-jzirlDjhcxXl29izZX6L+yd65Kc=", + "requires": { + "os-tmpdir": "1.0.2" + } + }, + "tough-cookie": { + "version": "2.3.4", + "resolved": + "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.4.tgz", + "integrity": + "sha512-TZ6TTfI5NtZnuyy/Kecv+CnoROnyXn2DN97LontgQpCwsX2XyLYCC0ENhYkehSOwAp8rTQKc/NUIF7BkQ5rKLA==", + "requires": { + "punycode": "1.4.1" + } + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": + "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "requires": { + "safe-buffer": "5.1.2" + } + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "optional": true + }, + "typedarray": { + "version": "0.0.6", + "resolved": + "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" + }, + "ua-parser-js": { + "version": "0.7.18", + "resolved": + "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.18.tgz", + "integrity": + "sha512-LtzwHlVHwFGTptfNSgezHp7WUlwiqb0gA9AALRbKaERfxwJoiX0A73QbTToxteIAuIaFshhgIZfqK8s7clqgnA==" + }, + "universalify": { + "version": "0.1.2", + "resolved": + "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": + "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" + }, + "urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=" + }, + "url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + }, + "dependencies": { + "punycode": { + "version": "1.3.2", + "resolved": + "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" + } + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": + "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": + "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" + }, + "validator": { + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/validator/-/validator-9.4.1.tgz", + "integrity": + "sha512-YV5KjzvRmSyJ1ee/Dm5UED0G+1L4GZnLN3w6/T+zZm8scVua4sOhYKWTUrKa0H/tMiJyO9QLHMPN+9mB/aMunA==" + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "requires": { + "assert-plus": "1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "1.3.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": + "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + } + } + }, + "wait-for-expect": { + "version": "0.4.0", + "resolved": + "https://registry.npmjs.org/wait-for-expect/-/wait-for-expect-0.4.0.tgz", + "integrity": + "sha512-itHoJUKL5P8abjhWRlp3F5QLDY7LokcJkgD78tjrX08ozBakfy9YD4bgxUVuSld8yqjza3ld6Sj7UMMOH/twFA==" + }, + "whatwg-fetch": { + "version": "2.0.4", + "resolved": + "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz", + "integrity": + "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng==" + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": + "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "requires": { + "isexe": "2.0.0" + } + }, + "which-module": { + "version": "2.0.0", + "resolved": + "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=" + }, + "wrap-ansi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", + "requires": { + "string-width": "1.0.2", + "strip-ansi": "3.0.1" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "y18n": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=" + }, + "yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=" + }, + "yargs": { + "version": "10.1.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-10.1.2.tgz", + "integrity": + "sha512-ivSoxqBGYOqQVruxD35+EyCFDYNEFL/Uo6FcOnz+9xZdZzK0Zzw4r4KhbrME1Oo2gOggwJod2MnsdamSG7H9ig==", + "requires": { + "cliui": "4.1.0", + "decamelize": "1.2.0", + "find-up": "2.1.0", + "get-caller-file": "1.0.3", + "os-locale": "2.1.0", + "require-directory": "2.1.1", + "require-main-filename": "1.0.1", + "set-blocking": "2.0.0", + "string-width": "2.1.1", + "which-module": "2.0.0", + "y18n": "3.2.1", + "yargs-parser": "8.1.0" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": + "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" + }, + "string-width": { + "version": "2.1.1", + "resolved": + "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": + "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "requires": { + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": + "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "requires": { + "ansi-regex": "3.0.0" + } + } + } + }, + "yargs-parser": { + "version": "8.1.0", + "resolved": + "https://registry.npmjs.org/yargs-parser/-/yargs-parser-8.1.0.tgz", + "integrity": + "sha512-yP+6QqN8BmrgW2ggLtTbdrOyBNSI7zBa4IykmiV5R1wl1JWNxQvWhMfMdmzIYtKU7oP3OOInY/tl2ov3BDjnJQ==", + "requires": { + "camelcase": "4.1.0" + } + }, + "yauzl": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.8.0.tgz", + "integrity": "sha1-eUUK/yKyqcWkHvVOAtuQfM+/nuI=", + "requires": { + "buffer-crc32": "0.2.13", + "fd-slicer": "1.0.1" + } + } + } +} diff --git a/cypress-docker/test/src/package.json b/cypress-docker/test/src/package.json new file mode 100644 index 0000000..8d8b8d3 --- /dev/null +++ b/cypress-docker/test/src/package.json @@ -0,0 +1,31 @@ +{ + "name": "src", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "cy:run": "cypress run", + "cy:open": + "cypress open --config baseUrl=http://localhost:4300/#/ --env backendUrl=http://localhost:8446/", + "cy:report": "cypress run --reporter mochawesome", + "cy:only": "stop-only cypress", + "cy:verify": "cypress verify", + "precommit": "pretty-quick --staged" + }, + "keywords": [], + "author": "", + "license": "ISC", + "dependencies": { + "cypress": "^2.1.0", + "cypress-testing-library": "^2.2.0", + "mocha": "^5.2.0", + "mochawesome": "^3.0.2" + }, + "devDependencies": { + "cypress-testing-library": "^2.2.0", + "husky": "^0.14.3", + "prettier": "^1.12.1", + "pretty-quick": "^1.5.1", + "stop-only": "^1.2.1" + } +} diff --git a/cypress-docker/test/src/yarn-error.log b/cypress-docker/test/src/yarn-error.log new file mode 100644 index 0000000..d320930 --- /dev/null +++ b/cypress-docker/test/src/yarn-error.log @@ -0,0 +1,1058 @@ +Arguments: + C:\Program Files\nodejs\node.exe C:\Program Files (x86)\Yarn\bin\yarn.js add mochawesome + +PATH: + C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\cygdrive\c\Users\ym903w\.local\bin;C:\Users\ym903w\.windows-build-tools\python27;C:\Users\ym903w\.windows-build-tools\python27\Scripts;C:\OCaml\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\RSA SecurID Token Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\ProgramData\chocolatey\bin;C:\Program Files\Java\jdk1.8.0_131\bin;C:\Program Files\PuTTY;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\tools\go\bin;C:\Go\bin;C:\HashiCorp\Vagrant\bin;C:\Program Files\Git\cmd;C:\ProgramData\nvm;C:\Program Files\nodejs;C:\Android\android-sdk\tools;C:\Android\android-sdk\platform-tools;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\dotnet;C:\ProgramData\chocolatey\lib\Elixir\bin;C:\Program Files\Rust stable GNU 1.23\bin;C:\Program Files\PostgreSQL\9.6\data\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit;C:\Program Files\nodejs;C:\Program Files (x86)\Yarn\bin;C:\Users\ym903w\.cargo\bin;C:\Program Files (x86)\Elm Platform\0.18\bin;C:\Python35\Scripts;C:\Python35;C:\Program Files\Oracle\VirtualBox;C:\Program Files\MongoDB\Server\3.2\bin;C:\Program Files\Docker Toolbox;C:\Users\ym903w\.babun;C:\Program Files\kdiff3;C:\Users\ym903w\AppData\Roaming\Dashlane\5.2.0.12122\bin\Firefox_Extension\{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\components;C:\Users\ym903w\AppData\Roaming\Dashlane\5.2.0.12122\ucrt;C:\Users\ym903w\AppData\Local\Programs\Fiddler;C:\Users\ym903w\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin;C:\Program Files\Microsoft VS Code Insiders\bin;C:\Users\ym903w\AppData\Roaming\npm;C:\Users\ym903w\AppData\Local\Yarn\bin;C:\Users\ym903w\AppData\Roaming\Dashlane\5.12.0.19744\bin\Firefox_Extension\{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\components;C:\Users\ym903w\AppData\Roaming\Dashlane\5.12.0.19744\ucrt;C:\Users\ym903w\AppData\Local\Yarn + +Yarn version: + 1.6.0 + +Node version: + 9.11.1 + +Platform: + win32 x64 + +Trace: + Error: connect ETIMEDOUT 104.16.59.173:443 + at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1174:14) + +npm manifest: + { + "name": "src", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": "", + "license": "ISC", + "dependencies": { + "cypress": "^2.1.0" + } + } + +yarn manifest: + No manifest + +Lockfile: + # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + # yarn lockfile v1 + + + "@cypress/listr-verbose-renderer@0.4.1": + version "0.4.1" + resolved "https://registry.yarnpkg.com/@cypress/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz#a77492f4b11dcc7c446a34b3e28721afd33c642a" + dependencies: + chalk "^1.1.3" + cli-cursor "^1.0.2" + date-fns "^1.27.2" + figures "^1.7.0" + + "@cypress/xvfb@1.1.3": + version "1.1.3" + resolved "https://registry.yarnpkg.com/@cypress/xvfb/-/xvfb-1.1.3.tgz#6294a7d1feb751f12302248f2089fc534c4acb7f" + dependencies: + lodash.once "^4.1.1" + + "@types/blob-util@1.3.3": + version "1.3.3" + resolved "https://registry.yarnpkg.com/@types/blob-util/-/blob-util-1.3.3.tgz#adba644ae34f88e1dd9a5864c66ad651caaf628a" + + "@types/bluebird@3.5.18": + version "3.5.18" + resolved "https://registry.yarnpkg.com/@types/bluebird/-/bluebird-3.5.18.tgz#6a60435d4663e290f3709898a4f75014f279c4d6" + + "@types/chai-jquery@1.1.35": + version "1.1.35" + resolved "https://registry.yarnpkg.com/@types/chai-jquery/-/chai-jquery-1.1.35.tgz#9a8f0a39ec0851b2768a8f8c764158c2a2568d04" + dependencies: + "@types/chai" "*" + "@types/jquery" "*" + + "@types/chai@*": + version "4.1.3" + resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.1.3.tgz#b8a74352977a23b604c01aa784f5b793443fb7dc" + + "@types/chai@4.0.8": + version "4.0.8" + resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.0.8.tgz#d27600e9ba2f371e08695d90a0fe0408d89c7be7" + + "@types/jquery@*": + version "3.3.2" + resolved "https://registry.yarnpkg.com/@types/jquery/-/jquery-3.3.2.tgz#8700226bdde24b6f98e3a60126dbaab3b2a3ab41" + + "@types/jquery@3.2.16": + version "3.2.16" + resolved "https://registry.yarnpkg.com/@types/jquery/-/jquery-3.2.16.tgz#04419c404a3194350e7d3f339a90e72c88db3111" + + "@types/lodash@4.14.87": + version "4.14.87" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.87.tgz#55f92183b048c2c64402afe472f8333f4e319a6b" + + "@types/minimatch@3.0.1": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.1.tgz#b683eb60be358304ef146f5775db4c0e3696a550" + + "@types/mocha@2.2.44": + version "2.2.44" + resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-2.2.44.tgz#1d4a798e53f35212fd5ad4d04050620171cd5b5e" + + "@types/sinon-chai@2.7.29": + version "2.7.29" + resolved "https://registry.yarnpkg.com/@types/sinon-chai/-/sinon-chai-2.7.29.tgz#4db01497e2dd1908b2bd30d1782f456353f5f723" + dependencies: + "@types/chai" "*" + "@types/sinon" "*" + + "@types/sinon@*": + version "4.3.3" + resolved "https://registry.yarnpkg.com/@types/sinon/-/sinon-4.3.3.tgz#97cbbfddc3282b5fd40c7abf80b99db426fd4237" + + "@types/sinon@4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@types/sinon/-/sinon-4.0.0.tgz#9a93ffa4ee1329e85166278a5ed99f81dc4c8362" + + ajv@^4.9.1: + version "4.11.8" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536" + dependencies: + co "^4.6.0" + json-stable-stringify "^1.0.1" + + ansi-escapes@^1.0.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" + + ansi-regex@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" + + ansi-styles@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" + + ansi-styles@^3.1.0: + version "3.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + dependencies: + color-convert "^1.9.0" + + asn1@~0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" + + assert-plus@1.0.0, assert-plus@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" + + assert-plus@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" + + async@2.1.4: + version "2.1.4" + resolved "https://registry.yarnpkg.com/async/-/async-2.1.4.tgz#2d2160c7788032e4dd6cbe2502f1f9a2c8f6cde4" + dependencies: + lodash "^4.14.0" + + asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + + aws-sign2@~0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" + + aws4@^1.2.1: + version "1.7.0" + resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.7.0.tgz#d4d0e9b9dbfca77bf08eeb0a8a471550fe39e289" + + babel-runtime@^6.18.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" + dependencies: + core-js "^2.4.0" + regenerator-runtime "^0.11.0" + + balanced-match@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" + + bcrypt-pbkdf@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" + dependencies: + tweetnacl "^0.14.3" + + bluebird@3.5.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.0.tgz#791420d7f551eea2897453a8a77653f96606d67c" + + boom@2.x.x: + version "2.10.1" + resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" + dependencies: + hoek "2.x.x" + + brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + + buffer-crc32@~0.2.3: + version "0.2.13" + resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" + + caseless@~0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" + + chalk@2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.1.0.tgz#ac5becf14fa21b99c6c92ca7a7d7cfd5b17e743e" + dependencies: + ansi-styles "^3.1.0" + escape-string-regexp "^1.0.5" + supports-color "^4.0.0" + + chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" + dependencies: + ansi-styles "^2.2.1" + escape-string-regexp "^1.0.2" + has-ansi "^2.0.0" + strip-ansi "^3.0.0" + supports-color "^2.0.0" + + check-more-types@2.24.0: + version "2.24.0" + resolved "https://registry.yarnpkg.com/check-more-types/-/check-more-types-2.24.0.tgz#1420ffb10fd444dcfc79b43891bbfffd32a84600" + + ci-info@^1.0.0: + version "1.1.3" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.1.3.tgz#710193264bb05c77b8c90d02f5aaf22216a667b2" + + cli-cursor@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987" + dependencies: + restore-cursor "^1.0.1" + + cli-spinners@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-0.1.2.tgz#bb764d88e185fb9e1e6a2a1f19772318f605e31c" + + cli-truncate@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574" + dependencies: + slice-ansi "0.0.4" + string-width "^1.0.1" + + co@^4.6.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" + + code-point-at@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" + + color-convert@^1.9.0: + version "1.9.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed" + dependencies: + color-name "^1.1.1" + + color-name@^1.1.1: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + + combined-stream@^1.0.5, combined-stream@~1.0.5: + version "1.0.6" + resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.6.tgz#723e7df6e801ac5613113a7e445a9b69cb632818" + dependencies: + delayed-stream "~1.0.0" + + commander@2.11.0: + version "2.11.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563" + + common-tags@1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.4.0.tgz#1187be4f3d4cf0c0427d43f74eef1f73501614c0" + dependencies: + babel-runtime "^6.18.0" + + concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + + concat-stream@1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7" + dependencies: + inherits "^2.0.3" + readable-stream "^2.2.2" + typedarray "^0.0.6" + + core-js@^2.4.0: + version "2.5.6" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.6.tgz#0fe6d45bf3cac3ac364a9d72de7576f4eb221b9d" + + core-util-is@1.0.2, core-util-is@~1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" + + cryptiles@2.x.x: + version "2.0.5" + resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" + dependencies: + boom "2.x.x" + + cypress@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-2.1.0.tgz#a8bd7d9b89c38a1e380db83b57d9bba0dbb95ba4" + dependencies: + "@cypress/listr-verbose-renderer" "0.4.1" + "@cypress/xvfb" "1.1.3" + "@types/blob-util" "1.3.3" + "@types/bluebird" "3.5.18" + "@types/chai" "4.0.8" + "@types/chai-jquery" "1.1.35" + "@types/jquery" "3.2.16" + "@types/lodash" "4.14.87" + "@types/minimatch" "3.0.1" + "@types/mocha" "2.2.44" + "@types/sinon" "4.0.0" + "@types/sinon-chai" "2.7.29" + bluebird "3.5.0" + chalk "2.1.0" + check-more-types "2.24.0" + commander "2.11.0" + common-tags "1.4.0" + debug "3.1.0" + extract-zip "1.6.6" + fs-extra "4.0.1" + getos "2.8.4" + glob "7.1.2" + is-ci "1.0.10" + is-installed-globally "0.1.0" + lazy-ass "1.6.0" + listr "0.12.0" + lodash "4.17.4" + minimist "1.2.0" + progress "1.1.8" + ramda "0.24.1" + request "2.81.0" + request-progress "0.3.1" + supports-color "5.1.0" + tmp "0.0.31" + url "0.11.0" + yauzl "2.8.0" + + dashdash@^1.12.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" + dependencies: + assert-plus "^1.0.0" + + date-fns@^1.27.2: + version "1.29.0" + resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.29.0.tgz#12e609cdcb935127311d04d33334e2960a2a54e6" + + debug@2.6.9: + version "2.6.9" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" + dependencies: + ms "2.0.0" + + debug@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" + dependencies: + ms "2.0.0" + + delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + + ecc-jsbn@~0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" + dependencies: + jsbn "~0.1.0" + + elegant-spinner@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e" + + escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + + exit-hook@^1.0.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/exit-hook/-/exit-hook-1.1.1.tgz#f05ca233b48c05d54fff07765df8507e95c02ff8" + + extend@~3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" + + extract-zip@1.6.6: + version "1.6.6" + resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-1.6.6.tgz#1290ede8d20d0872b429fd3f351ca128ec5ef85c" + dependencies: + concat-stream "1.6.0" + debug "2.6.9" + mkdirp "0.5.0" + yauzl "2.4.1" + + extsprintf@1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" + + extsprintf@^1.2.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" + + fd-slicer@~1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.0.1.tgz#8b5bcbd9ec327c5041bf9ab023fd6750f1177e65" + dependencies: + pend "~1.2.0" + + figures@^1.7.0: + version "1.7.0" + resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" + dependencies: + escape-string-regexp "^1.0.5" + object-assign "^4.1.0" + + forever-agent@~0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" + + form-data@~2.1.1: + version "2.1.4" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.4.tgz#33c183acf193276ecaa98143a69e94bfee1750d1" + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.5" + mime-types "^2.1.12" + + fs-extra@4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.1.tgz#7fc0c6c8957f983f57f306a24e5b9ddd8d0dd880" + dependencies: + graceful-fs "^4.1.2" + jsonfile "^3.0.0" + universalify "^0.1.0" + + fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + + getos@2.8.4: + version "2.8.4" + resolved "https://registry.yarnpkg.com/getos/-/getos-2.8.4.tgz#7b8603d3619c28e38cb0fe7a4f63c3acb80d5163" + dependencies: + async "2.1.4" + + getpass@^0.1.1: + version "0.1.7" + resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" + dependencies: + assert-plus "^1.0.0" + + glob@7.1.2: + version "7.1.2" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + + global-dirs@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" + dependencies: + ini "^1.3.4" + + graceful-fs@^4.1.2, graceful-fs@^4.1.6: + version "4.1.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" + + har-schema@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-1.0.5.tgz#d263135f43307c02c602afc8fe95970c0151369e" + + har-validator@~4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a" + dependencies: + ajv "^4.9.1" + har-schema "^1.0.5" + + has-ansi@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" + dependencies: + ansi-regex "^2.0.0" + + has-flag@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" + + hawk@~3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" + dependencies: + boom "2.x.x" + cryptiles "2.x.x" + hoek "2.x.x" + sntp "1.x.x" + + hoek@2.x.x: + version "2.16.3" + resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" + + http-signature@~1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" + dependencies: + assert-plus "^0.2.0" + jsprim "^1.2.2" + sshpk "^1.7.0" + + indent-string@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-2.1.0.tgz#8e2d48348742121b4a8218b7a137e9a52049dc80" + dependencies: + repeating "^2.0.0" + + indent-string@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289" + + inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + dependencies: + once "^1.3.0" + wrappy "1" + + inherits@2, inherits@^2.0.3, inherits@~2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" + + ini@^1.3.4: + version "1.3.5" + resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" + + is-ci@1.0.10: + version "1.0.10" + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.0.10.tgz#f739336b2632365061a9d48270cd56ae3369318e" + dependencies: + ci-info "^1.0.0" + + is-finite@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" + dependencies: + number-is-nan "^1.0.0" + + is-fullwidth-code-point@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" + dependencies: + number-is-nan "^1.0.0" + + is-installed-globally@0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.1.0.tgz#0dfd98f5a9111716dd535dda6492f67bf3d25a80" + dependencies: + global-dirs "^0.1.0" + is-path-inside "^1.0.0" + + is-path-inside@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" + dependencies: + path-is-inside "^1.0.1" + + is-promise@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" + + is-stream@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" + + is-typedarray@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" + + isarray@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" + + isstream@~0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" + + jsbn@~0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" + + json-schema@0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" + + json-stable-stringify@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" + dependencies: + jsonify "~0.0.0" + + json-stringify-safe@~5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" + + jsonfile@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-3.0.1.tgz#a5ecc6f65f53f662c4415c7675a0331d0992ec66" + optionalDependencies: + graceful-fs "^4.1.6" + + jsonify@~0.0.0: + version "0.0.0" + resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" + + jsprim@^1.2.2: + version "1.4.1" + resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" + dependencies: + assert-plus "1.0.0" + extsprintf "1.3.0" + json-schema "0.2.3" + verror "1.10.0" + + lazy-ass@1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/lazy-ass/-/lazy-ass-1.6.0.tgz#7999655e8646c17f089fdd187d150d3324d54513" + + listr-silent-renderer@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz#924b5a3757153770bf1a8e3fbf74b8bbf3f9242e" + + listr-update-renderer@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/listr-update-renderer/-/listr-update-renderer-0.2.0.tgz#ca80e1779b4e70266807e8eed1ad6abe398550f9" + dependencies: + chalk "^1.1.3" + cli-truncate "^0.2.1" + elegant-spinner "^1.0.1" + figures "^1.7.0" + indent-string "^3.0.0" + log-symbols "^1.0.2" + log-update "^1.0.2" + strip-ansi "^3.0.1" + + listr-verbose-renderer@^0.4.0: + version "0.4.1" + resolved "https://registry.yarnpkg.com/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz#8206f4cf6d52ddc5827e5fd14989e0e965933a35" + dependencies: + chalk "^1.1.3" + cli-cursor "^1.0.2" + date-fns "^1.27.2" + figures "^1.7.0" + + listr@0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/listr/-/listr-0.12.0.tgz#6bce2c0f5603fa49580ea17cd6a00cc0e5fa451a" + dependencies: + chalk "^1.1.3" + cli-truncate "^0.2.1" + figures "^1.7.0" + indent-string "^2.1.0" + is-promise "^2.1.0" + is-stream "^1.1.0" + listr-silent-renderer "^1.1.1" + listr-update-renderer "^0.2.0" + listr-verbose-renderer "^0.4.0" + log-symbols "^1.0.2" + log-update "^1.0.2" + ora "^0.2.3" + p-map "^1.1.1" + rxjs "^5.0.0-beta.11" + stream-to-observable "^0.1.0" + strip-ansi "^3.0.1" + + lodash.once@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac" + + lodash@4.17.4: + version "4.17.4" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" + + lodash@^4.14.0: + version "4.17.10" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7" + + log-symbols@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18" + dependencies: + chalk "^1.0.0" + + log-update@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/log-update/-/log-update-1.0.2.tgz#19929f64c4093d2d2e7075a1dad8af59c296b8d1" + dependencies: + ansi-escapes "^1.0.0" + cli-cursor "^1.0.2" + + mime-db@~1.33.0: + version "1.33.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788d2272783db" + + mime-types@^2.1.12, mime-types@~2.1.7: + version "2.1.18" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8" + dependencies: + mime-db "~1.33.0" + + minimatch@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" + dependencies: + brace-expansion "^1.1.7" + + minimist@0.0.8: + version "0.0.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" + + minimist@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" + + mkdirp@0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.0.tgz#1d73076a6df986cd9344e15e71fcc05a4c9abf12" + dependencies: + minimist "0.0.8" + + ms@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" + + number-is-nan@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" + + oauth-sign@~0.8.1: + version "0.8.2" + resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" + + object-assign@^4.0.1, object-assign@^4.1.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + + once@^1.3.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + dependencies: + wrappy "1" + + onetime@^1.0.0: + version "1.1.0" + resolved "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789" + + ora@^0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/ora/-/ora-0.2.3.tgz#37527d220adcd53c39b73571d754156d5db657a4" + dependencies: + chalk "^1.1.1" + cli-cursor "^1.0.2" + cli-spinners "^0.1.2" + object-assign "^4.0.1" + + os-tmpdir@~1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" + + p-map@^1.1.1: + version "1.2.0" + resolved "https://registry.yarnpkg.com/p-map/-/p-map-1.2.0.tgz#e4e94f311eabbc8633a1e79908165fca26241b6b" + + path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + + path-is-inside@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" + + pend@~1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" + + performance-now@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5" + + process-nextick-args@~2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa" + + progress@1.1.8: + version "1.1.8" + resolved "https://registry.yarnpkg.com/progress/-/progress-1.1.8.tgz#e260c78f6161cdd9b0e56cc3e0a85de17c7a57be" + + punycode@1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" + + punycode@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" + + qs@~6.4.0: + version "6.4.0" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" + + querystring@0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" + + ramda@0.24.1: + version "0.24.1" + resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.24.1.tgz#c3b7755197f35b8dc3502228262c4c91ddb6b857" + + readable-stream@^2.2.2: + version "2.3.6" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.3" + isarray "~1.0.0" + process-nextick-args "~2.0.0" + safe-buffer "~5.1.1" + string_decoder "~1.1.1" + util-deprecate "~1.0.1" + + regenerator-runtime@^0.11.0: + version "0.11.1" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" + + repeating@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" + dependencies: + is-finite "^1.0.0" + + request-progress@0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/request-progress/-/request-progress-0.3.1.tgz#0721c105d8a96ac6b2ce8b2c89ae2d5ecfcf6b3a" + dependencies: + throttleit "~0.0.2" + + request@2.81.0: + version "2.81.0" + resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0" + dependencies: + aws-sign2 "~0.6.0" + aws4 "^1.2.1" + caseless "~0.12.0" + combined-stream "~1.0.5" + extend "~3.0.0" + forever-agent "~0.6.1" + form-data "~2.1.1" + har-validator "~4.2.1" + hawk "~3.1.3" + http-signature "~1.1.0" + is-typedarray "~1.0.0" + isstream "~0.1.2" + json-stringify-safe "~5.0.1" + mime-types "~2.1.7" + oauth-sign "~0.8.1" + performance-now "^0.2.0" + qs "~6.4.0" + safe-buffer "^5.0.1" + stringstream "~0.0.4" + tough-cookie "~2.3.0" + tunnel-agent "^0.6.0" + uuid "^3.0.0" + + restore-cursor@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541" + dependencies: + exit-hook "^1.0.0" + onetime "^1.0.0" + + rxjs@^5.0.0-beta.11: + version "5.5.10" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.10.tgz#fde02d7a614f6c8683d0d1957827f492e09db045" + dependencies: + symbol-observable "1.0.1" + + safe-buffer@^5.0.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1: + version "5.1.2" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" + + slice-ansi@0.0.4: + version "0.0.4" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" + + sntp@1.x.x: + version "1.0.9" + resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" + dependencies: + hoek "2.x.x" + + sshpk@^1.7.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.14.1.tgz#130f5975eddad963f1d56f92b9ac6c51fa9f83eb" + dependencies: + asn1 "~0.2.3" + assert-plus "^1.0.0" + dashdash "^1.12.0" + getpass "^0.1.1" + optionalDependencies: + bcrypt-pbkdf "^1.0.0" + ecc-jsbn "~0.1.1" + jsbn "~0.1.0" + tweetnacl "~0.14.0" + + stream-to-observable@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/stream-to-observable/-/stream-to-observable-0.1.0.tgz#45bf1d9f2d7dc09bed81f1c307c430e68b84cffe" + + string-width@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" + dependencies: + code-point-at "^1.0.0" + is-fullwidth-code-point "^1.0.0" + strip-ansi "^3.0.0" + + string_decoder@~1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" + dependencies: + safe-buffer "~5.1.0" + + stringstream@~0.0.4: + version "0.0.6" + resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.6.tgz#7880225b0d4ad10e30927d167a1d6f2fd3b33a72" + + strip-ansi@^3.0.0, strip-ansi@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" + dependencies: + ansi-regex "^2.0.0" + + supports-color@5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.1.0.tgz#058a021d1b619f7ddf3980d712ea3590ce7de3d5" + dependencies: + has-flag "^2.0.0" + + supports-color@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" + + supports-color@^4.0.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b" + dependencies: + has-flag "^2.0.0" + + symbol-observable@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.1.tgz#8340fc4702c3122df5d22288f88283f513d3fdd4" + + throttleit@~0.0.2: + version "0.0.2" + resolved "https://registry.yarnpkg.com/throttleit/-/throttleit-0.0.2.tgz#cfedf88e60c00dd9697b61fdd2a8343a9b680eaf" + + tmp@0.0.31: + version "0.0.31" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.31.tgz#8f38ab9438e17315e5dbd8b3657e8bfb277ae4a7" + dependencies: + os-tmpdir "~1.0.1" + + tough-cookie@~2.3.0: + version "2.3.4" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.4.tgz#ec60cee38ac675063ffc97a5c18970578ee83655" + dependencies: + punycode "^1.4.1" + + tunnel-agent@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" + dependencies: + safe-buffer "^5.0.1" + + tweetnacl@^0.14.3, tweetnacl@~0.14.0: + version "0.14.5" + resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" + + typedarray@^0.0.6: + version "0.0.6" + resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" + + universalify@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7" + + url@0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" + dependencies: + punycode "1.3.2" + querystring "0.2.0" + + util-deprecate@~1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + + uuid@^3.0.0: + version "3.2.1" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14" + + verror@1.10.0: + version "1.10.0" + resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" + dependencies: + assert-plus "^1.0.0" + core-util-is "1.0.2" + extsprintf "^1.2.0" + + wrappy@1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + + yauzl@2.4.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.4.1.tgz#9528f442dab1b2284e58b4379bb194e22e0c4005" + dependencies: + fd-slicer "~1.0.1" + + yauzl@2.8.0: + version "2.8.0" + resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.8.0.tgz#79450aff22b2a9c5a41ef54e02db907ccfbf9ee2" + dependencies: + buffer-crc32 "~0.2.3" + fd-slicer "~1.0.1" diff --git a/cypress-docker/test/src/yarn.lock b/cypress-docker/test/src/yarn.lock new file mode 100644 index 0000000..f7a640b --- /dev/null +++ b/cypress-docker/test/src/yarn.lock @@ -0,0 +1,1675 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@cypress/listr-verbose-renderer@0.4.1": + version "0.4.1" + resolved "https://registry.yarnpkg.com/@cypress/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz#a77492f4b11dcc7c446a34b3e28721afd33c642a" + dependencies: + chalk "^1.1.3" + cli-cursor "^1.0.2" + date-fns "^1.27.2" + figures "^1.7.0" + +"@cypress/xvfb@1.1.3": + version "1.1.3" + resolved "https://registry.yarnpkg.com/@cypress/xvfb/-/xvfb-1.1.3.tgz#6294a7d1feb751f12302248f2089fc534c4acb7f" + dependencies: + lodash.once "^4.1.1" + +"@types/blob-util@1.3.3": + version "1.3.3" + resolved "https://registry.yarnpkg.com/@types/blob-util/-/blob-util-1.3.3.tgz#adba644ae34f88e1dd9a5864c66ad651caaf628a" + +"@types/bluebird@3.5.18": + version "3.5.18" + resolved "https://registry.yarnpkg.com/@types/bluebird/-/bluebird-3.5.18.tgz#6a60435d4663e290f3709898a4f75014f279c4d6" + +"@types/chai-jquery@1.1.35": + version "1.1.35" + resolved "https://registry.yarnpkg.com/@types/chai-jquery/-/chai-jquery-1.1.35.tgz#9a8f0a39ec0851b2768a8f8c764158c2a2568d04" + dependencies: + "@types/chai" "*" + "@types/jquery" "*" + +"@types/chai@*": + version "4.1.3" + resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.1.3.tgz#b8a74352977a23b604c01aa784f5b793443fb7dc" + +"@types/chai@4.0.8": + version "4.0.8" + resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.0.8.tgz#d27600e9ba2f371e08695d90a0fe0408d89c7be7" + +"@types/jquery@*": + version "3.3.2" + resolved "https://registry.yarnpkg.com/@types/jquery/-/jquery-3.3.2.tgz#8700226bdde24b6f98e3a60126dbaab3b2a3ab41" + +"@types/jquery@3.2.16": + version "3.2.16" + resolved "https://registry.yarnpkg.com/@types/jquery/-/jquery-3.2.16.tgz#04419c404a3194350e7d3f339a90e72c88db3111" + +"@types/lodash@4.14.87": + version "4.14.87" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.87.tgz#55f92183b048c2c64402afe472f8333f4e319a6b" + +"@types/minimatch@3.0.1": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.1.tgz#b683eb60be358304ef146f5775db4c0e3696a550" + +"@types/mocha@2.2.44": + version "2.2.44" + resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-2.2.44.tgz#1d4a798e53f35212fd5ad4d04050620171cd5b5e" + +"@types/sinon-chai@2.7.29": + version "2.7.29" + resolved "https://registry.yarnpkg.com/@types/sinon-chai/-/sinon-chai-2.7.29.tgz#4db01497e2dd1908b2bd30d1782f456353f5f723" + dependencies: + "@types/chai" "*" + "@types/sinon" "*" + +"@types/sinon@*": + version "4.3.3" + resolved "https://registry.yarnpkg.com/@types/sinon/-/sinon-4.3.3.tgz#97cbbfddc3282b5fd40c7abf80b99db426fd4237" + +"@types/sinon@4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@types/sinon/-/sinon-4.0.0.tgz#9a93ffa4ee1329e85166278a5ed99f81dc4c8362" + +ajv@^4.9.1: + version "4.11.8" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536" + dependencies: + co "^4.6.0" + json-stable-stringify "^1.0.1" + +amdefine@>=0.0.4: + version "1.0.1" + resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" + +ansi-escapes@^1.0.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" + +ansi-regex@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" + +ansi-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" + +ansi-styles@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" + +ansi-styles@^3.1.0, ansi-styles@^3.2.0, ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + dependencies: + color-convert "^1.9.0" + +asap@~2.0.3: + version "2.0.6" + resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" + +asn1@~0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" + +assert-plus@1.0.0, assert-plus@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" + +assert-plus@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" + +async@2.1.4: + version "2.1.4" + resolved "https://registry.yarnpkg.com/async/-/async-2.1.4.tgz#2d2160c7788032e4dd6cbe2502f1f9a2c8f6cde4" + dependencies: + lodash "^4.14.0" + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + +atob@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.1.tgz#ae2d5a729477f289d60dd7f96a6314a22dd6c22a" + +aws-sign2@~0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" + +aws4@^1.2.1: + version "1.7.0" + resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.7.0.tgz#d4d0e9b9dbfca77bf08eeb0a8a471550fe39e289" + +babel-runtime@^6.18.0, babel-runtime@^6.20.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" + dependencies: + core-js "^2.4.0" + regenerator-runtime "^0.11.0" + +balanced-match@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" + +bcrypt-pbkdf@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" + dependencies: + tweetnacl "^0.14.3" + +bluebird@3.5.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.0.tgz#791420d7f551eea2897453a8a77653f96606d67c" + +boom@2.x.x: + version "2.10.1" + resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" + dependencies: + hoek "2.x.x" + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +browser-stdout@1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60" + +buffer-crc32@~0.2.3: + version "0.2.13" + resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" + +camelcase@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" + +caseless@~0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" + +chalk@2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.1.0.tgz#ac5becf14fa21b99c6c92ca7a7d7cfd5b17e743e" + dependencies: + ansi-styles "^3.1.0" + escape-string-regexp "^1.0.5" + supports-color "^4.0.0" + +chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" + dependencies: + ansi-styles "^2.2.1" + escape-string-regexp "^1.0.2" + has-ansi "^2.0.0" + strip-ansi "^3.0.0" + supports-color "^2.0.0" + +chalk@^2.0.1, chalk@^2.3.0, chalk@^2.4.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e" + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +check-more-types@2.24.0: + version "2.24.0" + resolved "https://registry.yarnpkg.com/check-more-types/-/check-more-types-2.24.0.tgz#1420ffb10fd444dcfc79b43891bbfffd32a84600" + +ci-info@^1.0.0: + version "1.1.3" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.1.3.tgz#710193264bb05c77b8c90d02f5aaf22216a667b2" + +cli-cursor@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987" + dependencies: + restore-cursor "^1.0.1" + +cli-spinners@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-0.1.2.tgz#bb764d88e185fb9e1e6a2a1f19772318f605e31c" + +cli-truncate@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574" + dependencies: + slice-ansi "0.0.4" + string-width "^1.0.1" + +cliui@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49" + dependencies: + string-width "^2.1.1" + strip-ansi "^4.0.0" + wrap-ansi "^2.0.0" + +co@^4.6.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" + +code-point-at@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" + +color-convert@^1.9.0: + version "1.9.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed" + dependencies: + color-name "^1.1.1" + +color-name@^1.1.1: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + +combined-stream@^1.0.5, combined-stream@~1.0.5: + version "1.0.6" + resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.6.tgz#723e7df6e801ac5613113a7e445a9b69cb632818" + dependencies: + delayed-stream "~1.0.0" + +commander@2.11.0: + version "2.11.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563" + +commander@2.15.1: + version "2.15.1" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f" + +common-tags@1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.4.0.tgz#1187be4f3d4cf0c0427d43f74eef1f73501614c0" + dependencies: + babel-runtime "^6.18.0" + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + +concat-stream@1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7" + dependencies: + inherits "^2.0.3" + readable-stream "^2.2.2" + typedarray "^0.0.6" + +core-js@^1.0.0: + version "1.2.7" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636" + +core-js@^2.4.0: + version "2.5.6" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.6.tgz#0fe6d45bf3cac3ac364a9d72de7576f4eb221b9d" + +core-util-is@1.0.2, core-util-is@~1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" + +cross-spawn@^5.0.1: + version "5.1.0" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" + dependencies: + lru-cache "^4.0.1" + shebang-command "^1.2.0" + which "^1.2.9" + +cryptiles@2.x.x: + version "2.0.5" + resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" + dependencies: + boom "2.x.x" + +css@^2.2.3: + version "2.2.3" + resolved "https://registry.yarnpkg.com/css/-/css-2.2.3.tgz#f861f4ba61e79bedc962aa548e5780fd95cbc6be" + dependencies: + inherits "^2.0.1" + source-map "^0.1.38" + source-map-resolve "^0.5.1" + urix "^0.1.0" + +cypress-testing-library@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/cypress-testing-library/-/cypress-testing-library-2.2.0.tgz#9a33df426b8f9815da5e771e1ba5602919c71e99" + dependencies: + dom-testing-library "^2.0.0" + +cypress@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-2.1.0.tgz#a8bd7d9b89c38a1e380db83b57d9bba0dbb95ba4" + dependencies: + "@cypress/listr-verbose-renderer" "0.4.1" + "@cypress/xvfb" "1.1.3" + "@types/blob-util" "1.3.3" + "@types/bluebird" "3.5.18" + "@types/chai" "4.0.8" + "@types/chai-jquery" "1.1.35" + "@types/jquery" "3.2.16" + "@types/lodash" "4.14.87" + "@types/minimatch" "3.0.1" + "@types/mocha" "2.2.44" + "@types/sinon" "4.0.0" + "@types/sinon-chai" "2.7.29" + bluebird "3.5.0" + chalk "2.1.0" + check-more-types "2.24.0" + commander "2.11.0" + common-tags "1.4.0" + debug "3.1.0" + extract-zip "1.6.6" + fs-extra "4.0.1" + getos "2.8.4" + glob "7.1.2" + is-ci "1.0.10" + is-installed-globally "0.1.0" + lazy-ass "1.6.0" + listr "0.12.0" + lodash "4.17.4" + minimist "1.2.0" + progress "1.1.8" + ramda "0.24.1" + request "2.81.0" + request-progress "0.3.1" + supports-color "5.1.0" + tmp "0.0.31" + url "0.11.0" + yauzl "2.8.0" + +dashdash@^1.12.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" + dependencies: + assert-plus "^1.0.0" + +date-fns@^1.27.2: + version "1.29.0" + resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.29.0.tgz#12e609cdcb935127311d04d33334e2960a2a54e6" + +dateformat@^3.0.2: + version "3.0.3" + resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" + +debug@2.6.9: + version "2.6.9" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" + dependencies: + ms "2.0.0" + +debug@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" + dependencies: + ms "2.0.0" + +decamelize@^1.1.1: + version "1.2.0" + resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" + +decode-uri-component@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + +diff@3.5.0, diff@^3.2.0, diff@^3.4.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" + +dom-testing-library@^2.0.0: + version "2.6.3" + resolved "https://registry.yarnpkg.com/dom-testing-library/-/dom-testing-library-2.6.3.tgz#388ac8a426e3d0b47b7e34d2864ab02331892400" + dependencies: + jest-dom "^1.0.0" + mutationobserver-shim "^0.3.2" + pretty-format "^22.4.3" + wait-for-expect "^0.4.0" + +ecc-jsbn@~0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" + dependencies: + jsbn "~0.1.0" + +elegant-spinner@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e" + +encoding@^0.1.11: + version "0.1.12" + resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb" + dependencies: + iconv-lite "~0.4.13" + +escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + +execa@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" + dependencies: + cross-spawn "^5.0.1" + get-stream "^3.0.0" + is-stream "^1.1.0" + npm-run-path "^2.0.0" + p-finally "^1.0.0" + signal-exit "^3.0.0" + strip-eof "^1.0.0" + +execa@^0.8.0: + version "0.8.0" + resolved "https://registry.yarnpkg.com/execa/-/execa-0.8.0.tgz#d8d76bbc1b55217ed190fd6dd49d3c774ecfc8da" + dependencies: + cross-spawn "^5.0.1" + get-stream "^3.0.0" + is-stream "^1.1.0" + npm-run-path "^2.0.0" + p-finally "^1.0.0" + signal-exit "^3.0.0" + strip-eof "^1.0.0" + +exit-hook@^1.0.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/exit-hook/-/exit-hook-1.1.1.tgz#f05ca233b48c05d54fff07765df8507e95c02ff8" + +extend@~3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" + +extract-zip@1.6.6: + version "1.6.6" + resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-1.6.6.tgz#1290ede8d20d0872b429fd3f351ca128ec5ef85c" + dependencies: + concat-stream "1.6.0" + debug "2.6.9" + mkdirp "0.5.0" + yauzl "2.4.1" + +extsprintf@1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" + +extsprintf@^1.2.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" + +fbjs@^0.8.16: + version "0.8.16" + resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.16.tgz#5e67432f550dc41b572bf55847b8aca64e5337db" + dependencies: + core-js "^1.0.0" + isomorphic-fetch "^2.1.1" + loose-envify "^1.0.0" + object-assign "^4.1.0" + promise "^7.1.1" + setimmediate "^1.0.5" + ua-parser-js "^0.7.9" + +fd-slicer@~1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.0.1.tgz#8b5bcbd9ec327c5041bf9ab023fd6750f1177e65" + dependencies: + pend "~1.2.0" + +figures@^1.7.0: + version "1.7.0" + resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" + dependencies: + escape-string-regexp "^1.0.5" + object-assign "^4.1.0" + +find-up@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" + dependencies: + locate-path "^2.0.0" + +forever-agent@~0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" + +form-data@~2.1.1: + version "2.1.4" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.4.tgz#33c183acf193276ecaa98143a69e94bfee1750d1" + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.5" + mime-types "^2.1.12" + +fs-extra@4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.1.tgz#7fc0c6c8957f983f57f306a24e5b9ddd8d0dd880" + dependencies: + graceful-fs "^4.1.2" + jsonfile "^3.0.0" + universalify "^0.1.0" + +fs-extra@^4.0.2: + version "4.0.3" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94" + dependencies: + graceful-fs "^4.1.2" + jsonfile "^4.0.0" + universalify "^0.1.0" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + +fsu@^1.0.2: + version "1.1.1" + resolved "https://registry.yarnpkg.com/fsu/-/fsu-1.1.1.tgz#bd36d3579907c59d85b257a75b836aa9e0c31834" + +get-caller-file@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5" + +get-stream@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" + +getos@2.8.4: + version "2.8.4" + resolved "https://registry.yarnpkg.com/getos/-/getos-2.8.4.tgz#7b8603d3619c28e38cb0fe7a4f63c3acb80d5163" + dependencies: + async "2.1.4" + +getpass@^0.1.1: + version "0.1.7" + resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" + dependencies: + assert-plus "^1.0.0" + +glob@7.1.2: + version "7.1.2" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + +global-dirs@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" + dependencies: + ini "^1.3.4" + +graceful-fs@^4.1.2, graceful-fs@^4.1.6: + version "4.1.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" + +growl@1.10.5: + version "1.10.5" + resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" + +har-schema@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-1.0.5.tgz#d263135f43307c02c602afc8fe95970c0151369e" + +har-validator@~4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a" + dependencies: + ajv "^4.9.1" + har-schema "^1.0.5" + +has-ansi@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" + dependencies: + ansi-regex "^2.0.0" + +has-flag@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + +hawk@~3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" + dependencies: + boom "2.x.x" + cryptiles "2.x.x" + hoek "2.x.x" + sntp "1.x.x" + +he@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd" + +hoek@2.x.x: + version "2.16.3" + resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" + +http-signature@~1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" + dependencies: + assert-plus "^0.2.0" + jsprim "^1.2.2" + sshpk "^1.7.0" + +husky@^0.14.3: + version "0.14.3" + resolved "https://registry.yarnpkg.com/husky/-/husky-0.14.3.tgz#c69ed74e2d2779769a17ba8399b54ce0b63c12c3" + dependencies: + is-ci "^1.0.10" + normalize-path "^1.0.0" + strip-indent "^2.0.0" + +iconv-lite@~0.4.13: + version "0.4.23" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63" + dependencies: + safer-buffer ">= 2.1.2 < 3" + +ignore@^3.3.7: + version "3.3.8" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.8.tgz#3f8e9c35d38708a3a7e0e9abb6c73e7ee7707b2b" + +indent-string@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-2.1.0.tgz#8e2d48348742121b4a8218b7a137e9a52049dc80" + dependencies: + repeating "^2.0.0" + +indent-string@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289" + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" + +ini@^1.3.4: + version "1.3.5" + resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" + +invert-kv@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" + +is-ci@1.0.10: + version "1.0.10" + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.0.10.tgz#f739336b2632365061a9d48270cd56ae3369318e" + dependencies: + ci-info "^1.0.0" + +is-ci@^1.0.10: + version "1.1.0" + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.1.0.tgz#247e4162e7860cebbdaf30b774d6b0ac7dcfe7a5" + dependencies: + ci-info "^1.0.0" + +is-finite@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" + dependencies: + number-is-nan "^1.0.0" + +is-fullwidth-code-point@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" + dependencies: + number-is-nan "^1.0.0" + +is-fullwidth-code-point@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" + +is-installed-globally@0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.1.0.tgz#0dfd98f5a9111716dd535dda6492f67bf3d25a80" + dependencies: + global-dirs "^0.1.0" + is-path-inside "^1.0.0" + +is-path-inside@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" + dependencies: + path-is-inside "^1.0.1" + +is-promise@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" + +is-stream@^1.0.1, is-stream@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" + +is-typedarray@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" + +isarray@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + +isomorphic-fetch@^2.1.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz#611ae1acf14f5e81f729507472819fe9733558a9" + dependencies: + node-fetch "^1.0.1" + whatwg-fetch ">=0.10.0" + +isstream@~0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" + +jest-diff@^22.4.3: + version "22.4.3" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-22.4.3.tgz#e18cc3feff0aeef159d02310f2686d4065378030" + dependencies: + chalk "^2.0.1" + diff "^3.2.0" + jest-get-type "^22.4.3" + pretty-format "^22.4.3" + +jest-dom@^1.0.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/jest-dom/-/jest-dom-1.3.1.tgz#4eba15d54059182ee0d3682a9fff0d957ad874c7" + dependencies: + chalk "^2.4.1" + css "^2.2.3" + jest-diff "^22.4.3" + jest-matcher-utils "^22.4.3" + pretty-format "^23.0.1" + redent "^2.0.0" + +jest-get-type@^22.4.3: + version "22.4.3" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-22.4.3.tgz#e3a8504d8479342dd4420236b322869f18900ce4" + +jest-matcher-utils@^22.4.3: + version "22.4.3" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-22.4.3.tgz#4632fe428ebc73ebc194d3c7b65d37b161f710ff" + dependencies: + chalk "^2.0.1" + jest-get-type "^22.4.3" + pretty-format "^22.4.3" + +js-tokens@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" + +jsbn@~0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" + +json-schema@0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" + +json-stable-stringify@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" + dependencies: + jsonify "~0.0.0" + +json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" + +jsonfile@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-3.0.1.tgz#a5ecc6f65f53f662c4415c7675a0331d0992ec66" + optionalDependencies: + graceful-fs "^4.1.6" + +jsonfile@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" + optionalDependencies: + graceful-fs "^4.1.6" + +jsonify@~0.0.0: + version "0.0.0" + resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" + +jsprim@^1.2.2: + version "1.4.1" + resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" + dependencies: + assert-plus "1.0.0" + extsprintf "1.3.0" + json-schema "0.2.3" + verror "1.10.0" + +lazy-ass@1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/lazy-ass/-/lazy-ass-1.6.0.tgz#7999655e8646c17f089fdd187d150d3324d54513" + +lcid@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" + dependencies: + invert-kv "^1.0.0" + +listr-silent-renderer@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz#924b5a3757153770bf1a8e3fbf74b8bbf3f9242e" + +listr-update-renderer@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/listr-update-renderer/-/listr-update-renderer-0.2.0.tgz#ca80e1779b4e70266807e8eed1ad6abe398550f9" + dependencies: + chalk "^1.1.3" + cli-truncate "^0.2.1" + elegant-spinner "^1.0.1" + figures "^1.7.0" + indent-string "^3.0.0" + log-symbols "^1.0.2" + log-update "^1.0.2" + strip-ansi "^3.0.1" + +listr-verbose-renderer@^0.4.0: + version "0.4.1" + resolved "https://registry.yarnpkg.com/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz#8206f4cf6d52ddc5827e5fd14989e0e965933a35" + dependencies: + chalk "^1.1.3" + cli-cursor "^1.0.2" + date-fns "^1.27.2" + figures "^1.7.0" + +listr@0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/listr/-/listr-0.12.0.tgz#6bce2c0f5603fa49580ea17cd6a00cc0e5fa451a" + dependencies: + chalk "^1.1.3" + cli-truncate "^0.2.1" + figures "^1.7.0" + indent-string "^2.1.0" + is-promise "^2.1.0" + is-stream "^1.1.0" + listr-silent-renderer "^1.1.1" + listr-update-renderer "^0.2.0" + listr-verbose-renderer "^0.4.0" + log-symbols "^1.0.2" + log-update "^1.0.2" + ora "^0.2.3" + p-map "^1.1.1" + rxjs "^5.0.0-beta.11" + stream-to-observable "^0.1.0" + strip-ansi "^3.0.1" + +locate-path@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" + dependencies: + p-locate "^2.0.0" + path-exists "^3.0.0" + +lodash.isfunction@^3.0.8: + version "3.0.9" + resolved "https://registry.yarnpkg.com/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz#06de25df4db327ac931981d1bdb067e5af68d051" + +lodash.once@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac" + +lodash@4.17.4: + version "4.17.4" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" + +lodash@^4.14.0, lodash@^4.17.3: + version "4.17.10" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7" + +log-symbols@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18" + dependencies: + chalk "^1.0.0" + +log-update@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/log-update/-/log-update-1.0.2.tgz#19929f64c4093d2d2e7075a1dad8af59c296b8d1" + dependencies: + ansi-escapes "^1.0.0" + cli-cursor "^1.0.2" + +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" + dependencies: + js-tokens "^3.0.0" + +lru-cache@^4.0.1: + version "4.1.3" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.3.tgz#a1175cf3496dfc8436c156c334b4955992bce69c" + dependencies: + pseudomap "^1.0.2" + yallist "^2.1.2" + +mem@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/mem/-/mem-1.1.0.tgz#5edd52b485ca1d900fe64895505399a0dfa45f76" + dependencies: + mimic-fn "^1.0.0" + +mime-db@~1.33.0: + version "1.33.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788d2272783db" + +mime-types@^2.1.12, mime-types@~2.1.7: + version "2.1.18" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8" + dependencies: + mime-db "~1.33.0" + +mimic-fn@^1.0.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" + +minimatch@3.0.4, minimatch@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" + dependencies: + brace-expansion "^1.1.7" + +minimist@0.0.8: + version "0.0.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" + +minimist@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" + +mkdirp@0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.0.tgz#1d73076a6df986cd9344e15e71fcc05a4c9abf12" + dependencies: + minimist "0.0.8" + +mkdirp@0.5.1: + version "0.5.1" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" + dependencies: + minimist "0.0.8" + +mocha@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.2.0.tgz#6d8ae508f59167f940f2b5b3c4a612ae50c90ae6" + dependencies: + browser-stdout "1.3.1" + commander "2.15.1" + debug "3.1.0" + diff "3.5.0" + escape-string-regexp "1.0.5" + glob "7.1.2" + growl "1.10.5" + he "1.1.1" + minimatch "3.0.4" + mkdirp "0.5.1" + supports-color "5.4.0" + +mochawesome-report-generator@^3.0.1: + version "3.1.2" + resolved "https://registry.yarnpkg.com/mochawesome-report-generator/-/mochawesome-report-generator-3.1.2.tgz#9a197b44ff8f80fe18bb1793422647c0a8efeb7b" + dependencies: + chalk "^2.3.0" + dateformat "^3.0.2" + fs-extra "^4.0.2" + fsu "^1.0.2" + lodash.isfunction "^3.0.8" + opener "^1.4.2" + prop-types "^15.5.8" + react "^16.0.0" + react-dom "^16.0.0" + tcomb "^3.2.17" + tcomb-validation "^3.3.0" + validator "^9.1.2" + yargs "^10.0.3" + +mochawesome@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/mochawesome/-/mochawesome-3.0.2.tgz#6884a8bb85c1d5033fe1d2e278ee309f433e750d" + dependencies: + babel-runtime "^6.20.0" + chalk "^2.3.0" + diff "^3.4.0" + json-stringify-safe "^5.0.1" + lodash "^4.17.3" + mochawesome-report-generator "^3.0.1" + strip-ansi "^4.0.0" + uuid "^3.0.1" + +mri@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/mri/-/mri-1.1.1.tgz#85aa26d3daeeeedf80dc5984af95cc5ca5cad9f1" + +ms@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" + +mutationobserver-shim@^0.3.2: + version "0.3.2" + resolved "https://registry.yarnpkg.com/mutationobserver-shim/-/mutationobserver-shim-0.3.2.tgz#f4d5dae7a4971a2207914fb5a90ebd514b65acca" + +node-fetch@^1.0.1: + version "1.7.3" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef" + dependencies: + encoding "^0.1.11" + is-stream "^1.0.1" + +normalize-path@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-1.0.0.tgz#32d0e472f91ff345701c15a8311018d3b0a90379" + +npm-run-path@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" + dependencies: + path-key "^2.0.0" + +number-is-nan@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" + +oauth-sign@~0.8.1: + version "0.8.2" + resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" + +object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + +once@^1.3.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + dependencies: + wrappy "1" + +onetime@^1.0.0: + version "1.1.0" + resolved "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789" + +opener@^1.4.2: + version "1.4.3" + resolved "https://registry.yarnpkg.com/opener/-/opener-1.4.3.tgz#5c6da2c5d7e5831e8ffa3964950f8d6674ac90b8" + +ora@^0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/ora/-/ora-0.2.3.tgz#37527d220adcd53c39b73571d754156d5db657a4" + dependencies: + chalk "^1.1.1" + cli-cursor "^1.0.2" + cli-spinners "^0.1.2" + object-assign "^4.0.1" + +os-locale@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-2.1.0.tgz#42bc2900a6b5b8bd17376c8e882b65afccf24bf2" + dependencies: + execa "^0.7.0" + lcid "^1.0.0" + mem "^1.1.0" + +os-tmpdir@~1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" + +p-finally@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" + +p-limit@^1.1.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.2.0.tgz#0e92b6bedcb59f022c13d0f1949dc82d15909f1c" + dependencies: + p-try "^1.0.0" + +p-locate@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" + dependencies: + p-limit "^1.1.0" + +p-map@^1.1.1: + version "1.2.0" + resolved "https://registry.yarnpkg.com/p-map/-/p-map-1.2.0.tgz#e4e94f311eabbc8633a1e79908165fca26241b6b" + +p-try@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" + +path-exists@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + +path-is-inside@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" + +path-key@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" + +pend@~1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" + +performance-now@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5" + +prettier@^1.12.1: + version "1.12.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.12.1.tgz#c1ad20e803e7749faf905a409d2367e06bbe7325" + +pretty-format@^22.4.3: + version "22.4.3" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-22.4.3.tgz#f873d780839a9c02e9664c8a082e9ee79eaac16f" + dependencies: + ansi-regex "^3.0.0" + ansi-styles "^3.2.0" + +pretty-format@^23.0.1: + version "23.2.0" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-23.2.0.tgz#3b0aaa63c018a53583373c1cb3a5d96cc5e83017" + dependencies: + ansi-regex "^3.0.0" + ansi-styles "^3.2.0" + +pretty-quick@^1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/pretty-quick/-/pretty-quick-1.5.1.tgz#b36bb4fe7cdb04ed5f4ba4ba530d609cb3be4ac2" + dependencies: + chalk "^2.3.0" + execa "^0.8.0" + find-up "^2.1.0" + ignore "^3.3.7" + mri "^1.1.0" + +process-nextick-args@~2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa" + +progress@1.1.8: + version "1.1.8" + resolved "https://registry.yarnpkg.com/progress/-/progress-1.1.8.tgz#e260c78f6161cdd9b0e56cc3e0a85de17c7a57be" + +promise@^7.1.1: + version "7.3.1" + resolved "https://registry.yarnpkg.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf" + dependencies: + asap "~2.0.3" + +prop-types@^15.5.8, prop-types@^15.6.0: + version "15.6.1" + resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.1.tgz#36644453564255ddda391191fb3a125cbdf654ca" + dependencies: + fbjs "^0.8.16" + loose-envify "^1.3.1" + object-assign "^4.1.1" + +pseudomap@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" + +punycode@1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" + +punycode@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" + +qs@~6.4.0: + version "6.4.0" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" + +querystring@0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" + +ramda@0.24.1: + version "0.24.1" + resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.24.1.tgz#c3b7755197f35b8dc3502228262c4c91ddb6b857" + +react-dom@^16.0.0: + version "16.3.2" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.3.2.tgz#cb90f107e09536d683d84ed5d4888e9640e0e4df" + dependencies: + fbjs "^0.8.16" + loose-envify "^1.1.0" + object-assign "^4.1.1" + prop-types "^15.6.0" + +react@^16.0.0: + version "16.3.2" + resolved "https://registry.yarnpkg.com/react/-/react-16.3.2.tgz#fdc8420398533a1e58872f59091b272ce2f91ea9" + dependencies: + fbjs "^0.8.16" + loose-envify "^1.1.0" + object-assign "^4.1.1" + prop-types "^15.6.0" + +readable-stream@^2.2.2: + version "2.3.6" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.3" + isarray "~1.0.0" + process-nextick-args "~2.0.0" + safe-buffer "~5.1.1" + string_decoder "~1.1.1" + util-deprecate "~1.0.1" + +redent@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/redent/-/redent-2.0.0.tgz#c1b2007b42d57eb1389079b3c8333639d5e1ccaa" + dependencies: + indent-string "^3.0.0" + strip-indent "^2.0.0" + +regenerator-runtime@^0.11.0: + version "0.11.1" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" + +repeating@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" + dependencies: + is-finite "^1.0.0" + +request-progress@0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/request-progress/-/request-progress-0.3.1.tgz#0721c105d8a96ac6b2ce8b2c89ae2d5ecfcf6b3a" + dependencies: + throttleit "~0.0.2" + +request@2.81.0: + version "2.81.0" + resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0" + dependencies: + aws-sign2 "~0.6.0" + aws4 "^1.2.1" + caseless "~0.12.0" + combined-stream "~1.0.5" + extend "~3.0.0" + forever-agent "~0.6.1" + form-data "~2.1.1" + har-validator "~4.2.1" + hawk "~3.1.3" + http-signature "~1.1.0" + is-typedarray "~1.0.0" + isstream "~0.1.2" + json-stringify-safe "~5.0.1" + mime-types "~2.1.7" + oauth-sign "~0.8.1" + performance-now "^0.2.0" + qs "~6.4.0" + safe-buffer "^5.0.1" + stringstream "~0.0.4" + tough-cookie "~2.3.0" + tunnel-agent "^0.6.0" + uuid "^3.0.0" + +require-directory@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" + +require-main-filename@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" + +resolve-url@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" + +restore-cursor@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541" + dependencies: + exit-hook "^1.0.0" + onetime "^1.0.0" + +rxjs@^5.0.0-beta.11: + version "5.5.10" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.10.tgz#fde02d7a614f6c8683d0d1957827f492e09db045" + dependencies: + symbol-observable "1.0.1" + +safe-buffer@^5.0.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1: + version "5.1.2" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" + +"safer-buffer@>= 2.1.2 < 3": + version "2.1.2" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + +set-blocking@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" + +setimmediate@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" + +shebang-command@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" + dependencies: + shebang-regex "^1.0.0" + +shebang-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" + +signal-exit@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" + +slice-ansi@0.0.4: + version "0.0.4" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" + +sntp@1.x.x: + version "1.0.9" + resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" + dependencies: + hoek "2.x.x" + +source-map-resolve@^0.5.1: + version "0.5.2" + resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.2.tgz#72e2cc34095543e43b2c62b2c4c10d4a9054f259" + dependencies: + atob "^2.1.1" + decode-uri-component "^0.2.0" + resolve-url "^0.2.1" + source-map-url "^0.4.0" + urix "^0.1.0" + +source-map-url@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" + +source-map@^0.1.38: + version "0.1.43" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.1.43.tgz#c24bc146ca517c1471f5dacbe2571b2b7f9e3346" + dependencies: + amdefine ">=0.0.4" + +sshpk@^1.7.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.14.1.tgz#130f5975eddad963f1d56f92b9ac6c51fa9f83eb" + dependencies: + asn1 "~0.2.3" + assert-plus "^1.0.0" + dashdash "^1.12.0" + getpass "^0.1.1" + optionalDependencies: + bcrypt-pbkdf "^1.0.0" + ecc-jsbn "~0.1.1" + jsbn "~0.1.0" + tweetnacl "~0.14.0" + +stop-only@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/stop-only/-/stop-only-1.2.1.tgz#f1fa0e1bdc8a833075f1b788d77d55b898eb1f27" + +stream-to-observable@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/stream-to-observable/-/stream-to-observable-0.1.0.tgz#45bf1d9f2d7dc09bed81f1c307c430e68b84cffe" + +string-width@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" + dependencies: + code-point-at "^1.0.0" + is-fullwidth-code-point "^1.0.0" + strip-ansi "^3.0.0" + +string-width@^2.0.0, string-width@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" + dependencies: + is-fullwidth-code-point "^2.0.0" + strip-ansi "^4.0.0" + +string_decoder@~1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" + dependencies: + safe-buffer "~5.1.0" + +stringstream@~0.0.4: + version "0.0.6" + resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.6.tgz#7880225b0d4ad10e30927d167a1d6f2fd3b33a72" + +strip-ansi@^3.0.0, strip-ansi@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" + dependencies: + ansi-regex "^2.0.0" + +strip-ansi@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" + dependencies: + ansi-regex "^3.0.0" + +strip-eof@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" + +strip-indent@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68" + +supports-color@5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.1.0.tgz#058a021d1b619f7ddf3980d712ea3590ce7de3d5" + dependencies: + has-flag "^2.0.0" + +supports-color@5.4.0, supports-color@^5.3.0: + version "5.4.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54" + dependencies: + has-flag "^3.0.0" + +supports-color@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" + +supports-color@^4.0.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b" + dependencies: + has-flag "^2.0.0" + +symbol-observable@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.1.tgz#8340fc4702c3122df5d22288f88283f513d3fdd4" + +tcomb-validation@^3.3.0: + version "3.4.1" + resolved "https://registry.yarnpkg.com/tcomb-validation/-/tcomb-validation-3.4.1.tgz#a7696ec176ce56a081d9e019f8b732a5a8894b65" + dependencies: + tcomb "^3.0.0" + +tcomb@^3.0.0, tcomb@^3.2.17: + version "3.2.27" + resolved "https://registry.yarnpkg.com/tcomb/-/tcomb-3.2.27.tgz#f4928bfc536b959d21a47e5f5f1ca2b2e4b7188a" + +throttleit@~0.0.2: + version "0.0.2" + resolved "https://registry.yarnpkg.com/throttleit/-/throttleit-0.0.2.tgz#cfedf88e60c00dd9697b61fdd2a8343a9b680eaf" + +tmp@0.0.31: + version "0.0.31" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.31.tgz#8f38ab9438e17315e5dbd8b3657e8bfb277ae4a7" + dependencies: + os-tmpdir "~1.0.1" + +tough-cookie@~2.3.0: + version "2.3.4" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.4.tgz#ec60cee38ac675063ffc97a5c18970578ee83655" + dependencies: + punycode "^1.4.1" + +tunnel-agent@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" + dependencies: + safe-buffer "^5.0.1" + +tweetnacl@^0.14.3, tweetnacl@~0.14.0: + version "0.14.5" + resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" + +typedarray@^0.0.6: + version "0.0.6" + resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" + +ua-parser-js@^0.7.9: + version "0.7.18" + resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.18.tgz#a7bfd92f56edfb117083b69e31d2aa8882d4b1ed" + +universalify@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7" + +urix@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" + +url@0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" + dependencies: + punycode "1.3.2" + querystring "0.2.0" + +util-deprecate@~1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + +uuid@^3.0.0, uuid@^3.0.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14" + +validator@^9.1.2: + version "9.4.1" + resolved "https://registry.yarnpkg.com/validator/-/validator-9.4.1.tgz#abf466d398b561cd243050112c6ff1de6cc12663" + +verror@1.10.0: + version "1.10.0" + resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" + dependencies: + assert-plus "^1.0.0" + core-util-is "1.0.2" + extsprintf "^1.2.0" + +wait-for-expect@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/wait-for-expect/-/wait-for-expect-0.4.0.tgz#341c96ab89d6102a0169a9be6cd0de354de92c17" + +whatwg-fetch@>=0.10.0: + version "2.0.4" + resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz#dde6a5df315f9d39991aa17621853d720b85566f" + +which-module@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" + +which@^1.2.9: + version "1.3.0" + resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a" + dependencies: + isexe "^2.0.0" + +wrap-ansi@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" + dependencies: + string-width "^1.0.1" + strip-ansi "^3.0.1" + +wrappy@1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + +y18n@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" + +yallist@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" + +yargs-parser@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-8.1.0.tgz#f1376a33b6629a5d063782944da732631e966950" + dependencies: + camelcase "^4.1.0" + +yargs@^10.0.3: + version "10.1.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-10.1.2.tgz#454d074c2b16a51a43e2fb7807e4f9de69ccb5c5" + dependencies: + cliui "^4.0.0" + decamelize "^1.1.1" + find-up "^2.1.0" + get-caller-file "^1.0.1" + os-locale "^2.0.0" + require-directory "^2.1.1" + require-main-filename "^1.0.1" + set-blocking "^2.0.0" + string-width "^2.0.0" + which-module "^2.0.0" + y18n "^3.2.1" + yargs-parser "^8.1.0" + +yauzl@2.4.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.4.1.tgz#9528f442dab1b2284e58b4379bb194e22e0c4005" + dependencies: + fd-slicer "~1.0.1" + +yauzl@2.8.0: + version "2.8.0" + resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.8.0.tgz#79450aff22b2a9c5a41ef54e02db907ccfbf9ee2" + dependencies: + buffer-crc32 "~0.2.3" + fd-slicer "~1.0.1" diff --git a/cypress-docker/test/test.sh b/cypress-docker/test/test.sh new file mode 100644 index 0000000..07d99e6 --- /dev/null +++ b/cypress-docker/test/test.sh @@ -0,0 +1,13 @@ +set e+x + +LOCAL_NAME=dockercentral.it.att.com:5100/com.att.sdc/dcae-cypress:1.0.0 + +CONTAINER_NAME='cypress-test' + +echo "Running tests against $LOCAL_NAME" + +docker run -it --name ${CONTAINER_NAME} -v $PWD/src:/test -w /test $LOCAL_NAME + +docker rm ${CONTAINER_NAME} + + diff --git a/dcae-ci-tests.iml b/dcae-ci-tests.iml new file mode 100644 index 0000000..ed326e7 --- /dev/null +++ b/dcae-ci-tests.iml @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> + <component name="FacetManager"> + <facet type="Spring" name="Spring"> + <configuration /> + </facet> + </component> + <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8"> + <output url="file://$MODULE_DIR$/target/classes" /> + <output-test url="file://$MODULE_DIR$/target/test-classes" /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" /> + <excludeFolder url="file://$MODULE_DIR$/target" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="library" name="Maven: org.assertj:assertj-core:3.8.0" level="project" /> + <orderEntry type="module" module-name="DCAE-DT-PROPERTY" /> + <orderEntry type="library" name="Maven: org.springframework:spring-beans:4.3.17.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: org.springframework:spring-core:4.3.17.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: org.springframework:spring-context:4.3.17.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: org.springframework:spring-aop:4.3.17.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: org.springframework:spring-expression:4.3.17.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: log4j:log4j:1.2.17" level="project" /> + <orderEntry type="library" name="Maven: org.json:json:20140107" level="project" /> + <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.9.4" level="project" /> + <orderEntry type="library" name="Maven: org.springframework:spring-web:4.3.17.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-guava:2.9.4" level="project" /> + <orderEntry type="library" name="Maven: com.google.guava:guava:18.0" level="project" /> + <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.9.4" level="project" /> + <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.9.4" level="project" /> + <orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.6" level="project" /> + <orderEntry type="library" name="Maven: junit:junit:4.12" level="project" /> + <orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" /> + <orderEntry type="library" name="Maven: org.codehaus.groovy:groovy:2.4.13" level="project" /> + <orderEntry type="library" name="Maven: org.codehaus.janino:janino:3.0.6" level="project" /> + <orderEntry type="library" name="Maven: org.codehaus.janino:commons-compiler:3.0.6" level="project" /> + <orderEntry type="library" name="Maven: org.yaml:snakeyaml:1.21" level="project" /> + <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.5" level="project" /> + <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.9" level="project" /> + <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.2" level="project" /> + <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" /> + <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.5" level="project" /> + <orderEntry type="library" name="Maven: commons-io:commons-io:2.5" level="project" /> + <orderEntry type="library" name="Maven: org.apache.commons:commons-collections4:4.1" level="project" /> + <orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.4" level="project" /> + <orderEntry type="library" name="Maven: com.googlecode.json-simple:json-simple:1.1.1" level="project" /> + <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" /> + <orderEntry type="library" name="Maven: org.slf4j:slf4j-simple:1.7.25" level="project" /> + <orderEntry type="library" name="Maven: org.testng:testng:6.14.3" level="project" /> + <orderEntry type="library" name="Maven: com.beust:jcommander:1.72" level="project" /> + <orderEntry type="library" name="Maven: org.apache-extras.beanshell:bsh:2.0b6" level="project" /> + <orderEntry type="library" name="Maven: com.aventstack:extentreports:3.1.5" level="project" /> + <orderEntry type="library" name="Maven: org.freemarker:freemarker:2.3.23" level="project" /> + <orderEntry type="library" name="Maven: org.mongodb:mongodb-driver:3.3.0" level="project" /> + <orderEntry type="library" name="Maven: org.mongodb:bson:3.3.0" level="project" /> + <orderEntry type="library" name="Maven: org.mongodb:mongodb-driver-core:3.3.0" level="project" /> + <orderEntry type="library" name="Maven: org.jsoup:jsoup:1.9.2" level="project" /> + </component> +</module>
\ No newline at end of file diff --git a/src/main/java/org/onap/dcae/ci/api/tests/blueprint/ToscaLabApiTests.java b/src/main/java/org/onap/dcae/ci/api/tests/blueprint/ToscaLabApiTests.java new file mode 100644 index 0000000..cde8659 --- /dev/null +++ b/src/main/java/org/onap/dcae/ci/api/tests/blueprint/ToscaLabApiTests.java @@ -0,0 +1,190 @@ +package org.onap.dcae.ci.api.tests.blueprint; + +import com.aventstack.extentreports.Status; +import org.onap.dcae.ci.api.tests.DcaeRestBaseTest; +import org.onap.dcae.ci.entities.RestResponse; +import org.onap.dcae.ci.report.Report; +import org.onap.dcae.ci.utilities.DcaeRestClient; +import org.onap.sdc.dcae.composition.restmodels.health.HealthResponse; +import org.testng.annotations.Test; + +import static org.assertj.core.api.Assertions.assertThat; + +import java.io.IOException; + +public class ToscaLabApiTests extends DcaeRestBaseTest { + + private String validInput = "{\"template\":\"dG9wb2xvZ3lfdGVtcGxhdGU6CiAgbm9kZV90ZW1wbGF0ZXM6CiAgICBzdXAuc3VwcGxlbWVudF9uLjE1MjU3ODE5NzY1MDAuODoKICAgICAgcmVxdWlyZW1lbnRzOgogICAgICAtIHN0cmVhbV9wdWJsaXNoXzA6IHtjYXBhYmlsaXR5OiBkY2FlLmNhcGFiaWxpdGll" + + "cy5zdHJlYW0uc3Vic2NyaWJlLCByZWxhdGlvbnNoaXA6IGRjYWUucmVsYXRpb25zaGlwcy5yZXdvcmtfY29ubmVjdGVkX3RvfQogICAgICAtIGhvc3Q6IHtjYXBhYmlsaXR5OiBkY2FlLmNhcGFiaWxpdGllcy5jZGFwSG9zdCwgcmVsYXRpb25zaGlwOiBkY2FlLnJlbGF0aW9uc2hpcHMuY29tcG9uZW50X2Nvb" + + "nRhaW5lZF9pbn0KICAgICAgLSBkZXBlbmRlbmN5OiB7Y2FwYWJpbGl0eTogdG9zY2EuY2FwYWJpbGl0aWVzLk5vZGUsIHJlbGF0aW9uc2hpcDogdG9zY2EucmVsYXRpb25zaGlwcy5EZXBlbmRzT259CiAgICAgIGNhcGFiaWxpdGllczoKICAgICAgICBzdHJlYW1fc3Vic2NyaWJlXzA6CiAgICAgICAgICBwcm" + + "9wZXJ0aWVzOiB7cm91dGU6IElHTk9SRSwgZm9ybWF0OiBWRVNfc3BlY2lmaWNhdGlvbiwgdmVyc2lvbjogNS4yOC40fQogICAgICBkZXNjcmlwdGlvbjogL3NkYy92MS9jYXRhbG9nL3Jlc291cmNlcy81YzFiY2FlMC1lMWQxLTRiNTMtOWVkMS1kNzI1N2UzYWVhYWIvYXJ0aWZhY3RzL2ZiZGFjYjhhLWViYzMt" + + "NGEyZC04Nzg3LTM2MWI5YWI1NzQyMwogICAgICB0eXBlOiB0b3NjYS5kY2FlLm5vZGVzLmNkYXBBcHAuc3VwcGxlbWVudAogICAgICBwcm9wZXJ0aWVzOgogICAgICAgIGNvbm5lY3RlZF9icm9rZXJfZG5zX25hbWU6IHtnZXRfaW5wdXQ6IGNvbm5lY3RlZF9icm9rZXJfZG5zX25hbWV9CiAgICAgICAgcGhhc2" + + "VzLnN1cHBsZW1lbnQucGhhc2VOYW1lOiBzdXBwbGVtZW50CiAgICAgICAgcGhhc2VzLnZlc19zdXBwbGVtZW50LnBoYXNlTmFtZTogdmVzX3N1cHBsZW1lbnQKICAgICAgICBqc29uOiAneyJwcm9jZXNzaW5nIjpbeyJwaGFzZSI6InN1cHBsZW1lbnQiLCJmaWx0ZXIiOnsiY2xhc3MiOiJPbmVPZiIsImZpZWx" + + "kIjoiZXZlbnQuY29tbW9uRXZlbnRIZWFkZXIuZXZlbnRUeXBlIiwidmFsdWVzIjpbInZQQ1JGX0FsYXJtcyIsInZNb0dfQWxhcm1zIiwiYXBwbGljYXRpb25WbmYiLCJHdWVzdE9TX0FsYXJtcyIsIkNvbnRyb2wiXX0sInByb2Nlc3NvcnMiOlt7ImNsYXNzIjoiTG9nVGV4dCIsImxvZ0xldmVsIjoiSU5GTyIs" + + "ImxvZ1RleHQiOiJFbnRlcmluZwogICAgICAgICAgc3VwcGxlbWVudCBQaGFzZSAtIEZJTFRFUiBwYXJhbWV0ZXIgIC0gJHtldmVudC5jb21tb25FdmVudEhlYWRlci5ldmVudFR5cGV9In0seyJjbGFzcyI6IkRhdGVGb3JtYXR0ZXIiLCJ2YWx1ZSI6IiR7ZXZlbnQuY29tbW9uRXZlbnRIZWFkZXIuc3RhcnRFc" + + "G9jaE1pY3Jvc2VjfSIsImZyb21Gb3JtYXQiOiIjbXMiLCJmcm9tVHoiOiJHTVQiLCJ0b0ZpZWxkIjoiZXZlbnQuY29tbW9uRXZlbnRIZWFkZXIuaW50ZXJuYWxIZWFkZXJGaWVsZHMuZmlyc3REYXRldGltZSIsInRvRm9ybWF0IjoiRUVFLAogICAgICAgICAgZGQgTU0geXl5eSBISDptbTpzcyB6enoiLCJ0b" + + "1R6IjoiR01UIn0seyJjbGFzcyI6IkRhdGVGb3JtYXR0ZXIiLCJ2YWx1ZSI6IiR7ZXZlbnQuY29tbW9uRXZlbnRIZWFkZXIubGFzdEVwb2NoTWljcm9zZWN9IiwiZnJvbUZvcm1hdCI6IiNtcyIsImZyb21UeiI6IkdNVCIsInRvRmllbGQiOiJldmVudC5jb21tb25FdmVudEhlYWRlci5pbnRlcm5hbEhlYWRlc" + + "kZpZWxkcy5sYXN0RGF0ZXRpbWUiLCJ0b0Zvcm1hdCI6IkVFRSwKICAgICAgICAgIGRkIE1NIHl5eXkgSEg6bW06c3Mgenp6IiwidG9UeiI6IkdNVCJ9LHsiY2xhc3MiOiJEYXRlRm9ybWF0dGVyIiwidmFsdWUiOiIle25vdy5tc30iLCJmcm9tRm9ybWF0IjoiI21zIiwiZnJvbVR6IjoiR01UIiwidG9GaWVsZ" + + "CI6ImV2ZW50LmNvbW1vbkV2ZW50SGVhZGVyLmludGVybmFsSGVhZGVyRmllbGRzLmNvbGxlY3RvclRpbWVTdGFtcCIsInRvRm9ybWF0IjoiRUVFLAogICAgICAgICAgZGQgTU0geXl5eSBISDptbTpzcyB6enoiLCJ0b1R6IjoiR01UIn0seyJjbGFzcyI6IlNldCIsInVwZGF0ZXMiOnsiZXZlbnQuY29tbW9uRX" + + "ZlbnRIZWFkZXIuaW50ZXJuYWxIZWFkZXJGaWVsZHMuaW50ZXJuYWxIZWFkZXJGaWVsZHNWZXJzaW9uIjoiOS45IiwiZXZlbnQuY29tbW9uRXZlbnRIZWFkZXIuaW50ZXJuYWxIZWFkZXJGaWVsZHMuZXZlbnRUYWciOiIke2hwLnRhZ30ifX1dfSx7InBoYXNlIjoic3VwcGxlbWVudCIsInByb2Nlc3NvcnMiOlt7" + + "ImNsYXNzIjoiTG9nRXZlbnRQcmV0dHkiLCJ0aXRsZSI6IlN1cHBsZW1lbnRfRXZlbnRfUGFyc2VkOiIsImxvZ05hbWUiOiJjb20uYXR0LmdmcC5kY2FlLmV2ZW50UHJvY2Vzc29yLm91dHB1dCJ9LHsiY2xhc3MiOiJSdW5QaGFzZSIsInBoYXNlIjoic3VwcGxlbWVudF9wdWJsaXNoIn1dfSx7InBoYXNlIjoidm" + + "VzX3N1cHBsZW1lbnQiLCJmaWx0ZXIiOnsiY2xhc3MiOiJPbmVPZiIsImZpZWxkIjoiZXZlbnQuY29tbW9uRXZlbnRIZWFkZXIuZXZlbnRUeXBlIiwidmFsdWVzIjpbInZJUkNfQWxhcm1zIl19LCJwcm9jZXNzb3JzIjpbeyJjbGFzcyI6IlJ1blBoYXNlIiwicGhhc2UiOiJzdXBwbGVtZW50X3B1Ymxpc2gifV1" + + "9XX0nCiAgICAgICAgcGhhc2VzLnZlc19zdXBwbGVtZW50LnN0cmVhbVBhdHRlcm46IC4qc2VjLWZhdWx0LioKICAgICAgICBkZWZhdWx0Q2F0YWxvZ3M6IGNvbS5hdHQuZ2ZwLmRjYWUuZXZlbnRQcm9jZXNzb3IuQ2F0YWxvZyxjb20uYXR0LmVjb21wLmRjYWUuZXZlbnRwcm9jLmNkYXAuY29tbW9uLnByb2Nl" + + "c3NvcnMuQ2F0YWxvZwogICAgICAgIHBvc3RDb25maWc6ICd7InBoYXNlIjoic3VwcGxlbWVudF9wdWJsaXNoIiwicHJvY2Vzc29ycyI6W3siY2xhc3MiOiJFdmVudFByb2Nlc3Nvck1ldHJpYyIsIm1ldHJpYyI6Im91dC5ldmVudHMifSx7ImNsYXNzIjoiU2VuZEV2ZW50IiwiY2hhbm5lbCI6IjI0MjU2LURDQ" + + "UUtU1VQUExFTUVOVC1FVkVOVC1PVVQtdjEifV19JwogICAgICAgIHBoYXNlcy5zdXBwbGVtZW50LnN0cmVhbVBhdHRlcm46IC4qc3VwcGxlbWVudC1pbi4qCmltcG9ydHM6IFtdCnRvc2NhX2RlZmluaXRpb25zX3ZlcnNpb246IHRvc2NhX3NpbXBsZV95YW1sXzFfMF8wCg==\"," + +"\"models\":[{\"template\": \"dG9zY2FfZGVmaW5pdGlvbnNfdmVyc2lvbjogdG9zY2Ffc2ltcGxlX3lhbWxfMV8wXzANCm1ldGFkYXRhOg0KICB0ZW1wbGF0ZV9uYW1lOiBzdXBwbGVtZW50DQppbXBvcnRzOg0KLSBzY2hlbWE6IHNjaGVtYS55YW1sDQp0b3BvbG9neV90ZW1wbGF0ZToNCiAgaW5wdXRzO" + + "g0KICAgIGNvbm5lY3RlZF9icm9rZXJfZG5zX25hbWU6DQogICAgICB0eXBlOiBzdHJpbmcNCiAgICAgIGRlZmF1bHQ6IGNkYXBfYnJva2VyDQogIG5vZGVfdGVtcGxhdGVzOg0KICAgIHN1cHBsZW1lbnQ6DQogICAgICB0eXBlOiB0b3NjYS5kY2FlLm5vZGVzLmNkYXBBcHAuc3VwcGxlbWVudA0KICAgICAgc" + + "HJvcGVydGllczoNCiAgICAgICAgY29ubmVjdGVkX2Jyb2tlcl9kbnNfbmFtZToNCiAgICAgICAgICBnZXRfaW5wdXQ6IGNvbm5lY3RlZF9icm9rZXJfZG5zX25hbWUNCiAgICAgICAgZGVmYXVsdENhdGFsb2dzOiBjb20uYXR0LmdmcC5kY2FlLmV2ZW50UHJvY2Vzc29yLkNhdGFsb2csY29tLmF0dC5lY29tc" + + "C5kY2FlLmV2ZW50cHJvYy5jZGFwLmNvbW1vbi5wcm9jZXNzb3JzLkNhdGFsb2cNCiAgICAgICAganNvbjogJ3sicHJvY2Vzc2luZyI6W3sicGhhc2UiOiJzdXBwbGVtZW50IiwiZmlsdGVyIjp7ImNsYXNzIjoiT25lT2YiLCJmaWVsZCI6ImV2ZW50LmNvbW1vbkV2ZW50SGVhZGVyLmV2ZW50VHlwZSIsInZhb" + + "HVlcyI6WyJ2UENSRl9BbGFybXMiLCJ2TW9HX0FsYXJtcyIsImFwcGxpY2F0aW9uVm5mIiwiR3Vlc3RPU19BbGFybXMiLCJDb250cm9sIl19LCJwcm9jZXNzb3JzIjpbeyJjbGFzcyI6IkxvZ1RleHQiLCJsb2dMZXZlbCI6IklORk8iLCJsb2dUZXh0IjoiRW50ZXJpbmcgc3VwcGxlbWVudCBQaGFzZSAtIEZJT" + + "FRFUiBwYXJhbWV0ZXIgIC0gJHtldmVudC5jb21tb25FdmVudEhlYWRlci5ldmVudFR5cGV9In0seyJjbGFzcyI6IkRhdGVGb3JtYXR0ZXIiLCJ2YWx1ZSI6IiR7ZXZlbnQuY29tbW9uRXZlbnRIZWFkZXIuc3RhcnRFcG9jaE1pY3Jvc2VjfSIsImZyb21Gb3JtYXQiOiIjbXMiLCJmcm9tVHoiOiJHTVQiLCJ0b" + + "0ZpZWxkIjoiZXZlbnQuY29tbW9uRXZlbnRIZWFkZXIuaW50ZXJuYWxIZWFkZXJGaWVsZHMuZmlyc3REYXRldGltZSIsInRvRm9ybWF0IjoiRUVFLCBkZCBNTSB5eXl5IEhIOm1tOnNzIHp6eiIsInRvVHoiOiJHTVQifSx7ImNsYXNzIjoiRGF0ZUZvcm1hdHRlciIsInZhbHVlIjoiJHtldmVudC5jb21tb25Fd" + + "mVudEhlYWRlci5sYXN0RXBvY2hNaWNyb3NlY30iLCJmcm9tRm9ybWF0IjoiI21zIiwiZnJvbVR6IjoiR01UIiwidG9GaWVsZCI6ImV2ZW50LmNvbW1vbkV2ZW50SGVhZGVyLmludGVybmFsSGVhZGVyRmllbGRzLmxhc3REYXRldGltZSIsInRvRm9ybWF0IjoiRUVFLCBkZCBNTSB5eXl5IEhIOm1tOnNzIHp6" + + "eiIsInRvVHoiOiJHTVQifSx7ImNsYXNzIjoiRGF0ZUZvcm1hdHRlciIsInZhbHVlIjoiJXtub3cubXN9IiwiZnJvbUZvcm1hdCI6IiNtcyIsImZyb21UeiI6IkdNVCIsInRvRmllbGQiOiJldmVudC5jb21tb25FdmVudEhlYWRlci5pbnRlcm5hbEhlYWRlckZpZWxkcy5jb2xsZWN0b3JUaW1lU3RhbXAiLCJ" + + "0b0Zvcm1hdCI6IkVFRSwgZGQgTU0geXl5eSBISDptbTpzcyB6enoiLCJ0b1R6IjoiR01UIn0seyJjbGFzcyI6IlNldCIsInVwZGF0ZXMiOnsiZXZlbnQuY29tbW9uRXZlbnRIZWFkZXIuaW50ZXJuYWxIZWFkZXJGaWVsZHMuaW50ZXJuYWxIZWFkZXJGaWVsZHNWZXJzaW9uIjoiOS45IiwiZXZlbnQuY29tbW" + + "9uRXZlbnRIZWFkZXIuaW50ZXJuYWxIZWFkZXJGaWVsZHMuZXZlbnRUYWciOiIke2hwLnRhZ30ifX1dfSx7InBoYXNlIjoic3VwcGxlbWVudCIsInByb2Nlc3NvcnMiOlt7ImNsYXNzIjoiTG9nRXZlbnRQcmV0dHkiLCJ0aXRsZSI6IlN1cHBsZW1lbnRfRXZlbnRfUGFyc2VkOiIsImxvZ05hbWUiOiJjb20u" + + "YXR0LmdmcC5kY2FlLmV2ZW50UHJvY2Vzc29yLm91dHB1dCJ9LHsiY2xhc3MiOiJSdW5QaGFzZSIsInBoYXNlIjoic3VwcGxlbWVudF9wdWJsaXNoIn1dfSx7InBoYXNlIjoidmVzX3N1cHBsZW1lbnQiLCJmaWx0ZXIiOnsiY2xhc3MiOiJPbmVPZiIsImZpZWxkIjoiZXZlbnQuY29tbW9uRXZlbnRIZWFkZXI" + + "uZXZlbnRUeXBlIiwidmFsdWVzIjpbInZJUkNfQWxhcm1zIl19LCJwcm9jZXNzb3JzIjpbeyJjbGFzcyI6IlJ1blBoYXNlIiwicGhhc2UiOiJzdXBwbGVtZW50X3B1Ymxpc2gifV19XX0nDQogICAgICAgIHBoYXNlcy5zdXBwbGVtZW50LnBoYXNlTmFtZTogc3VwcGxlbWVudA0KICAgICAgICBwaGFzZXMuc" + + "3VwcGxlbWVudC5zdHJlYW1QYXR0ZXJuOiAuKnN1cHBsZW1lbnQtaW4uKg0KICAgICAgICBwaGFzZXMudmVzX3N1cHBsZW1lbnQucGhhc2VOYW1lOiB2ZXNfc3VwcGxlbWVudA0KICAgICAgICBwaGFzZXMudmVzX3N1cHBsZW1lbnQuc3RyZWFtUGF0dGVybjogLipzZWMtZmF1bHQuKg0KICAgICAgICBwb3N" + + "0Q29uZmlnOiAneyJwaGFzZSI6InN1cHBsZW1lbnRfcHVibGlzaCIsInByb2Nlc3NvcnMiOlt7ImNsYXNzIjoiRXZlbnRQcm9jZXNzb3JNZXRyaWMiLCJtZXRyaWMiOiJvdXQuZXZlbnRzIn0seyJjbGFzcyI6IlNlbmRFdmVudCIsImNoYW5uZWwiOiIyNDI1Ni1EQ0FFLVNVUFBMRU1FTlQtRVZFTlQtT1VUL" + + "XYxIn1dfScNCiAgICAgIGNhcGFiaWxpdGllczoNCiAgICAgICAgc3RyZWFtX3N1YnNjcmliZV8wOg0KICAgICAgICAgIHByb3BlcnRpZXM6DQogICAgICAgICAgICBmb3JtYXQ6IFZFU19zcGVjaWZpY2F0aW9uDQogICAgICAgICAgICByb3V0ZTogSUdOT1JFDQogICAgICAgICAgICB2ZXJzaW9uOiA1Lj" + + "I4LjQNCiAgICAgIHJlcXVpcmVtZW50czoNCiAgICAgIC0gc3RyZWFtX3B1Ymxpc2hfMDoNCiAgICAgICAgICBjYXBhYmlsaXR5OiBkY2FlLmNhcGFiaWxpdGllcy5zdHJlYW0uc3Vic2NyaWJlDQogICAgICAgICAgcmVsYXRpb25zaGlwOiBkY2FlLnJlbGF0aW9uc2hpcHMucmV3b3JrX2Nvbm5lY3RlZF9" + + "0bw0KICAgICAgICAgIG5vZGVfZmlsdGVyOg0KICAgICAgICAgICAgY2FwYWJpbGl0aWVzOg0KICAgICAgICAgICAgLSBkY2FlLmNhcGFiaWxpdGllcy5zdHJlYW0uc3Vic2NyaWJlOg0KICAgICAgICAgICAgICAgIHByb3BlcnRpZXM6DQogICAgICAgICAgICAgICAgLSBmb3JtYXQ6DQogICAgICAgICAgICAg" + + "ICAgICAtIGVxdWFsOiBWRVNfc3BlY2lmaWNhdGlvbg0KICAgICAgICAgICAgICAgIC0gdmVyc2lvbjoNCiAgICAgICAgICAgICAgICAgIC0gZXF1YWw6IDUuMjguNA0K\"," + +"\"schema\":\"dG9zY2FfZGVmaW5pdGlvbnNfdmVyc2lvbjogdG9zY2Ffc2ltcGxlX3lhbWxfMV8wXzANCmNhcGFiaWxpdHlfdHlwZXM6DQogIGRjYWUuY2FwYWJpbGl0aWVzLmNkYXBIb3N0Og0KICAgIGRlcml2ZWRfZnJvbTogdG9zY2EuY2FwYWJpbGl0aWVzLlJvb3QNCiAgZGNhZS5jYXBhYmlsaXRpZXMuY2" + + "9tcG9zaXRpb24uaG9zdDoNCiAgICBkZXJpdmVkX2Zyb206IHRvc2NhLmNhcGFiaWxpdGllcy5Sb290DQogICAgcHJvcGVydGllczoNCiAgICAgIGxvY2F0aW9uX2lkOg0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICAgIHNlcnZpY2VfaWQ6DQogICAgICAgIHR5cGU6IHN0cmluZw0KICBkY2FlLmNhcGFiaWx" + + "pdGllcy5kbW1hcC5mZWVkOg0KICAgIGRlcml2ZWRfZnJvbTogdG9zY2EuY2FwYWJpbGl0aWVzLlJvb3QNCiAgICBwcm9wZXJ0aWVzOg0KICAgICAgZmVlZF9uYW1lOg0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICAgIGxvY2F0aW9uOg0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICAgIG5vZGVfbmFtZToNC" + + "iAgICAgICAgdHlwZTogc3RyaW5nDQogIGRjYWUuY2FwYWJpbGl0aWVzLmRtbWFwLnRvcGljOg0KICAgIGRlcml2ZWRfZnJvbTogdG9zY2EuY2FwYWJpbGl0aWVzLlJvb3QNCiAgICBwcm9wZXJ0aWVzOg0KICAgICAgYWFmX3Bhc3N3b3JkOg0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICAgIGFhZl91c2Vyb" + + "mFtZToNCiAgICAgICAgdHlwZTogc3RyaW5nDQogICAgICBjbGllbnRfcm9sZToNCiAgICAgICAgdHlwZTogc3RyaW5nDQogICAgICBsb2NhdGlvbjoNCiAgICAgICAgdHlwZTogc3RyaW5nDQogICAgICBub2RlX25hbWU6DQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgICAgdG9waWNfbmFtZToNCiAgICAgI" + + "CAgdHlwZTogc3RyaW5nDQogIGRjYWUuY2FwYWJpbGl0aWVzLmRvY2tlckhvc3Q6DQogICAgZGVyaXZlZF9mcm9tOiB0b3NjYS5jYXBhYmlsaXRpZXMuUm9vdA0KICBkY2FlLmNhcGFiaWxpdGllcy5wb2xpY3k6DQogICAgZGVyaXZlZF9mcm9tOiB0b3NjYS5jYXBhYmlsaXRpZXMuUm9vdA0KICBkY2FlLmNhc" + + "GFiaWxpdGllcy5zZXJ2aWNlLnByb3ZpZGU6DQogICAgZGVyaXZlZF9mcm9tOiB0b3NjYS5jYXBhYmlsaXRpZXMuUm9vdA0KICAgIHByb3BlcnRpZXM6DQogICAgICByZXF1ZXN0X2Zvcm1hdDoNCiAgICAgICAgdHlwZTogc3RyaW5nDQogICAgICByZXF1ZXN0X3ZlcnNpb246DQogICAgICAgIHR5cGU6IHN0c" + + "mluZw0KICAgICAgcmVzcG9uc2VfZm9ybWF0Og0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICAgIHJlc3BvbnNlX3ZlcnNpb246DQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgICAgc2VydmljZV9lbmRwb2ludDoNCiAgICAgICAgdHlwZTogc3RyaW5nDQogICAgICBzZXJ2aWNlX25hbWU6DQogICAgICAgIH" + + "R5cGU6IHN0cmluZw0KICAgICAgdmVyYjoNCiAgICAgICAgdHlwZTogc3RyaW5nDQogIGRjYWUuY2FwYWJpbGl0aWVzLnN0cmVhbS5zdWJzY3JpYmU6DQogICAgZGVyaXZlZF9mcm9tOiB0b3NjYS5jYXBhYmlsaXRpZXMuUm9vdA0KICAgIHByb3BlcnRpZXM6DQogICAgICBmb3JtYXQ6DQogICAgICAgIHR5cG" + + "U6IHN0cmluZw0KICAgICAgcm91dGU6DQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgICAgdmVyc2lvbjoNCiAgICAgICAgdHlwZTogc3RyaW5nDQpyZWxhdGlvbnNoaXBfdHlwZXM6DQogIGNsb3VkaWZ5LnJlbGF0aW9uc2hpcHMuZGVwZW5kc19vbjoNCiAgICBkZXJpdmVkX2Zyb206IHRvc2NhLnJlbGF0aW9" + + "uc2hpcHMuUm9vdA0KICBkY2FlLnJlbGF0aW9uc2hpcHMuY29tcG9uZW50X2NvbnRhaW5lZF9pbjoNCiAgICBkZXJpdmVkX2Zyb206IHRvc2NhLnJlbGF0aW9uc2hpcHMuUm9vdA0KICBkY2FlLnJlbGF0aW9uc2hpcHMucHVibGlzaF9ldmVudHM6DQogICAgZGVyaXZlZF9mcm9tOiB0b3NjYS5yZWxhdGlvbnNo" + + "aXBzLlJvb3QNCiAgZGNhZS5yZWxhdGlvbnNoaXBzLnB1Ymxpc2hfZmlsZXM6DQogICAgZGVyaXZlZF9mcm9tOiB0b3NjYS5yZWxhdGlvbnNoaXBzLlJvb3QNCiAgZGNhZS5yZWxhdGlvbnNoaXBzLnJld29ya19jb25uZWN0ZWRfdG86DQogICAgZGVyaXZlZF9mcm9tOiB0b3NjYS5yZWxhdGlvbnNoaXBzLlJvb" + + "3QNCiAgZGNhZS5yZWxhdGlvbnNoaXBzLnN1YnNjcmliZV90b19ldmVudHM6DQogICAgZGVyaXZlZF9mcm9tOiB0b3NjYS5yZWxhdGlvbnNoaXBzLlJvb3QNCiAgZGNhZS5yZWxhdGlvbnNoaXBzLnN1YnNjcmliZV90b19maWxlczoNCiAgICBkZXJpdmVkX2Zyb206IHRvc2NhLnJlbGF0aW9uc2hpcHMuUm9vdA" + + "0Kbm9kZV90eXBlczoNCiAgY2xvdWRpZnkuZGNhZS5ub2Rlcy5Sb290Og0KICAgIGRlcml2ZWRfZnJvbTogdG9zY2Eubm9kZXMuUm9vdA0KICBkY2FlLm5vZGVzLkRvY2tlckNvbnRhaW5lckZvckNvbXBvbmVudHM6DQogICAgYXR0cmlidXRlczoNCiAgICAgIHNlcnZpY2VfY29tcG9uZW50X25hbWU6DQogICA" + + "gICAgIHR5cGU6IHN0cmluZw0KICAgIGRlcml2ZWRfZnJvbTogY2xvdWRpZnkuZGNhZS5ub2Rlcy5Sb290DQogICAgcHJvcGVydGllczoNCiAgICAgIGFwcGxpY2F0aW9uX2NvbmZpZzoNCiAgICAgICAgcmVxdWlyZWQ6IHRydWUNCiAgICAgICAgdHlwZTogbWFwDQogICAgICBkb2NrZXJfY29uZmlnOg0KICAg" + + "ICAgICB0eXBlOiBtYXANCiAgICAgIGltYWdlOg0KICAgICAgICByZXF1aXJlZDogdHJ1ZQ0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICAgIGxvY2F0aW9uX2lkOg0KICAgICAgICByZXF1aXJlZDogdHJ1ZQ0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICAgIHNlcnZpY2VfY29tcG9uZW50X3R5cGU6DQogI" + + "CAgICAgIHJlcXVpcmVkOiB0cnVlDQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgIHJlcXVpcmVtZW50czoNCiAgICAtIGhvc3Q6DQogICAgICAgIGNhcGFiaWxpdHk6IGRjYWUuY2FwYWJpbGl0aWVzLmRvY2tlckhvc3QNCiAgICAgICAgcmVsYXRpb25zaGlwOiBkY2FlLnJlbGF0aW9uc2hpcHMuY29tcG9uZW" + + "50X2NvbnRhaW5lZF9pbg0KICBkY2FlLm5vZGVzLkRvY2tlckNvbnRhaW5lckZvckNvbXBvbmVudHNVc2luZ0RtYWFwOg0KICAgIGRlcml2ZWRfZnJvbTogZGNhZS5ub2Rlcy5Eb2NrZXJDb250YWluZXJGb3JDb21wb25lbnRzDQogICAgcHJvcGVydGllczoNCiAgICAgIHN0cmVhbXNfcHVibGlzaGVzOg0KICA" + + "gICAgICB0eXBlOiBsaXN0DQogICAgICBzdHJlYW1zX3N1YnNjcmliZXM6DQogICAgICAgIHR5cGU6IGxpc3QNCiAgZGNhZS5ub2Rlcy5FeGlzdGluZ0ZlZWQ6DQogICAgY2FwYWJpbGl0aWVzOg0KICAgICAgZmVlZDoNCiAgICAgICAgdHlwZTogZGNhZS5jYXBhYmlsaXRpZXMuZG1tYXAuZmVlZA0KICAgIGRl" + + "cml2ZWRfZnJvbTogY2xvdWRpZnkuZGNhZS5ub2Rlcy5Sb290DQogICAgcHJvcGVydGllczoNCiAgICAgIGZlZWRfaWQ6DQogICAgICAgIHR5cGU6IHN0cmluZw0KICBkY2FlLm5vZGVzLkV4aXN0aW5nVG9waWM6DQogICAgY2FwYWJpbGl0aWVzOg0KICAgICAgdG9waWM6DQogICAgICAgIHR5cGU6IGRjYWUuY" + + "2FwYWJpbGl0aWVzLmRtbWFwLnRvcGljDQogICAgZGVyaXZlZF9mcm9tOiBjbG91ZGlmeS5kY2FlLm5vZGVzLlJvb3QNCiAgICBwcm9wZXJ0aWVzOg0KICAgICAgZnF0bjoNCiAgICAgICAgdHlwZTogc3RyaW5nDQogIGRjYWUubm9kZXMuRXh0ZXJuYWxUYXJnZXRGZWVkOg0KICAgIGNhcGFiaWxpdGllczoNCi" + + "AgICAgIGZlZWQ6DQogICAgICAgIHR5cGU6IGRjYWUuY2FwYWJpbGl0aWVzLmRtbWFwLmZlZWQNCiAgICBkZXJpdmVkX2Zyb206IGNsb3VkaWZ5LmRjYWUubm9kZXMuUm9vdA0KICAgIHByb3BlcnRpZXM6DQogICAgICB1cmw6DQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgICAgdXNlcm5hbWU6DQogICAgICA" + + "gIHR5cGU6IHN0cmluZw0KICAgICAgdXNlcnB3Og0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgZGNhZS5ub2Rlcy5GZWVkOg0KICAgIGNhcGFiaWxpdGllczoNCiAgICAgIGZlZWQ6DQogICAgICAgIHR5cGU6IGRjYWUuY2FwYWJpbGl0aWVzLmRtbWFwLmZlZWQNCiAgICBkZXJpdmVkX2Zyb206IGNsb3VkaWZ5" + + "LmRjYWUubm9kZXMuUm9vdA0KICAgIHByb3BlcnRpZXM6DQogICAgICBmZWVkX25hbWU6DQogICAgICAgIHR5cGU6IHN0cmluZw0KICBkY2FlLm5vZGVzLk1pY3JvU2VydmljZS5jZGFwOg0KICAgIGRlcml2ZWRfZnJvbTogY2xvdWRpZnkuZGNhZS5ub2Rlcy5Sb290DQogICAgcHJvcGVydGllczoNCiAgICAgI" + + "GFwcF9jb25maWc6DQogICAgICAgIHJlcXVpcmVkOiBmYWxzZQ0KICAgICAgICB0eXBlOiBtYXANCiAgICAgIGFwcF9wcmVmZXJlbmNlczoNCiAgICAgICAgcmVxdWlyZWQ6IGZhbHNlDQogICAgICAgIHR5cGU6IG1hcA0KICAgICAgYXJ0aWZhY3RfbmFtZToNCiAgICAgICAgcmVxdWlyZWQ6IGZhbHNlDQogIC" + + "AgICAgIHR5cGU6IHN0cmluZw0KICAgICAgYXJ0aWZhY3RfdmVyc2lvbjoNCiAgICAgICAgcmVxdWlyZWQ6IGZhbHNlDQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgICAgY29ubmVjdGlvbnM6DQogICAgICAgIHJlcXVpcmVkOiBmYWxzZQ0KICAgICAgICB0eXBlOiBtYXANCiAgICAgIGphcl91cmw6DQogICA" + + "gICAgIHR5cGU6IHN0cmluZw0KICAgICAgbmFtZXNwYWNlOg0KICAgICAgICByZXF1aXJlZDogZmFsc2UNCiAgICAgICAgdHlwZTogc3RyaW5nDQogICAgICBwcm9ncmFtX3ByZWZlcmVuY2VzOg0KICAgICAgICByZXF1aXJlZDogZmFsc2UNCiAgICAgICAgdHlwZTogbGlzdA0KICAgICAgcHJvZ3JhbXM6DQog" + + "ICAgICAgIHJlcXVpcmVkOiBmYWxzZQ0KICAgICAgICB0eXBlOiBsaXN0DQogICAgICBzZXJ2aWNlX2NvbXBvbmVudF90eXBlOg0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICAgIHNlcnZpY2VfZW5kcG9pbnRzOg0KICAgICAgICByZXF1aXJlZDogZmFsc2UNCiAgICAgICAgdHlwZTogbGlzdA0KICAgICAgc" + + "3RyZWFtbmFtZToNCiAgICAgICAgcmVxdWlyZWQ6IGZhbHNlDQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgIGF0dHJpYnV0ZXM6DQogICAgICBzZXJ2aWNlX2NvbXBvbmVudF9uYW1lOg0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICBjYXBhYmlsaXRpZXM6DQogICAgICBzdHJlYW1fc3Vic2NyaWJlXzA6DQ" + + "ogICAgICAgIHR5cGU6IGRjYWUuY2FwYWJpbGl0aWVzLnN0cmVhbS5zdWJzY3JpYmUNCiAgICByZXF1aXJlbWVudHM6DQogICAgLSBob3N0Og0KICAgICAgICBjYXBhYmlsaXR5OiBkY2FlLmNhcGFiaWxpdGllcy5jZGFwSG9zdA0KICAgICAgICByZWxhdGlvbnNoaXA6IGRjYWUucmVsYXRpb25zaGlwcy5jb2" + + "1wb25lbnRfY29udGFpbmVkX2luDQogICAgLSBzdHJlYW1fcHVibGlzaF8wOg0KICAgICAgICBjYXBhYmlsaXR5OiBkY2FlLmNhcGFiaWxpdGllcy5zdHJlYW0uc3Vic2NyaWJlDQogICAgICAgIHJlbGF0aW9uc2hpcDogZGNhZS5yZWxhdGlvbnNoaXBzLnJld29ya19jb25uZWN0ZWRfdG8NCiAgICBpbnRlcmZ" + + "hY2VzOg0KICAgICAgY2xvdWRpZnkuaW50ZXJmYWNlcy5saWZlY3ljbGU6DQogICAgICAgIGNyZWF0ZToNCiAgICAgICAgICBpbnB1dHM6DQogICAgICAgICAgICBjb25uZWN0ZWRfYnJva2VyX2Ruc19uYW1lOg0KICAgICAgICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICAgICAgdHlwZTogdG9zY2EuaW50ZXJ" + + "mYWNlcy5Sb290DQogIGRjYWUubm9kZXMuU2VsZWN0ZWREb2NrZXJIb3N0Og0KICAgIGNhcGFiaWxpdGllczoNCiAgICAgIGhvc3Q6DQogICAgICAgIHR5cGU6IGRjYWUuY2FwYWJpbGl0aWVzLmRvY2tlckhvc3QNCiAgICBkZXJpdmVkX2Zyb206IGNsb3VkaWZ5LmRjYWUubm9kZXMuUm9vdA0KICAgIHByb3B" + + "lcnRpZXM6DQogICAgICBkb2NrZXJfaG9zdF9vdmVycmlkZToNCiAgICAgICAgdHlwZTogc3RyaW5nDQogICAgICBsb2NhdGlvbl9pZDoNCiAgICAgICAgcmVxdWlyZWQ6IHRydWUNCiAgICAgICAgdHlwZTogc3RyaW5nDQogIGRjYWUubm9kZXMuVG9waWM6DQogICAgY2FwYWJpbGl0aWVzOg0KICAgICAgdG9w" + + "aWM6DQogICAgICAgIHR5cGU6IGRjYWUuY2FwYWJpbGl0aWVzLmRtbWFwLnRvcGljDQogICAgZGVyaXZlZF9mcm9tOiBjbG91ZGlmeS5kY2FlLm5vZGVzLlJvb3QNCiAgICBwcm9wZXJ0aWVzOg0KICAgICAgdG9waWNfbmFtZToNCiAgICAgICAgdHlwZTogc3RyaW5nDQogIGRjYWUubm9kZXMuY29tcG9zaXRpb" + + "24udmlydHVhbDoNCiAgICBjYXBhYmlsaXRpZXM6DQogICAgICBob3N0Og0KICAgICAgICB0eXBlOiBkY2FlLmNhcGFiaWxpdGllcy5jb21wb3NpdGlvbi5ob3N0DQogICAgZGVyaXZlZF9mcm9tOiB0b3NjYS5ub2Rlcy5Sb290DQogICAgcHJvcGVydGllczoNCiAgICAgIGxvY2F0aW9uX2lkOg0KICAgICAgIC" + + "ByZXF1aXJlZDogdHJ1ZQ0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICAgIHNlcnZpY2VfaWQ6DQogICAgICAgIHJlcXVpcmVkOiB0cnVlDQogICAgICAgIHR5cGU6IHN0cmluZw0KICBkY2FlLm5vZGVzLnBvbGljeToNCiAgICBjYXBhYmlsaXRpZXM6DQogICAgICBwb2xpY3k6DQogICAgICAgIHR5cGU6IGR" + + "jYWUuY2FwYWJpbGl0aWVzLnBvbGljeQ0KICAgIGRlcml2ZWRfZnJvbTogY2xvdWRpZnkuZGNhZS5ub2Rlcy5Sb290DQogICAgcHJvcGVydGllczoNCiAgICAgIHBvbGljeV9pZDoNCiAgICAgICAgcmVxdWlyZWQ6IHRydWUNCiAgICAgICAgdHlwZTogc3RyaW5nDQogIHBvbGljeS5ub2Rlcy5Sb290Og0KICAg" + + "IGRlcml2ZWRfZnJvbTogdG9zY2Eubm9kZXMuUm9vdA0KICAgIHByb3BlcnRpZXM6DQogICAgICBwb2xpY3lEZXNjcmlwdGlvbjoNCiAgICAgICAgcmVxdWlyZWQ6IGZhbHNlDQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgICAgcG9saWN5TmFtZToNCiAgICAgICAgcmVxdWlyZWQ6IHRydWUNCiAgICAgICAgd" + + "HlwZTogc3RyaW5nDQogICAgICBwb2xpY3lTY29wZToNCiAgICAgICAgcmVxdWlyZWQ6IHRydWUNCiAgICAgICAgdHlwZTogc3RyaW5nDQogICAgICBwb2xpY3lWZXJzaW9uOg0KICAgICAgICByZXF1aXJlZDogdHJ1ZQ0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgdG9zY2EuZGNhZS5ub2Rlcy5Sb290Og0KIC" + + "AgIGRlcml2ZWRfZnJvbTogdG9zY2Eubm9kZXMuUm9vdA0KICB0b3NjYS5kY2FlLm5vZGVzLmNkYXBBcHA6DQogICAgYXR0cmlidXRlczoNCiAgICAgIHNlcnZpY2VfY29tcG9uZW50X25hbWU6DQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgIGRlcml2ZWRfZnJvbTogdG9zY2EuZGNhZS5ub2Rlcy5Sb290DQ" + + "ogICAgcHJvcGVydGllczoNCiAgICAgIGNvbm5lY3RlZF9icm9rZXJfZG5zX25hbWU6DQogICAgICAgIGRlZmF1bHQ6IGNkYXBfYnJva2VyDQogICAgICAgIHJlcXVpcmVkOiB0cnVlDQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgICAgamFyX3VybDoNCiAgICAgICAgcmVxdWlyZWQ6IHRydWUNCiAgICAgIC" + + "AgdHlwZTogc3RyaW5nDQogICAgICBzZXJ2aWNlX2NvbXBvbmVudF90eXBlOg0KICAgICAgICByZXF1aXJlZDogdHJ1ZQ0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICByZXF1aXJlbWVudHM6DQogICAgLSBob3N0Og0KICAgICAgICBjYXBhYmlsaXR5OiBkY2FlLmNhcGFiaWxpdGllcy5jZGFwSG9zdA0KICA" + + "gICAgICByZWxhdGlvbnNoaXA6IGRjYWUucmVsYXRpb25zaGlwcy5jb21wb25lbnRfY29udGFpbmVkX2luDQogIHRvc2NhLmRjYWUubm9kZXMuY2RhcEFwcC5zdXBwbGVtZW50Og0KICAgIGRlcml2ZWRfZnJvbTogdG9zY2EuZGNhZS5ub2Rlcy5jZGFwQXBwDQogICAgcHJvcGVydGllczoNCiAgICAgIGRlZmF" + + "1bHRDYXRhbG9nczoNCiAgICAgICAgdHlwZTogc3RyaW5nDQogICAgICBqc29uOg0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICAgIHBoYXNlcy5zdXBwbGVtZW50LnBoYXNlTmFtZToNCiAgICAgICAgdHlwZTogc3RyaW5nDQogICAgICBwaGFzZXMuc3VwcGxlbWVudC5zdHJlYW1QYXR0ZXJuOg0KICAgICAg" + + "ICB0eXBlOiBzdHJpbmcNCiAgICAgIHBoYXNlcy52ZXNfc3VwcGxlbWVudC5waGFzZU5hbWU6DQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgICAgcGhhc2VzLnZlc19zdXBwbGVtZW50LnN0cmVhbVBhdHRlcm46DQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgICAgcG9zdENvbmZpZzoNCiAgICAgICAgdHlwZ" + + "Togc3RyaW5nDQogICAgY2FwYWJpbGl0aWVzOg0KICAgICAgc3RyZWFtX3N1YnNjcmliZV8wOg0KICAgICAgICB0eXBlOiBkY2FlLmNhcGFiaWxpdGllcy5zdHJlYW0uc3Vic2NyaWJlDQogICAgcmVxdWlyZW1lbnRzOg0KICAgIC0gc3RyZWFtX3B1Ymxpc2hfMDoNCiAgICAgICAgY2FwYWJpbGl0eTogZGNhZS" + + "5jYXBhYmlsaXRpZXMuc3RyZWFtLnN1YnNjcmliZQ0KICAgICAgICByZWxhdGlvbnNoaXA6IGRjYWUucmVsYXRpb25zaGlwcy5yZXdvcmtfY29ubmVjdGVkX3RvDQogIHRvc2NhLmRjYWUubm9kZXMuZG1hYXAuZXhpc3RpbmdGZWVkOg0KICAgIGNhcGFiaWxpdGllczoNCiAgICAgIGZlZWQ6DQogICAgICAgIHR" + + "5cGU6IGRjYWUuY2FwYWJpbGl0aWVzLmRtbWFwLmZlZWQNCiAgICBkZXJpdmVkX2Zyb206IHRvc2NhLmRjYWUubm9kZXMuUm9vdA0KICAgIHByb3BlcnRpZXM6DQogICAgICBmZWVkX2lkOg0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICAgIGxvY2F0aW9uOg0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICAg" + + "IG5vZGVfbmFtZToNCiAgICAgICAgdHlwZTogc3RyaW5nDQogICAgcmVxdWlyZW1lbnRzOg0KICAgIC0gY29tcG9zaXRpb246DQogICAgICAgIGNhcGFiaWxpdHk6IGRjYWUuY2FwYWJpbGl0aWVzLmNvbXBvc2l0aW9uLmhvc3QNCiAgdG9zY2EuZGNhZS5ub2Rlcy5kbWFhcC5leGlzdGluZ1RvcGljOg0KICAg" + + "IGNhcGFiaWxpdGllczoNCiAgICAgIHRvcGljOg0KICAgICAgICB0eXBlOiBkY2FlLmNhcGFiaWxpdGllcy5kbW1hcC50b3BpYw0KICAgIGRlcml2ZWRfZnJvbTogdG9zY2EuZGNhZS5ub2Rlcy5Sb290DQogICAgcHJvcGVydGllczoNCiAgICAgIGFhZl9wYXNzd29yZDoNCiAgICAgICAgdHlwZTogc3RyaW5nDQ" + + "ogICAgICBhYWZfdXNlcm5hbWU6DQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgICAgY2xpZW50X3JvbGU6DQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgICAgZnF0bjoNCiAgICAgICAgdHlwZTogc3RyaW5nDQogICAgICBsb2NhdGlvbjoNCiAgICAgICAgdHlwZTogc3RyaW5nDQogICAgICBub2RlX25hbWU6" + + "DQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgIHJlcXVpcmVtZW50czoNCiAgICAtIGNvbXBvc2l0aW9uOg0KICAgICAgICBjYXBhYmlsaXR5OiBkY2FlLmNhcGFiaWxpdGllcy5jb21wb3NpdGlvbi5ob3N0DQogIHRvc2NhLmRjYWUubm9kZXMuZG1hYXAuZXh0ZXJuYWxUYXJnZXRGZWVkOg0KICAgIGNhcGFiaW" + + "xpdGllczoNCiAgICAgIGZlZWQ6DQogICAgICAgIHR5cGU6IGRjYWUuY2FwYWJpbGl0aWVzLmRtbWFwLmZlZWQNCiAgICBkZXJpdmVkX2Zyb206IHRvc2NhLmRjYWUubm9kZXMuUm9vdA0KICAgIHByb3BlcnRpZXM6DQogICAgICBsb2NhdGlvbjoNCiAgICAgICAgdHlwZTogc3RyaW5nDQogICAgICBub2RlX25" + + "hbWU6DQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgICAgdXJsOg0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICAgIHVzZXJuYW1lOg0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICAgIHVzZXJwdzoNCiAgICAgICAgdHlwZTogc3RyaW5nDQogICAgcmVxdWlyZW1lbnRzOg0KICAgIC0gY29tcG9zaXRpb246" + + "DQogICAgICAgIGNhcGFiaWxpdHk6IGRjYWUuY2FwYWJpbGl0aWVzLmNvbXBvc2l0aW9uLmhvc3QNCiAgdG9zY2EuZGNhZS5ub2Rlcy5kbWFhcC5mZWVkOg0KICAgIGNhcGFiaWxpdGllczoNCiAgICAgIGZlZWQ6DQogICAgICAgIHR5cGU6IGRjYWUuY2FwYWJpbGl0aWVzLmRtbWFwLmZlZWQNCiAgICBkZXJpd" + + "mVkX2Zyb206IHRvc2NhLmRjYWUubm9kZXMuUm9vdA0KICAgIHByb3BlcnRpZXM6DQogICAgICBmZWVkX25hbWU6DQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgICAgbG9jYXRpb246DQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgICAgbm9kZV9uYW1lOg0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICByZX" + + "F1aXJlbWVudHM6DQogICAgLSBjb21wb3NpdGlvbjoNCiAgICAgICAgY2FwYWJpbGl0eTogZGNhZS5jYXBhYmlsaXRpZXMuY29tcG9zaXRpb24uaG9zdA0KICB0b3NjYS5kY2FlLm5vZGVzLmRtYWFwLnRvcGljOg0KICAgIGNhcGFiaWxpdGllczoNCiAgICAgIHRvcGljOg0KICAgICAgICB0eXBlOiBkY2FlLmN" + + "hcGFiaWxpdGllcy5kbW1hcC50b3BpYw0KICAgIGRlcml2ZWRfZnJvbTogdG9zY2EuZGNhZS5ub2Rlcy5Sb290DQogICAgcHJvcGVydGllczoNCiAgICAgIGFhZl9wYXNzd29yZDoNCiAgICAgICAgdHlwZTogc3RyaW5nDQogICAgICBhYWZfdXNlcm5hbWU6DQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgICAg" + + "Y2xpZW50X3JvbGU6DQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgICAgbG9jYXRpb246DQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgICAgbm9kZV9uYW1lOg0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICAgIHRvcGljX25hbWU6DQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgIHJlcXVpcmVtZW50czoNC" + + "iAgICAtIGNvbXBvc2l0aW9uOg0KICAgICAgICBjYXBhYmlsaXR5OiBkY2FlLmNhcGFiaWxpdGllcy5jb21wb3NpdGlvbi5ob3N0DQogIHRvc2NhLmRjYWUubm9kZXMuZG9ja2VyQXBwOg0KICAgIGF0dHJpYnV0ZXM6DQogICAgICBzZXJ2aWNlX2NvbXBvbmVudF9uYW1lOg0KICAgICAgICB0eXBlOiBzdHJpb" + + "mcNCiAgICBkZXJpdmVkX2Zyb206IHRvc2NhLmRjYWUubm9kZXMuUm9vdA0KICAgIHByb3BlcnRpZXM6DQogICAgICBpbWFnZToNCiAgICAgICAgcmVxdWlyZWQ6IHRydWUNCiAgICAgICAgdHlwZTogc3RyaW5nDQogICAgICBsb2NhdGlvbl9pZDoNCiAgICAgICAgcmVxdWlyZWQ6IHRydWUNCiAgICAgICAgd" + + "HlwZTogc3RyaW5nDQogICAgICBzZXJ2aWNlX2NvbXBvbmVudF90eXBlOg0KICAgICAgICByZXF1aXJlZDogdHJ1ZQ0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICByZXF1aXJlbWVudHM6DQogICAgLSBob3N0Og0KICAgICAgICBjYXBhYmlsaXR5OiBkY2FlLmNhcGFiaWxpdGllcy5kb2NrZXJIb3N0DQogI" + + "CAgICAgIHJlbGF0aW9uc2hpcDogZGNhZS5yZWxhdGlvbnNoaXBzLmNvbXBvbmVudF9jb250YWluZWRfaW4NCiAgICAtIGNvbXBvc2l0aW9uOg0KICAgICAgICBjYXBhYmlsaXR5OiBkY2FlLmNhcGFiaWxpdGllcy5jb21wb3NpdGlvbi5ob3N0DQogIHRvc2NhLmRjYWUubm9kZXMuZG9ja2VySG9zdDoNCiAgIC" + + "BjYXBhYmlsaXRpZXM6DQogICAgICBob3N0Og0KICAgICAgICB0eXBlOiBkY2FlLmNhcGFiaWxpdGllcy5kb2NrZXJIb3N0DQogICAgZGVyaXZlZF9mcm9tOiB0b3NjYS5kY2FlLm5vZGVzLlJvb3QNCiAgICBwcm9wZXJ0aWVzOg0KICAgICAgZG9ja2VyX2hvc3Rfb3ZlcnJpZGU6DQogICAgICAgIHR5cGU6IHN" + + "0cmluZw0KICAgICAgbG9jYXRpb25faWQ6DQogICAgICAgIHJlcXVpcmVkOiB0cnVlDQogICAgICAgIHR5cGU6IHN0cmluZw0KICAgIHJlcXVpcmVtZW50czoNCiAgICAtIGNvbXBvc2l0aW9uOg0KICAgICAgICBjYXBhYmlsaXR5OiBkY2FlLmNhcGFiaWxpdGllcy5jb21wb3NpdGlvbi5ob3N0DQogIHRvc2Nh" + + "LmRjYWUubm9kZXMucG9saWN5Og0KICAgIGNhcGFiaWxpdGllczoNCiAgICAgIHBvbGljeToNCiAgICAgICAgdHlwZTogZGNhZS5jYXBhYmlsaXRpZXMucG9saWN5DQogICAgZGVyaXZlZF9mcm9tOiB0b3NjYS5kY2FlLm5vZGVzLlJvb3QNCiAgICBwcm9wZXJ0aWVzOg0KICAgICAgcG9saWN5X2lkOg0KICAgI" + + "CAgICByZXF1aXJlZDogdHJ1ZQ0KICAgICAgICB0eXBlOiBzdHJpbmcNCiAgICAgIHBvbGljeV9uYW1lOg0KICAgICAgICB0eXBlOiBzdHJpbmcNCg==\"," + +"\"translate\": \"dG9zY2FfZGVmaW5pdGlvbnNfdmVyc2lvbjogdG9zY2Ffc2ltcGxlX3lhbWxfMV8wXzANCm1ldGFkYXRhOg0KICB0ZW1wbGF0ZV9uYW1lOiBzdXBwbGVtZW50X3RyYW5zbGF0ZQ0KaW1wb3J0czoNCi0gJzAnOiBodHRwOi8vZG9ja2VyY2VudHJhbC5pdC5hdHQuY29tOjgwOTMvbmV4dXMvcm" + + "Vwb3NpdG9yeS9yYXdjZW50cmFsL2NvbS5hdHQuZGNhZS5jb250cm9sbGVyL3R5cGVfZmlsZXMvZG9ja2VycGx1Z2luLzIuNC4wK3QuMC44L25vZGUtdHlwZS55YW1sDQotICcxJzogaHR0cDovL2RvY2tlcmNlbnRyYWwuaXQuYXR0LmNvbTo4MDkzL25leHVzL3JlcG9zaXRvcnkvcmF3Y2VudHJhbC9jb20uYXR0" + + "LmRjYWUuY29udHJvbGxlci90eXBlX2ZpbGVzL2RtYWFwLzEuMi4wK3QuMC45L2RtYWFwLnlhbWwNCi0gJzInOiBodHRwOi8vZG9ja2VyY2VudHJhbC5pdC5hdHQuY29tOjgwOTMvbmV4dXMvcmVwb3NpdG9yeS9yYXdjZW50cmFsL2NvbS5hdHQuZGNhZS5jb250cm9sbGVyL3R5cGVfZmlsZXMvcmVsYXRpb25za" + + "GlwLzEuMC4wK3QuMC4xL3JlbGF0aW9uc2hpcC10eXBlcy55YW1sDQp0b3BvbG9neV90ZW1wbGF0ZToNCiAgaW5wdXRzOg0KICAgIGNvbm5lY3RlZF9icm9rZXJfZG5zX25hbWU6DQogICAgICB0eXBlOiBzdHJpbmcNCiAgICAgIGRlZmF1bHQ6IGNkYXBfYnJva2VyDQogICAgZGVmYXVsdENhdGFsb2dzOg0KIC" + + "AgICAgdHlwZTogc3RyaW5nDQogICAgamFyX3VybDoNCiAgICAgIHR5cGU6IHN0cmluZw0KICAgIGpzb246DQogICAgICB0eXBlOiBzdHJpbmcNCiAgICBwaGFzZXMuc3VwcGxlbWVudC5waGFzZU5hbWU6DQogICAgICB0eXBlOiBzdHJpbmcNCiAgICBwaGFzZXMuc3VwcGxlbWVudC5zdHJlYW1QYXR0ZXJuOg0" + + "KICAgICAgdHlwZTogc3RyaW5nDQogICAgcGhhc2VzLnZlc19zdXBwbGVtZW50LnBoYXNlTmFtZToNCiAgICAgIHR5cGU6IHN0cmluZw0KICAgIHBoYXNlcy52ZXNfc3VwcGxlbWVudC5zdHJlYW1QYXR0ZXJuOg0KICAgICAgdHlwZTogc3RyaW5nDQogICAgcG9zdENvbmZpZzoNCiAgICAgIHR5cGU6IHN0cmlu" + + "Zw0KICAgIHNlcnZpY2VfY29tcG9uZW50X3R5cGU6DQogICAgICB0eXBlOiBzdHJpbmcNCiAgc3Vic3RpdHV0aW9uX21hcHBpbmdzOg0KICAgIG5vZGVfdHlwZTogdG9zY2EuZGNhZS5ub2Rlcy5jZGFwQXBwLnN1cHBsZW1lbnQNCiAgICBjYXBhYmlsaXRpZXM6DQogICAgICBzdHJlYW1fc3Vic2NyaWJlXzA6D" + + "QogICAgICAtIHN1cHBsZW1lbnQNCiAgICAgIC0gc3RyZWFtX3N1YnNjcmliZV8wDQogICAgcmVxdWlyZW1lbnRzOg0KICAgICAgaG9zdDoNCiAgICAgIC0gc3VwcGxlbWVudA0KICAgICAgLSBob3N0DQogICAgICBzdHJlYW1fcHVibGlzaF8wOg0KICAgICAgLSBzdXBwbGVtZW50DQogICAgICAtIHN0cmVhbV" + + "9wdWJsaXNoXzANCiAgbm9kZV90ZW1wbGF0ZXM6DQogICAgc3VwcGxlbWVudDoNCiAgICAgIHR5cGU6IGRjYWUubm9kZXMuTWljcm9TZXJ2aWNlLmNkYXANCiAgICAgIHByb3BlcnRpZXM6DQogICAgICAgIGFwcF9jb25maWc6DQogICAgICAgICAgZGVzY3JpcHRpb246IFN1cHBsZW1lbnQgTWljcm9zZXJ2aWN" + + "lDQogICAgICAgICAgZXZlbnRGYWN0b3J5OiAnJw0KICAgICAgICAgIG1vbml0b3JUaHJlYWRzOiB0cnVlDQogICAgICAgICAgbmFtZTogc3VwcGxlbWVudE1TDQogICAgICAgICAgcnVsZUtleVBhdHRlcm46IHZuZlR5cGVzLioNCiAgICAgICAgICBzdGFydE5vQ2hhbm5lbHM6IGZhbHNlDQogICAgICAgIGFw" + + "cF9wcmVmZXJlbmNlczoNCiAgICAgICAgICBkZWZhdWx0Q2F0YWxvZ3M6DQogICAgICAgICAgICBnZXRfaW5wdXQ6IGRlZmF1bHRDYXRhbG9ncw0KICAgICAgICAgIGRlZmF1bHRPYmplY3RzOiAnJw0KICAgICAgICAgIGRtYWFwQ29uc3VtZXJHcnA6IERDQUUtQ0RBUC1TVVBQTEVNRU5ULU1TDQogICAgICAgI" + + "CAganNvbjoNCiAgICAgICAgICAgIGdldF9pbnB1dDoganNvbg0KICAgICAgICAgIHBoYXNlcy5zdXBwbGVtZW50LnBoYXNlTmFtZToNCiAgICAgICAgICAgIGdldF9pbnB1dDogcGhhc2VzLnN1cHBsZW1lbnQucGhhc2VOYW1lDQogICAgICAgICAgcGhhc2VzLnN1cHBsZW1lbnQuc3RyZWFtUGF0dGVybjoNCi" + + "AgICAgICAgICAgIGdldF9pbnB1dDogcGhhc2VzLnN1cHBsZW1lbnQuc3RyZWFtUGF0dGVybg0KICAgICAgICAgIHBoYXNlcy52ZXNfc3VwcGxlbWVudC5waGFzZU5hbWU6DQogICAgICAgICAgICBnZXRfaW5wdXQ6IHBoYXNlcy52ZXNfc3VwcGxlbWVudC5waGFzZU5hbWUNCiAgICAgICAgICBwaGFzZXMudm" + + "VzX3N1cHBsZW1lbnQuc3RyZWFtUGF0dGVybjoNCiAgICAgICAgICAgIGdldF9pbnB1dDogcGhhc2VzLnZlc19zdXBwbGVtZW50LnN0cmVhbVBhdHRlcm4NCiAgICAgICAgICBwb3N0Q29uZmlnOg0KICAgICAgICAgICAgZ2V0X2lucHV0OiBwb3N0Q29uZmlnDQogICAgICAgIGFydGlmYWN0X25hbWU6IGRjYWU" + + "tZXZlbnQtcHJvYy1jZGFwLXN1cHBsZW1lbnQNCiAgICAgICAgYXJ0aWZhY3RfdmVyc2lvbjogMS4wLjE2DQogICAgICAgIGNvbm5lY3Rpb25zOg0KICAgICAgICAgIHN0cmVhbXNfcHVibGlzaGVzOiBbXQ0KICAgICAgICAgIHN0cmVhbXNfc3Vic2NyaWJlczogW10NCiAgICAgICAgamFyX3VybDogaHR0cDo" + + "vL21hdmVuY2VudHJhbC5pdC5hdHQuY29tOjgwODQvbmV4dXMvY29udGVudC9yZXBvc2l0b3JpZXMvYXR0LXJlcG9zaXRvcnktcmVsZWFzZXMvY29tL2F0dC9lY29tcC9kY2FlL2V2ZW50cHJvYy9kY2FlLWV2ZW50LXByb2MtY2RhcC1zdXBwbGVtZW50LzEuMC4xNi9kY2FlLWV2ZW50LXByb2MtY2RhcC1zdXB" + + "wbGVtZW50LTEuMC4xNi5qYXINCiAgICAgICAgbmFtZXNwYWNlOiBldmVudF9wcm9jX3N1cHBsZW1lbnQNCiAgICAgICAgcHJvZ3JhbXM6DQogICAgICAgIC0gcHJvZ3JhbV9pZDogc3VwcGxlbWVudE1TV29ya2VyDQogICAgICAgICAgcHJvZ3JhbV90eXBlOiB3b3JrZXJzDQogICAgICAgIHNlcnZpY2VfY29" + + "tcG9uZW50X3R5cGU6IGNkYXBfYXBwX3N1cHBsZW1lbnQNCiAgICAgICAgc3RyZWFtbmFtZTogaW5wdXRfc3RyZWFtDQogICAgICBpbnRlcmZhY2VzOg0KICAgICAgICBjbG91ZGlmeS5pbnRlcmZhY2VzLmxpZmVjeWNsZToNCiAgICAgICAgICB0eXBlOiB0b3NjYS5pbnRlcmZhY2VzLlJvb3QNCiAgICAgICA" + + "gICBjcmVhdGU6DQogICAgICAgICAgICBpbnB1dHM6DQogICAgICAgICAgICAgIGNvbm5lY3RlZF9icm9rZXJfZG5zX25hbWU6DQogICAgICAgICAgICAgICAgZ2V0X2lucHV0OiBjb25uZWN0ZWRfYnJva2VyX2Ruc19uYW1lDQo=\"}]}"; + + private String expectedOutput = "tosca_definitions_version: cloudify_dsl_1_3\nimports:\n- http://dockercentral.it.att.com:8093/nexus/repository/rawcentral/com.att.dcae.controller/type_files/dockerplugin/2.4.0+t.0.8/node-type.yaml\n" + + "- http://dockercentral.it.att.com:8093/nexus/repository/rawcentral/com.att.dcae.controller/type_files/dmaap/1.2.0+t.0.9/dmaap.yaml\n- http://dockercentral.it.att.com:8093/nexus/repository/rawcentral/com.att.dcae.controller/type_files/relationship/1.0.0+t.0.1/relationship-types.yaml\n" + + "inputs:\n sup.supplement_n.1525781976500.8_connected_broker_dns_name:\n" + + " type: string\n default: cdap_broker\nnode_templates:\n sup.supplement_n.1525781976500.8_supplement:\n type: dcae.nodes.MicroService.cdap\n properties:\n app_config:\n " + + "description: Supplement Microservice\n eventFactory: ''\n monitorThreads: true\n name: supplementMS\n ruleKeyPattern: vnfTypes.*\n startNoChannels: false\n app_preferences:\n" + + " defaultCatalogs: com.att.gfp.dcae.eventProcessor.Catalog,com.att.ecomp.dcae.eventproc.cdap.common.processors.Catalog\n defaultObjects: ''\n dmaapConsumerGrp: DCAE-CDAP-SUPPLEMENT-MS\n " + + "json: '{\"processing\":[{\"phase\":\"supplement\",\"filter\":{\"class\":\"OneOf\",\"field\":\"event.commonEventHeader.eventType\",\"values\":[\"vPCRF_Alarms\",\"vMoG_Alarms\",\"applicationVnf\",\"GuestOS_Alarms\",\"Control\"]}," + + "\"processors\":[{\"class\":\"LogText\",\"logLevel\":\"INFO\",\"logText\":\"Entering supplement Phase - FILTER parameter - ${event.commonEventHeader.eventType}\"},{\"class\":\"DateFormatter\"," + + "\"value\":\"${event.commonEventHeader.startEpochMicrosec}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\",\"toField\":\"event.commonEventHeader.internalHeaderFields.firstDatetime\",\"toFormat\":\"EEE, dd MM yyyy HH:mm:ss zzz\"," + + "\"toTz\":\"GMT\"},{\"class\":\"DateFormatter\",\"value\":\"${event.commonEventHeader.lastEpochMicrosec}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\",\"toField\":\"event.commonEventHeader.internalHeaderFields.lastDatetime\"," + + "\"toFormat\":\"EEE, dd MM yyyy HH:mm:ss zzz\",\"toTz\":\"GMT\"},{\"class\":\"DateFormatter\",\"value\":\"%{now.ms}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\"," + + "\"toField\":\"event.commonEventHeader.internalHeaderFields.collectorTimeStamp\",\"toFormat\":\"EEE, dd MM yyyy HH:mm:ss zzz\",\"toTz\":\"GMT\"},{\"class\":\"Set\",\"updates\":" + + "{\"event.commonEventHeader.internalHeaderFields.internalHeaderFieldsVersion\":\"9.9\",\"event.commonEventHeader.internalHeaderFields.eventTag\":\"${hp.tag}\"}}]},{\"phase\":\"supplement\",\"processors\":[{\"class\":\"LogEventPretty\"," + + "\"title\":\"Supplement_Event_Parsed:\",\"logName\":\"com.att.gfp.dcae.eventProcessor.output\"},{\"class\":\"RunPhase\",\"phase\":\"supplement_publish\"}]},{\"phase\":\"ves_supplement\",\"filter\":{\"class\":\"OneOf\"," + + "\"field\":\"event.commonEventHeader.eventType\",\"values\":[\"vIRC_Alarms\"]},\"processors\":[{\"class\":\"RunPhase\",\"phase\":\"supplement_publish\"}]}]}'\n phases.supplement.phaseName: supplement\n " + + "phases.supplement.streamPattern: .*supplement-in.*\n phases.ves_supplement.phaseName: ves_supplement\n phases.ves_supplement.streamPattern: .*sec-fault.*\n postConfig: '{\"phase\":\"supplement_publish\"," + + "\"processors\":[{\"class\":\"EventProcessorMetric\",\"metric\":\"out.events\"},{\"class\":\"SendEvent\",\"channel\":\"24256-DCAE-SUPPLEMENT-EVENT-OUT-v1\"}]}'\n artifact_name: dcae-event-proc-cdap-supplement\n " + + "artifact_version: 1.0.16\n connections:\n streams_publishes: []\n streams_subscribes: []\n " + + "jar_url: http://mavencentral.it.att.com:8084/nexus/content/repositories/att-repository-releases/com/att/ecomp/dcae/eventproc/dcae-event-proc-cdap-supplement/1.0.16/dcae-event-proc-cdap-supplement-1.0.16.jar\n " + + "namespace: event_proc_supplement\n programs:\n - program_id: supplementMSWorker\n program_type: workers\n service_component_type: cdap_app_supplement\n streamname: input_stream\n interfaces:\n" + + " cloudify.interfaces.lifecycle:\n create:\n inputs:\n connected_broker_dns_name:\n get_input: sup.supplement_n.1525781976500.8_connected_broker_dns_name\n"; + + @Test + // already covered by HealthCheckTest since ToscaLab healthCheck is a component in the DCAE BE aggregated healthCheck + public void healthCheckSuccessTest() throws IOException{ + RestResponse res = DcaeRestClient.getToscaLabHealthCheck(); + Report.log(Status.INFO, "HealthCheck response: " + res.getResponse()); + HealthResponse hc = gson.fromJson(res.getResponse(),HealthResponse.class); + assertThat(res.getStatusCode()).isEqualTo(200); + assertThat(hc.getHealthCheckComponent()).isEqualTo("TOSCA_LAB"); + assertThat(hc.getHealthCheckStatus()).isEqualTo("UP"); + assertThat(hc.getDescription()).isEqualTo("OK"); + } + + @Test + public void translateToBlueprintSuccessTest() throws IOException { + RestResponse res = DcaeRestClient.translateModelToBlueprint(validInput); + Report.log(Status.INFO, "Blueprint result: " + res.getResponse()); + assertThat(res.getStatusCode()).isEqualTo(200); + assertThat(res.getResponse()).isEqualTo(expectedOutput); + } + + @Test + public void invalidInputFailureTest() throws IOException { + RestResponse res = DcaeRestClient.translateModelToBlueprint("{\"template\":\"aW52YWxpZCBUb3NjYQ==\"}"); + Report.log(Status.INFO, "Blueprint result: " + res.getResponse()); + assertThat(res.getStatusCode()).isEqualTo(500); + } +} diff --git a/src/main/java/org/onap/dcae/ci/api/tests/composition/CompositionElementsControllerTests.java b/src/main/java/org/onap/dcae/ci/api/tests/composition/CompositionElementsControllerTests.java index 0193df1..00b3f31 100644 --- a/src/main/java/org/onap/dcae/ci/api/tests/composition/CompositionElementsControllerTests.java +++ b/src/main/java/org/onap/dcae/ci/api/tests/composition/CompositionElementsControllerTests.java @@ -1,27 +1,24 @@ package org.onap.dcae.ci.api.tests.composition; -import java.io.IOException; -import java.lang.reflect.Type; -import java.util.List; -import java.util.stream.Collectors; - +import com.aventstack.extentreports.Status; +import com.google.gson.JsonElement; +import com.google.gson.JsonParser; import org.assertj.core.api.SoftAssertions; import org.onap.dcae.ci.api.tests.DcaeRestBaseTest; import org.onap.dcae.ci.entities.RestResponse; - -import org.onap.dcae.ci.entities.composition.rightMenu.element.Item; -import org.onap.dcae.ci.entities.composition.rightMenu.elements.Element; -import org.onap.dcae.ci.utilities.DcaeRestClient; import org.onap.dcae.ci.report.Report; +import org.onap.dcae.ci.utilities.DcaeRestClient; +import org.onap.dcae.ci.utilities.DcaeTestConstants; import org.onap.sdc.dcae.composition.model.Model; - -import org.testng.annotations.DataProvider; +import org.onap.sdc.dcae.composition.model.Node; +import org.onap.sdc.dcae.composition.restmodels.canvas.DcaeComponentCatalog; +import org.onap.sdc.dcae.composition.restmodels.sdc.Resource; import org.testng.annotations.Test; -import com.aventstack.extentreports.Status; -import com.google.gson.JsonElement; -import com.google.gson.JsonParser; -import com.google.gson.reflect.TypeToken; +import java.io.IOException; +import java.util.Arrays; +import java.util.List; +import java.util.stream.Collectors; public class CompositionElementsControllerTests extends DcaeRestBaseTest { @@ -30,57 +27,24 @@ public class CompositionElementsControllerTests extends DcaeRestBaseTest { @Test public void test_getAllElements() throws IOException{ Report.log(Status.INFO, "test_getAllElements start"); - RestResponse response = DcaeRestClient.getElements(); + RestResponse response = DcaeRestClient.getCatalog(); Report.log(Status.INFO, "getElements response=%s", response); - JsonElement getElementJsonResponse = getElementsJson(response); - Type listType = new TypeToken<List<Element>>(){}.getType(); - List<Element> responseData = gson.fromJson(getElementJsonResponse, listType); - - SoftAssertions.assertSoftly(softly -> { - softly.assertThat(response.getStatusCode()).as("response status").isEqualTo(200); - softly.assertThat(getElementJsonResponse.toString()).isNotEmpty(); - softly.assertThat(responseData).extracting("itemId") - .containsExactlyInAnyOrder("Policy","Utility","Microservice","Database","Collector","Analytics","Source"); - }); - } - - - @DataProvider(name="item") - public static Object[][] allElementsItems() throws IOException{ - RestResponse response = DcaeRestClient.getElements(); - JsonElement getElementJsonResponse = getElementsJson(response); - Type listType = new TypeToken<List<Element>>(){}.getType(); - List<Element> responseData = gson.fromJson(getElementJsonResponse, listType); - return responseData - .stream() - .map(x -> new Object[]{ x.getItemId() } ) - .collect(Collectors.toList()) - .toArray(new Object[responseData.size()][1]); - } - - @Test(dataProvider ="item") - public void test_getAllElementsByItemId(String itemName) throws IOException{ - Report.log(Status.INFO, "test_getAllElementsByItemId start"); - RestResponse response = DcaeRestClient.getItem(itemName); - Report.log(Status.INFO, "getItem response=%s", response); + DcaeComponentCatalog getCatalogResponse = gson.fromJson(response.getResponse(), DcaeComponentCatalog.class); SoftAssertions.assertSoftly(softly -> { softly.assertThat(response.getStatusCode()).as("response status").isEqualTo(200); + softly.assertThat(getCatalogResponse.toString()).isNotEmpty(); + softly.assertThat(Arrays.asList("Policy","Utility","Microservice","Database","Collector","Analytics","Source")) + .containsAll(getCatalogResponse.getElements().stream().map(DcaeComponentCatalog.SubCategoryFolder::getItemId).collect(Collectors.toList())); }); } @Test public void test_getModelData() throws IOException{ Report.log(Status.INFO, "test_getModelData start"); - RestResponse responseGetElements = DcaeRestClient.getElements(); - JsonElement obj = getElementsJson(responseGetElements); - String elementItemName = getElementItemName(obj); - - RestResponse responseElementsItem = DcaeRestClient.getItem(elementItemName); - JsonElement elementsById = parser.parse(responseElementsItem.getResponse()); - JsonElement itemData = elementsById.getAsJsonObject().get("data").getAsJsonObject().get("element").getAsJsonObject().get("items"); - - String elemId = getElementItemID(itemData); + DcaeComponentCatalog getCatalogResponse = gson.fromJson(DcaeRestClient.getCatalog().getResponse(), DcaeComponentCatalog.class); + List<Resource> itemsData = getCatalogResponse.getElements().stream().filter(p -> DcaeTestConstants.Composition.Microservice.equals(p.getItemId())).findAny().get().getItems(); + String elemId = itemsData.stream().filter(p -> "map".equalsIgnoreCase(p.getName())).findAny().get().getUuid(); Report.log(Status.INFO, "test_getModelData start"); RestResponse response = DcaeRestClient.getItemModel(elemId); @@ -97,21 +61,15 @@ public class CompositionElementsControllerTests extends DcaeRestBaseTest { @Test public void test_getTypeData() throws IOException{ Report.log(Status.INFO, "test_getTypeData start"); - RestResponse responseGetElements = DcaeRestClient.getElements(); - JsonElement obj = getElementsJson(responseGetElements); - String elementItemName = getElementItemName(obj); - - RestResponse responseElementsItem = DcaeRestClient.getItem(elementItemName); - JsonElement elementsById = parser.parse(responseElementsItem.getResponse()); - JsonElement itemData = elementsById.getAsJsonObject().get("data").getAsJsonObject().get("element").getAsJsonObject().get("items"); - - String elemId = getElementItemID(itemData); + DcaeComponentCatalog getCatalogResponse = gson.fromJson(DcaeRestClient.getCatalog().getResponse(), DcaeComponentCatalog.class); + List<Resource> itemsData = getCatalogResponse.getElements().stream().filter(p -> DcaeTestConstants.Composition.Microservice.equals(p.getItemId())).findAny().get().getItems(); + String elemId = itemsData.stream().filter(p -> "map".equalsIgnoreCase(p.getName())).findAny().get().getUuid(); RestResponse responseModel = DcaeRestClient.getItemModel(elemId); JsonElement jsonRes = parser.parse(responseModel.getResponse()); JsonElement jsonModel = jsonRes.getAsJsonObject().get("data").getAsJsonObject().get("model").getAsJsonObject(); Model model = gson.fromJson(jsonModel, Model.class); List<String> nodesDataTypes = model.getNodes().stream() - .map(y -> y.getType()) + .map(Node::getType) .collect(Collectors.toList()); nodesDataTypes.forEach(z -> Report.log(Status.INFO, "All types inside model: " + z)); @@ -126,26 +84,14 @@ public class CompositionElementsControllerTests extends DcaeRestBaseTest { }); } - /**************** nagative ***************/ - @Test - public void test_getAllElementsByNonExistItemId() throws IOException{ - Report.log(Status.INFO, "test_getAllElementsByNonExistItemId start"); - RestResponse response = DcaeRestClient.getItem("notExist"); - JsonElement elementsById = parser.parse(response.getResponse()); - JsonElement exception = elementsById.getAsJsonObject().get("error").getAsJsonObject().get("exception"); - - SoftAssertions.assertSoftly(softly -> { - softly.assertThat(response.getStatusCode()).as("response status").isEqualTo(200); - softly.assertThat(exception.toString()).isNotEmpty(); - }); - } + /**************** negative ***************/ @Test public void test_getErrorNonExistingModelData() throws IOException{ Report.log(Status.INFO, "test_getErrorNonExistingModelData start"); RestResponse response = DcaeRestClient.getItemModel("notExist"); - JsonElement elementsById = parser.parse(response.getResponse()); - JsonElement exception = elementsById.getAsJsonObject().get("error"); + JsonElement error = parser.parse(response.getResponse()); + JsonElement exception = error.getAsJsonObject().get("requestError"); SoftAssertions.assertSoftly(softly -> { softly.assertThat(response.getStatusCode()).as("response status").isEqualTo(500); @@ -157,44 +103,13 @@ public class CompositionElementsControllerTests extends DcaeRestBaseTest { public void test_getErrorNonExistingItemType() throws IOException{ Report.log(Status.INFO, "test_getErrorNonExistingItemType start"); RestResponse response = DcaeRestClient.getItemType("notExistId","nonType"); - JsonElement elementsById = parser.parse(response.getResponse()); - JsonElement exception = elementsById.getAsJsonObject().get("error"); + JsonElement error = parser.parse(response.getResponse()); + JsonElement exception = error.getAsJsonObject().get("requestError"); SoftAssertions.assertSoftly(softly -> { softly.assertThat(response.getStatusCode()).as("response status").isEqualTo(500); softly.assertThat(exception.toString()).isNotEmpty(); }); } - - /******************** private ********************/ - private static JsonElement getElementsJson(RestResponse response) { - JsonParser parser = new JsonParser(); - JsonElement element = parser.parse(response.getResponse()); - JsonElement obj = element.getAsJsonObject().get("data").getAsJsonObject().get("elements"); - return obj; - } - - private String getElementItemName(JsonElement obj) { - Type listType = new TypeToken<List<Element>>(){}.getType(); - List<Element> fromJson = gson.fromJson(obj, listType); - List<Element> collect = fromJson.stream().filter(x->x.getName().equals("Microservice")).collect(Collectors.toList()); - Element element = collect.get(0); - String elementItemName = element.getName(); - return elementItemName; - } - - private String getElementItemID(JsonElement data) { - Type listType = new TypeToken<List<Item>>(){}.getType(); - List<Item> elementsItemFoi = gson.fromJson(data, listType); - Report.log(Status.INFO, "getElementItemID for map"); - List<Item> foiItemData = elementsItemFoi.stream().filter(x->x.getName().equalsIgnoreCase("map")).collect(Collectors.toList()); - if(foiItemData!=null && foiItemData.size()>0){ - Item item = foiItemData.get(0); - String elemId = item.getItemId(); - return elemId; - }else{ - Report.log(Status.ERROR, "getElementItemID for map failed. Does the CI environment has map component in it??"); - return null; - } - } + } diff --git a/src/main/java/org/onap/dcae/ci/api/tests/composition/CompositionMicroServicesApiTests.java b/src/main/java/org/onap/dcae/ci/api/tests/composition/CompositionMicroServicesApiTests.java index 9808400..6847b16 100644 --- a/src/main/java/org/onap/dcae/ci/api/tests/composition/CompositionMicroServicesApiTests.java +++ b/src/main/java/org/onap/dcae/ci/api/tests/composition/CompositionMicroServicesApiTests.java @@ -27,30 +27,13 @@ public class CompositionMicroServicesApiTests extends DcaeRestBaseTest { @Test public void getAllElementsTest() throws IOException, ParseException{ Report.log(Status.INFO, "getAllElementsTest start"); - RestResponse services = DcaeRestClient.getElements(); + RestResponse services = DcaeRestClient.getCatalog(); Report.log(Status.INFO, "getAllElementsTest response=%s", services); assertThat(services.getStatusCode().intValue()).isEqualTo(200); String response = services.getResponse(); JSONParser parser = new JSONParser(); JSONObject o = (JSONObject) parser.parse(response); - JSONObject ele = (JSONObject) o.get("data"); - String arrString = ele.get("elements").toString(); - assertThat(arrString) - .as("Check that elements not empty") - .isNotEmpty(); - } - - @Test - public void getMsElementsTest() throws IOException, ParseException{ - Report.log(Status.INFO, "getMsElementsTest start"); - RestResponse services = DcaeUtil.SdcElementsModelType.getMsElements(); - Report.log(Status.INFO, "getMsElementsTest response=%s", services); - assertThat(services.getStatusCode().intValue()).isEqualTo(200); - String response = services.getResponse(); - JSONParser parser = new JSONParser(); - JSONObject o = (JSONObject) parser.parse(response); - JSONObject ele = (JSONObject) o.get("data"); - String arrString = ele.get("element").toString(); + String arrString = o.get("elements").toString(); assertThat(arrString) .as("Check that elements not empty") .isNotEmpty(); diff --git a/src/main/java/org/onap/dcae/ci/api/tests/composition/SaveAndSubmitCompositionFullFlowTest.java b/src/main/java/org/onap/dcae/ci/api/tests/composition/SaveAndSubmitCompositionFullFlowTest.java index 566a028..f2d7a24 100644 --- a/src/main/java/org/onap/dcae/ci/api/tests/composition/SaveAndSubmitCompositionFullFlowTest.java +++ b/src/main/java/org/onap/dcae/ci/api/tests/composition/SaveAndSubmitCompositionFullFlowTest.java @@ -10,6 +10,7 @@ import org.onap.dcae.ci.report.Report; import org.onap.sdc.dcae.composition.restmodels.CreateMcResponse; import org.onap.sdc.dcae.composition.restmodels.CreateVFCMTRequest; import org.onap.sdc.dcae.composition.restmodels.MonitoringComponent; +import org.onap.sdc.dcae.composition.restmodels.VfcmtData; import org.onap.sdc.dcae.composition.restmodels.sdc.Resource; import org.onap.sdc.dcae.composition.restmodels.sdc.ResourceDetailed; import org.onap.sdc.dcae.composition.services.Service; @@ -113,4 +114,63 @@ public class SaveAndSubmitCompositionFullFlowTest extends DcaeRestBaseTest { } + + @Test + public void certifiedMcCheckoutAndBindToServiceSuccessTest() throws IOException { + + CreateVFCMTRequest request = new CreateVFCMTRequest(); + // If you crashed here (below) it is because your environment has no Base Monitoring Templates + request.setTemplateUuid(baseTemplate.getUuid()); + Service service = createServiceWithVFiAsSdcDesigner(); + request.setVfiName(service.getResources().get(0).getResourceInstanceName()); + request.setServiceUuid(service.getUuid()); + DcaeRestClient.fillCreateMcRequestMandatoryFields(request); + + RestResponse response = DcaeRestClient.createMc(gson.toJson(request)); + assertThat(response.getStatusCode()) + .as("status code") + .isEqualTo(200); + + CreateMcResponse mcResponse = gson.fromJson(response.getResponse(), CreateMcResponse.class); + String initialUuid = mcResponse.getVfcmt().getUuid(); + + response = DcaeRestClient.getLatestMcUuid(request.getContextType(), request.getServiceUuid(), request.getVfiName(), initialUuid); + assertThat(response.getStatusCode()) + .as("status code") + .isEqualTo(200); + VfcmtData getLatestUuidRes = gson.fromJson(response.getResponse(), VfcmtData.class); + assertThat(initialUuid).isEqualTo(getLatestUuidRes.getUuid()); + + response = DcaeRestClient.getServiceExternalReferences(service.getUuid(), service.getVersion()); + assertThat(response.getStatusCode()) + .as("status code") + .isEqualTo(200); + Report.log(Status.INFO, "Verify service vfi only references initial mc version"); + Type typeToken = new TypeToken<Map<String, List<MonitoringComponent>>>(){}.getType(); + Map<String, List<MonitoringComponent>> monitoringComponents = gson.fromJson(response.getResponse(), typeToken); + assertThat(monitoringComponents.get("monitoringComponents").size()).isEqualTo(1); + Report.log(Status.INFO, "About to submit the composition"); + response = DcaeRestClient.submitComposition(request.getServiceUuid(), request.getVfiName(), initialUuid); + assertThat(response.getStatusCode()) + .as("status code") + .isEqualTo(200); + + response = DcaeRestClient.getLatestMcUuid(request.getContextType(), request.getServiceUuid(), request.getVfiName(), initialUuid); + assertThat(response.getStatusCode()) + .as("status code") + .isEqualTo(200); + getLatestUuidRes = gson.fromJson(response.getResponse(), VfcmtData.class); + Report.log(Status.INFO, "Verify latest Mc uuid is not the initial one"); + assertThat(initialUuid).isNotEqualTo(getLatestUuidRes.getUuid()); + response = DcaeRestClient.getServiceExternalReferences(service.getUuid(), service.getVersion()); + assertThat(response.getStatusCode()) + .as("status code") + .isEqualTo(200); + Report.log(Status.INFO, "Verify service vfi has references to both mc versions"); + + monitoringComponents = gson.fromJson(response.getResponse(), typeToken); + assertThat(monitoringComponents.get("monitoringComponents").size()).isEqualTo(2); + + } + } diff --git a/src/main/java/org/onap/dcae/ci/api/tests/configuration/ConfigurationControllerApiTest.java b/src/main/java/org/onap/dcae/ci/api/tests/configuration/ConfigurationControllerApiTest.java new file mode 100644 index 0000000..62e7e6b --- /dev/null +++ b/src/main/java/org/onap/dcae/ci/api/tests/configuration/ConfigurationControllerApiTest.java @@ -0,0 +1,43 @@ +package org.onap.dcae.ci.api.tests.configuration; + +import com.aventstack.extentreports.Status; +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import org.onap.dcae.ci.api.tests.DcaeRestBaseTest; +import org.onap.dcae.ci.entities.RestResponse; +import org.onap.dcae.ci.report.Report; +import org.onap.dcae.ci.utilities.DcaeRestClient; +import org.testng.annotations.Test; + +import java.io.IOException; + +import static org.assertj.core.api.Assertions.assertThat; + +public class ConfigurationControllerApiTest extends DcaeRestBaseTest { + + @Test + public void getFlowTypesAndConfiguredPhases() throws IOException { + String entryPhase = "entryPhase"; + String publishPhase = "publishPhase"; + RestResponse response = DcaeRestClient.getConfiguredFlowTypes(); + Report.log(Status.INFO, "get flowTypes response=%s", response); + assertThat(response.getStatusCode()).isEqualTo(200); + String flowType = gson.fromJson(response.getResponse(),JsonObject.class).get("flowTypes").getAsJsonArray().get(0).getAsString(); + response = DcaeRestClient.getConfiguredPhasesByFlowType(flowType); + Report.log(Status.INFO, "get phases by flowType %s response=%s", flowType, response); + assertThat(response.getStatusCode()).isEqualTo(200); + JsonObject phases = gson.fromJson(response.getResponse(), JsonObject.class); + assertThat(phases.get(entryPhase)).isNotNull(); + assertThat(phases.get(publishPhase)).isNotNull(); + assertThat(phases.get(entryPhase).getAsString()).isNotEqualTo(""); + assertThat(phases.get(publishPhase).getAsString()).isNotEqualTo(""); + response = DcaeRestClient.getConfiguredPhasesByFlowType("noSuchFlowType"); + Report.log(Status.INFO, "get phases by none existing flowType response=%s", response); + assertThat(response.getStatusCode()).isEqualTo(200); + phases = gson.fromJson(response.getResponse(), JsonObject.class); + assertThat(phases.get(entryPhase)).isNotNull(); + assertThat(phases.get(publishPhase)).isNotNull(); + assertThat(phases.get(entryPhase).getAsString()).isEqualTo(""); + assertThat(phases.get(publishPhase).getAsString()).isEqualTo(""); + } +} diff --git a/src/main/java/org/onap/dcae/ci/api/tests/ruleEditor/RuleEditorControllerTest.java b/src/main/java/org/onap/dcae/ci/api/tests/ruleEditor/RuleEditorControllerTest.java index 45de16a..8d91ce7 100644 --- a/src/main/java/org/onap/dcae/ci/api/tests/ruleEditor/RuleEditorControllerTest.java +++ b/src/main/java/org/onap/dcae/ci/api/tests/ruleEditor/RuleEditorControllerTest.java @@ -1,353 +1,517 @@ package org.onap.dcae.ci.api.tests.ruleEditor; - +import com.aventstack.extentreports.Status; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.google.gson.Gson; +import com.google.gson.JsonObject; +import org.assertj.core.api.SoftAssertions; import org.onap.dcae.ci.api.tests.DcaeRestBaseTest; import org.onap.dcae.ci.entities.RestResponse; import org.onap.dcae.ci.entities.rule_editor.SaveRuleError; -import org.onap.dcae.ci.utilities.DcaeRestClient; import org.onap.dcae.ci.report.Report; -import org.onap.sdc.dcae.composition.services.Artifact; -import org.onap.sdc.dcae.composition.vfcmt.Vfcmt; -import com.aventstack.extentreports.Status; -import com.fasterxml.jackson.databind.ObjectMapper; -import com.google.gson.JsonObject; +import org.onap.dcae.ci.utilities.DcaeRestClient; import org.onap.sdc.dcae.composition.restmodels.ruleeditor.MappingRules; import org.onap.sdc.dcae.composition.restmodels.ruleeditor.Rule; - +import org.onap.sdc.dcae.composition.restmodels.ruleeditor.TranslateRequest; +import org.onap.sdc.dcae.composition.services.Artifact; +import org.onap.sdc.dcae.composition.util.DcaeBeConstants; +import org.onap.sdc.dcae.composition.vfcmt.Vfcmt; import org.testng.annotations.Test; -import org.assertj.core.api.SoftAssertions; +import java.util.Arrays; +import java.util.List; import static org.assertj.core.api.Assertions.assertThat; import static org.testng.Assert.fail; -import java.util.List; - public class RuleEditorControllerTest extends DcaeRestBaseTest { - private String ruleRequestBody = - "{version:4.1,eventType:syslogFields,description:newRule,actions:[{from:{value:fromField,regex:\"\"},target:event.commonEventHeader.target,id:id,actionType:copy}," - + "{actionType:concat,from:{values:[{value:concat1},{value:_concat2}]},target:concatTargetField},{actionType:copy,from:{value:extractFromHere,regex:\"([^:]*):.*\"},target:regexTargetField}," - + "{actionType:\"Log Text\",logText:{text:\"some text\",level:WARN}},{actionType:CLear,from:{values:[{value:first_input},{value:second_input}]}}," - + "{actionType:map,from:{value:fromField},target:mapTargetField,map:{values:[{key:sourceVal1,value:targetVal1},{key:sourceVal2,value:targetVal2}],haveDefault:true,default:'\"\"'}}," - + "{actionType:\"Date Formatter\",id:98908,from:{value:\"${dateFormatterFrom}\"},target:dateFormatterTarget,dateFormatter:{toTimezone:UVW,fromTimezone:XYZ,fromFormat:inputFormat,toFormat:outputFormat}}," - + "{actionType:\"Log Event\",id:465456,logEvent:{title:\"some log title\"}},{actionType:\"Replace Text\",from:{value:fromField},replaceText:{find:findText,replace:replacement}}]," - + "condition:{left:\"${leftOperand}\",operator:contains,right:[rightOperand1,rightOperand2]}}"; + private String notifyOid = ".1.3.6.1.4.1.26878.200.2"; + private String ruleRequestBody = + "{version:4.1,eventType:syslogFields,notifyId:.1.3.6.1.4.1.26878.200.2,description:newRule,actions:[{from:{state:closed,value:fromField,regex:\"\"},target:event.commonEventHeader.target,id:id,actionType:copy}," + + "{actionType:concat,id:id1,from:{state:closed,values:[{value:concat1},{value:_concat2}]},target:concatTargetField},{actionType:copy,id:id2,from:{state:open,value:extractFromHere,regex:\"([^:]*):.*\"},target:regexTargetField}," + + "{actionType:\"Log Text\",id:id3,logText:{text:\"some text\",level:WARN}},{actionType:CLear,id:id4,from:{state:closed,values:[{value:first_input},{value:second_input}]}}," + + "{actionType:map,id:id5,from:{state:closed,value:fromField},target:mapTargetField,map:{values:[{key:sourceVal1,value:targetVal1},{key:sourceVal2,value:targetVal2}],haveDefault:true,default:'\"\"'}}," + + "{actionType:\"Date Formatter\",id:98908,from:{state:closed,value:\"${dateFormatterFrom}\"},target:dateFormatterTarget,dateFormatter:{toTimezone:UVW,fromTimezone:XYZ,fromFormat:inputFormat,toFormat:outputFormat}}," + + "{actionType:\"Log Event\",id:465456,logEvent:{title:\"some log title\"}},{actionType:\"Replace Text\",id:id6,from:{state:closed,value:fromField},replaceText:{find:findText,replace:replacement}}," + + "{actionType:\"Clear NSF\",id:id6,from:{state:closed,values:[{value:single_input}]}},{actionType:\"hp metric\",id:7776,selectedHpMetric:xxxxxxx}," + + "{actionType:\"string Transform\",id:76,target:targetField,stringTransform:{startValue:source,targetCase:same,isTrimString:true}}," + + "{actionType:\"Topology Search\",id:76,search:{searchField:sourceToSearch,searchValue:\"${whatever}\",radio:'',searchFilter:{left:leftO,right:[rightO],operator:OneOf},enrich:{fields:[{value:e_field1},{value:e_field2}],prefix:e_prefix}}}," + + "{actionType:\"Topology Search\",id:746,search:{searchField:sourceToSearch,searchValue:\"${whatever}\",radio:updates,enrich:{fields:[],prefix:''},updates:[{key:firstKey,value:firstValue},{key:secondKey,value:secondValue}]}}]," + + "condition:{id:idc,level:0,name:elvis,left:\"${leftOperand}\",operator:contains,right:[rightOperand1,rightOperand2]}}"; - @Test - public void saveNewMappingRulesArtifactSuccessTest() throws Exception { - Report.log(Status.INFO, "test start"); - Vfcmt vfcmt = createVfcmt(); - RestResponse res = saveCompositionAndFirstRuleSuccess(vfcmt, "map", "n.1.map", "param1", ruleRequestBody); - JsonObject jsonRes = gson.fromJson(res.getResponse(), JsonObject.class); - assertThat(jsonRes.get("version").getAsString()).isEqualTo("4.1"); - assertThat(jsonRes.get("eventType").getAsString()).isEqualTo("syslogFields"); - assertThat(jsonRes.get("uid")).isNotNull(); - String expectedArtifactName = "map_n.1.map_param1_MappingRules.json"; - Artifact savedArtifact = fetchVfcmtArtifactMetadataByName(vfcmt.getUuid(), expectedArtifactName); - assertThat(savedArtifact).isNotNull(); - } + @Test + public void saveNewMappingRulesArtifactSuccessTest() throws Exception { + Report.log(Status.INFO, "test start"); + Vfcmt vfcmt = createVfcmt(); + RestResponse res = saveCompositionAndFirstRuleSuccess(vfcmt, "map", "n.1.map", "param1", ruleRequestBody); + JsonObject jsonRes = gson.fromJson(res.getResponse(), JsonObject.class); + assertThat(jsonRes.get("version").getAsString()).isEqualTo("4.1"); + assertThat(jsonRes.get("eventType").getAsString()).isEqualTo("syslogFields"); + assertThat(jsonRes.get("uid")).isNotNull(); + String expectedArtifactName = "map_n.1.map_param1_MappingRules.json"; + Artifact savedArtifact = fetchVfcmtArtifactMetadataByName(vfcmt.getUuid(), expectedArtifactName); + assertThat(savedArtifact).isNotNull(); + } + + @Test + public void translateMappingRuleWithAllActionTypesSuccessTest() throws Exception { + String expectedTranslation = "{\"processing\":[{\"phase\":\"foi_map\",\"processors\":[{\"phase\":\"%s\",\"class\":\"RunPhase\"}]}," + + "{\"phase\":\"%s\",\"filter\":{\"filters\":[{\"string\":\"${leftOperand}\",\"value\":\"rightOperand1\",\"class\":\"Contains\"}," + + "{\"string\":\"${leftOperand}\",\"value\":\"rightOperand2\",\"class\":\"Contains\"}],\"class\":\"Or\"}," + + "\"processors\":[{\"updates\":{\"event.commonEventHeader.target\":\"fromField\",\"concatTargetField\":\"concat1_concat2\"},\"class\":\"Set\"}," + + "{\"regex\":\"([^:]*):.*\",\"field\":\"regexTargetField\",\"value\":\"extractFromHere\",\"class\":\"ExtractText\"}," + + "{\"logLevel\":\"WARN\",\"logText\":\"some text\",\"class\":\"LogText\"},{\"fields\":[\"first_input\",\"second_input\"],\"class\":\"Clear\"}," + + "{\"map\":{\"sourceVal1\":\"targetVal1\",\"sourceVal2\":\"targetVal2\"},\"field\":\"fromField\",\"toField\":\"mapTargetField\",\"default\":\"\",\"class\":\"MapAlarmValues\"}," + + "{\"fromFormat\":\"inputFormat\",\"fromTz\":\"XYZ\",\"toField\":\"dateFormatterTarget\",\"toFormat\":\"outputFormat\",\"toTz\":\"UVW\",\"value\":\"${dateFormatterFrom}\",\"class\":\"DateFormatter\"}," + + "{\"title\":\"some log title\",\"class\":\"LogEvent\"},{\"field\":\"fromField\",\"find\":\"findText\",\"replace\":\"replacement\",\"class\":\"ReplaceText\"},{\"reservedFields\":[\"single_input\"],\"class\":\"ClearNoneStandardFields\"}," + + "{\"updates\":{\"parserType\":\"xxxxxxx\"},\"class\":\"Set\"},{\"targetCase\":\"same\",\"trim\":\"true\",\"toField\":\"targetField\",\"class\":\"StringTransform\"}," + + "{\"searchField\":\"sourceToSearch\",\"searchValue\":\"${whatever}\",\"searchFilter\":{\"field\":\"leftO\",\"values\":[\"rightO\"],\"class\":\"OneOf\"},\"enrichFields\":[\"e_field1\",\"e_field2\"],\"enrichPrefix\":\"e_prefix\",\"class\":\"TopoSearch\"}," + + "{\"searchField\":\"sourceToSearch\",\"searchValue\":\"${whatever}\",\"updates\":{\"firstKey\":\"firstValue\",\"secondKey\":\"secondValue\",\"isEnriched\":true},\"class\":\"TopoSearch\"},{\"phase\":\"map_publish\",\"class\":\"RunPhase\"}]}]}"; + Vfcmt vfcmt = createVfcmt(); + String name = vfcmt.getName(); + saveCompositionAndFirstRuleSuccess(vfcmt, "map", "map", "param1", ruleRequestBody); + TranslateRequest request = new TranslateRequest(vfcmt.getUuid(),"map", "map", "param1", null); + request.setPublishPhase("map_publish"); + request.setEntryPhase("foi_map"); + RestResponse res = DcaeRestClient.translateRules(gson.toJson(request)); + Report.log(Status.INFO, "translateRules response= "+res); + assertThat(res.getStatusCode()).isEqualTo(200); + assertThat(res.getResponse()).isEqualTo(String.format(expectedTranslation, name, name, name)); + } + + @Test + public void translateSnmpMappingRuleWithAllActionTypesAndNotifyOidSuccessTest() throws Exception { + String expectedTranslation = "{\"processing\":[{\"phase\":\"snmp_map\",\"filter\":{\"string\":\"${notify OID}\",\"value\":\".1.3.6.1.4.1.26878.200.2\",\"class\":\"StartsWith\"}," + + "\"processors\":[{\"array\":\"varbinds\",\"datacolumn\":\"varbind_value\",\"keycolumn\":\"varbind_oid\",\"class\":\"SnmpConvertor\"}," + + "{\"phase\":\"%s\",\"class\":\"RunPhase\"}]},{\"phase\":\"%s\",\"filter\":{\"filters\":[{\"string\":\"${leftOperand}\",\"value\":\"rightOperand1\",\"class\":\"Contains\"}," + + "{\"string\":\"${leftOperand}\",\"value\":\"rightOperand2\",\"class\":\"Contains\"}],\"class\":\"Or\"}," + + "\"processors\":[{\"updates\":{\"event.commonEventHeader.target\":\"fromField\",\"concatTargetField\":\"concat1_concat2\"},\"class\":\"Set\"}," + + "{\"regex\":\"([^:]*):.*\",\"field\":\"regexTargetField\",\"value\":\"extractFromHere\",\"class\":\"ExtractText\"}," + + "{\"logLevel\":\"WARN\",\"logText\":\"some text\",\"class\":\"LogText\"},{\"fields\":[\"first_input\",\"second_input\"],\"class\":\"Clear\"}," + + "{\"map\":{\"sourceVal1\":\"targetVal1\",\"sourceVal2\":\"targetVal2\"},\"field\":\"fromField\",\"toField\":\"mapTargetField\",\"default\":\"\",\"class\":\"MapAlarmValues\"}," + + "{\"fromFormat\":\"inputFormat\",\"fromTz\":\"XYZ\",\"toField\":\"dateFormatterTarget\",\"toFormat\":\"outputFormat\",\"toTz\":\"UVW\",\"value\":\"${dateFormatterFrom}\",\"class\":\"DateFormatter\"}," + + "{\"title\":\"some log title\",\"class\":\"LogEvent\"},{\"field\":\"fromField\",\"find\":\"findText\",\"replace\":\"replacement\",\"class\":\"ReplaceText\"},{\"reservedFields\":[\"single_input\"],\"class\":\"ClearNoneStandardFields\"}," + + "{\"updates\":{\"parserType\":\"xxxxxxx\"},\"class\":\"Set\"},{\"targetCase\":\"same\",\"trim\":\"true\",\"toField\":\"targetField\",\"class\":\"StringTransform\"}," + + "{\"searchField\":\"sourceToSearch\",\"searchValue\":\"${whatever}\",\"searchFilter\":{\"field\":\"leftO\",\"values\":[\"rightO\"],\"class\":\"OneOf\"},\"enrichFields\":[\"e_field1\",\"e_field2\"],\"enrichPrefix\":\"e_prefix\",\"class\":\"TopoSearch\"}," + + "{\"searchField\":\"sourceToSearch\",\"searchValue\":\"${whatever}\",\"updates\":{\"firstKey\":\"firstValue\",\"secondKey\":\"secondValue\",\"isEnriched\":true},\"class\":\"TopoSearch\"},{\"phase\":\"snmp_publish\",\"class\":\"RunPhase\"}]}]}"; + Vfcmt vfcmt = createVfcmt(); + String name = vfcmt.getName(); + saveCompositionAndFirstRuleSuccess(vfcmt, "map", "map", "param1", ruleRequestBody); + TranslateRequest request = new TranslateRequest(vfcmt.getUuid(), "map", "map", "param1", notifyOid); + request.setEntryPhase("snmp_map"); + request.setPublishPhase("snmp_publish"); + RestResponse res = DcaeRestClient.translateRules(gson.toJson(request)); + Report.log(Status.INFO, "translateRules response= "+res); + assertThat(res.getStatusCode()).isEqualTo(200); + assertThat(res.getResponse()).isEqualTo(String.format(expectedTranslation, name, name, name)); + } @Test - public void translateSnmpMappingRuleWithAllActionTypesSuccessTest() throws Exception { - String expectedTranslation = "{\"processing\":[{\"phase\":\"snmp_map\",\"processors\":[{\"array\":\"varbinds\",\"datacolumn\":\"varbind_value\",\"keycolumn\":\"varbind_oid\",\"class\":\"SnmpConvertor\"}," - + "{\"phase\":\"%s\",\"class\":\"RunPhase\"}]},{\"phase\":\"%s\",\"filter\":{\"filters\":[{\"string\":\"${leftOperand}\",\"value\":\"rightOperand1\",\"class\":\"Contains\"}," + public void saveAndTranslateMappingRuleWithUserDefinedPhasesSuccessTest() throws Exception { + String expectedTranslation = "{\"processing\":[{\"phase\":\"foi_map\",\"processors\":[{\"phase\":\"phase_1\",\"class\":\"RunPhase\"}]}," + + "{\"phase\":\"phase_1\",\"filter\":{\"filters\":[{\"string\":\"${leftOperand}\",\"value\":\"rightOperand1\",\"class\":\"Contains\"}," + "{\"string\":\"${leftOperand}\",\"value\":\"rightOperand2\",\"class\":\"Contains\"}],\"class\":\"Or\"}," + "\"processors\":[{\"updates\":{\"event.commonEventHeader.target\":\"fromField\",\"concatTargetField\":\"concat1_concat2\"},\"class\":\"Set\"}," + "{\"regex\":\"([^:]*):.*\",\"field\":\"regexTargetField\",\"value\":\"extractFromHere\",\"class\":\"ExtractText\"}," + "{\"logLevel\":\"WARN\",\"logText\":\"some text\",\"class\":\"LogText\"},{\"fields\":[\"first_input\",\"second_input\"],\"class\":\"Clear\"}," + "{\"map\":{\"sourceVal1\":\"targetVal1\",\"sourceVal2\":\"targetVal2\"},\"field\":\"fromField\",\"toField\":\"mapTargetField\",\"default\":\"\",\"class\":\"MapAlarmValues\"}," + "{\"fromFormat\":\"inputFormat\",\"fromTz\":\"XYZ\",\"toField\":\"dateFormatterTarget\",\"toFormat\":\"outputFormat\",\"toTz\":\"UVW\",\"value\":\"${dateFormatterFrom}\",\"class\":\"DateFormatter\"}," - + "{\"title\":\"some log title\",\"class\":\"LogEvent\"},{\"field\":\"fromField\",\"find\":\"findText\",\"replace\":\"replacement\",\"class\":\"ReplaceText\"}]}," - + "{\"phase\":\"%s\",\"processors\":[{\"phase\":\"snmp_publish\",\"class\":\"RunPhase\"}]}]}"; + + "{\"title\":\"some log title\",\"class\":\"LogEvent\"},{\"field\":\"fromField\",\"find\":\"findText\",\"replace\":\"replacement\",\"class\":\"ReplaceText\"},{\"reservedFields\":[\"single_input\"],\"class\":\"ClearNoneStandardFields\"}," + + "{\"updates\":{\"parserType\":\"xxxxxxx\"},\"class\":\"Set\"},{\"targetCase\":\"same\",\"trim\":\"true\",\"toField\":\"targetField\",\"class\":\"StringTransform\"}," + + "{\"searchField\":\"sourceToSearch\",\"searchValue\":\"${whatever}\",\"searchFilter\":{\"field\":\"leftO\",\"values\":[\"rightO\"],\"class\":\"OneOf\"},\"enrichFields\":[\"e_field1\",\"e_field2\"],\"enrichPrefix\":\"e_prefix\",\"class\":\"TopoSearch\"}," + + "{\"searchField\":\"sourceToSearch\",\"searchValue\":\"${whatever}\",\"updates\":{\"firstKey\":\"firstValue\",\"secondKey\":\"secondValue\",\"isEnriched\":true},\"class\":\"TopoSearch\"}," + + "{\"phase\":\"phase_2\",\"class\":\"RunPhase\"}]},{\"phase\":\"phase_2\",\"processors\":[{\"targetCase\":\"same\",\"trim\":\"true\",\"toField\":\"targetField\",\"class\":\"StringTransform\"}," + + "{\"searchField\":\"sourceToSearch\",\"searchValue\":\"${whatever}\",\"searchFilter\":{\"field\":\"leftO\",\"values\":[\"rightO\"],\"class\":\"OneOf\"},\"enrichFields\":[\"e_field1\",\"e_field2\"]," + + "\"enrichPrefix\":\"e_prefix\",\"class\":\"TopoSearch\"}]},{\"phase\":\"phase_1\",\"processors\":[{\"reservedFields\":[\"single_input\"],\"class\":\"ClearNoneStandardFields\"},{\"updates\":{\"parserType\":\"xxxxxx\"},\"class\":\"Set\"}," + + "{\"phase\":\"map_publish\",\"class\":\"RunPhase\"}]}]}"; Vfcmt vfcmt = createVfcmt(); - String name = vfcmt.getName(); - saveCompositionAndFirstRuleSuccess(vfcmt, "map", "map", "param1", ruleRequestBody); - RestResponse res = DcaeRestClient.translateRules(vfcmt.getUuid(),"map", "map", "param1", "SNMP MSE"); + Rule firstRulePhase1 = gson.fromJson(ruleRequestBody, Rule.class); + firstRulePhase1.setPhase("phase_1"); + firstRulePhase1.setGroupId("group_1"); + saveCompositionAndFirstRuleSuccess(vfcmt, "map", "map", "param1", firstRulePhase1.toJson()); + String secondRulePhase2 = "{groupId:group_2,phase:phase_2,description:newRule,actions:[{actionType:\"string Transform\",id:706,target:targetField,stringTransform:{startValue:source,targetCase:same,isTrimString:true}}," + + "{actionType:\"Topology Search\",id:72336,search:{searchField:sourceToSearch,searchValue:\"${whatever}\",radio:'',searchFilter:{left:leftO,right:[rightO],operator:OneOf},enrich:{fields:[{value:e_field1},{value:e_field2}],prefix:e_prefix}}}]}"; + RestResponse res = DcaeRestClient.saveRule(vfcmt.getUuid(), "map", "map", "param1", secondRulePhase2); + assertThat(res.getStatusCode()).isEqualTo(200); + String thirdRulePhase1 = "{groupId:group_3,phase:phase_1,description:newRule,actions:[{actionType:\"Clear NSF\",id:id86,from:{state:closed,values:[{value:single_input}]}},{actionType:\"hp metric\",id:7788876,selectedHpMetric:xxxxxx}]}"; + res = DcaeRestClient.saveRule(vfcmt.getUuid(), "map", "map", "param1", thirdRulePhase1); + assertThat(res.getStatusCode()).isEqualTo(200); + TranslateRequest request = new TranslateRequest(vfcmt.getUuid(),"map", "map", "param1", null); + request.setPublishPhase("map_publish"); + request.setEntryPhase("foi_map"); + res = DcaeRestClient.translateRules(gson.toJson(request)); Report.log(Status.INFO, "translateRules response= "+res); assertThat(res.getStatusCode()).isEqualTo(200); - assertThat(res.getResponse()).isEqualTo(String.format(expectedTranslation, name, name, name)); + assertThat(res.getResponse()).isEqualTo(expectedTranslation); } - @Test - public void addNewRuleToExistingArtifact() throws Exception { - Vfcmt vfcmt = createVfcmt(); - String nid = "n.565663636.0"; - RestResponse res = saveCompositionAndFirstRuleSuccess(vfcmt, "map", nid, "param1", ruleRequestBody); - Rule rule1 = gson.fromJson(res.getResponse(), Rule.class); - res = DcaeRestClient.saveRule(vfcmt.getUuid(), "map", nid, "param1", ruleRequestBody); - Report.log(Status.INFO, "saveRule response= "+res); - Rule rule2 = gson.fromJson(res.getResponse(), Rule.class); - RestResponse responseGetRules = DcaeRestClient.getRules(vfcmt.getUuid(),"map", nid, "param1"); - Report.log(Status.INFO, "getRules response= "+responseGetRules); - MappingRules rules = gson.fromJson(responseGetRules.getResponse(), MappingRules.class); - Report.log(Status.INFO, "MappingRules="+responseGetRules.getResponse()); - assertThat(rules.getRules()).hasSize(2); - assertThat(rules.getRules().keySet()).containsOnly(rule1.getUid(), rule2.getUid()); - } + @Test + public void addNewRuleToExistingArtifactAndClearNotifyOid() throws Exception { + Vfcmt vfcmt = createVfcmt(); + String nid = "n.565663636.0"; + RestResponse res = saveCompositionAndFirstRuleSuccess(vfcmt, "map", nid, "param1", ruleRequestBody); + Rule rule1 = gson.fromJson(res.getResponse(), Rule.class); + RestResponse responseGetRules = DcaeRestClient.getRules(vfcmt.getUuid(),"map", nid, "param1"); + Report.log(Status.INFO, "getRules response= "+responseGetRules); + MappingRules rules = gson.fromJson(responseGetRules.getResponse(), MappingRules.class); + assertThat(rules.getNotifyId()).isEqualTo(notifyOid); + res = DcaeRestClient.saveRule(vfcmt.getUuid(), "map", nid, "param1", ruleRequestBody.replace(notifyOid,"\"\"")); + Report.log(Status.INFO, "saveRule response= "+res); + Rule rule2 = gson.fromJson(res.getResponse(), Rule.class); + responseGetRules = DcaeRestClient.getRules(vfcmt.getUuid(),"map", nid, "param1"); + Report.log(Status.INFO, "getRules response= "+responseGetRules); + rules = gson.fromJson(responseGetRules.getResponse(), MappingRules.class); + Report.log(Status.INFO, "MappingRules="+responseGetRules.getResponse()); + assertThat(rules.getNotifyId()).isEqualTo(""); + assertThat(rules.getRules()).hasSize(2); + assertThat(rules.getRules().keySet()).containsOnly(rule1.getUid(), rule2.getUid()); + } - @Test - public void editExistingRuleInArtifact() throws Exception{ - Vfcmt vfcmt = createVfcmt(); - String updated = "This is an update"; - RestResponse res = saveCompositionAndFirstRuleSuccess(vfcmt, "map", "map", "param1", ruleRequestBody); - Rule rule = gson.fromJson(res.getResponse(), Rule.class); - Report.log(Status.INFO, "save rule response=%s", res.getResponse()); - res = DcaeRestClient.getRules(vfcmt.getUuid(),"map", "map", "param1"); - Report.log(Status.INFO, "getRules3 response= "+res); - MappingRules rules = gson.fromJson(res.getResponse(), MappingRules.class); - Report.log(Status.INFO, "MappingRules1="+res.getResponse()); - assertThat(rules.getRules().get(rule.getUid()).getDescription()).isEqualTo("newRule"); - assertThat(rules.getRules().keySet()).containsOnly(rule.getUid()); - rule.setDescription(updated); - DcaeRestClient.saveRule(vfcmt.getUuid(), "map", "map", "param1", rule.toJson()); - Report.log(Status.INFO, "saveRule response= "+res); - res = DcaeRestClient.getRules(vfcmt.getUuid(),"map", "map", "param1"); - Report.log(Status.INFO, "getRules2 response= "+res); - rules = gson.fromJson(res.getResponse(), MappingRules.class); - Report.log(Status.INFO, "MappingRules2="+res.getResponse()); - assertThat(rules.getRules()).hasSize(1); - assertThat(rules.getRules().get(rule.getUid()).getDescription()).isEqualTo(updated); - } + @Test + public void editExistingRuleInArtifact() throws Exception{ + Vfcmt vfcmt = createVfcmt(); + String updated = "This is an update"; + RestResponse res = saveCompositionAndFirstRuleSuccess(vfcmt, "map", "map", "param1", ruleRequestBody); + Rule rule = gson.fromJson(res.getResponse(), Rule.class); + Report.log(Status.INFO, "save rule response=%s", res.getResponse()); + res = DcaeRestClient.getRules(vfcmt.getUuid(),"map", "map", "param1"); + Report.log(Status.INFO, "getRules3 response= "+res); + MappingRules rules = gson.fromJson(res.getResponse(), MappingRules.class); + Report.log(Status.INFO, "MappingRules1="+res.getResponse()); + assertThat(rules.getRules().get(rule.getUid()).getDescription()).isEqualTo("newRule"); + assertThat(rules.getRules().keySet()).containsOnly(rule.getUid()); + rule.setDescription(updated); + DcaeRestClient.saveRule(vfcmt.getUuid(), "map", "map", "param1", rule.toJson()); + Report.log(Status.INFO, "saveRule response= "+res); + res = DcaeRestClient.getRules(vfcmt.getUuid(),"map", "map", "param1"); + Report.log(Status.INFO, "getRules2 response= "+res); + rules = gson.fromJson(res.getResponse(), MappingRules.class); + Report.log(Status.INFO, "MappingRules2="+res.getResponse()); + assertThat(rules.getRules()).hasSize(1); + assertThat(rules.getRules().get(rule.getUid()).getDescription()).isEqualTo(updated); + } - @Test - public void editRuleInArtifactNoSuchIdErrorTest() throws Exception { - String expectedError = "{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC6036\",\"text\":\"Error - Failed to save rule. Internal persistence error\",\"variables\":[],\"formattedErrorMessage\":\"Error - Failed to save rule. Internal persistence error\"}},\"notes\":\"\"}"; - Vfcmt vfcmt = createVfcmt(); - RestResponse res = saveCompositionAndFirstRuleSuccess(vfcmt, "map", "map", "param1", ruleRequestBody); - Rule rule = gson.fromJson(res.getResponse(), Rule.class); - Report.log(Status.INFO, "rule="+rule); - rule.setUid("NoSuchUid"); - res = DcaeRestClient.saveRule(vfcmt.getUuid(), "map", "map", "param1", rule.toJson()); - Report.log(Status.INFO, "saveRule response= "+res); - assertThat(res.getStatusCode()).isEqualTo(409); - assertThat(res.getResponse()).isEqualTo(expectedError); - } + @Test + public void editRuleInArtifactNoSuchIdErrorTest() throws Exception { + String expectedError = "{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC6036\",\"text\":\"Error - Failed to save rule. Internal persistence error\",\"variables\":[],\"formattedErrorMessage\":\"Error - Failed to save rule. Internal persistence error\"}},\"notes\":\"\"}"; + Vfcmt vfcmt = createVfcmt(); + RestResponse res = saveCompositionAndFirstRuleSuccess(vfcmt, "map", "map", "param1", ruleRequestBody); + Rule rule = gson.fromJson(res.getResponse(), Rule.class); + Report.log(Status.INFO, "rule="+rule); + rule.setUid("NoSuchUid"); + res = DcaeRestClient.saveRule(vfcmt.getUuid(), "map", "map", "param1", rule.toJson()); + Report.log(Status.INFO, "saveRule response= "+res); + assertThat(res.getStatusCode()).isEqualTo(409); + assertThat(res.getResponse()).isEqualTo(expectedError); + } - @Test - public void getAllRules() throws Exception{ - Vfcmt vfcmt = createVfcmt(); - RestResponse res = saveCompositionAndFirstRuleSuccess(vfcmt, "map", "map", "param1", ruleRequestBody); - String uid1 = gson.fromJson(res.getResponse(), JsonObject.class).get("uid").getAsString(); - //save two more rules - res = DcaeRestClient.saveRule(vfcmt.getUuid(), "map", "map", "param1", ruleRequestBody); - Report.log(Status.INFO, "saveRule1 response= "+res); - String uid2 = gson.fromJson(res.getResponse(), JsonObject.class).get("uid").getAsString(); - res = DcaeRestClient.saveRule(vfcmt.getUuid(), "map", "map", "param1", ruleRequestBody); - Report.log(Status.INFO, "saveRule2 response= "+res); - String uid3 = gson.fromJson(res.getResponse(), JsonObject.class).get("uid").getAsString(); - res = DcaeRestClient.getRules(vfcmt.getUuid(),"map", "map", "param1"); - Report.log(Status.INFO, "getRules response= "+res); - JsonObject jsonRes = gson.fromJson(res.getResponse(), JsonObject.class); - Report.log(Status.INFO, "jsonRes="+jsonRes); - assertThat(jsonRes.get("schema")).isNotNull(); - MappingRules actualRules = gson.fromJson(res.getResponse(), MappingRules.class); - Report.log(Status.INFO, "MappingRules="+res.getResponse()); - assertThat(actualRules.getRules()).hasSize(3); - assertThat(actualRules.getRules().keySet()).containsOnly(uid1, uid2, uid3); - } + @Test + public void getAllRules() throws Exception{ + Vfcmt vfcmt = createVfcmt(); + RestResponse res = saveCompositionAndFirstRuleSuccess(vfcmt, "map", "map", "param1", ruleRequestBody); + String uid1 = gson.fromJson(res.getResponse(), JsonObject.class).get("uid").getAsString(); + //save two more rules + res = DcaeRestClient.saveRule(vfcmt.getUuid(), "map", "map", "param1", ruleRequestBody); + Report.log(Status.INFO, "saveRule1 response= "+res); + String uid2 = gson.fromJson(res.getResponse(), JsonObject.class).get("uid").getAsString(); + res = DcaeRestClient.saveRule(vfcmt.getUuid(), "map", "map", "param1", ruleRequestBody); + Report.log(Status.INFO, "saveRule2 response= "+res); + String uid3 = gson.fromJson(res.getResponse(), JsonObject.class).get("uid").getAsString(); + res = DcaeRestClient.getRules(vfcmt.getUuid(),"map", "map", "param1"); + Report.log(Status.INFO, "getRules response= "+res); + JsonObject jsonRes = gson.fromJson(res.getResponse(), JsonObject.class); + Report.log(Status.INFO, "jsonRes="+jsonRes); + assertThat(jsonRes.get("schema")).isNotNull(); + MappingRules actualRules = gson.fromJson(res.getResponse(), MappingRules.class); + Report.log(Status.INFO, "MappingRules="+res.getResponse()); + assertThat(actualRules.getRules()).hasSize(3); + assertThat(actualRules.getRules().keySet()).containsOnly(uid1, uid2, uid3); + } + @Test + public void deleteRuleSuccessTest() throws Exception { + Vfcmt vfcmt = createVfcmt(); + //save first rule + RestResponse res = saveCompositionAndFirstRuleSuccess(vfcmt, "map", "map", "param1", ruleRequestBody); + String uid1 = gson.fromJson(res.getResponse(), JsonObject.class).get("uid").getAsString(); + // save second rule + res = DcaeRestClient.saveRule(vfcmt.getUuid(), "map", "map", "param1", ruleRequestBody); + Report.log(Status.INFO, "saveRule response= "+res); + String uid2 = gson.fromJson(res.getResponse(), JsonObject.class).get("uid").getAsString(); + res = DcaeRestClient.getRules(vfcmt.getUuid(),"map", "map", "param1"); + Report.log(Status.INFO, "getRules1 response= "+res); + MappingRules actualRules = gson.fromJson(res.getResponse(), MappingRules.class); + Report.log(Status.INFO, "MappingRules1="+res.getResponse()); + // get all rules should return both + assertThat(actualRules.getRules()).hasSize(2); + assertThat(actualRules.getRules().keySet()).containsOnly(uid1, uid2); + // delete a rule + res = DcaeRestClient.deleteRule(vfcmt.getUuid(),"map", "map", "param1", uid2); + Report.log(Status.INFO, "deleteRule1 response= "+res); + assertThat(res.getStatusCode()).isEqualTo(200); + res = DcaeRestClient.getRules(vfcmt.getUuid(),"map", "map", "param1"); + Report.log(Status.INFO, "getRules2 response= "+res); + actualRules = gson.fromJson(res.getResponse(), MappingRules.class); + Report.log(Status.INFO, "MappingRules2="+res.getResponse()); + // get rules should return one rule + assertThat(actualRules.getRules()).hasSize(1); + assertThat(actualRules.getRules().keySet()).containsOnly(uid1); + // delete the last rule - artifact should be deleted + res = DcaeRestClient.deleteRule(vfcmt.getUuid(),"map", "map", "param1", uid1); + Report.log(Status.INFO, "deleteRule2 response= "+res); + assertThat(res.getStatusCode()).isEqualTo(200); + String expectedArtifactName = "map_map_param1_MappingRules.json"; + Artifact savedArtifact = fetchVfcmtArtifactMetadataByName(vfcmt.getUuid(), expectedArtifactName); + Report.log(Status.INFO, "savedArtifact= "+savedArtifact); + assertThat(savedArtifact).isNull(); + // get rules should return empty + res = DcaeRestClient.getRules(vfcmt.getUuid(),"map", "map", "param1"); + Report.log(Status.INFO, "getRules3 response= "+res); + assertThat(res.getStatusCode()).isEqualTo(200); + assertThat(res.getResponse()).isEqualTo("{}"); + } + @Test - public void deleteRuleSuccessTest() throws Exception{ + public void deleteGroupOfRulesSuccessTest() throws Exception{ Vfcmt vfcmt = createVfcmt(); //save first rule - RestResponse res = saveCompositionAndFirstRuleSuccess(vfcmt, "map", "map", "param1", ruleRequestBody); + Rule rule = gson.fromJson(ruleRequestBody, Rule.class); + rule.setGroupId("group_0"); + rule.setPhase("phase_0"); + String rulePayload = rule.toJson(); + RestResponse res = saveCompositionAndFirstRuleSuccess(vfcmt, "map", "map", "param1", rulePayload); String uid1 = gson.fromJson(res.getResponse(), JsonObject.class).get("uid").getAsString(); // save second rule - res = DcaeRestClient.saveRule(vfcmt.getUuid(), "map", "map", "param1", ruleRequestBody); + res = DcaeRestClient.saveRule(vfcmt.getUuid(), "map", "map", "param1", rulePayload); Report.log(Status.INFO, "saveRule response= "+res); String uid2 = gson.fromJson(res.getResponse(), JsonObject.class).get("uid").getAsString(); res = DcaeRestClient.getRules(vfcmt.getUuid(),"map", "map", "param1"); - Report.log(Status.INFO, "getRules1 response= "+res); + Report.log(Status.INFO, "getRules response= "+res); MappingRules actualRules = gson.fromJson(res.getResponse(), MappingRules.class); - Report.log(Status.INFO, "MappingRules1="+res.getResponse()); // get all rules should return both assertThat(actualRules.getRules()).hasSize(2); assertThat(actualRules.getRules().keySet()).containsOnly(uid1, uid2); // delete a rule - res = DcaeRestClient.deleteRule(vfcmt.getUuid(),"map", "map", "param1", uid2); - Report.log(Status.INFO, "deleteRule1 response= "+res); - assertThat(res.getStatusCode()).isEqualTo(200); - res = DcaeRestClient.getRules(vfcmt.getUuid(),"map", "map", "param1"); - Report.log(Status.INFO, "getRules2 response= "+res); - actualRules = gson.fromJson(res.getResponse(), MappingRules.class); - Report.log(Status.INFO, "MappingRules2="+res.getResponse()); - // get rules should return one rule - assertThat(actualRules.getRules()).hasSize(1); - assertThat(actualRules.getRules().keySet()).containsOnly(uid1); - // delete the last rule - artifact should be deleted - res = DcaeRestClient.deleteRule(vfcmt.getUuid(),"map", "map", "param1", uid1); - Report.log(Status.INFO, "deleteRule2 response= "+res); + res = DcaeRestClient.deleteGroupOfRules(vfcmt.getUuid(),"map", "map", "param1", "group_0"); + Report.log(Status.INFO, "deleteGroup response= "+res); assertThat(res.getStatusCode()).isEqualTo(200); + // no more rules - artifact should be deleted String expectedArtifactName = "map_map_param1_MappingRules.json"; Artifact savedArtifact = fetchVfcmtArtifactMetadataByName(vfcmt.getUuid(), expectedArtifactName); Report.log(Status.INFO, "savedArtifact= "+savedArtifact); assertThat(savedArtifact).isNull(); // get rules should return empty res = DcaeRestClient.getRules(vfcmt.getUuid(),"map", "map", "param1"); - Report.log(Status.INFO, "getRules3 response= "+res); + Report.log(Status.INFO, "getRules response= "+res); assertThat(res.getStatusCode()).isEqualTo(200); assertThat(res.getResponse()).isEqualTo("{}"); - } - @Test - public void invalidJsonRuleFormatTest() throws Exception{ - String expectedError = "{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC6035\",\"text\":\"Error - Rule format is invalid: %1.\",\"variables\":[\"java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $\"],\"formattedErrorMessage\":\"Error - Rule format is invalid: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $.\"}},\"notes\":\"\"}"; - RestResponse res = DcaeRestClient.saveRule("someId", "someName", "someNid", "someParam", "gibberish" ); - assertThat(res.getStatusCode()).isEqualTo(400); - assertThat(res.getResponse()).isEqualTo(expectedError); - } + @Test + public void invalidJsonRuleFormatTest() throws Exception{ + String expectedError = "{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC6035\",\"text\":\"Error - Rule format is invalid: %1.\",\"variables\":[\"java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $\"],\"formattedErrorMessage\":\"Error - Rule format is invalid: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $.\"}},\"notes\":\"\"}"; + RestResponse res = DcaeRestClient.saveRule("someId", "someName", "someNid", "someParam", "gibberish" ); + assertThat(res.getStatusCode()).isEqualTo(400); + assertThat(res.getResponse()).isEqualTo(expectedError); + } - @Test - public void invalidActionTypeTest() throws Exception { - String expectedError = "{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC6035\",\"text\":\"Error - Rule format is invalid: %1.\",\"variables\":[\"Undefined action type: gibberish\"],\"formattedErrorMessage\":\"Error - Rule format is invalid: Undefined action type: gibberish.\"}},\"notes\":\"\"}"; - RestResponse res = DcaeRestClient.saveRule("someId", "someName", "someNid", "someParam", "{actions:[{actionType:gibberish}]}"); - assertThat(res.getStatusCode()).isEqualTo(400); - assertThat(res.getResponse()).isEqualTo(expectedError); - } + @Test + public void invalidActionTypeTest() throws Exception { + String expectedError = "{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC6035\",\"text\":\"Error - Rule format is invalid: %1.\",\"variables\":[\"Undefined action type: gibberish\"],\"formattedErrorMessage\":\"Error - Rule format is invalid: Undefined action type: gibberish.\"}},\"notes\":\"\"}"; + RestResponse res = DcaeRestClient.saveRule("someId", "someName", "someNid", "someParam", "{actions:[{actionType:gibberish}]}"); + assertThat(res.getStatusCode()).isEqualTo(400); + assertThat(res.getResponse()).isEqualTo(expectedError); + } - @Test - public void conflictingUsersErrorTest() throws Exception { - Vfcmt vfcmt = createVfcmt(); - RestResponse res = DcaeRestClient.saveComposition(vfcmt.getUuid(), vfcmt.getLastUpdaterUserId(), "{\"nid\":\"map\"}"); - assertThat(res.getStatusCode()).isEqualTo(200); - //check out by other user then try to save rule by current user - res = DcaeRestClient.checkoutVfcmt(vfcmt.getUuid(), DcaeRestClient.getDesigner2UserId()); - assertThat(res.getStatusCode()).isEqualTo(200); - res = DcaeRestClient.saveRule(vfcmt.getUuid(), "map", "map", "someParam", ruleRequestBody); - assertThat(res.getStatusCode()).isEqualTo(403); - } + @Test + public void conflictingUsersErrorTest() throws Exception { + Vfcmt vfcmt = createVfcmt(); + RestResponse res = DcaeRestClient.saveComposition(vfcmt.getUuid(), vfcmt.getLastUpdaterUserId(), "{\"nid\":\"map\"}"); + assertThat(res.getStatusCode()).isEqualTo(200); + //check out by other user then try to save rule by current user + res = DcaeRestClient.checkoutVfcmt(vfcmt.getUuid(), DcaeRestClient.getDesigner2UserId()); + assertThat(res.getStatusCode()).isEqualTo(200); + res = DcaeRestClient.saveRule(vfcmt.getUuid(), "map", "map", "someParam", ruleRequestBody); + assertThat(res.getStatusCode()).isEqualTo(403); + } - @Test - public void uploadArtifactSdcErrorTest() throws Exception { - String expectedError = "{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC6036\",\"text\":\"Error - Failed to save rule. Internal persistence error\",\"variables\":[],\"formattedErrorMessage\":\"Error - Failed to save rule. Internal persistence error\"}},\"notes\":\"Error: Invalid content.\"}"; - Vfcmt vfcmt = createVfcmt(); - RestResponse res = DcaeRestClient.saveComposition(vfcmt.getUuid(), vfcmt.getLastUpdaterUserId(), "{\"nid\":\"map\"}"); - assertThat(res.getStatusCode()).isEqualTo(200); - // Generated artifact label would be invalid and should fail when submitted to SDC - res = DcaeRestClient.saveRule(vfcmt.getUuid(), "map", "map", "()someParam", ruleRequestBody); - assertThat(res.getStatusCode()).isEqualTo(409); - assertThat(res.getResponse()).isEqualTo(expectedError); - } + @Test + public void uploadArtifactSdcErrorTest() throws Exception { + String expectedError = "{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC6036\",\"text\":\"Error - Failed to save rule. Internal persistence error\",\"variables\":[],\"formattedErrorMessage\":\"Error - Failed to save rule. Internal persistence error\"}},\"notes\":\"Error: Invalid content.\"}"; + Vfcmt vfcmt = createVfcmt(); + RestResponse res = DcaeRestClient.saveComposition(vfcmt.getUuid(), vfcmt.getLastUpdaterUserId(), "{\"nid\":\"map\"}"); + assertThat(res.getStatusCode()).isEqualTo(200); + // Generated artifact label would be invalid and should fail when submitted to SDC + res = DcaeRestClient.saveRule(vfcmt.getUuid(), "map", "map", "()someParam", ruleRequestBody); + assertThat(res.getStatusCode()).isEqualTo(409); + assertThat(res.getResponse()).isEqualTo(expectedError); + } - @Test - public void saveMappingRuleNoSuchNidErrorTest() throws Exception { - String expectedError = "{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC6114\",\"text\":\"DCAE component %1 not found in composition\",\"variables\":[\"noSuchComponent\"],\"formattedErrorMessage\":\"DCAE component noSuchComponent not found in composition\"}},\"notes\":\"\"}"; - Vfcmt vfcmt = createVfcmt(); - RestResponse res = DcaeRestClient.saveComposition(vfcmt.getUuid(), vfcmt.getLastUpdaterUserId(), "{\"nid\":\"map\"}"); - assertThat(res.getStatusCode()).isEqualTo(200); - res = DcaeRestClient.saveRule(vfcmt.getUuid(), "noSuchComponent", "noSuchComponent", "someParam", ruleRequestBody); - assertThat(res.getStatusCode()).isEqualTo(400); - assertThat(res.getResponse()).isEqualTo(expectedError); - } + @Test + public void saveMappingRuleNoSuchNidErrorTest() throws Exception { + String expectedError = "{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC6114\",\"text\":\"DCAE component %1 not found in composition\",\"variables\":[\"noSuchComponent\"],\"formattedErrorMessage\":\"DCAE component noSuchComponent not found in composition\"}},\"notes\":\"\"}"; + Vfcmt vfcmt = createVfcmt(); + RestResponse res = DcaeRestClient.saveComposition(vfcmt.getUuid(), vfcmt.getLastUpdaterUserId(), "{\"nid\":\"map\"}"); + assertThat(res.getStatusCode()).isEqualTo(200); + res = DcaeRestClient.saveRule(vfcmt.getUuid(), "noSuchComponent", "noSuchComponent", "someParam", ruleRequestBody); + assertThat(res.getStatusCode()).isEqualTo(400); + assertThat(res.getResponse()).isEqualTo(expectedError); + } - @Test - public void deleteRuleNoSuchIdTest() throws Exception { - String expectedError = "{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC6115\",\"text\":\"Delete rule failed. Internal persistence error\",\"variables\":[],\"formattedErrorMessage\":\"Delete rule failed. Internal persistence error\"}},\"notes\":\"\"}"; - Vfcmt vfcmt = createVfcmt(); - //save rule - saveCompositionAndFirstRuleSuccess(vfcmt, "map", "map", "param1", ruleRequestBody); - RestResponse res = DcaeRestClient.deleteRule(vfcmt.getUuid(),"map", "map", "param1", "noSuchRuleId"); - Report.log(Status.INFO, "deleteRule response=%s", res); - assertThat(res.getStatusCode()).isEqualTo(409); - assertThat(res.getResponse()).isEqualTo(expectedError); - } - - // After first rule is saved the mappingRules.json artifact is available for get/delete/edit tests - private RestResponse saveCompositionAndFirstRuleSuccess(Vfcmt vfcmt, String dcaeCompName, String nid, String configParam, String body) throws Exception { - // generate and save a composition.yml - Report.log(Status.INFO, "saveCompositionAndFirstRuleSuccess start"); - RestResponse res = DcaeRestClient.saveComposition(vfcmt.getUuid(), vfcmt.getLastUpdaterUserId(), String.format("{\"nid\":\"%s\"}", nid)); - Report.log(Status.INFO, "saveComposition response=%s", res); - assertThat(res.getStatusCode()).isEqualTo(200); - - res = DcaeRestClient.saveRule(vfcmt.getUuid(), dcaeCompName, nid, configParam, body); - Report.log(Status.INFO, "saveRule response=%s", res); - assertThat(res.getStatusCode()).isEqualTo(200); - return res; - } + @Test + public void deleteRuleNoSuchIdTest() throws Exception { + String expectedError = "{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC6115\",\"text\":\"Delete rule failed. Internal persistence error\",\"variables\":[],\"formattedErrorMessage\":\"Delete rule failed. Internal persistence error\"}},\"notes\":\"\"}"; + Vfcmt vfcmt = createVfcmt(); + //save rule + saveCompositionAndFirstRuleSuccess(vfcmt, "map", "map", "param1", ruleRequestBody); + RestResponse res = DcaeRestClient.deleteRule(vfcmt.getUuid(),"map", "map", "param1", "noSuchRuleId"); + Report.log(Status.INFO, "deleteRule response=%s", res); + assertThat(res.getStatusCode()).isEqualTo(409); + assertThat(res.getResponse()).isEqualTo(expectedError); + } + // After first rule is saved the mappingRules.json artifact is available for get/delete/edit tests + private RestResponse saveCompositionAndFirstRuleSuccess(Vfcmt vfcmt, String dcaeCompName, String nid, String configParam, String body) throws Exception { + // generate and save a composition.yml + Report.log(Status.INFO, "saveCompositionAndFirstRuleSuccess start"); + RestResponse res = DcaeRestClient.saveComposition(vfcmt.getUuid(), vfcmt.getLastUpdaterUserId(), String.format("{\"nid\":\"%s\"}", nid)); + Report.log(Status.INFO, "saveComposition response=%s", res); + assertThat(res.getStatusCode()).isEqualTo(200); - @Test - public void saveMappingRuleNegativeTest_BadResponse() throws Exception { - // arrange - Report.log(Status.INFO, "Arrangeing test..."); - ObjectMapper mapper = new ObjectMapper(); - String badRuleRequestBody = "{\"version\":\"5.3\",\"eventType\":\"syslogFields\",\"uid\":\"\",\"description\":\"map rules\"," - + "\"actions\":[{actionType:\"Date Formatter\",from:{value:whatever}},{\"id\":\"22fdded0-c9eb-11e7-83c1-3592231134a4\",\"actionType\":\"map\",\"from\":{\"value\":\"AAA\",\"regex\":\"\",\"state\":\"closed\",\"values\":[{\"value\":\"\"},{\"value\":\"\"}]},\"target\":\"BBB\",\"map\":{\"values\":[{\"key\":\"foo\",\"value\":\"bar\"}],\"haveDefault\":true,\"default\":\"\"}},{\"id\":\"2d6fab00-c9eb-11e7-83c1-3592231134a4\",\"actionType\":\"map\",\"from\":{\"value\":\"\",\"regex\":\"\",\"state\":\"closed\",\"values\":[{\"value\":\"\"},{\"value\":\"\"}]},\"target\":\"DDD\",\"map\":{\"values\":[{\"key\":\"foo\",\"value\":\"bar\"}],\"haveDefault\":false,\"default\":\"\"}},{\"id\":\"60bff5a0-c9eb-11e7-83c1-3592231134a4\",\"actionType\":\"map\",\"from\":{\"value\":\"EEE\",\"regex\":\"\",\"state\":\"closed\",\"values\":[{\"value\":\"\"},{\"value\":\"\"}]},\"target\":\"\",\"map\":{\"values\":[{\"key\":\"foo\",\"value\":\"bar\"}],\"haveDefault\":false,\"default\":\"\"}},{\"id\":\"75ea0ce0-c9eb-11e7-83c1-3592231134a4\",\"actionType\":\"map\",\"from\":{\"value\":\"FFF\",\"regex\":\"\",\"state\":\"closed\",\"values\":[{\"value\":\"\"},{\"value\":\"\"}]},\"target\":\"GGG\",\"map\":{\"values\":[{\"key\":\"foo\",\"value\":\"bar\"},{\"key\":\"\",\"value\":\"\"}],\"haveDefault\":false,\"default\":\"\"}},{\"id\":\"75ea0ce0-c9eb-11e7-83c1-3592231134a4\",\"actionType\":\"map\",\"from\":{\"value\":\"FFF\",\"regex\":\"\",\"state\":\"closed\",\"values\":[{\"value\":\"\"},{\"value\":\"\"}]},\"target\":\"GGG\",\"map\":{\"values\":[{\"key\":\"foo\",\"value\":\"bar\"},{\"key\":\"foo\",\"value\":\"not bar\"}],\"haveDefault\":false,\"default\":\"\"}}],\"condition\":null}"; - Vfcmt vfcmt = createVfcmt(); - Report.log(Status.INFO, "Saving composition of a fake cdump..."); - RestResponse res = DcaeRestClient.saveComposition(vfcmt.getUuid(), vfcmt.getLastUpdaterUserId(), "{\"nid\":\"map\"}"); - Report.logDebug("saveComposition response", res); - if (res.getStatusCode() != 200) { - fail("Unable to arrange test, save composition failed\n" + res.toString()); - } - // act - Report.log(Status.INFO, "Executing..."); - Report.logDebug("Request body", badRuleRequestBody); - RestResponse targetRes = DcaeRestClient.saveRule(vfcmt.getUuid(), "noSuchComponent", "map", "someParam", badRuleRequestBody); - Report.logDebug("saveRule response", targetRes); - // assert - Report.log(Status.INFO, "Asserting..."); - List<String> errors = mapper.readValue(targetRes.getResponse(), SaveRuleError.class).getFormattedErrors(); // parse response - SoftAssertions.assertSoftly(softly -> { - softly.assertThat(targetRes.getStatusCode()).isEqualTo(400); - softly.assertThat(errors).containsExactlyInAnyOrder( - "Please fill the default value of map action to BBB", - "Please fill the from field of map action to DDD", - "Please fill the target field of map action to ", - "Please fill all key-value pairs of map action to GGG", - "Error: Duplication in map keys exists, please modify rule configuration", - "Please fill the target field of Date Formatter action to null", - "Please fill the to timezone field of Date Formatter action to null", - "Please fill the from timezone field of Date Formatter action to null", - "Please fill the from format field of Date Formatter action to null", - "Please fill the to format field of Date Formatter action to null" - ); - }); - } + res = DcaeRestClient.saveRule(vfcmt.getUuid(), dcaeCompName, nid, configParam, body); + Report.log(Status.INFO, "saveRule response=%s", res); + assertThat(res.getStatusCode()).isEqualTo(200); + return res; + } + + + @Test + public void saveMappingRuleNegativeTest_BadResponse() throws Exception { + // arrange + Report.log(Status.INFO, "Arranging test..."); + ObjectMapper mapper = new ObjectMapper(); + String badRuleRequestBody = "{\"version\":\"5.3\",\"eventType\":\"syslogFields\",\"uid\":\"\",\"description\":\"map rules\"," + + "\"actions\":[{id:id,actionType:\"Date Formatter\",from:{state:closed,value:whatever}},{\"id\":\"22fdded0-c9eb-11e7-83c1-3592231134a4\",\"actionType\":\"map\",\"from\":{\"value\":\"AAA\",\"regex\":\"\",\"state\":\"closed\",\"values\":[{\"value\":\"\"},{\"value\":\"\"}]},\"target\":\"BBB\",\"map\":{\"values\":[{\"key\":\"foo\",\"value\":\"bar\"}],\"haveDefault\":true,\"default\":\"\"}},{\"id\":\"2d6fab00-c9eb-11e7-83c1-3592231134a4\",\"actionType\":\"map\",\"from\":{\"value\":\"\",\"regex\":\"\",\"state\":\"closed\",\"values\":[{\"value\":\"\"},{\"value\":\"\"}]},\"target\":\"DDD\",\"map\":{\"values\":[{\"key\":\"foo\",\"value\":\"bar\"}],\"haveDefault\":false,\"default\":\"\"}},{\"id\":\"60bff5a0-c9eb-11e7-83c1-3592231134a4\",\"actionType\":\"map\",\"from\":{\"value\":\"EEE\",\"regex\":\"\",\"state\":\"closed\",\"values\":[{\"value\":\"\"},{\"value\":\"\"}]},\"target\":\"\",\"map\":{\"values\":[{\"key\":\"foo\",\"value\":\"bar\"}],\"haveDefault\":false,\"default\":\"\"}},{\"id\":\"75ea0ce0-c9eb-11e7-83c1-3592231134a4\",\"actionType\":\"map\",\"from\":{\"value\":\"FFF\",\"regex\":\"\",\"state\":\"closed\",\"values\":[{\"value\":\"\"},{\"value\":\"\"}]},\"target\":\"GGG\",\"map\":{\"values\":[{\"key\":\"foo\",\"value\":\"bar\"},{\"key\":\"\",\"value\":\"\"}],\"haveDefault\":false,\"default\":\"\"}},{\"id\":\"75ea0ce0-c9eb-11e7-83c1-3592231134a4\",\"actionType\":\"map\",\"from\":{\"value\":\"FFF\",\"regex\":\"\",\"state\":\"closed\",\"values\":[{\"value\":\"\"},{\"value\":\"\"}]},\"target\":\"GGG\",\"map\":{\"values\":[{\"key\":\"foo\",\"value\":\"bar\"},{\"key\":\"foo\",\"value\":\"not bar\"}],\"haveDefault\":false,\"default\":\"\"}}],\"condition\":null}"; + Vfcmt vfcmt = createVfcmt(); + Report.log(Status.INFO, "Saving composition of a fake cdump..."); + RestResponse res = DcaeRestClient.saveComposition(vfcmt.getUuid(), vfcmt.getLastUpdaterUserId(), "{\"nid\":\"map\"}"); + Report.logDebug("saveComposition response", res); + if (res.getStatusCode() != 200) { + fail("Unable to arrange test, save composition failed\n" + res.toString()); + } + // act + Report.log(Status.INFO, "Executing..."); + Report.logDebug("Request body", badRuleRequestBody); + RestResponse targetRes = DcaeRestClient.saveRule(vfcmt.getUuid(), "noSuchComponent", "map", "someParam", badRuleRequestBody); + Report.logDebug("saveRule response", targetRes); + // assert + Report.log(Status.INFO, "Asserting..."); + List<String> errors = mapper.readValue(targetRes.getResponse(), SaveRuleError.class).getFormattedErrors(); // parse response + SoftAssertions.assertSoftly(softly -> { + softly.assertThat(targetRes.getStatusCode()).isEqualTo(400); + softly.assertThat(errors).containsExactlyInAnyOrder( + "Please fill the default value of map action to BBB", + "Please fill the from field of map action to DDD", + "Please fill the target field of map action to ", + "Please fill all key-value pairs of map action to GGG", + "Error: Duplication in map keys exists, please modify rule configuration", + "Please fill the target field of Date Formatter action to null", + "Please fill the to timezone field of Date Formatter action to null", + "Please fill the from timezone field of Date Formatter action to null", + "Please fill the from format field of Date Formatter action to null", + "Please fill the to format field of Date Formatter action to null" + ); + }); + } + + @Test + public void translateWithoutPhasesFailureTest() throws Exception { + TranslateRequest translateRequest = new TranslateRequest("someId","map", "map", "param1", "xxx"); + String expectedError = "{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC6116\",\"text\":\"Translation failed. Reason: %1\",\"variables\":[\"please enter valid request parameters\"],\"formattedErrorMessage\":\"Translation failed. Reason: please enter valid request parameters\"}},\"notes\":\"\"}"; + RestResponse res = DcaeRestClient.translateRules(gson.toJson(translateRequest)); + assertThat(res.getStatusCode()).isEqualTo(400); + assertThat(res.getResponse()).isEqualTo(expectedError); + translateRequest.setPublishPhase("publishPhaseWithoutEntryPhaseIsNotEnough"); + res = DcaeRestClient.translateRules(gson.toJson(translateRequest)); + assertThat(res.getStatusCode()).isEqualTo(400); + assertThat(res.getResponse()).isEqualTo(expectedError); + } + + @Test + public void getExistingRuleTargetsTest() throws Exception { + String dcaeCompName = "theComponent"; + String nid = "theNid"; + String configParam1 = "ConfigParam1"; + String configParam2 = "ConfigParam2"; + final String UID = "uid"; + + Vfcmt vfcmt = createVfcmt(); + RestResponse res = saveCompositionAndFirstRuleSuccess(vfcmt, dcaeCompName, nid, configParam1, ruleRequestBody); + gson.fromJson(res.getResponse(), JsonObject.class).get(UID).getAsString(); + res = DcaeRestClient.saveRule(vfcmt.getUuid(), dcaeCompName, nid, configParam2, ruleRequestBody); + Report.log(Status.INFO, "saveRule1 response= "+res); + gson.fromJson(res.getResponse(), JsonObject.class).get(UID).getAsString(); + res = DcaeRestClient.saveRule(vfcmt.getUuid(), dcaeCompName, nid, configParam1, ruleRequestBody); + Report.log(Status.INFO, "saveRule2 response= "+res); + gson.fromJson(res.getResponse(), JsonObject.class).get(UID).getAsString(); + res = DcaeRestClient.saveRule(vfcmt.getUuid(), dcaeCompName, nid, configParam1, ruleRequestBody); + Report.log(Status.INFO, "saveRule3 response= "+res); + + res = DcaeRestClient.getExistingRuleTargets(vfcmt.getUuid(),dcaeCompName,nid); + if (res.getStatusCode() != 200) { + fail("Unable to arrange test, get existing rule targets test failed\n" + res.toString()); + } + String response = res.getResponse(); + assertThat(response.contains(configParam1)); + assertThat(response.contains(configParam2)); + } @Test - public void translateInvalidFlowTypeFailureTest() throws Exception { - String expectedError = "{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC6116\",\"text\":\"Translation failed. Reason: %s\",\"variables\":[\"%s\"],\"formattedErrorMessage\":\"Translation failed. Reason: %s\"}},\"notes\":\"\"}"; - RestResponse res = DcaeRestClient.translateRules("someId","map", "map", "param1", "noSuchFlowType"); - assertThat(res.getStatusCode()).isEqualTo(400); - assertThat(res.getResponse()).isEqualTo(String.format(expectedError, "%1", "Flow type noSuchFlowType not found", "Flow type noSuchFlowType not found")); - res = DcaeRestClient.translateRules("someId","map", "map", "param1", null); - assertThat(res.getStatusCode()).isEqualTo(400); - assertThat(res.getResponse()).isEqualTo(String.format(expectedError, "%1", "Flow type null not found", "Flow type null not found")); + public void exportRulesArtifactSuccessTest() throws Exception { + Report.log(Status.INFO, "test start"); + Vfcmt vfcmt = createVfcmt(); + RestResponse res = saveCompositionAndFirstRuleSuccess(vfcmt, "map", "n.1.map", "param1", ruleRequestBody); + MappingRules expectedResponse = new MappingRules(gson.fromJson(res.getResponse(), Rule.class)); + res = DcaeRestClient.exportRules(vfcmt.getUuid(), "map", "n.1.map", "param1"); + assertThat(res.getStatusCode()).isEqualTo(200); + assertThat(gson.fromJson(res.getResponse(), MappingRules.class)).isEqualTo(expectedResponse); + String fileNameHeader = "attachment; filename=\"" + .concat(vfcmt.getName()) + .concat("_") + .concat("map") + .concat("_") + .concat("param1") + .concat(DcaeBeConstants.Composition.fileNames.MAPPING_RULE_POSTFIX) + .concat("\""); + assertThat(res.getHeaderFields().get("Content-Disposition")).contains(fileNameHeader); } @Test - public void getExistingRuleTargetsTest() throws Exception { - String dcaeCompName = "theComponent"; - String nid = "theNid"; - String configParam1 = "ConfigParam1"; - String configParam2 = "ConfigParam2"; - final String UID = "uid"; - + public void importRulesArtifactSuccessTest() throws Exception { + String dcaeCompName = "map"; + String nid = "n.1.map"; + String param1 = "param1"; + String param2 = "param2"; Vfcmt vfcmt = createVfcmt(); - RestResponse res = saveCompositionAndFirstRuleSuccess(vfcmt, dcaeCompName, nid, configParam1, ruleRequestBody); - gson.fromJson(res.getResponse(), JsonObject.class).get(UID).getAsString(); - res = DcaeRestClient.saveRule(vfcmt.getUuid(), dcaeCompName, nid, configParam2, ruleRequestBody); - Report.log(Status.INFO, "saveRule1 response= "+res); - gson.fromJson(res.getResponse(), JsonObject.class).get(UID).getAsString(); - res = DcaeRestClient.saveRule(vfcmt.getUuid(), dcaeCompName, nid, configParam1, ruleRequestBody); - Report.log(Status.INFO, "saveRule2 response= "+res); - gson.fromJson(res.getResponse(), JsonObject.class).get(UID).getAsString(); - res = DcaeRestClient.saveRule(vfcmt.getUuid(), dcaeCompName, nid, configParam1, ruleRequestBody); - Report.log(Status.INFO, "saveRule3 response= "+res); - + saveCompositionAndFirstRuleSuccess(vfcmt, dcaeCompName, nid, param1, ruleRequestBody); + Report.log(Status.INFO, "verifying rule definition exists for 'param1' only"); + RestResponse res = DcaeRestClient.getExistingRuleTargets(vfcmt.getUuid(),dcaeCompName,nid); + assertThat(res.getStatusCode()).isEqualTo(200); + String[] existingTargets = gson.fromJson(res.getResponse(), String[].class); + assertThat(existingTargets.length).isEqualTo(1); + assertThat(existingTargets[0]).isEqualTo(param1); + Rule rule = gson.fromJson(ruleRequestBody, Rule.class); + MappingRules inputRules = new MappingRules(rule); + res = DcaeRestClient.importRules(vfcmt.getUuid(), dcaeCompName, nid, param2, new Gson().toJson(inputRules)); + assertThat(res.getStatusCode()).isEqualTo(200); + Report.log(Status.INFO, "verifying that after import success rule definition exists for both 'param1' and 'param2'"); res = DcaeRestClient.getExistingRuleTargets(vfcmt.getUuid(),dcaeCompName,nid); - if (res.getStatusCode() != 200) { - fail("Unable to arrange test, get existing rule targets test failed\n" + res.toString()); - } - String response = res.getResponse(); - assertThat(response.contains(configParam1)); - assertThat(response.contains(configParam2)); + assertThat(res.getStatusCode()).isEqualTo(200); + existingTargets = gson.fromJson(res.getResponse(), String[].class); + assertThat(Arrays.asList(existingTargets)).containsExactlyInAnyOrder(param1, param2); } } diff --git a/src/main/java/org/onap/dcae/ci/config/Configuration.java b/src/main/java/org/onap/dcae/ci/config/Configuration.java index 0631800..e3d00fd 100644 --- a/src/main/java/org/onap/dcae/ci/config/Configuration.java +++ b/src/main/java/org/onap/dcae/ci/config/Configuration.java @@ -12,17 +12,10 @@ import java.nio.file.Paths; public class Configuration { private String apiPath; private String dcaeBeHost; - private String beHost; - private String feHost; - private int bePort; - private int fePort; private String dcaeBePort; + private String sdcBeHost; + private int sdcBePort; private String url; - private String remoteTestingMachineIP; - private int remoteTestingMachinePort; - private boolean remoteTesting; - private String browser; - private String systemUnderDebug; private String reportDBhost; private int reportDBport; private boolean captureTraffic; @@ -35,7 +28,7 @@ public class Configuration { private String windowsDownloadDirectory; private String screenshotFolder; private String harFilesFolder; - private String ruleEditorUrl; + private String toscaLabUrl; public Configuration() { this.basicInit((String) null); @@ -50,48 +43,30 @@ public class Configuration { } private void basicInit(String url) { - this.remoteTesting = false; this.captureTraffic = false; this.useBrowserMobProxy = false; this.reportFolder = "." + File.separator + "ExtentReport" + File.separator; this.reportFileName = "UI_Extent_Report.html"; this.screenshotFolder = this.reportFolder + "screenshots" + File.separator; this.harFilesFolder = this.reportFolder + "har_files" + File.separator; - this.browser = "firefox"; this.url = url; this.numOfAttemptsToRefresh = 2; } - public String getBeHost() { - return this.beHost; + public String getSdcBeHost() { + return this.sdcBeHost; } - public void setBeHost(String beHost) { - this.beHost = beHost; + public void setSdcBeHost(String sdcBeHost) { + this.sdcBeHost = sdcBeHost; } - public String getFeHost() { - return this.feHost; + public int getSdcBePort() { + return this.sdcBePort; } - public void setFeHost(String feHost) { - this.feHost = feHost; - } - - public int getBePort() { - return this.bePort; - } - - public void setBePort(int bePort) { - this.bePort = bePort; - } - - public int getFePort() { - return this.fePort; - } - - public void setFePort(int fePort) { - this.fePort = fePort; + public void setSdcBePort(int sdcBePort) { + this.sdcBePort = sdcBePort; } public String getUrl() { @@ -102,46 +77,6 @@ public class Configuration { this.url = url; } - public String getRemoteTestingMachineIP() { - return this.remoteTestingMachineIP; - } - - public void setRemoteTestingMachineIP(String remoteTestingMachineIP) { - this.remoteTestingMachineIP = remoteTestingMachineIP; - } - - public int getRemoteTestingMachinePort() { - return this.remoteTestingMachinePort; - } - - public void setRemoteTestingMachinePort(int remoteTestingMachinePort) { - this.remoteTestingMachinePort = remoteTestingMachinePort; - } - - public boolean isRemoteTesting() { - return this.remoteTesting; - } - - public void setRemoteTesting(boolean remoteTesting) { - this.remoteTesting = remoteTesting; - } - - public String getBrowser() { - return this.browser; - } - - public void setBrowser(String browser) { - this.browser = browser; - } - - public String getSystemUnderDebug() { - return this.systemUnderDebug; - } - - public void setSystemUnderDebug(String systemUnderDebug) { - this.systemUnderDebug = systemUnderDebug; - } - public String getReportDBhost() { return this.reportDBhost; } @@ -262,12 +197,12 @@ public class Configuration { this.apiPath = apiPath; } - public String getRuleEditorUrl() { - return ruleEditorUrl; + public String getToscaLabUrl() { + return toscaLabUrl; } - public void setRuleEditorUrl(String ruleEditorUrl) { - this.ruleEditorUrl = ruleEditorUrl; + public void setToscaLabUrl(String toscaLabUrl) { + this.toscaLabUrl = toscaLabUrl; } diff --git a/src/main/java/org/onap/dcae/ci/entities/composition/items/Artifact.java b/src/main/java/org/onap/dcae/ci/entities/composition/items/Artifact.java deleted file mode 100644 index eae61ea..0000000 --- a/src/main/java/org/onap/dcae/ci/entities/composition/items/Artifact.java +++ /dev/null @@ -1,109 +0,0 @@ - -package org.onap.dcae.ci.entities.composition.items; - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; - -public class Artifact { - - @SerializedName("artifactChecksum") - @Expose - private String artifactChecksum; - @SerializedName("artifactType") - @Expose - private String artifactType; - @SerializedName("artifactUUID") - @Expose - private String artifactUUID; - @SerializedName("artifactVersion") - @Expose - private String artifactVersion; - @SerializedName("artifactName") - @Expose - private String artifactName; - @SerializedName("artifactGroupType") - @Expose - private String artifactGroupType; - @SerializedName("artifactURL") - @Expose - private String artifactURL; - @SerializedName("artifactDescription") - @Expose - private String artifactDescription; - @SerializedName("artifactLabel") - @Expose - private String artifactLabel; - - public String getArtifactChecksum() { - return artifactChecksum; - } - - public void setArtifactChecksum(String artifactChecksum) { - this.artifactChecksum = artifactChecksum; - } - - public String getArtifactType() { - return artifactType; - } - - public void setArtifactType(String artifactType) { - this.artifactType = artifactType; - } - - public String getArtifactUUID() { - return artifactUUID; - } - - public void setArtifactUUID(String artifactUUID) { - this.artifactUUID = artifactUUID; - } - - public String getArtifactVersion() { - return artifactVersion; - } - - public void setArtifactVersion(String artifactVersion) { - this.artifactVersion = artifactVersion; - } - - public String getArtifactName() { - return artifactName; - } - - public void setArtifactName(String artifactName) { - this.artifactName = artifactName; - } - - public String getArtifactGroupType() { - return artifactGroupType; - } - - public void setArtifactGroupType(String artifactGroupType) { - this.artifactGroupType = artifactGroupType; - } - - public String getArtifactURL() { - return artifactURL; - } - - public void setArtifactURL(String artifactURL) { - this.artifactURL = artifactURL; - } - - public String getArtifactDescription() { - return artifactDescription; - } - - public void setArtifactDescription(String artifactDescription) { - this.artifactDescription = artifactDescription; - } - - public String getArtifactLabel() { - return artifactLabel; - } - - public void setArtifactLabel(String artifactLabel) { - this.artifactLabel = artifactLabel; - } - -} diff --git a/src/main/java/org/onap/dcae/ci/entities/composition/items/Data.java b/src/main/java/org/onap/dcae/ci/entities/composition/items/Data.java deleted file mode 100644 index f7f44d3..0000000 --- a/src/main/java/org/onap/dcae/ci/entities/composition/items/Data.java +++ /dev/null @@ -1,21 +0,0 @@ - -package org.onap.dcae.ci.entities.composition.items; - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; - -public class Data { - - @SerializedName("element") - @Expose - private Element element; - - public Element getElement() { - return element; - } - - public void setElement(Element element) { - this.element = element; - } - -} diff --git a/src/main/java/org/onap/dcae/ci/entities/composition/items/DcaeComponents.java b/src/main/java/org/onap/dcae/ci/entities/composition/items/DcaeComponents.java deleted file mode 100644 index c434a0d..0000000 --- a/src/main/java/org/onap/dcae/ci/entities/composition/items/DcaeComponents.java +++ /dev/null @@ -1,56 +0,0 @@ - -package org.onap.dcae.ci.entities.composition.items; - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; - -import java.lang.*; - -public class DcaeComponents { - - @SerializedName("id") - @Expose - private Object id; - @SerializedName("timestamp") - @Expose - private Integer timestamp; - @SerializedName("data") - @Expose - private Data data; - @SerializedName("error") - @Expose - private java.lang.Error error; - - public Object getId() { - return id; - } - - public void setId(Object id) { - this.id = id; - } - - public Integer getTimestamp() { - return timestamp; - } - - public void setTimestamp(Integer timestamp) { - this.timestamp = timestamp; - } - - public Data getData() { - return data; - } - - public void setData(Data data) { - this.data = data; - } - - public java.lang.Error getError() { - return error; - } - - public void setError(java.lang.Error error) { - this.error = error; - } - -} diff --git a/src/main/java/org/onap/dcae/ci/entities/composition/items/Element.java b/src/main/java/org/onap/dcae/ci/entities/composition/items/Element.java deleted file mode 100644 index 64c6601..0000000 --- a/src/main/java/org/onap/dcae/ci/entities/composition/items/Element.java +++ /dev/null @@ -1,55 +0,0 @@ - -package org.onap.dcae.ci.entities.composition.items; - -import java.util.List; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; - -public class Element { - - @SerializedName("itemId") - @Expose - private String itemId; - @SerializedName("name") - @Expose - private String name; - @SerializedName("id") - @Expose - private String id; - @SerializedName("items") - @Expose - private List<Item> items = null; - - public String getItemId() { - return itemId; - } - - public void setItemId(String itemId) { - this.itemId = itemId; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public List<Item> getItems() { - return items; - } - - public void setItems(List<Item> items) { - this.items = items; - } - -} diff --git a/src/main/java/org/onap/dcae/ci/entities/composition/items/Error.java b/src/main/java/org/onap/dcae/ci/entities/composition/items/Error.java deleted file mode 100644 index bad41a1..0000000 --- a/src/main/java/org/onap/dcae/ci/entities/composition/items/Error.java +++ /dev/null @@ -1,8 +0,0 @@ - -package org.onap.dcae.ci.entities.composition.items; - - -public class Error { - - -} diff --git a/src/main/java/org/onap/dcae/ci/entities/composition/items/Item.java b/src/main/java/org/onap/dcae/ci/entities/composition/items/Item.java deleted file mode 100644 index a184886..0000000 --- a/src/main/java/org/onap/dcae/ci/entities/composition/items/Item.java +++ /dev/null @@ -1,220 +0,0 @@ - -package org.onap.dcae.ci.entities.composition.items; - -import java.util.List; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; - -public class Item { - - @SerializedName("lifecycleState") - @Expose - private String lifecycleState; - @SerializedName("models") - @Expose - private List<Model> models = null; - @SerializedName("subCategory") - @Expose - private String subCategory; - @SerializedName("catalog") - @Expose - private String catalog; - @SerializedName("lastUpdaterUserId") - @Expose - private String lastUpdaterUserId; - @SerializedName("description") - @Expose - private String description; - @SerializedName("uuid") - @Expose - private String uuid; - @SerializedName("version") - @Expose - private String version; - @SerializedName("itemId") - @Expose - private String itemId; - @SerializedName("catalogId") - @Expose - private Integer catalogId; - @SerializedName("toscaModelURL") - @Expose - private String toscaModelURL; - @SerializedName("name") - @Expose - private String name; - @SerializedName("invariantUUID") - @Expose - private String invariantUUID; - @SerializedName("id") - @Expose - private Integer id; - @SerializedName("category") - @Expose - private String category; - @SerializedName("lastUpdaterFullName") - @Expose - private String lastUpdaterFullName; - @SerializedName("toscaResourceName") - @Expose - private String toscaResourceName; - @SerializedName("resourceType") - @Expose - private String resourceType; - @SerializedName("artifacts") - @Expose - private List<Artifact> artifacts = null; - - public String getLifecycleState() { - return lifecycleState; - } - - public void setLifecycleState(String lifecycleState) { - this.lifecycleState = lifecycleState; - } - - public List<Model> getModels() { - return models; - } - - public void setModels(List<Model> models) { - this.models = models; - } - - public String getSubCategory() { - return subCategory; - } - - public void setSubCategory(String subCategory) { - this.subCategory = subCategory; - } - - public String getCatalog() { - return catalog; - } - - public void setCatalog(String catalog) { - this.catalog = catalog; - } - - public String getLastUpdaterUserId() { - return lastUpdaterUserId; - } - - public void setLastUpdaterUserId(String lastUpdaterUserId) { - this.lastUpdaterUserId = lastUpdaterUserId; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public String getUuid() { - return uuid; - } - - public void setUuid(String uuid) { - this.uuid = uuid; - } - - public String getVersion() { - return version; - } - - public void setVersion(String version) { - this.version = version; - } - - public String getItemId() { - return itemId; - } - - public void setItemId(String itemId) { - this.itemId = itemId; - } - - public Integer getCatalogId() { - return catalogId; - } - - public void setCatalogId(Integer catalogId) { - this.catalogId = catalogId; - } - - public String getToscaModelURL() { - return toscaModelURL; - } - - public void setToscaModelURL(String toscaModelURL) { - this.toscaModelURL = toscaModelURL; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getInvariantUUID() { - return invariantUUID; - } - - public void setInvariantUUID(String invariantUUID) { - this.invariantUUID = invariantUUID; - } - - public Integer getId() { - return id; - } - - public void setId(Integer id) { - this.id = id; - } - - public String getCategory() { - return category; - } - - public void setCategory(String category) { - this.category = category; - } - - public String getLastUpdaterFullName() { - return lastUpdaterFullName; - } - - public void setLastUpdaterFullName(String lastUpdaterFullName) { - this.lastUpdaterFullName = lastUpdaterFullName; - } - - public String getToscaResourceName() { - return toscaResourceName; - } - - public void setToscaResourceName(String toscaResourceName) { - this.toscaResourceName = toscaResourceName; - } - - public String getResourceType() { - return resourceType; - } - - public void setResourceType(String resourceType) { - this.resourceType = resourceType; - } - - public List<Artifact> getArtifacts() { - return artifacts; - } - - public void setArtifacts(List<Artifact> artifacts) { - this.artifacts = artifacts; - } - -} diff --git a/src/main/java/org/onap/dcae/ci/entities/composition/items/Model.java b/src/main/java/org/onap/dcae/ci/entities/composition/items/Model.java deleted file mode 100644 index 2b3a85b..0000000 --- a/src/main/java/org/onap/dcae/ci/entities/composition/items/Model.java +++ /dev/null @@ -1,65 +0,0 @@ - -package org.onap.dcae.ci.entities.composition.items; - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; - -public class Model { - - @SerializedName("itemId") - @Expose - private String itemId; - @SerializedName("name") - @Expose - private String name; - @SerializedName("description") - @Expose - private String description; - @SerializedName("id") - @Expose - private String id; - @SerializedName("version") - @Expose - private String version; - - public String getItemId() { - return itemId; - } - - public void setItemId(String itemId) { - this.itemId = itemId; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public String getVersion() { - return version; - } - - public void setVersion(String version) { - this.version = version; - } - -} diff --git a/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/element/Artifact.java b/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/element/Artifact.java deleted file mode 100644 index 4d095ab..0000000 --- a/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/element/Artifact.java +++ /dev/null @@ -1,109 +0,0 @@ - -package org.onap.dcae.ci.entities.composition.rightMenu.element; - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; - -public class Artifact { - - @SerializedName("artifactChecksum") - @Expose - private String artifactChecksum; - @SerializedName("artifactType") - @Expose - private String artifactType; - @SerializedName("artifactUUID") - @Expose - private String artifactUUID; - @SerializedName("artifactVersion") - @Expose - private String artifactVersion; - @SerializedName("artifactName") - @Expose - private String artifactName; - @SerializedName("artifactGroupType") - @Expose - private String artifactGroupType; - @SerializedName("artifactURL") - @Expose - private String artifactURL; - @SerializedName("artifactDescription") - @Expose - private String artifactDescription; - @SerializedName("artifactLabel") - @Expose - private String artifactLabel; - - public String getArtifactChecksum() { - return artifactChecksum; - } - - public void setArtifactChecksum(String artifactChecksum) { - this.artifactChecksum = artifactChecksum; - } - - public String getArtifactType() { - return artifactType; - } - - public void setArtifactType(String artifactType) { - this.artifactType = artifactType; - } - - public String getArtifactUUID() { - return artifactUUID; - } - - public void setArtifactUUID(String artifactUUID) { - this.artifactUUID = artifactUUID; - } - - public String getArtifactVersion() { - return artifactVersion; - } - - public void setArtifactVersion(String artifactVersion) { - this.artifactVersion = artifactVersion; - } - - public String getArtifactName() { - return artifactName; - } - - public void setArtifactName(String artifactName) { - this.artifactName = artifactName; - } - - public String getArtifactGroupType() { - return artifactGroupType; - } - - public void setArtifactGroupType(String artifactGroupType) { - this.artifactGroupType = artifactGroupType; - } - - public String getArtifactURL() { - return artifactURL; - } - - public void setArtifactURL(String artifactURL) { - this.artifactURL = artifactURL; - } - - public String getArtifactDescription() { - return artifactDescription; - } - - public void setArtifactDescription(String artifactDescription) { - this.artifactDescription = artifactDescription; - } - - public String getArtifactLabel() { - return artifactLabel; - } - - public void setArtifactLabel(String artifactLabel) { - this.artifactLabel = artifactLabel; - } - -} diff --git a/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/element/Item.java b/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/element/Item.java deleted file mode 100644 index aa96b43..0000000 --- a/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/element/Item.java +++ /dev/null @@ -1,220 +0,0 @@ - -package org.onap.dcae.ci.entities.composition.rightMenu.element; - -import java.util.List; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; - -public class Item { - - @SerializedName("lifecycleState") - @Expose - private String lifecycleState; - @SerializedName("models") - @Expose - private List<Model> models = null; - @SerializedName("subCategory") - @Expose - private String subCategory; - @SerializedName("catalog") - @Expose - private String catalog; - @SerializedName("lastUpdaterUserId") - @Expose - private String lastUpdaterUserId; - @SerializedName("description") - @Expose - private String description; - @SerializedName("uuid") - @Expose - private String uuid; - @SerializedName("version") - @Expose - private String version; - @SerializedName("itemId") - @Expose - private String itemId; - @SerializedName("catalogId") - @Expose - private Integer catalogId; - @SerializedName("toscaModelURL") - @Expose - private String toscaModelURL; - @SerializedName("name") - @Expose - private String name; - @SerializedName("invariantUUID") - @Expose - private String invariantUUID; - @SerializedName("id") - @Expose - private Integer id; - @SerializedName("category") - @Expose - private String category; - @SerializedName("lastUpdaterFullName") - @Expose - private String lastUpdaterFullName; - @SerializedName("toscaResourceName") - @Expose - private String toscaResourceName; - @SerializedName("resourceType") - @Expose - private String resourceType; - @SerializedName("artifacts") - @Expose - private List<Artifact> artifacts = null; - - public String getLifecycleState() { - return lifecycleState; - } - - public void setLifecycleState(String lifecycleState) { - this.lifecycleState = lifecycleState; - } - - public List<Model> getModels() { - return models; - } - - public void setModels(List<Model> models) { - this.models = models; - } - - public String getSubCategory() { - return subCategory; - } - - public void setSubCategory(String subCategory) { - this.subCategory = subCategory; - } - - public String getCatalog() { - return catalog; - } - - public void setCatalog(String catalog) { - this.catalog = catalog; - } - - public String getLastUpdaterUserId() { - return lastUpdaterUserId; - } - - public void setLastUpdaterUserId(String lastUpdaterUserId) { - this.lastUpdaterUserId = lastUpdaterUserId; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public String getUuid() { - return uuid; - } - - public void setUuid(String uuid) { - this.uuid = uuid; - } - - public String getVersion() { - return version; - } - - public void setVersion(String version) { - this.version = version; - } - - public String getItemId() { - return itemId; - } - - public void setItemId(String itemId) { - this.itemId = itemId; - } - - public Integer getCatalogId() { - return catalogId; - } - - public void setCatalogId(Integer catalogId) { - this.catalogId = catalogId; - } - - public String getToscaModelURL() { - return toscaModelURL; - } - - public void setToscaModelURL(String toscaModelURL) { - this.toscaModelURL = toscaModelURL; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getInvariantUUID() { - return invariantUUID; - } - - public void setInvariantUUID(String invariantUUID) { - this.invariantUUID = invariantUUID; - } - - public Integer getId() { - return id; - } - - public void setId(Integer id) { - this.id = id; - } - - public String getCategory() { - return category; - } - - public void setCategory(String category) { - this.category = category; - } - - public String getLastUpdaterFullName() { - return lastUpdaterFullName; - } - - public void setLastUpdaterFullName(String lastUpdaterFullName) { - this.lastUpdaterFullName = lastUpdaterFullName; - } - - public String getToscaResourceName() { - return toscaResourceName; - } - - public void setToscaResourceName(String toscaResourceName) { - this.toscaResourceName = toscaResourceName; - } - - public String getResourceType() { - return resourceType; - } - - public void setResourceType(String resourceType) { - this.resourceType = resourceType; - } - - public List<Artifact> getArtifacts() { - return artifacts; - } - - public void setArtifacts(List<Artifact> artifacts) { - this.artifacts = artifacts; - } - -} diff --git a/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/element/ItemsElement.java b/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/element/ItemsElement.java deleted file mode 100644 index d7ed2cb..0000000 --- a/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/element/ItemsElement.java +++ /dev/null @@ -1,55 +0,0 @@ - -package org.onap.dcae.ci.entities.composition.rightMenu.element; - -import java.util.List; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; - -public class ItemsElement { - - @SerializedName("itemId") - @Expose - private String itemId; - @SerializedName("name") - @Expose - private String name; - @SerializedName("id") - @Expose - private Integer id; - @SerializedName("items") - @Expose - private List<Item> items = null; - - public String getItemId() { - return itemId; - } - - public void setItemId(String itemId) { - this.itemId = itemId; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public Integer getId() { - return id; - } - - public void setId(Integer id) { - this.id = id; - } - - public List<Item> getItems() { - return items; - } - - public void setItems(List<Item> items) { - this.items = items; - } - -} diff --git a/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/element/Model.java b/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/element/Model.java deleted file mode 100644 index 4541aaf..0000000 --- a/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/element/Model.java +++ /dev/null @@ -1,65 +0,0 @@ - -package org.onap.dcae.ci.entities.composition.rightMenu.element; - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; - -public class Model { - - @SerializedName("itemId") - @Expose - private String itemId; - @SerializedName("name") - @Expose - private String name; - @SerializedName("description") - @Expose - private String description; - @SerializedName("id") - @Expose - private String id; - @SerializedName("version") - @Expose - private String version; - - public String getItemId() { - return itemId; - } - - public void setItemId(String itemId) { - this.itemId = itemId; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public String getVersion() { - return version; - } - - public void setVersion(String version) { - this.version = version; - } - -} diff --git a/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/element/Service.java b/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/element/Service.java deleted file mode 100644 index 3c33535..0000000 --- a/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/element/Service.java +++ /dev/null @@ -1,21 +0,0 @@ - -package org.onap.dcae.ci.entities.composition.rightMenu.element; - -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; - -public class Service { - - @SerializedName("element") - @Expose - private ItemsElement element; - - public ItemsElement getElement() { - return element; - } - - public void setElement(ItemsElement element) { - this.element = element; - } - -} diff --git a/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/elements/Element.java b/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/elements/Element.java deleted file mode 100644 index 350a350..0000000 --- a/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/elements/Element.java +++ /dev/null @@ -1,76 +0,0 @@ -package org.onap.dcae.ci.entities.composition.rightMenu.elements; - -import java.util.List; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; - -public class Element { - -@SerializedName("itemId") -@Expose -private String itemId; -@SerializedName("catalogId") -@Expose -private Integer catalogId; -@SerializedName("catalog") -@Expose -private String catalog; -@SerializedName("name") -@Expose -private String name; -@SerializedName("id") -@Expose -private Integer id; -@SerializedName("labels") -@Expose -private List<String> labels = null; - -public String getItemId() { -return itemId; -} - -public void setItemId(String itemId) { -this.itemId = itemId; -} - -public Integer getCatalogId() { -return catalogId; -} - -public void setCatalogId(Integer catalogId) { -this.catalogId = catalogId; -} - -public String getCatalog() { -return catalog; -} - -public void setCatalog(String catalog) { -this.catalog = catalog; -} - -public String getName() { -return name; -} - -public void setName(String name) { -this.name = name; -} - -public Integer getId() { -return id; -} - -public void setId(Integer id) { -this.id = id; -} - -public List<String> getLabels() { -return labels; -} - -public void setLabels(List<String> labels) { -this.labels = labels; -} - -}
\ No newline at end of file diff --git a/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/elements/Elements.java b/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/elements/Elements.java deleted file mode 100644 index b5dad46..0000000 --- a/src/main/java/org/onap/dcae/ci/entities/composition/rightMenu/elements/Elements.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.onap.dcae.ci.entities.composition.rightMenu.elements; -import java.util.List; -import com.google.gson.annotations.Expose; -import com.google.gson.annotations.SerializedName; - -public class Elements { - @SerializedName("elements") - @Expose - private List<Element> elements = null; - - public List<Element> getElements() { - return elements; - } - - public void setElements(List<Element> elements) { - this.elements = elements; - } -} diff --git a/src/main/java/org/onap/dcae/ci/report/ExtentManager.java b/src/main/java/org/onap/dcae/ci/report/ExtentManager.java index cbf28cb..ae6e52d 100644 --- a/src/main/java/org/onap/dcae/ci/report/ExtentManager.java +++ b/src/main/java/org/onap/dcae/ci/report/ExtentManager.java @@ -22,11 +22,11 @@ public class ExtentManager { private static ExtentHtmlReporter htmlReporter; private static ExtentXReporter extentxReporter; private static final String icon = "$(document).ready(function() {" + "\n" - + "$('.brand-logo').html('').prepend(\"<span><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQ4AAAB7CAYAAACFKW5jAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAABaAAAAWgBwI7h9AAAAB3RJTUUH3wwXFAQf1clFIAAANNxJREFUeNrtnXeYXVXV/z+n3To101ImvZFGQiCANKUoSBEFebEj1hcb2MWC+lpAbGD5CaKoiL2ggIgoRUIgQAohJCG9TTLJ9Dszt52y9++PfSeZTO6duXfmTkk4n+eZJ5Nbztn7zNnrrL32Wt8NPj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+PgOjjXYDhpX7WgkZMD2qY2qQFtDlSkSvjlsaGJpGUIeQAS1pyb60hMurRrv1Pj5jFnO0G1As9PvbmBiEDkeS8CSmpuEhCOi6FTW0sAYhiTRNTTM8JBoaGmDpSEODoK65EQM7YpLCCCVC97ciAUODuSU6UpO88Jpxo91NH58xwTHtcSx6vJ2DKUlTSlBVVqKVesnqlrSosaWcFTa0eXFX1nmSmrChjTc1qoCIKwlJ1W8NkDoITUPokAQ6U0I2uYL9FZZ+UNfYnvDkhoWlRnNdhIMP7HWcsqDOonKDsK7znzPLRvsS+PiMCsec4VjwWDvNaUFTh8eS8VbFvpSc4Qh5esJjKbBASDnDlZTqGmEpQQ7yPLoGSGxdIx4xtEZbyhdrA/pGIVk+ParveEt9qOH69d3i1AqTcbg8eE71aF8aH58RY8wbjresjbGiCTzpsb/JYUF9oKwpJZekhLzQkfJMIVnkCMoBY7BGIl90DQyNeEjXdhsaz4UN7V9TwvozK88p31Pzzza5uNykOqDzh2Wlo33ZfHyGlTFrOC58opMGT9DuCG6YGdG/ty0xxxby4pTgEkfKpa6gYrgNRX9ogKHhBHVta4WlPR4xtPtmRPXn/7U73XlGfYCoAf8+o2K0L6OPz7AwJg3H/Mc6aEoLFpUawe0J79RuV76525WXuYLpYrQblwUNCOh0Rk3tuQpL/119WHv4yS3O/lNnBji53OQnS6Kj3UQfn6IypgzHOcvb2ZWQnFRpWavbnDM6XfmelJCXOIKq0fQuCsHScKOmtqbE1H41K2r89Yl9qQPvmh3hnqX+9MXn+GHMGI4TH+vgX2eEtLOXJ09sscUHEx5XOUJWHysGoy+mhltmas9OCOl3/E998O9rO9yub82PMLf0uFkB93kFM+qG44HGNF/dnCSoU7s9Lt4bc+UHUp6cdqwajL6EdS01OaI/eOY469t3nxR9PuFJGTX10W6Wj8+QGFXDIaUE0M5d0XnW+k73pg5HnutJjNG+KMVG12Ba2NjzwWnB2z89O/xLDdoANG3U7baPz6AYlUeflLLHaES++nLius1d3m/bbHnB8Wg0AISEnXFvyv0H7Fu2x727gaU918HH51hkxA1Hr8EyrdkW31vZ7n67MSXqj/chJDXY3O1Zrba8HPgN8DYg2MuI+vgcM4yo4eg1QM4B7m1Kyw++2OlFRvsijEznoTaoMyGkA5wA/AT4IlDR59r4+Ix5Rsxw/L4hBWAAbwF+AZz5SprhmzpcPSnIpNChS14GfBa4HZjSYgu+uTkx2s308cmLETEc5yzvoMrSw2khrwN+AMwAmBrROXPc8b88qQNXTQxy3bQgxpHW0gLeCdxZFdAXfn5jguWtzmg318dnQIbdcLz26U7Chla+KuZ+xRbcAtT0vBc1NL4wJ8yp48zBV6ONZSSUmxrXzwzx/UURaoJZL7cGXPTPg/Yvrq4PvursPzT50xafMc+wGo4LVnRQH9LKG5LiyxNC+g0lpnZU7vXicpO7TyrhqkkBwoZ2fBgQCRFD47xai7uXlnDz/Ah1wf4v9ZOt7ikr2pw73v+qstO1n+z3jYfPmGbYwgyvf6aTqREt+uAB58uTw/rH/rSsNNhrfn8Una7kvkabn+5KsabDJeUNdwuLTGacjwtonFppcs3kIBfWBai0Bu5AhyO58rkuHm92mFFirHltrfXedTH3hWfOqRjtXvn4ZGVYhuWtWxK80CmsZ9rsT+9JiC9+bGYo/J2F0bzcm4NpwWPNDvc12qxsd9mXEoieyraxZER6OQSllsacEoPzqi0uGW+xtNyk1MyvsRL4xZ40H30xTsKT6BrMiBj/vaQu8J7tCXfHg6eXj3ZPfXyOouhD8SMvdHLj3BL99c90XrM17t2edGXpdxZG+OSscEHHSQvJ1m7Bs+0uT7Q4rIm57E4IEp7kCC9+JIxJn/OFdI1JYZ1ZUZ1lFSbnVFssLjOoCeoFN+fxFof3v9DN9m5xqC+mBnNLjL9cNSn4walhvfXaqaER6KSPT/4UdUlDSon221bWd3WdtyfpfS3pSVUSOojBHdQ1FpYZLCwzuGZKkH0pwY64x/pOj7Uxl21xwYGUoDktSAiJK6CYYQFNU0uoYV2jOqgxKaQzM2qwoFT9zIoa1Id1FZcZJI81O1y/Pn6E0QBwJWxPiDf+p9nZ8+mZoS883+4ml1Ue/6tPPscORX1ev3ZFDFfI2eu7vN+12PJkACR8dk6Ym+dHinYyiYoLtNmCVluyJynYkxQcTAmaMq/FHElaSBwJXsagmErBK/OvRkCHgK5haRDQIWRolJka5abGuIDG1IjBlLBOVUCjOqBTbmlF6UNaSP683+amTUl2xL2cf4VKS+u+bHzg479aWvJzQPq1LT5jhaLdiQ812fx2T7r0v63OHftT4m09gxUJ59da/PXUUsrynPcPlZQnSQpwhcRD1YqAKjbTAV3T0FEehaH1/CgDMtzsSgh+uCPJz3eniTmy37+ABiwsM3Z+aW7kf66aGFjlGw6fsULR/N/X11jaFzcm3tmUFld6fWICz7e7PN7icPn4wIh0KmRohIzMyccIHY7k/gM2P9ihVo1kHs2TwM6EmL4z7n0RuFZK2e4bD5+xQFHyOKSUfH5jYv7BlPh4WhDs+36nI7llS5It3d5gDn9ME3PUtOStq7r433VxVre7BaWqdDuS3UlxkSO4llGqZvbx6UuxbsRQxNA+1u7IWVnf1WBlu8snNyTYmxyLqqHF50Ba8Ku9af5nVRfXrOnm4YMOSU8OygnalxLBtJAfBZb4iWE+Y4EhT1UyN/IFC8uM/xnolv7HAZuPAN9eEGFOyfEnvZEW8HKXy0NNDvftt1nX6WJ7HN7+aZBICbrGNOB64DopZcKfsviMJkMyHBmjUQVcf3qlWbGk3OCZVjfnIJHA/QdsmtKCr5wQ4fwaixGKlw4bnoQ9ScEzbQ4PHHBY3uqwLyVUZ4doMHqYEtYJ6RrAG4G/PN5s3z/a/fZ5ZTOk2zpjON4P/BAIPnDA5n0vxGlKif6PLKEmpPOeKUHeOzXI7Oix5X2khVoCXtPh8Z9mm+WtLjsSHk6Pd1FEgrrGL5eW8JZJKrAsJI90OOLqXzekO26Y+cqQMvEZewz6Ns8YjQnAfcBpoJ6+9+xNc+PGBAcHMh4ZTigxuHpSgCsmBplXYmCNwfCfI6HdFmzu9lgT81je6rA25tGQ9NRUZEhXsh8kLKs0+ftppT0CQOxLitSdu1Mf+sbWxC/EG2qGeAIfn8ExVMPxQZS+xqF1Vk/CAwdsvrgpwYZOb+AzZFz6yWGdc6stLqixOL3SHHJW5mAREuKepM2WbI17bOzyeCHmsibmsjchaHN6bUg7zM0L6Ro/PjHKtVODh061Nuby4RfjK84cZ17+7QXRVj/W4TMaDCrGkTEa1cDb6WU0QCVTvXFCgFlRg1u2Jrmv0Sbh9rOakHl9b0Jwz540v9+XZmJI56Ryk6UVJovKDE4oMai0NEpMjUiRjIktIOFJ4p6kOS3ZnfTYHvfY1i3YFvfYnvBoSUs63SyGYgTGqga8tT7AVZMCR5zuYFqytds7pdLSzr9xY+KPw98SnwLp+XMd18tfgxoCpz3Zwcqzy98M3APkrF7rdiV/O2Dz4x0pVnW4uCLPM/a65BFTo9zSmBDUmRLRmRDUqQ3q1AY1qgIapaZOqan0L/Q+9R62kKQ96HKVAYi5klZb0pxWaelNaUFDStBqC5KeMiSMdAFdDi6tC/DjxVGmhI+cu31ra5IvbExwQqnxt1sXRt92SV0gOXqt9EEJUy0CFgNTgCjqzkkCDcALmZ+m0W5oMSnY45BS8udGO5ry5NUhQ+u35LXE1HhHfZDzqi3+2mhz7940L8Rc0gMFEXu9l/AkCU/SmBSs6Tj8uqEfrjnpSSXv7bXLjA0QEjzAkxJPcrhEP8f5RjXZVIKlw5snBbl5XuQoo9HpSh5rcfAkHEzLs//YkF4spFypj73pylnANeTOE4qjAupbBzjOFcAlo9D+DuA2YG8/n5kEvBV4MzAfKCH73dMNbAR+B/yW/AxIFfAZlFc/0vwX5RD0S8GG4/vbkzzR6i4bH9Bee1aVldd3JoZ0PjI9xJsnBHik2eEP+2yebXdoTWce7/nc930+4x0qXivQIxxzYyyDhPEhnQ/PCPGh6SHGZSmc+W+Lw8o2tdzd4YhxOxPiMg1WjnbT+2AC1wLvGeBzu4DvDfCZU/M4znDQDPya7IZDQ6n0fw04k4GTKEsy/VgKXAx8HliVx3feBtSPQt8FeRiOgtcw6sO6tqXLu+jZdrdghZnxIZ13TQ7yh1NK+PtpZXx+bpjTxvUSvTmuZ4U5kFBmalw1KcDvl5Vw4+xwVqPRlBb8YEeKTkddJE+i7Ut5F/xkZ2qsLa1MQw2sgbgYGGgn7tGqUXDIfTe+Dvg5cDaFjR8TeC1wF5kNuQbAHaW+53XNC/Y4VnV445psce7L3R5CZTQWTImpceY4kzPHmdwwQ/Bip8cTLQ6rOlw2dnkcSIvDy5wwdr2EwZJZSaoL6rym2uTt9UHO" + + "$('.brand-logo').html('').prepend(\"<span><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQ4AAAB7CAYAAACFKW5jAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAABaAAAAWgBwI7h9AAAAB3RJTUUH3wwXFAQf1clFIAAANNxJREFUeNrtnXeYXVXV/z+n3To101ImvZFGQiCANKUoSBEFebEj1hcb2MWC+lpAbGD5CaKoiL2ggIgoRUIgQAohJCG9TTLJ9Dszt52y9++PfSeZTO6duXfmTkk4n+eZJ5Nbztn7zNnrrL32Wt8NPj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+PgOjjXYDhpX7WgkZMD2qY2qQFtDlSkSvjlsaGJpGUIeQAS1pyb60hMurRrv1Pj5jFnO0G1As9PvbmBiEDkeS8CSmpuEhCOi6FTW0sAYhiTRNTTM8JBoaGmDpSEODoK65EQM7YpLCCCVC97ciAUODuSU6UpO88Jpxo91NH58xwTHtcSx6vJ2DKUlTSlBVVqKVesnqlrSosaWcFTa0eXFX1nmSmrChjTc1qoCIKwlJ1W8NkDoITUPokAQ6U0I2uYL9FZZ+UNfYnvDkhoWlRnNdhIMP7HWcsqDOonKDsK7znzPLRvsS+PiMCsec4VjwWDvNaUFTh8eS8VbFvpSc4Qh5esJjKbBASDnDlZTqGmEpQQ7yPLoGSGxdIx4xtEZbyhdrA/pGIVk+ParveEt9qOH69d3i1AqTcbg8eE71aF8aH58RY8wbjresjbGiCTzpsb/JYUF9oKwpJZekhLzQkfJMIVnkCMoBY7BGIl90DQyNeEjXdhsaz4UN7V9TwvozK88p31Pzzza5uNykOqDzh2Wlo33ZfHyGlTFrOC58opMGT9DuCG6YGdG/ty0xxxby4pTgEkfKpa6gYrgNRX9ogKHhBHVta4WlPR4xtPtmRPXn/7U73XlGfYCoAf8+o2K0L6OPz7AwJg3H/Mc6aEoLFpUawe0J79RuV76525WXuYLpYrQblwUNCOh0Rk3tuQpL/119WHv4yS3O/lNnBji53OQnS6Kj3UQfn6IypgzHOcvb2ZWQnFRpWavbnDM6XfmelJCXOIKq0fQuCsHScKOmtqbE1H41K2r89Yl9qQPvmh3hnqX+9MXn+GHMGI4TH+vgX2eEtLOXJ09sscUHEx5XOUJWHysGoy+mhltmas9OCOl3/E998O9rO9yub82PMLf0uFkB93kFM+qG44HGNF/dnCSoU7s9Lt4bc+UHUp6cdqwajL6EdS01OaI/eOY469t3nxR9PuFJGTX10W6Wj8+QGFXDIaUE0M5d0XnW+k73pg5HnutJjNG+KMVG12Ba2NjzwWnB2z89O/xLDdoANG3U7baPz6AYlUeflLLHaES++nLius1d3m/bbHnB8Wg0AISEnXFvyv0H7Fu2x727gaU918HH51hkxA1Hr8EyrdkW31vZ7n67MSXqj/chJDXY3O1Zrba8HPgN8DYg2MuI+vgcM4yo4eg1QM4B7m1Kyw++2OlFRvsijEznoTaoMyGkA5wA/AT4IlDR59r4+Ix5Rsxw/L4hBWAAbwF+AZz5SprhmzpcPSnIpNChS14GfBa4HZjSYgu+uTkx2s308cmLETEc5yzvoMrSw2khrwN+AMwAmBrROXPc8b88qQNXTQxy3bQgxpHW0gLeCdxZFdAXfn5jguWtzmg318dnQIbdcLz26U7Chla+KuZ+xRbcAtT0vBc1NL4wJ8yp48zBV6ONZSSUmxrXzwzx/UURaoJZL7cGXPTPg/Yvrq4PvursPzT50xafMc+wGo4LVnRQH9LKG5LiyxNC+g0lpnZU7vXicpO7TyrhqkkBwoZ2fBgQCRFD47xai7uXlnDz/Ah1wf4v9ZOt7ikr2pw73v+qstO1n+z3jYfPmGbYwgyvf6aTqREt+uAB58uTw/rH/rSsNNhrfn8Una7kvkabn+5KsabDJeUNdwuLTGacjwtonFppcs3kIBfWBai0Bu5AhyO58rkuHm92mFFirHltrfXedTH3hWfOqRjtXvn4ZGVYhuWtWxK80CmsZ9rsT+9JiC9+bGYo/J2F0bzcm4NpwWPNDvc12qxsd9mXEoieyraxZER6OQSllsacEoPzqi0uGW+xtNyk1MyvsRL4xZ40H30xTsKT6BrMiBj/vaQu8J7tCXfHg6eXj3ZPfXyOouhD8SMvdHLj3BL99c90XrM17t2edGXpdxZG+OSscEHHSQvJ1m7Bs+0uT7Q4rIm57E4IEp7kCC9+JIxJn/OFdI1JYZ1ZUZ1lFSbnVFssLjOoCeoFN+fxFof3v9DN9m5xqC+mBnNLjL9cNSn4walhvfXaqaER6KSPT/4UdUlDSon221bWd3WdtyfpfS3pSVUSOojBHdQ1FpYZLCwzuGZKkH0pwY64x/pOj7Uxl21xwYGUoDktSAiJK6CYYQFNU0uoYV2jOqgxKaQzM2qwoFT9zIoa1Id1FZcZJI81O1y/Pn6E0QBwJWxPiDf+p9nZ8+mZoS883+4ml1Ue/6tPPscORX1ev3ZFDFfI2eu7vN+12PJkACR8dk6Ym+dHinYyiYoLtNmCVluyJynYkxQcTAmaMq/FHElaSBwJXsagmErBK/OvRkCHgK5haRDQIWRolJka5abGuIDG1IjBlLBOVUCjOqBTbmlF6UNaSP683+amTUl2xL2cf4VKS+u+bHzg479aWvJzQPq1LT5jhaLdiQ812fx2T7r0v63OHftT4m09gxUJ59da/PXUUsrynPcPlZQnSQpwhcRD1YqAKjbTAV3T0FEehaH1/CgDMtzsSgh+uCPJz3eniTmy37+ABiwsM3Z+aW7kf66aGFjlGw6fsULR/N/X11jaFzcm3tmUFld6fWICz7e7PN7icPn4wIh0KmRohIzMyccIHY7k/gM2P9ihVo1kHs2TwM6EmL4z7n0RuFZK2e4bD5+xQFHyOKSUfH5jYv7BlPh4WhDs+36nI7llS5It3d5gDn9ME3PUtOStq7r433VxVre7BaWqdDuS3UlxkSO4llGqZvbx6UuxbsRQxNA+1u7IWVnf1WBlu8snNyTYmxyLqqHF50Ba8Ku9af5nVRfXrOnm4YMOSU8OygnalxLBtJAfBZb4iWE+Y4EhT1UyN/IFC8uM/xnolv7HAZuPAN9eEGFOyfEnvZEW8HKXy0NNDvftt1nX6WJ7HN7+aZBICbrGNOB64DopZcKfsviMJkMyHBmjUQVcf3qlWbGk3OCZVjfnIJHA/QdsmtKCr5wQ4fwaixGKlw4bnoQ9ScEzbQ4PHHBY3uqwLyVUZ4doMHqYEtYJ6RrAG4G/PN5s3z/a/fZ5ZTOk2zpjON4P/BAIPnDA5n0vxGlKif6PLKEmpPOeKUHeOzXI7Oix5X2khVoCXtPh8Z9mm+WtLjsSHk6Pd1FEgrrGL5eW8JZJKrAsJI90OOLqXzekO26Y+cqQMvEZewz6Ns8YjQnAfcBpoJ6+9+xNc+PGBAcHMh4ZTigxuHpSgCsmBplXYmCNwfCfI6HdFmzu9lgT81je6rA25tGQ9NRUZEhXsh8kLKs0+ftppT0CQOxLitSdu1Mf+sbWxC/EG2qGeAIfn8ExVMPxQZS+xqF1Vk/CAwdsvrgpwYZOb+AzZFz6yWGdc6stLqixOL3SHHJW5mAREuKepM2WbI17bOzyeCHmsibmsjchaHN6bUg7zM0L6Ro/PjHKtVODh061Nuby4RfjK84cZ17+7QXRVj/W4TMaDCrGkTEa1cDb6WU0QCVTvXFCgFlRg1u2Jrmv0Sbh9rOakHl9b0Jwz540v9+XZmJI56Ryk6UVJovKDE4oMai0NEpMjUiRjIktIOFJ4p6kOS3ZnfTYHvfY1i3YFvfYnvBoSUs63SyGYgTGqga8tT7AVZMCR5zuYFqytds7pdLSzr9xY+KPw98SnwLp+XMd18tfgxoCpz3Zwcqzy98M3APkrF7rdiV/O2Dz4x0pVnW4uCLPM/a65BFTo9zSmBDUmRLRmRDUqQ3q1AY1qgIapaZOqan0L/Q+9R62kKQ96HKVAYi5klZb0pxWaelNaUFDStBqC5KeMiSMdAFdDi6tC/DjxVGmhI+cu31ra5IvbExwQqnxt1sXRt92SV0gOXqt9EEJUy0CFgNTgCjqzkkCDcALmZ+m0W5oMSnY45BS8udGO5ry5NUhQ+u35LXE1HhHfZDzqi3+2mhz7940L8Rc0gMFEXu9l/AkCU/SmBSs6Tj8uqEfrjnpSSXv7bXLjA0QEjzAkxJPcrhEP8f5RjXZVIKlw5snBbl5XuQoo9HpSh5rcfAkHEzLs//YkF4spFypj73pylnANeTOE4qjAupbBzjOFcAlo9D+DuA2YG8/n5kEvBV4MzAfKCH73dMNbAR+B/yW/AxIFfAZlFc/0vwX5RD0S8GG4/vbkzzR6i4bH9Bee1aVldd3JoZ0PjI9xJsnBHik2eEP+2yebXdoTWce7/nc930+4x0qXivQIxxzYyyDhPEhnQ/PCPGh6SHGZSmc+W+Lw8o2tdzd4YhxOxPiMg1WjnbT+2AC1wLvGeBzu4DvDfCZU/M4znDQDPya7IZDQ6n0fw04k4GTKEsy/VgKXAx8HliVx3feBtSPQt8FeRiOgtcw6sO6tqXLu+jZdrdghZnxIZ13TQ7yh1NK+PtpZXx+bpjTxvUSvTmuZ4U5kFBmalw1KcDvl5Vw4+xwVqPRlBb8YEeKTkddJE+i7Ut5F/xkZ2qsLa1MQw2sgbgYGGgn7tGqUXDIfTe+Dvg5cDaFjR8TeC1wF5kNuQbAHaW+53XNC/Y4VnV445psce7L3R5CZTQWTImpceY4kzPHmdwwQ/Bip8cTLQ6rOlw2dnkcSIvDy5wwdr2EwZJZSaoL6rym2uTt9UHOrbYoyZENlxZw+44UT7Q4h66FBNpsuWBlu7tESvnvMbS68mpgah6fOwkVF3hqtBtcADOAbwIzh3CMJShv5RqgZbQ7NFgKMhxSSi5d2XWiLZi3ocuj3ZFUBYZ2w9YEdc6v0Tm/xiLuSfYkBC/EXFbHPF7qVII9TWml/OX1jU+MmbEy0IU7/GvU1JhbYvC6WovLJwRYUm70ZIVmxZFw1+4UP9qRwu3zDOz2ZKTZFucD/x7tLmaIoDyJfOaw44CLgBUcG76mAbwbNfD7w830p79rcAFwGWp/oWOSgj2Odke8KunJ0p78hvNr8otz5EPU0JhXajCv1OCt9Wo1pNVWS6Uvd3lsjwt2Jz12JQSNKUG3K0l6kBIy96030salTztChlr9mVdqsKzC5Owqi5MqDMYHB/Zy0wLu3JXiKy8n1BSlT19cgbY/KZa91OWVA7ER7mk25gJnFPD516HygMbaikO2u6YOuJzc05O9wN+A9aipzhzgysy/fQmgAr9/AHLtwjVaj8W8zluQ4eh2ZUBDe5WUELMlv99nc1aVRR5jYFCUmhqlpsa0iM6rM4HYlJDEXYi5ksaUoCEp2J8SHEyrn6a04GBaJXAlPUlSqFUZZ5hny4aupmAlhkZtUGdmVGdeqcGiMpOFpQaTwnpBQkZtjuS27Ulu256iK4fgj1QrRgufb3enoG7Y0URDGYLaAr6zABU4fDDH+w65B1Y2LLI/6QWQJj/Ppmcpta9/Ox8Vv8lGM/BR4IE+3/s3Ksg6Kct3FqKCn1uyvCcz/U7m2WYdCJJ90DuZn3zQADufDxZkODQYb2rMEJn//L0xzVsmBYrqdQxESNcIBaAqoDEjcqTFcgTYUmILiLuSFlvSYgtabEGbncnhyEgLdjoqt6PLzUgMCnCkxJXZtUsNDayMzGDE0KiwlCcxIaQzMaQf+ndSSOWZRA3lbQyG9Z0e/7c5wd8bbZyeYrkcpDwqyi1toZRy/SjHOcpRU49sj5Fu1I3d90aJoJZb/0n2oNwfgLV5nl+ilkffkuW9PcD/AW15HiuV+U5vJpM7mPtQ5qevsfkvagn201m+U0luw9GCqoTOtxipFvgy2Q3Ub1CeUD5owM58PliQ4Qga2vSpEX0KLeoUzWnJzVuTzC81DtVSjCaWDhYaUQMqLY36MKip6WGEVMlhQspMfgekPUlKQNKTpAXILEY+oGvKaBlKwNjSD8sNDiZAnI1OV4n+fHdbko35pOsDZaYWmBU1lgC/Z3RjBUtRAc++eMAvUUHTRVnePxeVOJXtht2U+cmXE3O83okyTgeG0L8w2f8iHvAI2Z/qAvgPyhvpK1UfILdhSFBY3Koe+DjZDccG4O9D6HdW8jYcmTTzBadVmtF796bp8TqeaHb45pYkN8+P5FwVGEvoGqh4bq+2jnK7XQkr2xxu25HioQOFCf5MDutMi+jzUDdhfJS6oKO8jWxL9C3Ar1BP8WyGYwZqaTOvJ90Q2jdU7Zl0jtcFcLCf7+WaJLvkOS3Is3+5GBZ5/ELdhPkX1lra3FLj0LPNA362O8XXtyTpco+F4PjYQUhY3eHy0RfjXPV8N3/ZZ5MU+RsNTYMl5QZlpjYDKBvFrtShchSysQp4CfXEzxbAtVDTlWJsHpPrBtQZerAxRvaBbgCz+vnePDhaThM1fWsuQp9BGa/++l50CjloGJg5I2rw3inBI8rfU0JllH755YSqHvXpF1eqKtcbNyZ403Nd3LEzxYF0fjIEvSm3tJ74Uh2FBSWLzRmoFZW+COBfKG9jTeYnG2cCs4vQjly6lMWQVNpDdsOno+IqdVneOxGV+Zrt3Ps4Oo4yWCRj2HBUAHUa8O4pIS6sDRzRVFvAj3akuO6F7lekKHE+JDzJ8laHD63r5rKVXdy6LcneROEGAwAJZ42zWFJugjLqkwZxlGLQ4zFkq1tqRAUIQQ26B8nuuo9H5TYMlVyGoxgex2ZUvCAbZwEf43CluI6K3fyM7HEfULGPjiL0GTJlWf30vegUctByMkU3VQGNr84Ls7DMOMJ4OBL+uN/mHau7efCAjfPK0CUekIak4J69ad62ups3PdfFXbvS7OsRbR7k7Rw2Nd45OUipqZEWMrSy3c0nW3M4mIYKfGbjOQ6vGkhUEHF/ls8ZqBjJUKdbw+lxdAJ/JHsQ1AQ+hMrbqEMVqN0DLMtxrPWoZdpiPWFHfKpSSOCkDLWEBMDScpPvLYpy3bo427uPXAF4vt3l3Wu6efvkIB+eHjouhYkHIuZIVnW4/KvJ4ZEmh03dxREuBkDC62stLqpTq5vb48K4ZWuyLiEkkWIt8eTPa1CrIn3xgIdR05QetgJPonRc+nIKKni6YghtGU6PQ6LU7q4mu6GsAG5GTUFOJffY2g18FlUxWyxGfKpSiOGooM86/GtrLH6wKMr16+Ns6208NGh1JD/YkeLRZof3TA1x9aQAk8bAku1wEvckW7o9Hm12+GeTw+oOl5jdqwK4GGNawpSIzqdmhQ8llD3V6vBsmzsupDaoG0k/LwxcSvb7qAFY3ue1NCpJ6kqODoZWoryOpxn8snJ/+cPFuPoHgFuAE8ge05hK/3U661FG4+EitKVvv8es4ajM1oiL6ywiRpRPvpRgTcfRCucbOj0+syHO7xrSvL0+yOUTLKZHjh8PpMuVbO72+G+Ly2MtNms6PA6mhUoiK9bt2ouoqfG52WFOy2xCnfQkDx100DRqV7d7AY58wg83C8jozWZhJbA9y+tPoeIFi/u83pN5+gMGv9ownB5HD0+jvIW6Ar7johLEvgS8WKR29O33mDUc0VyNeE21xT0nl/ClTQkeOGAfWYylqSSrVe1Kt/Onuw3eNCHApXUBFpUZx0TuR2+UiI5gQ5fHilaHFW0uL3Z6NPc2FjAslQaWBh+eEeLdU4KHks7WxjxWtLlEDMpXxdyR3tL+tWRfzXFRy6/Zli8bUSstJ2a5SvNRbv4/Btme4Yxx9PAqVLp4vhwEfgz8P6C1SG3oy9j1OJrSIloTzK01taDU4K4lJdyxK8WPd6Ro7Ktyrqm8hU2dHpu6kvx0V4qlFSavrw1w5jiTuaXGiG1KXQieVBmd2+IeL8Y8VrSpKciOhCqyY5iNRQ+WBh+YFuLG2eFDIs4pIbl7T4qWtGBaVA82pcVIzgUrUZWw2Xq9m9yxCoFaXXk/vWJmGUqA16MMy2D0KIbT4wijYjM3ouQC82U5SrCov+S8bHUmWqY/NgNP3cau4bi3IV37jvqgXttPRVtVQLnRZ44zuX1HikeanKOFijO/t9iSRw6qwGFtUOeEEoNXjTM5rdJkYZnBhKB+lI7ocONJNRjbbMmOuMembo+1MY91MZedCXHYq+jVj2GvYZQQNuBDM0J8cU6Eil4iP/886PCX/XZPM4wRaE1vlpI7xXsFynjkYh3wPGpq0pfzUEvL/X2/n6uVlaF6HJUog/EhlOddCK8D3gXcSXbDthRVZ1KSpc0vomIiafpnIMOhUeRyhLwNx0MHHX121OCyAXacNzQ1dVlaYfLgAZuf7U7zTJtLKlsadeb/TWlBU0rwZItDyNAYH9KYHjFYVGYwt8RgWkRnWsSgKqDqRYIGBLTBGZWeQri0p4KZB9OCPQnBrqRge9xjc7fHnoQqjGvPthXCSA5NCXUhnU/NCnHd9BDRXkVz2+IeX9+SpMOWPdNBGfdGLPlOR+VuZFs+TaOCf/1VZHaigqQXcPQTsScFfTCGo2eu3/evNBSPoxK1WvJeBpe+XYaKbexGxTl6EwA+ALwhx3e3kp/nJRjhPI68L8TBtLAfOODw+rpAXqUdZabG2+qDXFgb4OEmJVT8dJt7SPoulxFJCcmuuGRXXPB4s1K8KsmU15ebGnUhnbqgRpWlUxXQKLNUKXuJqR3RLg9whTpetyuJe9DhqCrZNlsZjGZbEHeh25Mk+6bLj4ah6CGjrPaqKpMvzInwulqL3oW2bbbkpk1J1vYKRnsS1xUjVuQ2ETg/x3s7UQHEgfgPKnNyWp/Xgyij9CcGftL2JZfhGKzHEUZ5Gv0ZjRZUwPfUzHXJxgTUakwjR1b7LiC30WhGCRznk+sxdqcqpkb838223NAV1BaX5W94qwIab68Pctn4AM+0udzXaPNYi8OuuHc4QSyHEemh25V0O5JG4OWuo6+jnlE813p9USJ79CoQ/V3W0TQQfcm0cWpU592Tg7xvWoj6PkvYcU/yrW1J/rw/fUSXBHRPCGkjpVOZK8Uc4AnyS6XeDDxGdjHiM1H1HxvyOE5vih3jeBNwHbnHyUvAF1BG8ApULCNX/GMR8K1Mfxsyr12Eyprti4fSNc3HAMNYNhwBXduzJ+m59+61rYXzTQqVmigzNS6stTi/xmJvUvB4i8M/Dtisjrk0JMVhWcABNm7KhpBgD6R4PhYMQy4yzR4f0nnDhAD/Oy3I4jLzqKlYypN8d1uKH25P0bckKOnJfcsqzZFYig2gcjeyFW45KKOxkPz28NuMcsX73oeTULGOQg1HrgE0GI9jMvAJjo499LAWZVSezfz/d6j4x80cHfTt4Xzgq6gS+HJUPku2dq1AbR+Rb/Xs2F2OnR4x9u+IC/c3DWnryokBTq8c3MqfqcH0iM70KUHeXh9kR1ztxfpYi8MLMY/dCXGkFOBYHvBDJeNUT4noXFwX4JopQU4uN7Pun9vlSm7ZmuT27SlVQdsLS4fqgN68LuaORPLXdFQMIhsmKt36E3key6SvYIqiJ4byC1QVab7kGkCD8Tgu5+hckx52ATdw2GiA8hLuRhmPr5Ld4OjAO1Bp92Vk1y9NAneQPTU/F2M3OPrxmaFYY0p0PdnihL+7LcnPTyoZ8vJpUOeQxui1U0M0JAWbulye7/BY1eGyucujISWUPsXxYkgyxqLM1FhcbnJxncWldQHmlRo5vbiDacHXNif52e4U6SymIaRr4txqs/VjM8JcP/w9OI/c+31oqAzjYnAyyr1/poDvFCuPowS11JxtfLiovIzlWd5zUPkapcDnyC4VEOCwIlg2o7kJeLzAazV2pyqnVZqxyycEmp9td2ofPODw891pPjYjVPCUJRdWjycSCXBxnRLqbUh6bI0L1sVcNnR57Ih77E4q6b+UJ4+W+BuLRiXTRkOHSktnQanB2VUm59VYLC4zGTeASvyGLo8vbkrwQKOdPUomoT6kpy4dH9g1AtKB/Q2oYlMNXEjhhiOXx1EItSgdjWw0oVZHcg3UFPAdlOdxPX32Vs4QzPHdNCq2Uah489idqgAdb54YaL6/0ea/zQ63bk0yp0TnkrpAAYfIn6AOM6MGM6MGF9VaCAntjtIM3ZUQbOry2JXwaEwJ9qWUYHGrrfRD7VyXcTjHVZ/zBQyosHRmZ0SLT64wWVZhMiOqNtAeCEfAPw7afOXlBOtiuWUEdQ1eV2slLqix9g540KEzn9wp5sPBhcCPyH//kWLlcZSTO07RRP+KX6CSvb6BUmX7IPmPs3+gYiWFTjlHvKy+EMPRNSWs7/7YzBBrYy4HUoLPbEgwztJ51bjhfwDpmlqhqQqo3esvqlX1drZQmZ2drlI835sUHEgppfOmzJJrU1qJFic9JUjsCCWm4wglTlzw7C+zV62pKy3SoK4EjCeGdKZFdGZGDeaXGiwoNZkc1hkX0Aq6a3cmPH68M8Uvdqdps/tRBJMwOapz9aRgU8TQBrqZh4qGGsgjuZ/pIlTVbL5FYcWKcVj0e9XzIsbhxK53MvAAPgB8F2gf5LUaiTqdQxQy4iWw+ZI6i/dPC/H9jKDuR9fHuWNxlFMqRrpMQhHQoTqgUR0wmNGneM6VaiUiJSQpT+VrxDLq5j0q5zFHbZ9gS4ntKU0RL4vMuaFphA2lsh42lGhxmalRFdAZZ2lUB3XKTY0SE4KDTHeNOUqs+Ec7k6yLeeoO7edQmgZXTwxySoW5A5VUNZz0bKCUrUVp8pfgz9oV1NO577GjqCDpI+T3FO7P1yzkj5Ikd/5EBdlFi7LRisr8DKFWUPobJLsYeBPugfqejdH1ODRNQ0r5UlDX7E/NDAU2dXk8dMBmdbvL/66Lc9vCKGdVjY7xyNm5TPJYyZgMfhwm7kmebHH4ya40/25ysmfZ9kXCnFKDa5WM4yYK239kMJxC9uIuG7Ut4vMM/skWROVDnJzlvXNRwdh8ckP6C44WMoC6Uepc2aYrFaiktYY8j3UQ+CkqqNxfjcti4COo5dzBLKuPTcORYSvQOD6kT/32gggxR7Ci1WV1u8t71nbztXkRrpyYX2apj0pse7zF4Zd70jza4ijtjjyfjRFT45OzQswtNWzgBYZ3awQDVXyWLcV8F0rFfDAp4r05EVW30bf3s1HSfL/N4xjFyuNoz/Rnepb3ylGJYc+RX57FKcBXgKoBPhdGLWN3A7dRuAc3ZqUDQVnZ7QDzSw1uXxTl5Ew+x9Zujw+t6+abW5JqXu6Tk/0pwa8zUoLvXN3NX/fbxJw8vIwMGvCW+gBvqw8CtKcFw70Z00Rya4I+g1K9GipPkn26FUBNV4J5HKNYqwud5N4ISkeloL+H/h+8Zqbdd5P/zvYlwOdRe9QWIlozpjVHQVnDQ8tjJ1eY3LWkhFdXW6CpGoqvb05wzdpunm5zEb79OETCkzzX7vLVlxNc9mwX73uhmwcabWJu/gYDAKmKCL80J0JY13iyxdl/w/p4sWT2c3EW2Xdod1Dp1sVIdV8PvFzg+fvSXxykkHtdoAKyXTneL0dNzz6BynLtPciDqCnXt1EJbIsojArg68BVFHZnjNngaA9PoebTEYCTyg3uOinKjRszWxYKeLDR5oWYy3unBHn3lBDTIsNi9MY8CU+yMyF4qtXhHwcdnm13aVJbxQ0uCVrCSRUm310YYVpEZ1WHy81bk+v+tTmV73LlYOh54mdLZtrDkdmTQ6EN5XVkW+7tSUEfSKezv+BooTfhSlQtzeU53q8EvobKBH0eZfQqUbKCp5G74I1MG7ei0tqzBVprgVtRD+oHyY+xG+PIBEjXoZSrl/S8PjtqcOfiEuaVJPnRzhQdtqQhobId/9po8+4pQa6aGGRy+Pg3IDFHif482ery72aHlzpd9qcytThDKaiTsLDc4EcnRjmp3KQ5Lbh5S9Le0OU9EqwLuIWWkRbATNQTPxvPoWIcxUCgMiav4+h07Z4Yy6/I7QX0HCMXhd58ncD3UTGKXFtPBFAeRaFexUvA+1Cxkk+QPUlscub8CZQBy+f6FaPfeTEYj+Mgaq+MJb1frApo3DQ3wsIyg1u3plgTU1OV9TGPz25IcO9emysnBrhsfIB5JUbWeoxjkbgn2Z8UrImpNPnn2l1e7vaOFv0ZirMo4eRKk9sWRjljnIkj4Ac7UjzR6uycV2o83XB2xXB2MVeKuYfa33Qoy7B9WQtsI3sNx6moMvSV/V+pomZQLkd5FbdQvFT6nagVpOdQRX4VKDW0bDGNWcDtqJjKcwP0e8wbjp7dud5LnyeDpcPVk4KcXGFy2/YUv21I026rJKu1HS5rYy4/3ZXi3BqLi2pVoVx9WD+mVmE6XaXlsbHTY3XMZW2Hx0tdLo0pSbq3kE6RVC414Nwai+8sjHBSuYmQ8Mu9aX60M0W5pT16UXVw71D2ExiAKKoSNttNvZfC0sHzoRk1FV6S5b1xKDWtZ8ltHIo5Vek53t2ZY97E0Da9kqjB/3kO16LEUCI/JcDbcrRxIapS9n2oOFB/bc3G2DAcmenKs6inQ9YqyVlRg+8ujHJxXYAf7kjyeItDOpNOsych+NXuNL9vsJkW0TljnKrbOKXCZEpYyQWOFWwBLbbKSN3QpSQEN3UrlbCmdB/xn2IrmksIGWrTpS/ODTMlrKuNPRptbtqUICXoPiGk/21n0hvOitglwOk53lsN7Cjy+TyUW/4Bjnbfeypmf0JuFXRJdiNnUNgqRW8c4C7U9PwzqH1k8k0A62E/aoOmn3L05totqIK4EuCNOb5/Kqqw7v0oL6UQ+suCHTSDzdhq73bl/WFDO9PQslu0oK62Tji90uS+Rpu796RY1XF4U6K0kGzu8tjc5XFvQ5rxQZ0Ty0xOrTQ5vdJkdonB+KB2SJh3OJFApyNpslW6+ta4qoXZFvfYmRDsSXh0uZIjitaHYeuD3g2aEVV7p7xzcpASU0MCf2+0+eRLcQ6kBOND+qolZdbzdywpVAKzIKaSe6XjTxRvt/XePIcKCGYLLnZlXs9lONpQXlCkz+tphpZZK1ECRS+i0u6vQsU+xtNnr6FeJFCKX4+jCteeJ3c26j7gk6iM1Z7ckd5ygE6mDZeg8kv6JohJVFVttmncywxDjs+gbn0pJbdsSS4+s8p86Kwqa2I+BzmYFjx00OHXe9M81+4S73la9/5yZrUhYmhMDuvMiOrMLzWYX2oyI6JTG9SpDmiUWxpmRnN0oHMLUEpgUq1yxBxJW0ZCsCEl2BH32BEX7EkKGlKCgymlB+L1NRIjgVSJXZeNt/jkrDDLMmn8noQ/7U/z6ZcSNCQFloE3t8T4yEuNyTt4+8QhnrRfguQeGP2lZQ8FDbWCk8tDSJF7+dfIfLfvX0xmvles9oZQ8Yc5KI3U8ahSeoHyIPagPIvdqOBxvnGg3tfbI/v0I5fqeYjcMgBFF3ga9JCI3t8SvGJS8Ccfnxm69qTy/B2XNlvydJvDn/crCcF9SaHyPbL9qXsaqamNiKosjXEBncqARnVAoyagU2YqvdHenokjJEkhibtk6lFU5WwsU6PS4ajfU57kKOGwUdIYNXU4rdLkuukhLh8fOLTfTMKT3Lkrzc1bEjSnVc5HpaWtP63SvOT2RaV755YeJ1HmY5+eO+cVkb00+GFy135OnxM5a0bU+MvXTgjXzogWNoV0BGzu9ni0xeGxZofnO1TF7VHbD/RmIN3QfD47tF4XF6nK70+uMHlHfZArJwao67X9xL6U4Ftbk/xsd1rFUzSwdLy5UeNzvz+57DsLK46fHfF8ji2GNITu3Jm07tmb/t7EkP6R7y6MDjpPI+FJNnV5PN7i8Eyby+qYy/6kyC1mfCyTMWhllsaZ40yumhTk4jrrCIMhJDze4vDVzUlWtDpH+KuTQvraC2oCb6gL6g23LowUdm4fnyIxpCF5yTMxrpgYXHTXrtR99WF95m0Lo0waYpJX0pPsTgqebXd5ts1lVYfL9oSn6l+OVfnATLutjDjR+TUWl45XO9iV9lmLbkwJ7t6T5ic7U+xLHrkbXoWlpS+osT72p2WlPx0BtS8fn5wM+e6TUmq/3pv+1Pe2p745Oayb318YYWaB05ZcCAltjlp9WRVzWdXusr7TY19K0GqLI6UDx9I46tWusKkCvadVmpxfbXF2tcnU8NH6oklP8kizw/e2pVjR5hyZaYrSAXldrfXgh6eH3vly3O24fobvbfiMHkMebq6QGBoT/rjP/sPnNyXOnhTSuW2RSlYqNraAmCPYFld5FS9ktEj3JQVNtlAVpiNtTPqcL2JoTMgogZ1WqeQCl5SbTAzpBLI4Y46AZ9odfrorzT8O2od2ZuuNDlwxMdD8iZnht57x345HuaKQrUt9fIpPUYbWj3cm+dC00KV/3Gff8/GX4pXVAY1b5ke4sDYwrHu/isxer01pya6E2utV5V8I9ic9mjK7ttkiy+rJEK+anjES1QGNuqCSC1xYarC43GRuic6EUP/JbLaAtTGXe/am+ct+m4N9N+nOoANvmhjwbpwdvvXkCvPLgONPU3xGm6LcgVLNGQKe5Na/N9ofveGluJ7y4OMzQ7xvapCa4MgtGUrUU7zNOaw9ui8l2J3w2JPRI+12JUkBtpBZS/91DSxdI9Dzb0ZTtNzUqA4qQzElrDMprFMbUEai1NTyUnzvdiXPdbjcuzfNPw86HMhhMHr+OFdODPCNeZGn55QYb5GwV/eNhs8YoGh3YcZ4TJbwm4ebnLM/+VKcLV0e59ZYfGJmmPNrrKyu+kjSY1SSGR1SR2TPsOkRIrY0DUtXWzcE9PwSzrIhJOxNCh5tcfjrfptn2pz+RYhRm3e/tT7IN+ZFmqaE9WuE5GFjON03H58CKOqdmDEe5wG/Xt3hTvzcxgT/aXKoDGhcOTHA+6eGWFphHlNFbUOh2Zas7nB5+KDNv5sdtnZn9svtr/+Z7NEPTAvyhTlhpzqgfwP4hqaN2L6wPj4DMhyGQ0cVKX27ISlKbt2W5O7daeKOZGJE500TAry1PsjJFQah4+wJKiQ02YJ1MY8nWx0ebXbY2OXR5WRJr896AWFCSOezc8J8YGqQsKH9Fvgo0ObHNXzGEkW/GzPGI4ySP7s+5Unjj/ttvrMtyfqYKhWoCemcX23x5okBzqoyj0h+OtbodlUMZU2Hy1NtLk+3uWyPF2AsenFqpcn/nRDhtTUWmsYzmtqPY7tvNHzGGsNyR2aMRxVKhORtgLa52+OHO1L8fl+a1rQaVGFTY1GpwWtrLc6ttlhUZlA7xo1IzJEcSAu2dHs835HJLelSwj090gGFaoiWWRrvmBzkU7PCTIvo7E6IXZ2ueNeJZeZy32j4jEWG7a7MGI+pqJ23LwQ0W8CTrQ4/3ZXikSZH5V1kWlFqapxQYnBKhcmrxqnch0lhnUqrsF3QikmXq3aD259SZfYvdqrl3q1xj+bM/rWDzmaVavVmWaXJJ2aGuXyChY7GYy1O2+Mtzg3fumnXvfLP86VvOHzGIsNtOECVH98BnN/zQtyTPNXq8puGNI80OSqHoRemDjVBnRkRnRNKDRaXmcwtMRgf0qkNaoyzdEx96NJGErXbW7crabMFzbakISnYHle5IDsSHnsSgsa0IOX1KrUf6lWTMDWic+3UEO+ZorRYW23Jr/amuh466Hzu0fWpO9+9IOj9cnglAX18Bs2wPs56GY95KPmz83u/nxbwQszlj/tUTsO2hIfT293vcUgyy6FVmWSr2qDap7U6oFNhqbL6qKERMVS+RTCHupArJUlP5Xg0ppSR2J8StNhKn6PZFnS5Eq+vcmWxrpKE2pDOFRMCfGBa8FB27eoOl9t3pGKrO9ybtnaJn9RHDGfn6yqG80/j4zMkht0P7uN53A5cfNRngN0JwdNtDvc12qxoU9sIZH3C903Y0o78VdNU/kXfBRuJ2hPW65270c+xincBVJsmhnQuHR/gXZODLKswsXQVL/ndvjS/2JNubk6LL0wKa7+IpTV3/QUVw/K38PEpFiM2gc4YkCmo1Za3kkO2MOlJtsUFK1od/tXs8Hy7y8G0OCzbdyxM+TMGKWhozCs1eNOEAG8Yb7GgVBkMV8LTbQ7f357iuXZ32+SwfuMPFkf/+vEXu8XT51QO7dw+PiPAiA7DjPEYB3xWwHW6klvLSc+GRk+3uSxvdVjV4bI3oVLGR6cH/XVO/WPoMCmkc8Y4i8vGW7y62mJS6PDEaVOXx527Uvxxv40j5PMLy8xPPn5m2fIbXopz+6KSQZ7cx2dkGfFhJ6Uk4cnQupj3fk9y04Iyo7rSGrgZjlC6pes6XVa2uazucNkSFzSnBZ3u6FbFllqqIvbkCpNXV5mcXWUxI6ofSnCTqL11/7DP5t69afYkPbcupP9lbtS46ZGNiS3fObeCT80qVDjbx2f0GJXntSMk1p2N5gUnRi+dXWJ86dVV5tLzqq2CiuHinqTVlmzp9lgbUzodW7o9DqQELY5UYsi5dtjojwEqaDWl+UlNUGdOZvn41EqThaUGNUGd3l1IC8mLnR5/2mfzt0ab7XGPkKG1zIzqt79hQuD/PdbktN04O8QbJobw8TmWGDVH/9KVncyMaDzc5M60dD5bH9LfcnFdoPSiOouZEaPgcnxHqKlNY1qwOyHYm1QVsbuT6vd2R9Ltqp90piq2x0bomlraNTRVCRvQVVVsMFMVW2oqj2JmRJXPT4voTIsY1AS1o9LmJdCQFDzT5nL/ASXI3JgU6BqyOqivnB7Rv/G3ZSX//MLmpLj7pNLCOunjM0YY1QjBOU910pj0uKDGDD3a4l7W5crPVFraKa+psrh4vMXJFSodfSiN9KQqn+92JR0ZlfOUUEuzPQs+hga6pmFqaj+YoK6WdMO6UlcP6sqo5CrO8yQcSAtejHk83KSMxdZuoXZ206DE1JprgvrP5kb1Hz+8Pbnvo4tL+OGJfjzD59hl1EOLUkres6abX+xIcuXU0ORn2933tdry3YbGlDlRg7OqTM6qsjixzGBKWB+RDZoGQkg1VdqVEKyNufy3Ram0b48LEr32iwkbWrzS0v45Oaz/6OdLS5766Lq4d2qFxbd8kWGfY5zRH4UZ3vp8FwlP8rfTSrXTnoydtDsh3t9qiytcSa2lQ31IZ26JwbJKkxPLTKZHdCaHlYBOQM9PRGcwOEKpjLU5kt0Jj5e7PdbFPF6MuezOJJD1zjfRgJChpSstbfnUiH7XKZXmQw802t03zApz/fQQfgq5z/HAmLuLr9/QzQP7Hc6uMq2Vbe7p7Y54R6fDJSkhJ/UEJQIGjLN0qgIaUyMG0yNK43NCSCly1QQ1yjIGxeonNV2gJPxSQpL2VIxEbeCkpjX7kmqnt+0Jj8aUSkvvcGRWkWQdCBlavNzSnpoS1n89r9T4x1/22x1XTArwKz+W4XOcMeYMRw9nLu9gS7fHOyYHzYcOOItabXlFSshL00LOcwTBbKsflg5hQ+3qFtBV7MLsJzbhSBXr8DJbRLpCrYTYmbiI6CsPluU4GVnBhgpLe3xqxPjz7Kj+xIMHnM4zq0z+cmrZaF9GH59hYcwajh5e/VQH2+OChguf4pQnzpnQ5ohXdzjy9SmPM1wpp9oiy96mgxUlzvNqBFQA9WCJqa2psLR/zY7qj15dH9zy9c1Je3ZU5++nlflTEp/jmmPm7j5neSfNtkeXC5fWBaw1Mbu+xZanJ1zOTgq51BZM9aSsdYSamRRR0BxDBTq7TJ09tQF9o6nxxLSI8Vx9SN9457Z44uzxQWZGDX651J+S+LwyOGYMRw/jH9jH1LIoaaG2PvjdyaXGDRsSEUtjzr6kNytsaEsTnlzQbMvagMYENCpTHkFbSKOnv7n2t5YgLA0R0LUEcCBssH9CSN8LPDcxpG8aH9I3XjUx2HrpEx326yar2dIZ5QG+utDP+vR5ZXHMGY7enL68i1Jd0JiWVFoaqztc4peO47MbEta6Lq+kxNDqW21RtS3uhbtdWV1uaVODulZqaRi9Ku/TmqZ1t9ui5UBatpQYxKdFjXh9SG8I6TT+YVmpo922z3v96aWMD+lIqXFulck1U/1sT59XLse04ejLHTuSbOwSrIo5TI4YmEBTWvByt8fedhfWxeHmBmAb8CJQAcZ58I4aOKMcakyqQio7dGZER5OSoKlzTrXFtVN8Q+Hj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+PzSuP/AzE1e5ONHe7vAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE1LTEyLTIzVDIwOjA0OjMxKzAwOjAwHarZDQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNS0xMi0yM1QyMDowNDozMSswMDowMGz3YbEAAABNdEVYdHNvZnR3YXJlAEltYWdlTWFnaWNrIDYuOS4yLTcgUTE2IHg4Nl82NCAyMDE1LTEyLTAyIGh0dHA6Ly93d3cuaW1hZ2VtYWdpY2sub3Jnbo4WPwAAAEp0RVh0c3ZnOmJhc2UtdXJpAGZpbGU6Ly8vdG1wL3ZpZ25ldHRlL2MxZDQ0ZGY2LWM1ZDYtNDkwMC04ZDBhLWQ0OWVmMzBiZGE3MS5zdmd90CehAAAAGHRFWHRUaHVtYjo6RG9jdW1lbnQ6OlBhZ2VzADGn/7svAAAAGHRFWHRUaHVtYjo6SW1hZ2U6OkhlaWdodAAyNjLFg9PDAAAAF3RFWHRUaHVtYjo6SW1hZ2U6OldpZHRoADU3Mz0hlMwAAAAZdEVYdFRodW1iOjpNaW1ldHlwZQBpbWFnZS9zdme/73BOAAAAF3RFWHRUaHVtYjo6TVRpbWUAMTQ1MDkwMTA3McPsyX0AAAAPdEVYdFRodW1iOjpTaXplADBCQpSiPuwAAABIdEVYdFRodW1iOjpVUkkAZmlsZTovLy90bXAvdmlnbmV0dGUvYzFkNDRkZjYtYzVkNi00OTAwLThkMGEtZDQ5ZWYzMGJkYTcxLnN2Z4N+SbEAAAAASUVORK5CYII=' style='display: block; margin-left: auto; margin-right: auto; margin-top: 7px; width: 89px;'/></span>\").width(\"120px\").css(\"float\",\"left\").css(\"padding-left\",\"0\");$('.report-name').css(\"font-weight\",\"bold\");" + "\n" + "})"; private static String suiteName; - public synchronized static ExtentReports setReporter(String filepath, String htmlFile, String dbIp, int dbPort, Boolean isAppend) { + private static synchronized ExtentReports setReporter(String filepath, String htmlFile, String dbIp, int dbPort, Boolean isAppend) { if (extent == null) { extentxReporter = new ExtentXReporter(dbIp, dbPort); extent = new ExtentReports(); @@ -41,19 +41,20 @@ public class ExtentManager { return extent; } + private ExtentManager(){} - public synchronized static void setExtentXReporter(Boolean isAppend) { + private static synchronized void setExtentXReporter(Boolean isAppend) { extentxReporter.setAppendExisting(isAppend); extent.attachReporter(extentxReporter); } - public synchronized static void initAndSetExtentHtmlReporter(String filePath, String htmlFile, Boolean isAppend) { + private static synchronized void initAndSetExtentHtmlReporter(String filePath, String htmlFile, Boolean isAppend) { setHtmlReportConfiguration(filePath, htmlFile); htmlReporter.setAppendExisting(isAppend); extent.attachReporter(htmlReporter); } - public synchronized static ExtentReports getReporter() { + static synchronized ExtentReports getReporter() { return extent; } @@ -114,7 +115,7 @@ public class ExtentManager { return suiteName; } - public synchronized static void setHtmlReportConfiguration(String filePath, String htmlFile) { + private static synchronized void setHtmlReportConfiguration(String filePath, String htmlFile) { htmlReporter = new ExtentHtmlReporter(filePath + htmlFile); htmlReporter.config().setTheme(Theme.STANDARD); htmlReporter.config().setEncoding("UTF-8"); @@ -130,7 +131,7 @@ public class ExtentManager { extent.flush(); } - public static void setTrafficCaptue(Configuration config) { + private static void setTrafficCaptue(Configuration config) { config.setCaptureTraffic(true); } @@ -185,8 +186,8 @@ public class ExtentManager { computerName = computerName.substring(0, computerName.indexOf(".")).toUpperCase(); } catch (UnknownHostException e) { - System.out.println("Uknown hostAddress"); + System.out.println("Unknown hostAddress"); } - return computerName != null ? computerName : "Uknown hostAddress"; + return computerName != null ? computerName : "Unknown hostAddress"; } } diff --git a/src/main/java/org/onap/dcae/ci/report/ExtentTestManager.java b/src/main/java/org/onap/dcae/ci/report/ExtentTestManager.java index 1b98001..b3b07dd 100644 --- a/src/main/java/org/onap/dcae/ci/report/ExtentTestManager.java +++ b/src/main/java/org/onap/dcae/ci/report/ExtentTestManager.java @@ -18,6 +18,8 @@ public class ExtentTestManager { return extentTest; } + private ExtentTestManager(){} + public static synchronized void endTest() { extent.flush(); } @@ -26,7 +28,7 @@ public class ExtentTestManager { return startTest(testName, ""); } - public static synchronized ExtentTest startTest(String testName, String desc) { + private static synchronized ExtentTest startTest(String testName, String desc) { ExtentTest test = extent.createTest(testName, desc); extentTestMap.put(Thread.currentThread().getId(), test); return test; diff --git a/src/main/java/org/onap/dcae/ci/report/Report.java b/src/main/java/org/onap/dcae/ci/report/Report.java index bd74d49..02632c5 100644 --- a/src/main/java/org/onap/dcae/ci/report/Report.java +++ b/src/main/java/org/onap/dcae/ci/report/Report.java @@ -5,8 +5,6 @@ import com.aventstack.extentreports.Status; import com.aventstack.extentreports.markuputils.ExtentColor; import com.aventstack.extentreports.markuputils.Markup; import com.aventstack.extentreports.markuputils.MarkupHelper; -import org.onap.dcae.ci.report.ExtentManager; -import org.onap.dcae.ci.report.ExtentTestManager; import org.onap.dcae.ci.utilities.SetupReport; import org.testng.ITestResult; diff --git a/src/main/java/org/onap/dcae/ci/utilities/BaseRestUtils.java b/src/main/java/org/onap/dcae/ci/utilities/BaseRestUtils.java index def25fd..1246d71 100644 --- a/src/main/java/org/onap/dcae/ci/utilities/BaseRestUtils.java +++ b/src/main/java/org/onap/dcae/ci/utilities/BaseRestUtils.java @@ -13,19 +13,19 @@ public class BaseRestUtils { protected static final String acceptHeaderData = "application/json"; protected static final String contentTypeHeaderData = "application/json"; - public BaseRestUtils() { + BaseRestUtils() { } - protected static String getApiUrl(String path) { + static String getApiUrl(String path) { Configuration configuration = SetupReport.getConfiguration(); - return String.format("%s:%s/sdc2/rest/v1/catalog/%s", configuration.getBeHost(), configuration.getBePort(), path); + return String.format("%s:%s/sdc2/rest/v1/catalog/%s", configuration.getSdcBeHost(), configuration.getSdcBePort(), path); } - protected static Map<String, String> prepareHeadersMap(String userId) { + private static Map<String, String> prepareHeadersMap(String userId) { return prepareHeadersMap(userId, acceptHeaderData); } - protected static Map<String, String> prepareHeadersMap(String userId, String accept) { + private static Map<String, String> prepareHeadersMap(String userId, String accept) { Map<String, String> headersMap = new HashMap<>(); headersMap.put(HttpHeaderEnum.CONTENT_TYPE.getValue(), contentTypeHeaderData); @@ -41,7 +41,7 @@ public class BaseRestUtils { return headersMap; } - protected static RestResponse sendGet(String url, String userId) throws IOException { + static RestResponse sendGet(String url, String userId) throws IOException { return sendGet(url, userId, (Map) null); } @@ -52,45 +52,41 @@ public class BaseRestUtils { } HttpRequest http = new HttpRequest(); - RestResponse getResourceResponse = http.httpSendGet(url, headersMap); - return getResourceResponse; + return http.httpSendGet(url, headersMap); } - protected static RestResponse sendPut(String url, String userBodyJson, String userId, String cont) throws IOException { + static RestResponse sendPut(String url, String userBodyJson, String userId, String cont) throws IOException { Map<String, String> headersMap = prepareHeadersMap(userId, cont); HttpRequest http = new HttpRequest(); - RestResponse updateResourceResponse = http.httpSendByMethod(url, "PUT", userBodyJson, headersMap); - return updateResourceResponse; + return http.httpSendByMethod(url, "PUT", userBodyJson, headersMap); } - public static RestResponse sendPost(String url, String userBodyJson, String userId, String accept) throws IOException { + static RestResponse sendPost(String url, String userBodyJson, String userId, String accept) throws IOException { return sendPost(url, userBodyJson, userId, accept, (Map) null); } - protected static RestResponse sendPost(String url, String userBodyJson, String userId, String accept, Map<String, String> additionalHeaders) throws IOException { + private static RestResponse sendPost(String url, String userBodyJson, String userId, String accept, Map<String, String> additionalHeaders) throws IOException { Map<String, String> headersMap = prepareHeadersMap(userId, accept); if (additionalHeaders != null) { headersMap.putAll(additionalHeaders); } HttpRequest http = new HttpRequest(); - RestResponse postResourceResponse = http.httpSendPost(url, userBodyJson, headersMap); - return postResourceResponse; + return http.httpSendPost(url, userBodyJson, headersMap); } - protected static RestResponse sendDelete(String url, String userId) throws IOException { + static RestResponse sendDelete(String url, String userId) throws IOException { return sendDelete(url, userId, (Map) null); } - protected static RestResponse sendDelete(String url, String userId, Map<String, String> additionalHeaders) throws IOException { + private static RestResponse sendDelete(String url, String userId, Map<String, String> additionalHeaders) throws IOException { Map<String, String> headersMap = prepareHeadersMap(userId); if (additionalHeaders != null) { headersMap.putAll(additionalHeaders); } HttpRequest http = new HttpRequest(); - RestResponse deleteResourceResponse = http.httpSendDelete(url, headersMap); - return deleteResourceResponse; + return http.httpSendDelete(url, headersMap); } } diff --git a/src/main/java/org/onap/dcae/ci/utilities/DcaeRestClient.java b/src/main/java/org/onap/dcae/ci/utilities/DcaeRestClient.java index 1e45829..687a256 100644 --- a/src/main/java/org/onap/dcae/ci/utilities/DcaeRestClient.java +++ b/src/main/java/org/onap/dcae/ci/utilities/DcaeRestClient.java @@ -1,17 +1,17 @@ package org.onap.dcae.ci.utilities; - import com.aventstack.extentreports.Status; import com.google.common.net.UrlEscapers; import com.google.gson.JsonArray; import com.google.gson.JsonObject; +import org.apache.commons.collections4.map.SingletonMap; import org.json.simple.JSONObject; import org.onap.dcae.ci.config.Configuration; import org.onap.dcae.ci.entities.RestResponse; +import org.onap.dcae.ci.enums.HttpHeaderEnum; import org.onap.dcae.ci.report.Report; import org.onap.sdc.dcae.composition.restmodels.CreateVFCMTRequest; - import java.io.IOException; public class DcaeRestClient extends BaseRestUtils { @@ -20,6 +20,7 @@ public class DcaeRestClient extends BaseRestUtils { private static String designer2UserId = "me0009"; private static String adminDefaultId = "jh0003"; private static String testerDefaultId = "jm0007"; + private static Configuration configuration = ConfigurationReader.getConfiguration(); public static String getDefaultUserId() { return designerDefaultId; @@ -38,7 +39,6 @@ public class DcaeRestClient extends BaseRestUtils { } protected static String getApiUrl(String path) { - Configuration configuration = ConfigurationReader.getConfiguration(); String dcaeBePort = configuration.getDcaeBePort(); String dcaeBeHost = configuration.getDcaeBeHost(); @@ -137,12 +137,10 @@ public class DcaeRestClient extends BaseRestUtils { return sendGet(getApiUrl("/resource/"+ componentId), designerDefaultId); } - public static RestResponse getElements() throws IOException{ - return sendGet(getApiUrl("/elements"), designerDefaultId); - } - public static RestResponse getItem(String element) throws IOException{ - return sendGet(getApiUrl("/"+ element +"/elements"), designerDefaultId); - } + public static RestResponse getCatalog() throws IOException{ + return sendGet(getApiUrl("/catalog"), designerDefaultId); + } + public static RestResponse getItemModel(String elementId) throws IOException{ return sendGet(getApiUrl("/"+ elementId +"/model"), designerDefaultId); } @@ -219,15 +217,52 @@ public class DcaeRestClient extends BaseRestUtils { return sendDelete(getApiUrl(String.format("/rule-editor/rule/%s/%s/%s/%s/%s", vfcmtUid, dcaeCompName, nid, configParam, ruleUid)), designerDefaultId); } - public static RestResponse translateRules(String vfcmtUid, String dcaeCompName, String nid, String configParam, String flowType) throws IOException { - return sendGet(getApiUrl(String.format("/rule-editor/rule/translate/%s/%s/%s/%s?flowType=%s", vfcmtUid, dcaeCompName, nid, configParam, flowType)), designerDefaultId); - } + public static RestResponse deleteGroupOfRules(String vfcmtUid, String dcaeCompName, String nid, String configParam, String groupId) throws IOException { + return sendDelete(getApiUrl(String.format("/rule-editor/group/%s/%s/%s/%s/%s", vfcmtUid, dcaeCompName, nid, configParam, groupId)), designerDefaultId); + } + + public static RestResponse translateRules(String request) throws IOException { + return sendPost(getApiUrl("/rule-editor/rule/translate"), request, designerDefaultId, "application/json"); + } public static RestResponse getExistingRuleTargets(String vfcmtUuid, String dcaeCompName, String nid) throws IOException { String url = getApiUrl(String.format("/rule-editor/getExistingRuleTargets/%s/%s/%s", vfcmtUuid, dcaeCompName, nid)); return sendGet(url, designerDefaultId); } + public static RestResponse exportRules(String vfcmtUuid, String dcaeCompName, String nid, String configParam) throws IOException { + String url = getApiUrl(String.format("/rule-editor/export/%s/%s/%s/%s", vfcmtUuid, dcaeCompName, nid, configParam)); + return sendGet(url, designerDefaultId, new SingletonMap<>(HttpHeaderEnum.ACCEPT.getValue(), "application/octet-stream")); + } + + public static RestResponse importRules(String vfcmtUuid, String dcaeCompName, String nid, String configParam, String request) throws IOException { + String url = getApiUrl(String.format("/rule-editor/import/%s/%s/%s/%s", vfcmtUuid, dcaeCompName, nid, configParam)); + return sendPost(url, request, designerDefaultId, "application/json"); + } + + public static RestResponse getLatestMcUuid(String contextType, String serviceUuid, String vfiName, String vfcmtUuid) throws IOException { + return sendGet(getApiUrl(String.format("/%s/%s/%s/%s/getLatestMcUuid", contextType, serviceUuid, UrlEscapers.urlFragmentEscaper().escape(vfiName), vfcmtUuid)), designerDefaultId); + } + + // Configuration + + public static RestResponse getConfiguredFlowTypes() throws IOException { + return sendGet(getApiUrl("/conf/composition"), designerDefaultId); + } + + public static RestResponse getConfiguredPhasesByFlowType(String flowType) throws IOException { + return sendGet(getApiUrl(String.format("/conf/getPhases/%s", flowType)), designerDefaultId); + } + + // TOSCA LAB // + + public static RestResponse getToscaLabHealthCheck() throws IOException { + return new HttpRequest().httpSendGet(configuration.getToscaLabUrl().concat("/healthcheck"), null); + } + + public static RestResponse translateModelToBlueprint(String payload) throws IOException { + return new HttpRequest().httpSendPost(configuration.getToscaLabUrl().concat("/translate"), payload); + } private static JSONObject newVfcmtJSON(String name, String description) { JSONObject json = new JSONObject(); diff --git a/src/main/java/org/onap/dcae/ci/utilities/DcaeTestConstants.java b/src/main/java/org/onap/dcae/ci/utilities/DcaeTestConstants.java index 6bca647..a5538dc 100644 --- a/src/main/java/org/onap/dcae/ci/utilities/DcaeTestConstants.java +++ b/src/main/java/org/onap/dcae/ci/utilities/DcaeTestConstants.java @@ -13,7 +13,6 @@ public class DcaeTestConstants { public static final String NOT_CERTIFIED_CHECKIN = "NOT_CERTIFIED_CHECKIN"; public static final String CONFLICT = "Conflict"; public static final String CERTIFIED = "CERTIFIED"; - } } } diff --git a/src/main/java/org/onap/dcae/ci/utilities/DcaeUtil.java b/src/main/java/org/onap/dcae/ci/utilities/DcaeUtil.java index 5d6eff4..c010c26 100644 --- a/src/main/java/org/onap/dcae/ci/utilities/DcaeUtil.java +++ b/src/main/java/org/onap/dcae/ci/utilities/DcaeUtil.java @@ -1,146 +1,40 @@ package org.onap.dcae.ci.utilities; -import java.io.IOException; -import java.util.Arrays; -import java.util.List; -import java.util.stream.Collectors; - -import com.google.gson.*; -import org.apache.commons.lang3.RandomStringUtils; - +import com.aventstack.extentreports.Status; +import com.google.gson.Gson; +import com.google.gson.JsonArray; +import com.google.gson.JsonObject; +import com.google.gson.JsonParser; import org.json.simple.JSONObject; import org.json.simple.JSONValue; import org.json.simple.parser.ParseException; import org.onap.dcae.ci.entities.RestResponse; -import org.onap.dcae.ci.entities.composition.items.DcaeComponents; import org.onap.dcae.ci.report.Report; -import org.onap.sdc.dcae.composition.util.DcaeBeConstants; -import org.testng.Assert; +import org.onap.sdc.dcae.composition.restmodels.canvas.DcaeComponentCatalog; +import org.onap.sdc.dcae.composition.restmodels.sdc.Resource; -import org.onap.sdc.dcae.composition.services.Resource; -import org.onap.sdc.dcae.composition.services.Service; -import org.onap.sdc.dcae.composition.services.ThinService; -import org.onap.sdc.dcae.composition.vfcmt.Vfcmt; -import com.aventstack.extentreports.Status; +import java.io.IOException; +import java.util.List; +import java.util.stream.Collectors; public class DcaeUtil { public static Gson gson = new Gson(); - public static class CatalogReources { - public static Vfcmt[] getAllReourcesFromAsdc() throws IOException{ - RestResponse allResources = DcaeRestClient.getAllVfcmts(); - return gson.fromJson(allResources.getResponse(), Vfcmt[].class); - } - - public static Vfcmt getResourceByName(String resName) throws IOException{ - Vfcmt[] vfcmts = getAllReourcesFromAsdc(); - List<Vfcmt> vfcmtsStr = Arrays.stream(vfcmts). - filter(item -> item.getName().equals(resName)). - collect(Collectors.toList()); - - return vfcmtsStr.get(0); - } - - public static Vfcmt getOneResourceFromList(int index) throws IOException{ - Vfcmt[] vfcmtList = getAllReourcesFromAsdc(); - return vfcmtList[index]; - } - - public static String getComponentID(int index) throws IOException{ - Vfcmt vfcmt = getOneResourceFromList(0); - return vfcmt.getUuid(); - } - - public static Resource createNewVfcmtObject() throws IOException{ - Resource res = new Resource(); - res.setResourceInstanceName("LiavNewVFCMT" + RandomStringUtils.randomAlphanumeric(20)); - res.setDescription("This is a test VFCMT"); - return res; - } - - public static Vfcmt notCheckoutVFCMT() throws IOException{ /* TODO: remove this function and use instead in DcaeEntityClient.getCheckedoutVfcmt() */ - Vfcmt[] vfcmtList = getAllReourcesFromAsdc(); - List<Vfcmt> vfcmtsStr = Arrays.stream(vfcmtList). - filter(item -> (item.getLifecycleState().equals(DcaeTestConstants.Sdc.State.NOT_CERTIFIED_CHECKOUT) == false)). - collect(Collectors.toList()); - - return vfcmtsStr.get(0); - } - - public static Vfcmt vfcmtNotUserOwner(String user) throws IOException{ - Vfcmt[] vfcmtList = getAllReourcesFromAsdc(); - List<Vfcmt> vfcmtsStr = Arrays.stream(vfcmtList) - .filter(item -> (item.getLastUpdaterUserId().equals(user) == false)) - .collect(Collectors.toList()); - - return vfcmtsStr.get(0); - } - - } - - public static class Services{ - public static ThinService[] getServices(String VFCMTId, String userId) throws IOException{ - RestResponse services = null; - try{ - services = DcaeRestClient.getServices(VFCMTId, userId); - }catch(Exception e){ - System.err.println("Exception occurred while trying to fetch all resources from SDC: "+e); - return null; - } - Assert.assertTrue(services.getStatusCode().intValue() == 200); - String response = services.getResponse(); - ThinService[] serviceList = gson.fromJson(response, ThinService[].class); - return serviceList.length > 0 ? serviceList : null; - } - - public static ThinService getOneService(String VFCMTId,int index, String userId) throws IOException { - ThinService[] services = getServices(VFCMTId, userId); - return services[index]; - } - - - public static List<Resource> getVfListInstance(ThinService thinService) throws IOException { - RestResponse serviceInstancRes = null; - try{ - serviceInstancRes = DcaeRestClient.getServicesInstance(thinService.getUuid()); - }catch(Exception e){ - System.err.println("Exception occurred while trying to fetch List of VF instances from SDC service ("+thinService+"). Exception: "+e); - return null; - } - Assert.assertTrue(serviceInstancRes.getStatusCode().intValue() == 200); - String serviceInstancList = serviceInstancRes.getResponse(); - Service service = gson.fromJson(serviceInstancList, Service.class); - return service.getResources(); - } - - public static Resource getOneVfInstance(ThinService thinService,int index) throws IOException { - List<Resource> resources = getVfListInstance(thinService); - return resources.get(index); - } - - } - - public static class SdcElementsModelType{ - public static RestResponse getMsElements() throws IOException{ - return DcaeRestClient.getItem(DcaeTestConstants.Composition.Microservice); + public static DcaeComponentCatalog.SubCategoryFolder getMsElements() throws IOException{ + DcaeComponentCatalog getCatalogResponse = gson.fromJson(DcaeRestClient.getCatalog().getResponse(), DcaeComponentCatalog.class); + return getCatalogResponse.getElements().stream().filter(p -> DcaeTestConstants.Composition.Microservice.equals(p.getItemId())).findAny().get(); } - - public static JsonArray getSNMPModelItemFromSdc() throws Exception { - RestResponse resMsElements = getMsElements(); - JsonParser jsonParser = new JsonParser(); - JsonObject responseJson = (JsonObject)jsonParser.parse(resMsElements.getResponse()); - JsonArray itemJsonArray = responseJson.get("data").getAsJsonObject().get("element").getAsJsonObject().get("items").getAsJsonArray(); - Report.logDebug("DCAE Components items", itemJsonArray); - Service[] services = gson.fromJson(itemJsonArray, Service[].class); + + List<Resource> itemList = getMsElements().getItems(); + Report.logDebug("DCAE Components items", itemList); Report.log(Status.DEBUG, "Trying to find a certified VF which its name starts with supplement/map/enrich"); - List<String> collectIds = Arrays.stream(services) - .filter(x -> DcaeBeConstants.LifecycleStateEnum.CERTIFIED == DcaeBeConstants.LifecycleStateEnum.valueOf(x.getLifecycleState())&& !x.getModels().isEmpty()) + List<String> collectIds = itemList.stream() .filter(x -> x.getName().toLowerCase().startsWith("supplement") || x.getName().toLowerCase().startsWith("map") || x.getName().toLowerCase().startsWith("enrich")) - .map(Service::getUuid) + .map(Resource::getUuid) .collect(Collectors.toList()); if(collectIds.isEmpty()) { Report.log(Status.WARNING, "Could not find any SNMP DCAE Component"); @@ -160,14 +54,8 @@ public class DcaeUtil { } public static String getItemUuid(int itemNumber) throws IOException{ - DcaeComponents dcaeComponents = getDcaeComponents(); - return dcaeComponents.getData().getElement().getItems().get(itemNumber).getUuid(); - } - - public static DcaeComponents getDcaeComponents() throws IOException{ - RestResponse services = getMsElements(); - String response = services.getResponse(); - return gson.fromJson(response, DcaeComponents.class); + DcaeComponentCatalog.SubCategoryFolder dcaeComponents = getMsElements(); + return dcaeComponents.getItems().get(itemNumber).getUuid(); } } diff --git a/src/main/java/org/onap/dcae/ci/utilities/HttpRequest.java b/src/main/java/org/onap/dcae/ci/utilities/HttpRequest.java index 3b58109..5b1eff5 100644 --- a/src/main/java/org/onap/dcae/ci/utilities/HttpRequest.java +++ b/src/main/java/org/onap/dcae/ci/utilities/HttpRequest.java @@ -5,10 +5,7 @@ import org.onap.dcae.ci.entities.RestResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.io.BufferedReader; -import java.io.DataOutputStream; -import java.io.IOException; -import java.io.InputStreamReader; +import java.io.*; import java.net.HttpURLConnection; import java.net.URL; import java.util.List; @@ -156,7 +153,6 @@ public class HttpRequest { } - public RestResponse httpSendPost(String url, String body, Map<String, String> headers) throws IOException { return httpSendPost(url, body, headers, "POST"); } @@ -236,6 +232,59 @@ public class HttpRequest { } + public RestResponse httpSendPost(String url, String body) throws IOException { + + RestResponse restResponse = new RestResponse(); + URL obj = new URL(url); + HttpURLConnection con = (HttpURLConnection) obj.openConnection(); + + // Send post request + if (body != null) { + con.setDoOutput(true); + DataOutputStream wr = new DataOutputStream(con.getOutputStream()); + wr.writeBytes(body); + wr.flush(); + wr.close(); + } + int responseCode = con.getResponseCode(); + StringBuilder response = new StringBuilder(); + + try { + response.append(IOUtils.toString(con.getInputStream(), "UTF-8")); + } catch (Exception e) { + logger.debug("response body is null"); + } + + String result; + + try { + + result = IOUtils.toString(con.getErrorStream()); + response.append(result); + + } catch (Exception e2) { + result = null; + } + logger.debug("Response body: {}",response); + + // print result + + restResponse.setStatusCode(responseCode); + + if (response != null) { + restResponse.setResponse(response.toString()); + } + + Map<String, List<String>> headerFields = con.getHeaderFields(); + restResponse.setHeaderFields(headerFields); + String responseMessage = con.getResponseMessage(); + restResponse.setResponseMessage(responseMessage); + + con.disconnect(); + return restResponse; + + } + public RestResponse httpSendDelete(String url, Map<String, String> headers) throws IOException { diff --git a/src/main/java/org/onap/dcae/ci/utilities/SdcInternalApiClient.java b/src/main/java/org/onap/dcae/ci/utilities/SdcInternalApiClient.java index 3010de0..acf7fb7 100644 --- a/src/main/java/org/onap/dcae/ci/utilities/SdcInternalApiClient.java +++ b/src/main/java/org/onap/dcae/ci/utilities/SdcInternalApiClient.java @@ -66,13 +66,11 @@ public class SdcInternalApiClient extends BaseRestUtils { return new Vfi(DcaeUtil.getValueFromJsonResponse(createResourceInstance.getResponse(), "name"), service); } - public static RestResponse changeResourceLifeCycleState(String assetUniqueId, String lifeCycleOperation) throws IOException { String url = getApiUrl(String.format("resources/%s/lifecycleState/%s", assetUniqueId, lifeCycleOperation)); return sendPost(url, "{\"userRemarks\":\"Ci lifecycle operation\"}", defaultUserId, acceptHeaderData); } - // DELETE - Clean up // public static RestResponse deleteAssetFromSdc(String context, String uniqueId) throws IOException { @@ -82,22 +80,21 @@ public class SdcInternalApiClient extends BaseRestUtils { public static RestResponse deleteMarkedResources() throws IOException { - String url = String.format("%s:%s/sdc2/rest/v1/inactiveComponents/resource", configuration.getBeHost(), configuration.getBePort()); + String url = String.format("%s:%s/sdc2/rest/v1/inactiveComponents/resource", configuration.getSdcBeHost(), configuration.getSdcBePort()); return sendDelete(url, adminUserId); } public static RestResponse deleteMarkedServices() throws IOException { - String url = String.format("%s:%s/sdc2/rest/v1/inactiveComponents/service", configuration.getBeHost(), configuration.getBePort()); + String url = String.format("%s:%s/sdc2/rest/v1/inactiveComponents/service", configuration.getSdcBeHost(), configuration.getSdcBePort()); return sendDelete(url, adminUserId); } public static Map<String, List<SdcComponent>> getAssetsByUser(String userId) throws IOException { - String url = String.format("%s:%s/sdc2/rest/v1/followed", configuration.getBeHost(), configuration.getBePort()); + String url = String.format("%s:%s/sdc2/rest/v1/followed", configuration.getSdcBeHost(), configuration.getSdcBePort()); RestResponse restResponse = sendGet(url, userId); return 200 == restResponse.getStatusCode() ? gson.fromJson(restResponse.getResponse(), new TypeToken<Map<String, List<SdcComponent>>>(){}.getType()) : new HashMap<>(); } - public static SdcComponentMetadata getAssetMetadata(String context, String uniqueId, String userId) throws IOException { String url = getApiUrl(String.format("%s/%s/filteredDataByParams?include=metadata", context, uniqueId)); RestResponse restResponse = sendGet(url, userId); diff --git a/src/main/resources/conf/conf.yaml b/src/main/resources/conf/conf.yaml index 41a7d82..c3862e2 100644 --- a/src/main/resources/conf/conf.yaml +++ b/src/main/resources/conf/conf.yaml @@ -1,19 +1,9 @@ dcaeBeHost: http://localhost -dcaeBePort: 8080 -#dcaeBePort: 8446 --> [in local PC testing] 8080 --> [in remote CI] -beHost: https://zldcrdm2sdc4cbe01.3f1a87.rdm2.tci.att.com -bePort: 8443 -feHost: 127.0.0.1 -fePort: 8181 -ruleEditorUrl: http://localhost:4200 -#apiPath: "/dcae" --> [in local PC testing] +dcaeBePort: 8446 +sdcBeHost: https://zldcrdm2sdc4cbe01.3f1a87.rdm2.tci.att.com +sdcBePort: 8443 apiPath: "" url: https://www.e-access.att.com/DCAE-CIO1/sdc1/portal -remoteTestingMachineIP: null -remoteTestingMachinePort: 88 -remoteTesting: false -browser: null -systemUnderDebug: null reportDBhost: null reportDBport: 88 captureTraffic: false @@ -25,4 +15,5 @@ numOfAttemptsToRefresh: 22 rerun: false windowsDownloadDirectory: null screenshotFolder: ./ExtentReport/screenshots/ -harFilesFolder: ./ExtentReport/har_files/
\ No newline at end of file +harFilesFolder: ./ExtentReport/har_files/ +toscaLabUrl: http://localhost:8080
\ No newline at end of file diff --git a/src/main/resources/conf/dcae_tests_conf.yaml.erb b/src/main/resources/conf/dcae_tests_conf.yaml.erb index 46784ba..1dd9cee 100644 --- a/src/main/resources/conf/dcae_tests_conf.yaml.erb +++ b/src/main/resources/conf/dcae_tests_conf.yaml.erb @@ -1,16 +1,9 @@ dcaeBeHost: <%= @protocol %>://<%= @catalogbe_ip %> dcaeBePort: <%= @catalogbe_port %> -beHost: <%= @protocol %>://<%= @catalogbe_ip %> -bePort: <%= @catalogbe_port %> -feHost: <%= @protocol %>://<%= @catalogfe_ip %> -fePort: <%= @catalogfe_port %> +sdcBeHost: <%= @protocol %>://<%= @catalogbe_ip %> +sdcBePort: 8443 apiPath: "/dcae" url: <%= @url %> -remoteTestingMachineIP: null -remoteTestingMachinePort: 88 -remoteTesting: false -browser: null -systemUnderDebug: null reportDBhost: null reportDBport: 88 captureTraffic: false @@ -23,6 +16,4 @@ rerun: false windowsDownloadDirectory: null screenshotFolder: ./ExtentReport/screenshots/ harFilesFolder: ./ExtentReport/har_files/ -ruleEditorUrl: <%= @url %>/../../rule_engine - - +toscaLabUrl: http://<%= @catalogbe_ip %>:8085
\ No newline at end of file diff --git a/src/main/resources/scripts/run.sh b/src/main/resources/scripts/run.sh index 158f497..48d6935 100644 --- a/src/main/resources/scripts/run.sh +++ b/src/main/resources/scripts/run.sh @@ -35,9 +35,9 @@ fi LOGS_PROP_FILE=file:${FULL_PATH}/conf/log4j.properties CONF_FILE=${FULL_PATH}/conf/conf.yaml CREDENTIALS_FILE=${FULL_PATH}/conf/credentials.yaml +# # # # # MainClass=org.onap.dcae.ci.run.RunTestSuite MainClass=org.onap.dcae.ci.run.RunTestSuite - cmd="java -Dconfig.resource=${CONF_FILE} -Dcredentials.file=${CREDENTIALS_FILE} -Dlog4j.configuration=${LOGS_PROP_FILE} -DtestSuite=${SUITE_FILE} -cp $JAR_FILE ${MainClass} &" $cmd diff --git a/src/main/resources/testSuite/testSuite.xml b/src/main/resources/testSuite/testSuite.xml index da131eb..982193c 100644 --- a/src/main/resources/testSuite/testSuite.xml +++ b/src/main/resources/testSuite/testSuite.xml @@ -29,6 +29,8 @@ <class name="org.onap.dcae.ci.api.tests.vfcmt.GetVfcmtsForMigration"></class> <class name="org.onap.dcae.ci.api.tests.vfcmt.GetAllMonitoringTemplateVfcmts"></class> <class name="org.onap.dcae.ci.api.tests.deploy_tool.DeployToolTest"></class> + <class name="org.onap.dcae.ci.api.tests.blueprint.ToscaLabApiTests"></class> + <class name="org.onap.dcae.ci.api.tests.configuration.ConfigurationControllerApiTest"></class> </classes> </test> <!-- Test --> </suite> <!-- Suite --> diff --git a/startup.sh b/startup.sh new file mode 100644 index 0000000..d0b6297 --- /dev/null +++ b/startup.sh @@ -0,0 +1,31 @@ +#!/bin/sh + +set -x + +# Run chef-solo for configuration +cd chef-solo +chef-solo -c solo.rb -E ${ENVNAME} --log_level "debug" --logfile "/tmp/Chef-Solo.log" + +status=$? +if [ $status != 0 ]; then + echo "[ERROR] Problem detected while running chef. Aborting !" + exit 1 +fi + +# Set command parameters +CONF_FILE="/conf/conf.yaml" +CREDENTIALS_FILE="/conf/credentials.yaml" +LOGS_PROP_FILE="file:/conf/log4j.properties" +SUITE_FILE="/testSuite/testSuite.xml" +JAR_FILE="dcae-ci-tests-jar-with-dependencies.jar" +MainClass="org.onap.dcae.ci.run.RunTestSuite" + +# Execute dcae-ci-tests +cd / + +java -Dconfig.resource=${CONF_FILE} \ + -Dcredentials.file=${CREDENTIALS_FILE} \ + -Dlog4j.configuration=${LOGS_PROP_FILE} \ + -DtestSuite=${SUITE_FILE} \ + -cp $JAR_FILE ${MainClass} \ + > /logs/dcae_testSuite.out diff --git a/version.properties b/version.properties deleted file mode 100644 index 8471f55..0000000 --- a/version.properties +++ /dev/null @@ -1,13 +0,0 @@ -########################################################### -# Versioning variables -# Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... ) -# because they are used in Jenkins, whose plug-in doesn't support - -major=1 -minor=2 -patch=0 - -base_version=${major}.${minor}.${patch} - -release_version=${base_version} -snapshot_version=${base_version}-SNAPSHOT |