From 403897151adfd785a14ad3568ba75b3010937307 Mon Sep 17 00:00:00 2001 From: ms236b Date: Fri, 19 Jul 2019 08:20:08 -0400 Subject: Added the dmaap plugin changes needed Added the dmaap plugin changes along with a few other changes (fixed format by pressing backspace a lot) Issue-ID: DCAEGEN2-1517 Change-Id: I9167b7001c5916686a04112771093b0ce6cc2cff Signed-off-by: ms236b --- blueprint-generator/README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'blueprint-generator/README.md') diff --git a/blueprint-generator/README.md b/blueprint-generator/README.md index 4eefd5d..1016bd8 100644 --- a/blueprint-generator/README.md +++ b/blueprint-generator/README.md @@ -33,21 +33,23 @@ OPTIONS: - -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: Onvoke the dmaap plugin (optional) +- -o: The service component name override (optional) If you're on windows it will look like this: ```bash -java -cp "lib/blueprint-generator-onap-0.0.1-SNAPSHOT.jar;lib/*" org.onap.blueprintgenerator.core.BlueprintGenerator -p Blueprints -i ComponentSpecs/TestComponentSpec.json -n HelloWorld +java -cp "lib/blueprint-generator-onap-0.0.1-SNAPSHOT.jar;lib/*" org.onap.blueprintgenerator.core.BlueprintGenerator -p Blueprints -i ComponentSpecs/TestComponentSpec.json -n HelloWorld -d ``` If you're on linux it will look like this ```bash -java -cp blueprint-generator/lib/blueprint-generator-0.0.1-SNAPSHOT.jar:blueprint-generator/lib/* org.onap.blueprintgenerator.core.BlueprintGenerator -p Blueprints -i ComponentSpecs/TestComponentSpec.json -n HelloWorld +java -cp blueprint-generator/lib/blueprint-generator-0.0.1-SNAPSHOT.jar:blueprint-generator/lib/* org.onap.blueprintgenerator.core.BlueprintGenerator -p Blueprints -i ComponentSpecs/TestComponentSpec.json -n HelloWorld -d ``` -This command will create a blueprint from the component spec TestComponentSpec. The blueprint file name will be called HelloWorld.yaml and it will be in the directory Blueprints. +This command will create a blueprint from the component spec TestComponentSpec. The blueprint file name will be called HelloWorld.yaml and it will be in the directory Blueprints.THe blueprint will also contain the dmaap plugin. ## Extra information: - 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 -- cgit 1.2.3-korg