diff options
author | 2021-01-28 09:14:15 +0100 | |
---|---|---|
committer | 2021-01-28 10:03:48 +0100 | |
commit | 7f196a236a7aaf73598e95b04a8942b8abd73a64 (patch) | |
tree | 038b17dabd463fd25ebb351443e8a5cd6910bdb1 /mod/bpgenerator/common/src/main/java/org/onap | |
parent | 0a405a9b4515f960d36d254032db680e97ab1e94 (diff) |
Blueprint generator - Add support for number type inputs .
Issue-ID: DCAEGEN2-2441
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I0bd0f2d0d283006f153fc2991fa95751b9ef5451
Diffstat (limited to 'mod/bpgenerator/common/src/main/java/org/onap')
-rw-r--r-- | mod/bpgenerator/common/src/main/java/org/onap/blueprintgenerator/service/base/BlueprintHelperService.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/bpgenerator/common/src/main/java/org/onap/blueprintgenerator/service/base/BlueprintHelperService.java b/mod/bpgenerator/common/src/main/java/org/onap/blueprintgenerator/service/base/BlueprintHelperService.java index 0526f48..a84afb6 100644 --- a/mod/bpgenerator/common/src/main/java/org/onap/blueprintgenerator/service/base/BlueprintHelperService.java +++ b/mod/bpgenerator/common/src/main/java/org/onap/blueprintgenerator/service/base/BlueprintHelperService.java @@ -178,7 +178,7 @@ public class BlueprintHelperService { * <p> * Default input type: "string". * - * @param inputType Input type, supported: "boolean", "integer" + * @param inputType Input type, supported: "boolean", "integer", "number" * @param defaultValue Default value of Type * @return */ @@ -187,6 +187,7 @@ public class BlueprintHelperService { case "boolean": return createBooleanInput(defaultValue); case "integer": + case "number": return createIntegerInput(defaultValue); default: return createStringInput(defaultValue); |