summaryrefslogtreecommitdiffstats
path: root/platformdoc/docs/components/dcae-cli
diff options
context:
space:
mode:
authorVENKATESH KUMAR <vv770d@att.com>2020-04-02 23:39:28 -0400
committerVENKATESH KUMAR <vv770d@att.com>2020-04-02 23:48:26 -0400
commitc790dcb3bbd3c498e0f838837c212ce185e70da5 (patch)
treecbde7e82480efbdc3a26844e2e03bf4806aeaaa8 /platformdoc/docs/components/dcae-cli
parentcfb11090aa5fbcb7d38870cdeeb7c21e48b077df (diff)
dcae doc cleanup
Remove old markdown platform doc Change-Id: I592775a24d17d7d786708cde008703f4d899946c Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-1891 Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Diffstat (limited to 'platformdoc/docs/components/dcae-cli')
-rw-r--r--platformdoc/docs/components/dcae-cli/blueprint-generator/blueprint_generator.rst78
-rw-r--r--platformdoc/docs/components/dcae-cli/commands.md453
-rw-r--r--platformdoc/docs/components/dcae-cli/quickstart.md110
-rw-r--r--platformdoc/docs/components/dcae-cli/walkthrough.md340
4 files changed, 0 insertions, 981 deletions
diff --git a/platformdoc/docs/components/dcae-cli/blueprint-generator/blueprint_generator.rst b/platformdoc/docs/components/dcae-cli/blueprint-generator/blueprint_generator.rst
deleted file mode 100644
index d55804f0..00000000
--- a/platformdoc/docs/components/dcae-cli/blueprint-generator/blueprint_generator.rst
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-Blueprint Generator (DCAE)
-=============================================
-
-What is the Blueprint Generator?
-++++++++++++++++++++++++++++++++
-The blueprint generator is a java rewrite of the tosca lab python tool. The point of this tool is to be able to take a component spec for a given micro-service and translate that component spec into a blueprint yaml file that can be used during deployment.
-
-
-Steps to run the blueprint generator:
-+++++++++++++++++++++++++++++++++++++
-
-1. Download the jar file from Nexus by clicking `here <https://nexus.onap.org/service/local/repositories/releases/content/org/onap/dcaegen2/platform/cli/blueprint-generator/1.2.1/blueprint-generator-1.2.1-executable.jar>`_ or running
- ``wget https://nexus.onap.org/service/local/repositories/releases/content/org/onap/dcaegen2/platform/cli/blueprint-generator/1.2.1/blueprint-generator-1.2.1-executable.jar``
-
-2. To execute the application, run the following command:
- ``java -jar blueprint-generator-1.2.1-executable.jar blueprint``
-
-3. This execution will provide the help, as you have not provided the required flags.
-
-4. When ready you can run the program again except with the required flags.
-
-5. OPTIONS:
- -p: The path to where the final blueprint yaml file will be created (required)
-
- -i: The path to the JSON spec file (required)
-
- -n: Name of the blueprint (optional)
-
- -t: the path to the import yaml file (optional)
-
- -d: If this flag is present the bp generator will be created with dmaap plugin (optional)
-
- -o: This flag will create a service component override for your deployment equal to the value you put (optional)
-
-6. An example running this program would look like this:
- ``java -jar blueprint-generator-1.2.1-executable.jar -p blueprint_output -i ComponentSpecs/TestComponentSpec.json -n TestAppBlueprint``
-
-
-Extra information
------------------
-
-1. The component spec must be of the same format as stated in the onap `readthedocs <https://onap.readthedocs.io/en/latest/submodules/dcaegen2.git/docs/sections/components/component-specification/common-specification.html#working-with-component-specs>`_ page
-
-2. If the tag says required then the program will not run without those tags being there
-
-3. If the tag says optional then it is not necessary to run the program with those tags
-
-4. If you do not add a -n tag the blueprint name will default to what it is in the component spec
-
-5. If the directory you specified in the -p tag does not already exist the directory will be created for you
-
-6. The -t flag will override the default imports set for the blueprints. To see an example of how the import yaml file should be structured see the testImports.yaml file under the folder TestCases
-
-
-How to create policy models:
-+++++++++++++++++++++++++++++++++++++
-
-1. Policy model creation can be done with the same jar as downloaded for the blueprint generation.
-
-2. Run the same command as the blueprint generator except replace the ``blueprint`` positional with ``policy``
-
-3. Example command:
- ``java -jar blueprint-generator-1.2.1-executable.jar policy``
-
-4. Options:
-
- -i: The path to the JSON spec file (required)
-
- -p: The Output path for all of the models (required)
-
-Extra information
------------------
-
-1. Not all component specs will be able to create policy models
-
-2. Multiple policy model files may be create from a single component spec
diff --git a/platformdoc/docs/components/dcae-cli/commands.md b/platformdoc/docs/components/dcae-cli/commands.md
deleted file mode 100644
index d198f947..00000000
--- a/platformdoc/docs/components/dcae-cli/commands.md
+++ /dev/null
@@ -1,453 +0,0 @@
-# dcae_cli Commands
-
-The dcae_cli tool has four command groups. Each has several sub-commands.
-
-## `catalog`
-
-The `catalog` command lists and shows resources (components and data_formats) in the 'onboarding' catalog (regardless of the owner). A resource can have a status of `staged` or `published`. By default, only `published` resources are displayed. To see `staged` resources, add the --expanded argument.
-
-Catalog Status | Meaning
--------------- | -------
-staged | resource has be added (and validated), but is under development
-| staged data_formats can only be referenced in their owners component specs
-| staged components can only be deployed by their owners
-published | resource has been tested and can be shared
-| published data_formats can be used in anyone's component spec
-| published components and be deployed by anyone
-
-```
-$ dcae_cli catalog --help
-Usage: dcae_cli catalog [OPTIONS] COMMAND [ARGS]...
-
-Options:
- --help Show this message and exit.
-
-Commands:
- list Lists resources in the onboarding catalog
- show Provides more information about resource
-```
-
-### List onboarding catalog contents
-
-```
-$ dcae_cli catalog list
-Components:
-+--------------------------------+---------+--------+---------------------------------------------------------------------+--------+-----------+------------+
-| Name | Version | Type | Description | Owner | Status | Published |
-+--------------------------------+---------+--------+---------------------------------------------------------------------+--------+-----------+------------+
-| AAI_Broker | 3.1.0 | docker | DCAE Interface to DTI's AAI View | tc677g | published | 2017-06-15 |
-| DcaeSyslogCollector | 2.0.0 | docker | DCAE Control Plane Syslog Collector | sh1986 | published | 2017-08-04 |
-| cdap.dmaap.spec.example | 0.2.0 | cdap | dmaap spec example. Not a functioning application, only for showing | tc677g | published | 2017-07-24 |
-| | | | how to pub/sub dmaap. Pretend this is like MAP with VES in and ou.. | | | |
-| cdap.event.proc.enrich.app | 1.0.3 | cdap | CDAP Event Processing Enrich application | an4828 | published | 2017-09-20 |
-| cdap.event.proc.map.app | 1.0.3 | cdap | CDAP Event Processing Map application | an4828 | published | 2017-09-20 |
-
-...
-
-Data formats:
-+--------------------------------------------+---------+-----------------------------------------------------------------------+--------+-----------+------------+
-| Name | Version | Description | Owner | Status | Published |
-+--------------------------------------------+---------+-----------------------------------------------------------------------+--------+-----------+------------+
-| FOI_PM_VHSS_data_format | 1.0.0 | CSV pipe delimited data format for VHSS PM files | sr229c | published | 2017-09-05 |
-| Map_input | 1.0.0 | The input format for Mapper, that in 1707 is the UCSNMP Collector | an4828 | published | 2017-07-18 |
-| | | output format, but will support more formats later | | | |
-| Syslog Collector Parsed Json Message | 1.0.0 | Post processed/parsed collected syslog message | sh1986 | published | 2017-08-04 |
-| Syslog Collector Syslog Message Input | 1.0.0 | The input message for the DCAE syslog collector is free/unstructured | sh1986 | published | 2017-08-04 |
-| | | text | | | |
-| TCA Alert Definition | 1.0.0 | The format of the output event from TCA | an4828 | published | 2017-08-10 |
-| VES_specification | 5.28.4 | VES spec for 5.4 | vv770d | published | 2017-09-19 |
-
-...
-
-```
-
-### Show the contents of an item in the catalog
-
-```
-$ dcae_cli catalog show FOI_PM_VHSS_data_format
-
-Data format
------------
-{
- "dataformatversion": "1.0.0",
- "delimitedschema": {
- "delimiter": "|",
- "fields": [
- {
- "description": "System ID",
- "fieldtype": "string",
- "name": "SYSTEM"
- },
- {
- "description": "Date",
- "fieldtype": "string",
- "name": "DATE"
- },
- {
- "description": "Time",
- "fieldtype": "string",
- "name": "TIME"
- },
-
-...
-
-```
-
----------------------------------------------------------------------------
-
-## `component`
-
-The `component` command is for validating (adding), listing, showing, verifying generated configuration, running, undeploying, and publishing components that YOU own.
-
-```
-$ dcae_cli component --help
-Usage: dcae_cli component [OPTIONS] COMMAND [ARGS]...
-
-Options:
- --help Show this message and exit.
-
-Commands:
- add
- dev Set up component in development for...
- list Lists components in the onboarding catalog.
- publish Pushes COMPONENT to the onboarding catalog
- run Runs the latest version of COMPONENT.
- show Provides more information about COMPONENT
- undeploy Undeploys the latest version of COMPONENT.
-```
-
----------------------------------------------------------------------------
-
-### Add a Component
-
-A component must be added to the onboarding catalog in order to be tested by the dcae_cli tool. The process of adding a component also validates it's component specification. In order to add a component, the component docker image (or CDAP jar) must exist locally.
-
-Components in the onboarding catalog can be run by others, once they are `published.` `Published` components cannot be modified or deleted. Rather a new version can be created instead.
-
-Validated component specs are used later to generate Tosca models and Cloudify Blueprints for the component, which makes them available for use in the SDC Tool for creating services.
-
-```
-$ dcae_cli component add --help
-Usage: dcae_cli component add [OPTIONS] COMPONENT-SPECIFICATION
-
-Options:
- --update Updates a previously added component if it has not been already
- published
- --help Show this message and exit.
-```
-
-```
-$ dcae_cli component add component-spec.json
-```
-
----------------------------------------------------------------------------
-
-### List Components
-
-List components in the onboarding catalog that owned by YOUR userid..
-
-```
-$ dcae_cli component list
-Active profile: solutioning
-+-------------------------+---------+--------+---------------------------------------------------------------+--------+----------------------------+-----------+
-| Name | Version | Type | Description | Status | Modified | #Deployed |
-+-------------------------+---------+--------+---------------------------------------------------------------+--------+----------------------------+-----------+
-| cdap.helloworld.endnode | 0.8.0 | cdap | cdap test component | staged | 2017-05-23 04:14:35.588075 | 0 |
-| sandbox.platform.laika | 0.5.0 | docker | Web service used as a stand-alone test DCAE service compone.. | staged | 2017-05-23 04:07:44.065610 | 0 |
-+-------------------------+---------+--------+---------------------------------------------------------------+--------+----------------------------+-----------+
-```
-
-The fields `Name`, `Version`, `Type`, `Description` are referenced from the component specification's `self` JSON.
-Use the "--deployed" argument to see more details on deploymed components
-
----------------------------------------------------------------------------
-
-### Run a Component
-
-The `run` operation is to be used for running your application in its container remotely on the activated environment. Docker containers have the additional option to run locally on your development machine. If the component uses Dmaap, you can specify the Dmaap Connection Object as well. Refer to [Dmaap Connection Object](/components/component-specification/dmaap-connection-objects).
-
-When you run a component via the dcae_cli Tool, remember the blueprint has not been created and is not used for deployment.
-
-In order to run the component, the data formats and component must have been added to the onboarding catalog.
-
-**DOCKER NOTE:** Make sure the Docker image has been uploaded to the shared registry.
-
-A docker component can be run in either `attached` or `unattached` mode. (Default is unattached).
-
-Mode | Description
----- | -----------
-attached | component is run in the 'foreground', container logs are streamed to stdout. Ctrl-C is used to terminate the dcae_cli session.
-unattached | component is run in the 'background', container logs are viewed via `docker logs` command, container runs until undeployed with dcae_cli `undeploy` command.
-
-
-#### Run a component in attached mode:
-
-```
-$ dcae_cli -v component run --attached sandbox.platform.laika:0.5.0
-
-DCAE.Docker | INFO | Running image 'registry.proto.research.att.com/dcae-rework/laika:0.4.0' as 'mh677g.b7287639-37f5-4f25-8d54-8a2087f4c8da.0-5-0.sandbox-platform-laika'
-DCAE.Docker.mh677g.b7287639-37f5-4f25-8d54-8a2087f4c8da.0-5-0.sandbox-platform-laika | INFO | Consul host: realsolcnsl00.dcae.solutioning.homer.att.com
-
-DCAE.Docker.mh677g.b7287639-37f5-4f25-8d54-8a2087f4c8da.0-5-0.sandbox-platform-laika | INFO | service name: mh677g.b7287639-37f5-4f25-8d54-8a2087f4c8da.0-5-0.sandbox-platform-laika
-
-DCAE.Docker.mh677g.b7287639-37f5-4f25-8d54-8a2087f4c8da.0-5-0.sandbox-platform-laika | INFO | Generated config: {'multiplier': 3}
-
-DCAE.Docker.mh677g.b7287639-37f5-4f25-8d54-8a2087f4c8da.0-5-0.sandbox-platform-laika | INFO | * Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)
-
-DCAE.Docker.mh677g.b7287639-37f5-4f25-8d54-8a2087f4c8da.0-5-0.sandbox-platform-laika | INFO | 135.205.226.140 - - [24/May/2017 03:37:57] "GET /health HTTP/1.1" 200 -
-
-DCAE.Docker.mh677g.b7287639-37f5-4f25-8d54-8a2087f4c8da.0-5-0.sandbox-platform-laika | INFO | 135.205.226.140 - - [24/May/2017 03:38:12] "GET /health HTTP/1.1" 200 -
-```
-
-Hit Ctrl-C to terminate session.
-
-```
-^CDCAE.Docker | INFO | Stopping container 'mh677g.b7287639-37f5-4f25-8d54-8a2087f4c8da.0-5-0.sandbox-platform-laika' and cleaning up...
-```
-
-#### Run a component in unattached mode:
-
-```
-$ dcae_cli -v component run sandbox.platform.laika:0.5.0
-DCAE.Docker | INFO | Running image 'registry.proto.research.att.com/dcae-rework/laika:0.4.0' as 'mh677g.4811da0e-08d5-429f-93bf-bf6814924577.0-5-0.sandbox-platform-laika'
-DCAE.Run | INFO | Deployed /mh677g.4811da0e-08d5-429f-93bf-bf6814924577.0-5-0.sandbox-platform-laika
-```
-
-**NOTE** You must undeploy this component when finished testing. This is important to conserve resources in the environment.
-
-#### Run a component that subscribes to Dmaap MR or DR
-
-```
-$ dcae_cli -v component run --attached --dmaap-file $dmaap-connection-file sandbox.platform.laika:0.5.0
-```
-
----------------------------------------------------------------------------
-
-### Undeploy a Component
-
-The `undeploy` command is used to undeploy any instance of a specified component/version that you have deployed. This includes cleaning up the configuration.
-
-```
-$ dcae_cli component undeploy sandbox.platform.laika:0.5.0
-DCAE.Undeploy | WARNING | Undeploying components: 1
-DCAE.Undeploy | WARNING | Undeployed components: 1
-```
-
----------------------------------------------------------------------------
-
-### Publish a component
-
-Once a component has been tested, it should be published in the onboarding catalog using the `publish` sub-command .
-Publishing will change the status of the component (from `staged` to `published`), indicating that it has been tested, and making it accessible for other developers to use.
-
-**Note** Before a component can be published, all data_formats that it references must be published.
-
-```
-dcae_cli component publish sandbox.platform.laika:0.5.0
-```
-
----------------------------------------------------------------------------
-
-### Show a Component
-
-This will print out the contents of a component and is useful to copy a component spec.
-
-```
-$ dcae_cli component show
-```
-
----------------------------------------------------------------------------
-
-### Run the `dev` command
-
-The `dev` command is used as part of a process to see the platform generated configuration. It established the environment variables and is best explained [here](/components/dcae-cli/walkthrough/#view-the-platform-generated-configuration).
-
-```
-$ dcae_cli component dev component-spec.json
-Ready for component development
-```
-
----------------------------------------------------------------------------
-
-## `data_format`
-
-The `data_format` command is for validating (adding), listing, showing, publishing data_formats that YOU own. data_formats can also be generated with this command.
-
-```
-$ dcae_cli data_format --help
-Usage: dcae_cli data_format [OPTIONS] COMMAND [ARGS]...
-
-Options:
- --help Show this message and exit.
-
-Commands:
- add Tracks a data format file DATA_FORMAT-SPECIFICATION...
- generate Create schema from a file or directory...
- list Lists all your data formats
- publish Publishes data format to make available to others...
- show Provides more information about FORMAT
-```
-
----------------------------------------------------------------------------
-
-### Add a Data Format
-
-A data_format must be in the onboarding catalog in order to be referenced in the component specification. The process of adding a data_format also validates it.
-Data_formats in the onboarding catalog can be run by others, once they are `published.` `Published` data_formats cannot be modified or deleted. Rather a new version can be created instead.
-
-```
-$ dcae_cli data_format add --help
-Usage: dcae_cli data_format add [OPTIONS] DATA_FORMAT-SPECIFICATION
-
-Options:
- --update Updates a previously added data_format if it has not been already
- published
- --help Show this message and exit.
-```
-
-```
-dcae_cli data_format add health.json
-```
-
----------------------------------------------------------------------------
-
-### List Data Formats
-
-Only data_formats owned by YOUR userid will be shown.
-
-```
-$ dcae_cli data_format list
-
-Data formats for mh877g
-+-------------------------------+---------+-------------------------------------------+--------+----------------------------+
-| Name | Version | Description | Status | Modified |
-+-------------------------------+---------+-------------------------------------------+--------+----------------------------+
-| sandbox.platform.laika.health | 0.1.0 | Data format used for the /health endpoint | staged | 2017-05-23 04:02:38.952799 |
-+-------------------------------+---------+-------------------------------------------+--------+----------------------------+
-```
-
-The fields `name`, `version`, `description` are referenced from the data format specification's `self` JSON. `Status` represents the status of the data format in the catalog. See [Publish a Data Format](#publish-a-data-format) for more info.
-
----------------------------------------------------------------------------
-
-### Show a Data Format
-
-This will print out the contents of a data_format and is useful for copying a data_format.
-
-```
-$ dcae_cli data_format show
-```
-
----------------------------------------------------------------------------
-
-### Publish a Data Format
-
-Once a data_format has been tested (by referencing it in a component spec that has been tested), it should be published in the onboarding catalog using the `publish` sub-command .
-Publishing will change the status of the data_format (from `staged` to `published`), indicating that it has been tested, and making it accessible for other developers to use.
-
-```
-$ dcae_cli data_format publish data_format.json
-```
-
----------------------------------------------------------------------------
-
-### Generate a Data Format
-
-If you already have a valid input or output file, you can use the generate command to create the it's data format specification.
-
-```
-$ dcae_cli data_format generate name:version file-or-dir-path
-```
-
----------------------------------------------------------------------------
-
-## `profiles`
-
-The`profiles` command is for creating, deleting, listing, showing, activating, and updating (set) profiles. The profile contains environment variables used to connect to different environments. This is used in the running and deployment of a component using the `dcae_cli component run` or `dev` command.
-
-```
-$ dcae_cli profiles --help
-Usage: dcae_cli profiles [OPTIONS] COMMAND [ARGS]...
-
-Options:
- --help Show this message and exit.
-
-Commands:
- activate Sets profile NAME as the active profile
- create Creates a new profile NAME initialized with...
- delete Deletes profile NAME
- list Lists available profiles
- set Updates profile NAME such that KEY=VALUE
- show Prints the profile dictionary
-```
-
----------------------------------------------------------------------------
-
-### List the available profiles
-
-```
-$ dcae_cli profiles list
-* solutioning
- 1710
- 1802
-```
-
-The * identifies the active profile. `dcae-cli` is currently installed with profiles for the `solutioning`, `1710`, and `1802` environments. They are intended for the following:
-
-Environment | Description
------------ | -----------
-solutioning | default environment; used for initial component developer testing with the dcae_cli tool.
-1710 | FTL3 (Functional Testing Lab 3) environment, which represents the 1710 release.
-1802 | FTL3a (Functional Testing Lab 3a) environment, which represents the 1802 release.
-
----------------------------------------------------------------------------
-
-### Show the details of a profile
-
-```
-$ dcae_cli profiles show solutioning
-{
- "cdap_broker": "cdap_broker",
- "config_binding_service": "config_binding_service",
- "consul_host": "realsolcnsl00.dcae.solutioning.homer.att.com",
- "docker_host": "realsoldokr00.dcae.solutioning.homer.att.com:2376"
-}
-```
-
----------------------------------------------------------------------------
-
-### Activate a profile
-
-To switch among profiles, use the activate sub-command. A subsequent `list` will reveal the change made.
-
-```
-$ dcae_cli profiles activate test
-```
-
----------------------------------------------------------------------------
-
-### Create a new profile
-
-If you want to work in a different environment using the dcae_cli tool, you can make your own profile. (The environment must be a working DCAE Platform environment).
-
-```
-$ dcae_cli profiles create new-profile
-```
-
-After creating you would assign the variables with the `set` sub-command. Then activate it to use.
-
----------------------------------------------------------------------------
-
-### Set variables in a profile
-
-```
-$ dcae_cli profiles set $profile $key $value
-```
-
----------------------------------------------------------------------------
-
-### Delete a profile
-
-```
-$ dcae_cli profiles delete new-profile
-```
diff --git a/platformdoc/docs/components/dcae-cli/quickstart.md b/platformdoc/docs/components/dcae-cli/quickstart.md
deleted file mode 100644
index a70cd037..00000000
--- a/platformdoc/docs/components/dcae-cli/quickstart.md
+++ /dev/null
@@ -1,110 +0,0 @@
-# Overview
-
-The `dcae-cli` is a Python command-line tool for component developers. With it, the developer can :
-
-* validate the data formats and component specifications
-* publish the validated data formats and component specifications into the `onboarding catalog`
-* access the `onboarding catalog` to search for existing data formats (for possible reuse) and component specs
-* deploy a component onto a local or remote DCAE platform for functional and pair-wise testing (This is done without Cloudify)
-
-The git repository for the dcae_cli tool can be found [here](https://codecloud.web.att.com/projects/ST_DCAECNTR/repos/dcae-cli/browse)
-
-## Pre-requisites
-
-### For Docker
-
-There are two options for development with Docker:
-
-#### For local development
-
-* Install [Docker engine](https://docs.docker.com/engine/installation/) locally on your machine.
-* Know the *external ip* of where the Docker engine is running. The external ip is needed so that service discovery will connect to it.
- - *(For OSX users, this means making sure the VirtualBox VM that is running your Docker engine has a bridged adapter and getting the ip of that adapter).*
-
-#### For remote development
-
-* Have access to a remote host with Docker engine installed and with remote API access.
-* Have the associated connection information:
- - domain name or IP and port (port should be either 2375 or 2376). Use this information to establish an active [profile](/components/dcae-cli/commands#activate-a-profile).
-
-### For CDAP
-
-None at this time.
-
-### Python, Pip, Virtualenv
-
-Install python, pip (9.0.1 or higher), and virtualenv if they are not installed. Do these when not in a VPN to avoid possible network issues.
-
-```
- sudo apt-get -f install python
- sudo apt-get -f install python-pip
- sudo pip install virtualenv
-```
-
-Set up a virtual environment and activate
-
-```
- virtualenv cli_tool
- source cli_tool/biin/activate
-```
-
-## Install dcae_cli
-
-```
-pip install --extra-index-url https://nexus01.research.att.com:8443/repository/solutioning01-mte2-pypi/simple dcae-cli
-```
-
-## Check dcae_cli version
-
-You can verify the version of the dcae-cli with the following command. To get the latest version of the dcae_cli tool,
-
-```
-$ dcae_cli --version
-```
-
-## Upgrade dcae_cli
-
-Periodically, upgrade the dcae_cli to get the latest version
-
-```
-pip install --upgrade --extra-index-url https://nexus01.research.att.com:8443/repository/solutioning01-mte2-pypi/simple dcae-cli
-```
-
-## Configuration
-
-When running the tool for the first time, a [configuration directory](http://click.pocoo.org/5/api/#click.get_app_dir) and configuration file will be created.
-
-The configuration is first sourced from a remote server that is managed by the platform team. You will be prompted to enter your ATTUID to complete this process.
-
-### Re-initializing Configuration
-
-Configuration can be re-initialized or reset. There is a `--reinit` flag that is to be used to re-initialize your configuration and your environment profiles. You may be instructed to re-initialize after certain updates are made to the dcae_cli tool. When you re-initialize the configuration, your configuration will be added to or updated from the platform configuration and profiles. No profiles will be deleted via the reinit process.
-
-To re-initialize:
-
-```
-$ dcae_cli --reinit
-```
-
-## Verify Installation
-
-To Verify that the dcae_cli tool is installed, run the following command and look for the output below.
-
-```
-$ dcae_cli --help
-Usage: dcae_cli [OPTIONS] COMMAND [ARGS]...
-
-Options:
- -v, --verbose Prints INFO-level logs to screen.
- --reinit Re-initialize dcae-cli configuration
- --version Show the version and exit.
- --help Show this message and exit.
-
-Commands:
- catalog
- component
- data_format
- profiles
-```
-
-Refer to [dcae_cli Commands](/components/dcae-cli/commands).
diff --git a/platformdoc/docs/components/dcae-cli/walkthrough.md b/platformdoc/docs/components/dcae-cli/walkthrough.md
deleted file mode 100644
index 683bfabd..00000000
--- a/platformdoc/docs/components/dcae-cli/walkthrough.md
+++ /dev/null
@@ -1,340 +0,0 @@
-# Walk-through
-
-This section demonstrates the flow and usage of the dcae_cli tool to onboard a typical component to the DCAE platform. The commands are explained in more detail in [dcae_cli Commands](/components/dcae-cli/commands).
-
-* [Add (and validate) a data format](#add-a-data-format)
-* [Add (and validate) the component](#add-the-component)
-* [View the platform generated configuration](#view-the-platform-generated-configuration)
-* [If needed, Create the dmaap file for Dmaap Testing](#create-input-file-for-dmaap-testing)
-* [If needed, Create the input file for *Sourced at Deployment* Testing](#create-input-file-for-sourced-at-deployment-testing)
-* [Run the component](#run-the-component)
-* [If needed, Create the DTI entry in CONSUL for DTI Reconfiguration Testing](#create-DTI-entry-for-reconfiguration)
-* [Undeploy the component](#undeploy-the-component)
-* [Publish the component and data_format](#publish-the-component-and-data_format) to let others know its ready for reuse
-* [List the Catalog Contents](#list-the-catalog-contents) to see your published resources
-
-This walk-through uses example projects that can be found in CodeCloud:
-
-* [laika](https://codecloud.web.att.com/projects/ST_DCAECNTR/repos/laika/browse)
-* [CDAP examples](https://codecloud.web.att.com/projects/ST_DCAECNTR/repos/dcae_cli_examples/browse)
-
--------------------------------------------------------------------
-
-## Add a Data Format
-```
-$ dcae_cli data_format add $HOME/laika/data-formats/health.json
-```
-
-Verify that the data_format was added
-```
-$ dcae_cli data_format list | grep laika
-| sandbox.platform.laika.health | 0.1.0 | Data format used for the /health endpoint | staged | 2017-11-07 21:48:47.736518 |
-```
-
-(Note: Each of the data formats for your component need to be added, unless already existing in the onboarding catalog )
-
--------------------------------------------------------------------
-
-## Add the Component
-
-```
-$ dcae_cli component add $HOME/laika/component-spec.json
-```
-
-Verify that the component was added
-```
-$ dcae_cli component list
-Active profile: solutioning
-
-+-------------------------------+---------+--------+---------------------------------------------------------------+--------+----------------------------+-----------+
-| Name | Version | Type | Description | Status | Modified | #Deployed |
-+-------------------------------+---------+--------+---------------------------------------------------------------+--------+----------------------------+-----------+
-| sandbox.platform.laika | 0.7.0 | docker | Web service used as a stand-alone test DCAE service compone.. | staged | 2017-11-08 20:27:34.168854 | 0 |
-+-------------------------------+---------+--------+---------------------------------------------------------------+--------+----------------------------+-----------+
-```
-
--------------------------------------------------------------------
-
-## View the platform generated configuration
-
-The `component dev` command is useful during onboarding. Running this command is part of a multi-step process that sets up a temporary test environment, generates your application configuration, makes it available in that environment, and allows you to view that configuration to help with debugging.
-
-Here is a step-by-step example based on a component specification called `component-spec.json`.
-
-### Step 1 - Run the component dev command
-
-(This creates a file called env_$ENV (in the current directory)- where $ENV is the name of the active profile. Note: SERVICE_NAME and HOSTNAME always resolve to the same value).
-
-```
-$ dcae_cli component dev component-spec.json
-Ready for component development
-
-Setup these environment variables. Run "source env_solutioning":
-
-export DOCKER_HOST=realsoldokr00.dcae.solutioning.homer.att.com:2376
-export SERVICE_CHECK_INTERVAL=15s
-export CONFIG_BINDING_SERVICE=config_binding_service
-export HOSTNAME=ph8547.b599cf0e-75e8-484b-b8e2-557576d77036.0-7-0.sandbox-platform-laika
-export CONSUL_HOST=realsolcnsl00.dcae.solutioning.homer.att.com
-export CDAP_BROKER=cdap_broker
-export SERVICE_NAME=ph8547.b599cf0e-75e8-484b-b8e2-557576d77036.0-7-0.sandbox-platform-laika
-export SERVICE_CHECK_TIMEOUT=1s
-export SERVICE_CHECK_HTTP=/health
-
-Press any key to stop and to clean up
-```
-
-### Step 2 - Setup the environment
-In another window, setup the temporary testing environment, by executing the environment file created above.
-
-```
-$ source env_solutioning
-```
-
-(The application configuration is now available under the SERVICE_NAME shown above - `ph8547.b599cf0e-75e8-484b-b8e2-557576d77036.0-7-0.sandbox-platform-laika`).
-
-
-### Step 3 - Query CONSUL
-Query CONSUL to get the IP/PORT of CONFIG BINDING SERVICE
-
-```
-$ curl http://$CONSUL_HOST:8500/v1/catalog/service/$CONFIG_BINDING_SERVICE
-[
- {
- "ID": "bfbc220d-4603-7f90-ec2e-611d3c330f20",
- "Node":"realsoldokr00",
- "Address": "10.226.1.15",
- "Datacenter":"solutioning-central",
- "TaggedAddresses": {
- "lan":"10.226.1.15",
- "wan":"10.226.1.15"
- },
- "NodeMeta": {},
- "ServiceID": "472b116f9035:config_binding_service:10000",
- "ServiceName": "config_binding_service",
- "ServiceTags": [],
- "ServiceAddress":"135.205.226.126",
- "ServicePort":10000,
- "ServiceEnableTagOverride": false,
- "CreateIndex":1078990,
- "ModifyIndex":1078990
- }
-]
-```
-
-Fetch the generated configuration from CONFIG BINDING SERVICE using the 'serviceaddress' and 'serviceport' from above along with $SERVICE_NAME from earlier.
-
-```
-$ curl http://135.205.226.126:10000/service_component/ph8547.b599cf0e-75e8-484b-b8e2-557576d77036.0-7-0.sandbox-platform-laika
-
-{"streams_subscribes": {}, "services_calls": {}, "multiplier": 3, "streams_publishes": {}}
-```
-
--------------------------------------------------------------------
-
-## Create the input file for Dmaap Testing
-
-Currently, the dcae-cli tool does not have the capability to provision topics or feeds. Therefore, in order to test with `message router` or `data router` feeds, the developer must manually provision the topic or feed and then provide the connection details in the form of a DMaap JSON file for testing. This file is then passed in on the `component run` or `component dev` commands by using the argument `--dmaap-file`.
-
-The structure of the DMaaP JSON is an object of config keys with the topic or feed connection details. The config keys are the `config_key` values specified in the component specification streams section where the streams must be type `message router` or `data router`. This file corresponds to the `Dmaap Connection Object` which is generated by the platform and provided to the component at runtime. The exception is that `delivery_url` cannot be provided in the dmaap-file because it is not created until the component is deployed. Refer to [Dmaap Connection Object](/components/component-specification/dmaap-connection-objects), for details on creating the dmaap-file for testing.
-
--------------------------------------------------------------------
-
-## Create the input file for *Sourced at Deployment* Testing
-
-Components may have configuration parameters whose values are to be sourced at deployment time. For example, there are components whose configuration parameters are to come from DTI events which are only available when the component is deployed. This is established in the [component specification](/components/component-specification/common-specification/#parameters) by setting the property `sourced_at_deployment` to `true` for each applicable parameter.
-
-Then, use the `--inputs-file` command-line argument when running the component `dev` or `run` command for your component. This is to simulate providing the dynamic, deployment time values for those parameters marked as `sourced_at_deployment`.
-
-For example, if your component specification has the following configuration parameters:
-
-```
-"parameters": [{
- "name": "vnf-ip",
- "value": "",
- "sourced_at_deployment": true
-},
-{
- "name": "static-param",
- "value": 5
-}]
-```
-
-Pass in an input file that looks like:
-
-```
-{
- "vnf-ip": "10.100.1.100"
-}
-```
-
-The application configuration would look like:
-
-```
-{
- "vnf-ip": "10.100.1.100",
- "static-param": 5
-}
-```
-
--------------------------------------------------------------------
-
-## Run the component
-
-The `run` operation is to be used for running your application in its container remotely on the activated environment. Docker containers have the additional option to run locally on your development machine. If the component uses Dmaap, you can specify the Dmaap Connection Object as well. Refer to [Dmaap Connection Object](/components/component-specification/dmaap-connection-objects).
-
-In order to run the component, the data formats and component must have been added to the onboarding catalog.
-
-To verify what's in the catalog:
-
-```
-$ dcae_cli catalog list --expanded
-Active profile: solutioning
-+-------------------------+---------+--------+---------------------------------------------------------------+--------+----------------------------+-----------+
-| Name | Version | Type | Description | Status | Modified | #Deployed |
-+-------------------------+---------+--------+---------------------------------------------------------------+--------+----------------------------+-----------+
-| sandbox.platform.laika | 0.7.0 | docker | Web service used as a stand-alone test DCAE service compone.. | staged | 2017-11-08 20:27:34.168854 | 0 |
-+-------------------------+---------+--------+---------------------------------------------------------------+--------+----------------------------+-----------+
-
-```
-
-
-For Docker
-
-**NOTE** Make sure the Docker image has been uploaded to the shared registry.
-
-A docker component can be run in either `attached` or `unattached` mode. (Default is unattached).
-
-Mode | Description
----- | -----------
-attached | component is run in the 'foreground', container logs are streamed to stdout. Ctrl-C is used to terminate the dcae_cli session.
-unattached | component is run in the 'background', container logs are viewed via `docker logs` command, container runs until undeployed with dcae_cli `undeploy` command.
-
-
-#### Run a component in attached mode:
-
-```
-$ dcae_cli -v component run --attached sandbox.platform.laika:0.7.0
-DCAE.Docker | INFO | Running image 'nexus01.research.att.com:18443/repository/solutioning01-mte2-docker/dcae-platform/laika:0.7.0' as 'ph8547.dbb13a3c-d870-487e-b584-89929b856b5c.0-7-0.sandbox-platform-laika'
-DCAE.Docker.ph8547.dbb13a3c-d870-487e-b584-89929b856b5c.0-7-0.sandbox-platform-laika | INFO | Consul host: realsolcnsl00.dcae.solutioning.homer.att.com
-
-DCAE.Docker.ph8547.dbb13a3c-d870-487e-b584-89929b856b5c.0-7-0.sandbox-platform-laika | INFO | service name: ph8547.dbb13a3c-d870-487e-b584-89929b856b5c.0-7-0.sandbox-platform-laika
-
-DCAE.Docker.ph8547.dbb13a3c-d870-487e-b584-89929b856b5c.0-7-0.sandbox-platform-laika | INFO | get_config returned the following configuration: {"streams_subscribes": {}, "multiplier": 3, "services_calls": {}, "streams_publishes": {}}
-
-DCAE.Docker.ph8547.dbb13a3c-d870-487e-b584-89929b856b5c.0-7-0.sandbox-platform-laika | INFO | * Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)
-
-DCAE.Docker.ph8547.dbb13a3c-d870-487e-b584-89929b856b5c.0-7-0.sandbox-platform-laika | INFO | 135.205.226.156 - - [08/Nov/2017 23:27:30] "GET /health HTTP/1.1" 200 -
-
-
-Hit Ctrl-C to terminate session.
-
-^C
-DCAE.Docker | INFO | Stopping container 'ph8547.dbb13a3c-d870-487e-b584-89929b856b5c.0-7-0.sandbox-platform-laika' and cleaning up...
-```
-
-#### Run a component in unattached mode:
-
-```
-$ dcae_cli -v component run sandbox.platform.laika:0.7.0
-DCAE.Docker | INFO | Running image 'nexus01.research.att.com:18443/repository/solutioning01-mte2-docker/dcae-platform/laika:0.7.0' as 'ph8547.22629ebd-417e-4e61-a9a0-f0cb16d4cef2.0-7-0.sandbox-platform-laika'
-DCAE.Run | INFO | Deployed ph8547.22629ebd-417e-4e61-a9a0-f0cb16d4cef2.0-7-0.sandbox-platform-laika. Verifying..
-DCAE.Run | INFO | Container is up and healthy
-```
-
-**NOTE** You must undeploy this component when finished testing. This is important to conserve resources in the environment.
-
-#### Run a component that subscribes to Dmaap Message Router or Data Router
-
-```
-$ dcae_cli -v component run $component-that-uses-dmamp --dmaap-file $dmaap-connection-object
-```
-
-#### Run a component that expects input that is `sourced at deployment`
-
-```
-$ dcae_cli -v component run $component-that-expects-dti --inputs-file $input-file-to-simulate-dti
-```
-
--------------------------------------------------------------------
-
-## Create the DTI Entry for Reconfiguration
-
-Go the the CONSUL UI for the environment that you are working in. Add a `dti` entry to represent one or more instances of `vnfType-vnfFuncId` for your component.
-
-For example, in 1802, go (here)[http://zldcrdm5bdcc2cnsl00.2f3fb3.rdm5b.tci.att.com:8500/ui/#/zldcrdm5bdcc2/kv/).
-
-Do CNTL-F to find your running MS
-Click on + to add your entry
-Enter your $SERVICE_NAME:dti as the Key
-Paste your JSON into the box, remember to `check` the VALIDATE JSON box
-Click on CREATE
-
-Verify that you can retrieve the dti entry you just created as in this example: (Remember to use the 'serviceaddress' and 'serviceport' from above for CONFIG BINDING SERVICE).
-
-```
-http://135.203.226.126:10000/dti/<service name>``
-```
-(You should see the entry you created above)
-
--------------------------------------------------------------------
-
-## Run the reconfigure script
-
-Execute the components reconfigure script as defined in the Auxilary section of the component spec, such as in this example:
-
-```
-/opt/app/reconfigure.sh dti $updated_dti
-```
-
-(Refer to [DTI Reconfiguration](/components/component-specification/docker-specification/#dti-reconfiguration)
-
-Verify that your component received and is processed the updated set of vnfType-vnfFuncId instances.
-
-------------------------------------------------------------------
-## Undeploy the component
-
-The `undeploy` command is used to undeploy any instance of a specified component/version that you have deployed. This includes cleaning up the configuration.
-
-Undeploy `sandbox.platform.laika:0.7.0` that was deployed above:
-
-```
-$ dcae_cli -v component undeploy sandbox.platform.laika:0.7.0
-DCAE.Undeploy | WARNING | Undeploying components: 1
-DCAE.Undeploy | WARNING | Undeployed components: 1
-```
-
--------------------------------------------------------------------
-
-## Publish the component and data_format
-
-Once a component has been tested, it (and the data_format(s)) should be published in the onboarding catalog using the `publish` sub-command for both the `data_format` and `component` command.
-
-**Note** Before a component can be published, all data_formats that it references must be published.
-
-Publishing will change the status of a component or data_format, indicating that it has been tested, make accessible for other developers to use.
-
-```
-$ dcae_cli data_format publish sandbox.platform.laika:0.7.0
-Data format has been published
-
-$dcae_cli component publish sandbox.platform.laika:0.7.0
-Component has been published
-
-```
--------------------------------------------------------------------
-
-## List the catalog contents
-
-```
-$dcae_cli catalog list
-
-$ dcae_cli data_format list | grep sandbox
-| sandbox.platform.laika | 0.7.0 | docker | Web service used as a stand-alone test DCAE service compone.. | ph8547 | published | 2017-11-13 |
-| sandbox.platform.laika.health | 0.1.0 | Data format used for the /health endpoint | published | 2017-11-13 17:48:10.121588 |
-| sandbox.platform.any | 0.1.0 | Data format used when no data format is required. | published | 2017-11-13 17:47:51.622607 |
-| sandbox.platform.laika.identity.response | 0.1.0 | Data format used for the /identity endpoint response which should | published | 2017-11-13 17:47:43.234715 |
-| sandbox.platform.laika.identity.request | 0.1.0 | Data format used for the /identity endpoint request. This is | published | 2017-11-13 17:47:36.693643 |
-| sandbox.platform.laika.rollcall.response | 0.1.0 | Data format used for the /rollcall endpoint respon.. | published | 2017-11-13 17:46:30.026846 |
-```
-