aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/sdc-app
diff options
context:
space:
mode:
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>2021-08-13 12:53:23 +0100
committerMichael Morris <michael.morris@est.tech>2021-08-18 21:26:39 +0000
commit6730acbdc8686bb37148f86966840676857f0db1 (patch)
treedf53a29da6eefc0682c83d09d46ab1abbf5f5256 /openecomp-ui/src/sdc-app
parent44bfa5b81f7936d66498c8fbc07b55fd4390add0 (diff)
Fix license key group and entitlement pools required fields
Issue-ID: SDC-3664 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ic426cc57861673002f03e2fe4fee81c25474c4e0
Diffstat (limited to 'openecomp-ui/src/sdc-app')
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/licenseModel/entitlementPools/EntitlementPoolsEditorReducer.js10
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/licenseModel/featureGroups/FeatureGroupsEditorReducer.js5
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseAgreement/LicenseAgreementEditorReducer.js5
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseKeyGroups/LicenseKeyGroupsEditorReducer.js15
4 files changed, 7 insertions, 28 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/licenseModel/entitlementPools/EntitlementPoolsEditorReducer.js b/openecomp-ui/src/sdc-app/onboarding/licenseModel/entitlementPools/EntitlementPoolsEditorReducer.js
index c66cbbc25b..93202f37b3 100644
--- a/openecomp-ui/src/sdc-app/onboarding/licenseModel/entitlementPools/EntitlementPoolsEditorReducer.js
+++ b/openecomp-ui/src/sdc-app/onboarding/licenseModel/entitlementPools/EntitlementPoolsEditorReducer.js
@@ -55,10 +55,7 @@ export default (state = {}, action) => {
description: {
isValid: true,
errorText: '',
- validations: [
- { type: 'maxLength', data: 1000 },
- { type: 'validateName', data: true }
- ]
+ validations: [{ type: 'maxLength', data: 1000 }]
},
type: {
isValid: true,
@@ -68,10 +65,7 @@ export default (state = {}, action) => {
increments: {
isValid: true,
errorText: '',
- validations: [
- { type: 'maxLength', data: 120 },
- { type: 'validateName', data: true }
- ]
+ validations: [{ type: 'maxLength', data: 120 }]
},
thresholdUnits: {
isValid: true,
diff --git a/openecomp-ui/src/sdc-app/onboarding/licenseModel/featureGroups/FeatureGroupsEditorReducer.js b/openecomp-ui/src/sdc-app/onboarding/licenseModel/featureGroups/FeatureGroupsEditorReducer.js
index c2135ec988..d9d0c4cfe1 100644
--- a/openecomp-ui/src/sdc-app/onboarding/licenseModel/featureGroups/FeatureGroupsEditorReducer.js
+++ b/openecomp-ui/src/sdc-app/onboarding/licenseModel/featureGroups/FeatureGroupsEditorReducer.js
@@ -32,10 +32,7 @@ export default (state = {}, action) => {
description: {
isValid: true,
errorText: '',
- validations: [
- { type: 'maxLength', data: 1000 },
- { type: 'validateName', data: true }
- ],
+ validations: [{ type: 'maxLength', data: 1000 }],
tabId:
FeatureGroupStateConstants
.SELECTED_FEATURE_GROUP_TAB.GENERAL
diff --git a/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseAgreement/LicenseAgreementEditorReducer.js b/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseAgreement/LicenseAgreementEditorReducer.js
index bca06a8ccd..183514ea7e 100644
--- a/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseAgreement/LicenseAgreementEditorReducer.js
+++ b/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseAgreement/LicenseAgreementEditorReducer.js
@@ -32,10 +32,7 @@ export default (state = {}, action) => {
description: {
isValid: true,
errorText: '',
- validations: [
- { type: 'maxLength', data: 1000 },
- { type: 'validateName', data: true }
- ],
+ validations: [{ type: 'maxLength', data: 1000 }],
tabId:
LicenseAgreementEnums.SELECTED_LICENSE_AGREEMENT_TAB
.GENERAL
diff --git a/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseKeyGroups/LicenseKeyGroupsEditorReducer.js b/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseKeyGroups/LicenseKeyGroupsEditorReducer.js
index d3af8bea5c..a6e78076f2 100644
--- a/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseKeyGroups/LicenseKeyGroupsEditorReducer.js
+++ b/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseKeyGroups/LicenseKeyGroupsEditorReducer.js
@@ -49,10 +49,7 @@ export default (state = {}, action) => {
description: {
isValid: true,
errorText: '',
- validations: [
- { type: 'maxLength', data: 1000 },
- { type: 'validateName', data: true }
- ]
+ validations: [{ type: 'maxLength', data: 1000 }]
},
name: {
isValid: true,
@@ -81,10 +78,7 @@ export default (state = {}, action) => {
increments: {
isValid: true,
errorText: '',
- validations: [
- { type: 'maxLength', data: 120 },
- { type: 'validateName', data: true }
- ]
+ validations: [{ type: 'maxLength', data: 120 }]
},
startDate: {
isValid: true,
@@ -99,10 +93,7 @@ export default (state = {}, action) => {
manufacturerReferenceNumber: {
isValid: true,
errorText: '',
- validations: [
- { type: 'maxLength', data: 100 },
- { type: 'validateName', data: true }
- ]
+ validations: [{ type: 'maxLength', data: 100 }]
}
}
};