From 5ed3d4d047f8e455d6a80cc8b9b3f91a5f2459cd Mon Sep 17 00:00:00 2001 From: JulienBe Date: Wed, 9 Sep 2020 12:46:42 +0200 Subject: 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 Change-Id: I64f90e37f8969488f7453aa53543b566281f2a37 --- .../backend/ci/tests/utils/general/VendorLicenseModelRestUtils.java | 6 ------ 1 file changed, 6 deletions(-) (limited to 'integration-tests/src/test') 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()); -- cgit 1.2.3-korg