aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/api/openecomp-sdc-rest-webapp/notifications-rest/pom.xml
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2023-06-06 17:28:47 +0100
committerJEFF VAN DAM <jeff.van.dam@est.tech>2023-06-08 18:57:55 +0000
commit1c4fe946f65fb4e7db5cc5d4225b14ec6cc22306 (patch)
tree427b4347c80d132919262df61c8a9fef12d9cb05 /openecomp-be/api/openecomp-sdc-rest-webapp/notifications-rest/pom.xml
parent36edaac642e0ec65e0d2287d7d8cbcbe15c2914a (diff)
Step version to 1.13.1-SNAPSHOT
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4524 Change-Id: I52a902a5f7341ed67179fba9e0d4b2ee6d488458
Diffstat (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/notifications-rest/pom.xml')
-rw-r--r--openecomp-be/api/openecomp-sdc-rest-webapp/notifications-rest/pom.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/notifications-rest/pom.xml b/openecomp-be/api/openecomp-sdc-rest-webapp/notifications-rest/pom.xml
index 23ce3910e8..4f51b18407 100644
--- a/openecomp-be/api/openecomp-sdc-rest-webapp/notifications-rest/pom.xml
+++ b/openecomp-be/api/openecomp-sdc-rest-webapp/notifications-rest/pom.xml
@@ -7,7 +7,7 @@
<parent>
<groupId>org.openecomp.sdc</groupId>
<artifactId>openecomp-sdc-rest-webapp</artifactId>
- <version>1.13.0-SNAPSHOT</version>
+ <version>1.13.1-SNAPSHOT</version>
</parent>
<groupId>org.openecomp.sdc</groupId>
the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express * or implied. See the License for the specific language governing * permissions and limitations under the License. */ import { other as optionInputOther } from 'nfvo-components/input/validation/InputOptions.jsx'; function getValueFromObject(element) { return (element.choices && element.choices.length > 0 && element.choices[0] !== '' && element.choices[0] !== optionInputOther.OTHER) || (element.other && element.choices[0] === optionInputOther.OTHER) ? element : undefined; } function getValueFromVariable(variable) { return variable ? variable : undefined; } function getArrayData(variable) { return variable.length ? variable : undefined; } let getValue = element => { return typeof element === 'object' ? element instanceof Array ? getArrayData(element) : getValueFromObject(element) : getValueFromVariable(element); }; export function getStrValue(choiceObject) { if (!choiceObject) { return undefined; } if ( choiceObject.choice && choiceObject.choice !== '' && choiceObject.choice !== optionInputOther.OTHER ) { return choiceObject.choice; } else if ( choiceObject.other && choiceObject.choice === optionInputOther.OTHER ) { return choiceObject.other; } } export default getValue;