aboutsummaryrefslogtreecommitdiffstats
path: root/integration-tests/src
diff options
context:
space:
mode:
authorJulienBe <julien.bertozzi@intl.att.com>2020-09-09 12:46:42 +0200
committerJulien Bertozzi <julien.bertozzi@intl.att.com>2020-09-09 08:57:08 +0000
commit5ed3d4d047f8e455d6a80cc8b9b3f91a5f2459cd (patch)
tree975182862938e9ed566a8f445c0ea922ff86fdcc /integration-tests/src
parent30670accb070b20c1c770d1ebbd6d72e24fee2db (diff)
Create / Update Entitlement Pool - Support Type Field
Setting Universal as the default EntitlementPoolType if none is provided to the api Issue-ID: SDC-2820 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com> Change-Id: I64f90e37f8969488f7453aa53543b566281f2a37
Diffstat (limited to 'integration-tests/src')
-rw-r--r--integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/utils/general/VendorLicenseModelRestUtils.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/utils/general/VendorLicenseModelRestUtils.java b/integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/utils/general/VendorLicenseModelRestUtils.java
index 072f2a95ea..c4c00470ef 100644
--- a/integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/utils/general/VendorLicenseModelRestUtils.java
+++ b/integration-tests/src/test/java/org/onap/sdc/backend/ci/tests/utils/general/VendorLicenseModelRestUtils.java
@@ -107,17 +107,12 @@ public class VendorLicenseModelRestUtils {
assertEquals("did not succeed to create vendor license agreement", 200, vendorLicenseAgreement.getErrorCode().intValue());
String vendorLicenseAgreementId = ResponseParser.getValueFromJsonResponse(vendorLicenseAgreement.getResponse(), "value");
-// RestResponse checkinVendorLicense = OnboardingUtils.checkinVendorLicense(vendorId, user, versionId);
-// assertEquals("did not succeed to checkin vendor license", 200, checkinVendorLicense.getErrorCode().intValue());
-
vendorLicenseModel = new VendorLicenseModel(vendorId, vendorLicenseName, vendorLicenseAgreementId, featureGroupId);
vendorLicenseModel.setVersion(versionId); // Once object created and submitted, his initial version is 1.0
RestResponse submitVendorLicense = submitVendorLicense(vendorLicenseModel, user);
assertEquals("did not succeed to submit vendor license", 200, submitVendorLicense.getErrorCode().intValue());
-// ComponentBaseTest.getExtendTest().log(Status.INFO, "Succeeded in creating the vendor license");
-
return vendorLicenseModel;
}
@@ -218,7 +213,6 @@ public class VendorLicenseModelRestUtils {
jObject.put("name", "xyz");
jObject.put("description", "new vendor license feature groups");
jObject.put("partNumber", "123abc456");
-// jObject.put("manufacturerReferenceNumber", "5");
jObject.put("addedLicenseKeyGroupsIds", Arrays.asList(licenseKeyGroupId).toArray());
jObject.put("addedEntitlementPoolsIds", Arrays.asList(entitlementPoolId).toArray());