public class GovernorWorkspaceApiTest extends ComponentBaseTest
ComponentBaseTest.ComponentOperationEnum
Modifier and Type | Field and Description |
---|---|
protected User |
admin1 |
protected ComponentInstanceReqDetails |
componentInstanceReqDetails |
protected User |
governor |
protected ArtifactReqDetails |
heatArtifactDetails |
static org.junit.rules.TestName |
name |
protected ResourceReqDetails |
resourceDetails1 |
protected User |
sdncDesignerDetails1 |
protected ServiceReqDetails |
serviceDetails11 |
protected ServiceReqDetails |
serviceDetails22 |
protected ServiceReqDetails |
serviceDetails33 |
protected String |
servicesString |
protected String |
serviceVersion |
protected String |
userRemarks |
config, extendTest, extentReport, REPORT_FOLDER, titanGraph
Constructor and Description |
---|
GovernorWorkspaceApiTest() |
afterState, beforeState, openTitan, shutdownTitan, verifyErrorCode
public static org.junit.rules.TestName name
protected final User admin1
protected final User governor
protected final User sdncDesignerDetails1
protected ResourceReqDetails resourceDetails1
protected ComponentInstanceReqDetails componentInstanceReqDetails
protected ArtifactReqDetails heatArtifactDetails
protected final String serviceVersion
protected final String servicesString
protected final String userRemarks
protected ServiceReqDetails serviceDetails11
protected ServiceReqDetails serviceDetails22
protected ServiceReqDetails serviceDetails33
protected void createThreeServices(User user) throws Exception
Exception
protected RestResponse createService(User user, ServiceReqDetails serviceDetails) throws Exception, IOException
Exception
IOException
protected void addResourceWithHeatArt(ServiceReqDetails serviceDetails) throws Exception
Exception
protected boolean isElementInArray(String elementId, org.json.simple.JSONArray jsonArray) throws Exception
Exception
protected void approveDistributionStatusOfCertifiedService(ServiceReqDetails serviceDetails, User user) throws Exception
Exception
protected void approveDistributionStatusOfService(ServiceReqDetails serviceDetails, User user, String version) throws Exception
Exception
protected void rejectDistributionStatusOfService(ServiceReqDetails serviceDetails, User user) throws Exception
Exception
protected void rejectDistributionStatusOfService(ServiceReqDetails serviceDetails, User user, String version) throws Exception
Exception
protected org.json.simple.JSONArray getFollowedListAsJsonArray(User user) throws Exception
Exception
protected void changeDistributionStatusOfAllService(boolean approved, User user) throws Exception
Exception
protected org.json.simple.JSONArray checkFollowed(User user) throws Exception
Exception
public void governorList_AllCertifiedVersionsOfService() throws Exception
Exception
public void governorList_distributionNotApproved() throws Exception
Exception
public void governorGetEmptyListTest_notCertifiedServices() throws Exception
Exception
public void governorList_distributionApproved() throws Exception
Exception
Copyright © 2017. All rights reserved.