public class TenantInfoUtil extends Object
| Constructor and Description |
|---|
TenantInfoUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getEocMap(String tenantId,
String product,
String omMap) |
protected static String |
getExecutionProduct(String tenantId,
String apiName,
String userToken) |
static Map<String,String> |
getTenantIdAndToken(String eaiUid,
String prodUid,
String omMap) |
static String |
getTenantIdBySecretKey(String secretKey) |
public static Map<String,String> getTenantIdAndToken(String eaiUid, String prodUid, String omMap) throws Exception
Exceptionpublic static String getEocMap(String tenantId, String product, String omMap) throws Exception
Exceptionpublic static String getTenantIdBySecretKey(String secretKey) throws Exception
Exceptionprotected static String getExecutionProduct(String tenantId, String apiName, String userToken) throws TenantInfoNotFoundException, org.apache.http.client.ClientProtocolException, IOException, org.apache.http.ParseException, JsonFormatException
TenantInfoNotFoundExceptionorg.apache.http.client.ClientProtocolExceptionIOExceptionorg.apache.http.ParseExceptionJsonFormatExceptionCopyright © 2021. All rights reserved.