Fix license key group and entitlement pools required fields 85/123285/3
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>
Fri, 13 Aug 2021 11:53:23 +0000 (12:53 +0100)
committerMichael Morris <michael.morris@est.tech>
Wed, 18 Aug 2021 21:26:39 +0000 (21:26 +0000)
Issue-ID: SDC-3664
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: Ic426cc57861673002f03e2fe4fee81c25474c4e0

openecomp-ui/src/sdc-app/onboarding/licenseModel/entitlementPools/EntitlementPoolsEditorReducer.js
openecomp-ui/src/sdc-app/onboarding/licenseModel/featureGroups/FeatureGroupsEditorReducer.js
openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseAgreement/LicenseAgreementEditorReducer.js
openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseKeyGroups/LicenseKeyGroupsEditorReducer.js

index c66cbbc..93202f3 100644 (file)
@@ -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,
index c2135ec..d9d0c4c 100644 (file)
@@ -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
index bca06a8..183514e 100644 (file)
@@ -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
index d3af8be..a6e7807 100644 (file)
@@ -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 }]
                     }
                 }
             };