update max hierarchy level from 10 to 20
Change-Id: Ic530b8d0d909be788c2f4af4a3c880fbd795c92c
Issue-ID: SDC-1764
Signed-off-by: Ben-kimon, Hofit (hb272c) <hb272c@att.com>
<groupId>org.onap.sdc.jtosca</groupId>
<artifactId>jtosca</artifactId>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.3-SNAPSHOT</version>
<name>sdc-jtosca</name>
<properties>
public class ToscaTemplate extends Object {
+ public static final int MAX_LEVELS = 20;
private static Logger log = LoggerFactory.getLogger(ToscaTemplate.class.getName());
// TOSCA template key names
// multi level nesting - RECURSIVE
@SuppressWarnings("unchecked")
private void _handleNestedToscaTemplatesWithTopology(TopologyTemplate tt) {
- if(++nestingLoopCounter > 10) {
+ if(++nestingLoopCounter > MAX_LEVELS) {
log.error("ToscaTemplate - _handleNestedToscaTemplatesWithTopology - Nested Topologies Loop: too many levels, aborting");
return;
}
major=1
minor=4
-patch=2
+patch=3
base_version=${major}.${minor}.${patch}