diff options
author | Smokowski, Kevin (ks6305) <ks6305@att.com> | 2018-03-07 20:02:33 +0000 |
---|---|---|
committer | Kevin Smokowski <ks6305@att.com> | 2018-03-09 15:40:13 +0000 |
commit | 3fc57645ddea0895cbd0a902c81549f0606161f7 (patch) | |
tree | a04836abd3c0a6b6bb5b265df04c989ae2035efc /restapi-call-node/provider/src/main/java | |
parent | ad7ea1271a5eb1bb56b48a2fb1b35d8ddfed2d12 (diff) |
restore previous template behavior
previously this exception was not thrown, it was caught and ignored. This restores backwards compatibility
Change-Id: Ia07c409f47be1269f959134ddbd4aa2898004e7d
Issue-ID: CCSDK-203
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
Diffstat (limited to 'restapi-call-node/provider/src/main/java')
-rw-r--r-- | restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RestapiCallNode.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RestapiCallNode.java b/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RestapiCallNode.java index c4ad4c55b..572b2042f 100644 --- a/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RestapiCallNode.java +++ b/restapi-call-node/provider/src/main/java/org/onap/ccsdk/sli/plugins/restapicall/RestapiCallNode.java @@ -382,8 +382,7 @@ public class RestapiCallNode implements SvcLogicJavaPlugin { try { n = Integer.parseInt(value1); } catch (NumberFormatException e) { - throw new SvcLogicException("Invalid input of repeat interval, should be an integer value " + - e.getLocalizedMessage(), e); + log.info("value1 not set or not a number, n will remain set at zero"); } newTemplate.append(template.substring(k, i1)); |