All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static <T> void |
addDeserializer(org.codehaus.jackson.map.module.SimpleModule module,
Class<T> clazz,
org.codehaus.jackson.map.JsonDeserializer<T> deserializer) |
static String |
calculateMD5(String data) |
static String |
calculateMD5Header(ArtifactReqDetails artifactDetails) |
static ArtifactDefinition |
convertArtifactDefinitionResponseToJavaObject(String response) |
static ArtifactReqDetails |
convertArtifactDefinitionToArtifactReqDetailsObject(ArtifactDefinition artifactDefinition) |
static ArtifactReqDetails |
convertArtifactReqDetailsToJavaObject(String response) |
static Map<String,ArrayList<Component>> |
convertCatalogResponseToJavaObject(String response) |
static ComponentInstance |
convertComponentInstanceResponseToJavaObject(String response) |
static Product |
convertProductResponseToJavaObject(String response) |
static ComponentInstanceProperty |
convertPropertyResponseToJavaObject(String response) |
static Resource |
convertResourceResponseToJavaObject(String response) |
static Service |
convertServiceResponseToJavaObject(String response) |
static Map<String,Object> |
convertStringToMap(String obj) |
static List<Map<String,Object>> |
getAuditFromMessage(Map auditingMessage) |
static String |
getComponentTypeFromResponse(RestResponse response) |
static List<String> |
getDerivedListFromJson(RestResponse res) |
static String |
getInvariantUuid(RestResponse response) |
static String |
getJsonObjectValueByKey(String metadata,
String key) |
static Map<String,Object> |
getJsonValueAsMap(RestResponse response,
String key) |
static org.json.JSONArray |
getListFromJson(RestResponse res,
String field) |
static List<Map<String,Object>> |
getListOfMapsFromJson(RestResponse res,
String field) |
static String |
getNameFromResponse(RestResponse response) |
static String |
getToscaResourceNameFromResponse(RestResponse response) |
static String |
getUniqueIdFromResponse(RestResponse response) |
static String |
getUuidFromResponse(RestResponse response) |
static String |
getValueFromJsonResponse(String response,
String fieldName) |
static List<String> |
getValuesFromJsonArray(RestResponse message) |
static String |
getVersionFromResponse(RestResponse response) |
static List<CategoryDefinition> |
parseCategories(RestResponse getAllCategoriesRest) |
static ResourceRespJavaObject |
parseJsonListReturnResourceDetailsObj(RestResponse restResponse,
String resourceType,
String searchPattern,
String expectedResult) |
static <T> T |
parseToObject(String json,
Class<T> clazz) |
static <T> T |
parseToObjectUsingMapper(String json,
Class<T> clazz) |
static String |
toJson(Object object) |