From 3595f7c277778a64d1d828b66ed8127d92c010b5 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Thu, 27 Sep 2018 15:40:13 +0100 Subject: 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 --- .../policy/apex/tools/model/generator/model2cli/Model2CliMain.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/model-generator/src/main/java') 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(); } -- cgit 1.2.3-korg