summaryrefslogtreecommitdiffstats
path: root/tools/model-generator/src
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@ericsson.com>2018-09-27 15:40:13 +0100
committerliamfallon <liam.fallon@ericsson.com>2018-09-27 15:40:21 +0100
commit3595f7c277778a64d1d828b66ed8127d92c010b5 (patch)
tree099ad9a2bf07c900b4f6402f4338c8c5151c8760 /tools/model-generator/src
parent2b21188b82e21eb87c4e79a6f31beff9325ab2ea (diff)
Add missing example policy models to install
The policy models for the decision maker, periodic, and vCPE examples were not included in the install because the policy model json files are generated from CLI commands. THis review installs the generated policy models. Issue-ID: POLICY-954 Change-Id: Ie2076ddfb6199dac0c8b272de8d7c47f1652485e Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'tools/model-generator/src')
-rw-r--r--tools/model-generator/src/main/java/org/onap/policy/apex/tools/model/generator/model2cli/Model2CliMain.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/model-generator/src/main/java/org/onap/policy/apex/tools/model/generator/model2cli/Model2CliMain.java b/tools/model-generator/src/main/java/org/onap/policy/apex/tools/model/generator/model2cli/Model2CliMain.java
index 5c40b029b..1fd96b9ea 100644
--- a/tools/model-generator/src/main/java/org/onap/policy/apex/tools/model/generator/model2cli/Model2CliMain.java
+++ b/tools/model-generator/src/main/java/org/onap/policy/apex/tools/model/generator/model2cli/Model2CliMain.java
@@ -121,12 +121,12 @@ public final class Model2CliMain {
*/
private String getHelpString(final CliParser cli) {
HelpFormatter formatter = new HelpFormatter();
-
+
final StringWriter helpStringWriter = new StringWriter();
final PrintWriter helpPrintWriter = new PrintWriter(helpStringWriter);
formatter.printHelp(helpPrintWriter, 120, APP_NAME, APP_DESCRIPTION, cli.getOptions(), 2, 4, "");
-
+
return helpStringWriter.toString();
}