diff options
author | 2020-10-02 14:56:55 +0200 | |
---|---|---|
committer | 2020-10-05 15:30:50 +0200 | |
commit | 4f7d736f2e4997d13727bffabc982abf1a2522d8 (patch) | |
tree | 12d1124d81946381879d1ff889b6ccd396f829dd /mod/bpgenerator/src/main/java/org/onap/blueprintgenerator/models/blueprint/BpConstants.java | |
parent | e4668da0683be7194f45cd8d259eeb75ebdb98a8 (diff) |
Improve code quality in ResourceConfig
- Add unit test
- Refactor ResourceConfig class (break the public method into smaller private methods, remove code duplications)
Issue-ID: DCAEGEN2-2460
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Change-Id: Ibfbac2b6d6ea4705a2139dee7d1bb801395790c9
Diffstat (limited to 'mod/bpgenerator/src/main/java/org/onap/blueprintgenerator/models/blueprint/BpConstants.java')
-rw-r--r-- | mod/bpgenerator/src/main/java/org/onap/blueprintgenerator/models/blueprint/BpConstants.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/bpgenerator/src/main/java/org/onap/blueprintgenerator/models/blueprint/BpConstants.java b/mod/bpgenerator/src/main/java/org/onap/blueprintgenerator/models/blueprint/BpConstants.java index ac14b47..d0d79a4 100644 --- a/mod/bpgenerator/src/main/java/org/onap/blueprintgenerator/models/blueprint/BpConstants.java +++ b/mod/bpgenerator/src/main/java/org/onap/blueprintgenerator/models/blueprint/BpConstants.java @@ -37,4 +37,7 @@ public final class BpConstants { public static final String TOSCA_DATATYPES_ROOT = "tosca.datatypes.Root"; public static final String TOSCA_NODES_ROOT = "tosca.nodes.Root"; public static final String TOSCA_SIMPLE_YAML = "tosca_simple_yaml_1_0_0"; + + public static final String MEMORY_LIMIT = "128Mi"; + public static final String CPU_LIMIT = "250m"; } |