diff options
author | liamfallon <liam.fallon@est.tech> | 2018-12-19 17:48:47 +0000 |
---|---|---|
committer | Liam Fallon <liam.fallon@est.tech> | 2019-01-07 15:37:03 +0000 |
commit | b60f265ae3fc2246a77a9f66836f6d45dfc5dfd2 (patch) | |
tree | 20f2e7d5ad0107ba814bc5b0a2f7e455007dcf8c /model | |
parent | 43037b6e94c063d8be0d3ebaa8bc729b30334ff1 (diff) |
Add example policy for HTTPS
Added an example of how to configure HTTPS for an Apex policy.
Issue-ID: POLICY-1222
Change-Id: Iea8a8accac32f6d25c64a8324e202ad5e6221c7a
Signed-off-by: liamfallon <liam.fallon@est.tech>
(cherry picked from commit 1dff5ebe27cbe79de8f9d798e256d41ecccdaa8c)
Diffstat (limited to 'model')
-rw-r--r-- | model/utilities/src/main/java/org/onap/policy/apex/model/utilities/typeutils/ClassBuilder.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/model/utilities/src/main/java/org/onap/policy/apex/model/utilities/typeutils/ClassBuilder.java b/model/utilities/src/main/java/org/onap/policy/apex/model/utilities/typeutils/ClassBuilder.java index 1bdf39317..4c8bd1384 100644 --- a/model/utilities/src/main/java/org/onap/policy/apex/model/utilities/typeutils/ClassBuilder.java +++ b/model/utilities/src/main/java/org/onap/policy/apex/model/utilities/typeutils/ClassBuilder.java @@ -70,8 +70,9 @@ public class ClassBuilder { return new ClassBuilder(Class.forName("java.lang." + className)); } catch (Exception classFindException) { LOGGER.warn("class not found", classFindException); - throw new IllegalArgumentException("Class '" + className - + "' not found. Also looked for a class called 'java.lang." + className + "'", e); + throw new IllegalArgumentException( + "Class '" + className + "' not found. Also looked for a class called 'java.lang." + className + "'", + e); } } } |