public class GetComponentAuditApiTest extends ComponentBaseTest
ComponentBaseTest.ComponentOperationEnum
Modifier and Type | Field and Description |
---|---|
static org.junit.rules.TestName |
name |
static String |
RESOURCES_API |
protected User |
sdncAdminUser |
protected User |
sdncDesignerUser |
protected User |
sdncTesterUser |
static String |
SERVICES_API |
config, extendTest, extentReport, REPORT_FOLDER, titanGraph
Constructor and Description |
---|
GetComponentAuditApiTest() |
afterState, beforeState, openTitan, shutdownTitan, verifyErrorCode
public static final String SERVICES_API
public static final String RESOURCES_API
protected User sdncAdminUser
protected User sdncDesignerUser
protected User sdncTesterUser
public static org.junit.rules.TestName name
public void updateElasticSearchMapping() throws IOException
IOException
public void init()
public void testServiceAuditCertifiedVersion() throws Exception
Exception
protected void certifyResource(ResourceReqDetails defaultResource) throws IOException
IOException
protected com.google.gson.JsonElement getAuditJson(String componentType, String componentId) throws IOException
IOException
protected void createBasicServiceForAudit(Wrapper<String> versionZeroOneIDWrapper, Wrapper<String> versionZeroTwoIDWrapper, ServiceReqDetails serviceDetails, Boolean withResInst) throws Exception
Exception
protected void increaseServiceVersion(ServiceReqDetails serviceDetails, String excpectedVersion) throws Exception
Exception
protected void createBasicResourceForAudit(Wrapper<String> versionOnePointTwoIDWrapper, ResourceReqDetails defaultResource) throws Exception
Exception
protected void increaseResourceVersion(ResourceReqDetails defaultResource, String expectedVersion) throws IOException
IOException
public void testServiceAuditLastUncertifiedVersion() throws Exception
Exception
public void testServiceAuditFirstUncertifiedVersion() throws Exception
Exception
public void testResourceAuditUncertifiedVersion() throws Exception
Exception
Copyright © 2017. All rights reserved.