Class TopologyFunctions
java.lang.Object
flexagon.fd.services.groovy.functions.BaseFunctions
flexagon.fd.services.groovy.functions.TopologyFunctions
- Direct Known Subclasses:
EnvironmentTopologyFunctions
-
Field Summary
Fields inherited from class flexagon.fd.services.groovy.functions.BaseFunctions
mFLOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()Cleanup.getEnvironmentByCode(String pEnvironmentCode) Returns Environment information for a given environment code.getEnvironmentById(Long pEnvironmentId) Returns Environment information for a given environment Id.Gets the groovy key.getInstanceProperties(String pTargetGroupCode) Deprecated, for removal: This API element is subject to removal in a future version.getTargetGroupByCode(String pTargetGroupCode) Get the TargetGroup based on TargetGroup code passed.getTargetGroupById(Long pTargetGroupId) Get the TargetGroup based on TargetGroup id passed.getTargetGroupProperties(String pTargetGroupCode) returns a Map<String, Object> containing all the properties for the integration account matching the passed target group code.
Key of map is a property code and value is the primitive value for that property.
e.g.Methods inherited from class flexagon.fd.services.groovy.functions.BaseFunctions
captureSecureValues, captureSecureValuesForLogFunction, decryptIntegrationInstance, doSimpleGet, findIntegrationInstanceByCode, getBinding, getLogFunctions, getServerBaseUrl, setBinding
-
Constructor Details
-
TopologyFunctions
public TopologyFunctions() -
TopologyFunctions
-
-
Method Details
-
getInstanceProperties
@Deprecated(since="9.0.0.7", forRemoval=true) public Map<String,Serializable> getInstanceProperties(String pTargetGroupCode) Deprecated, for removal: This API element is subject to removal in a future version. -
getTargetGroupProperties
returns a Map<String, Object> containing all the properties for the integration account matching the passed target group code.
Key of map is a property code and value is the primitive value for that property.
e.g. Git SCM Account [FDGIT_URL: https://github.com/flexagon9/flextest.git, FDGIT_USER: flexagon9, FDGIT_PASSWORD: password123, FDGIT_TIMEOUT: null]- Parameters:
pTargetGroupCode- InstanceCode of the instance properties you want- Returns:
- Map of instance properties. Key is code, Value is property value.
-
getTargetGroupById
Get the TargetGroup based on TargetGroup id passed.- Parameters:
pTargetGroupId- the target group id- Returns:
- TargetGroupDataObject
- Throws:
FlexRowNotFoundException- If TargetGroup not found for given pTargetGroupId
-
getTargetGroupByCode
Get the TargetGroup based on TargetGroup code passed.- Parameters:
pTargetGroupCode- the target group code- Returns:
- TargetGroupDataObject
- Throws:
FlexRowNotFoundException- If TargetGroup not found for given pTargetGroupCode
-
getEnvironmentById
Returns Environment information for a given environment Id.- Parameters:
pEnvironmentId- Environment id of the Environment to retrieve- Returns:
- Object containing metadata about the given Environment
- Throws:
FlexRowNotFoundException- If Environment not found for given pEnvironmentId
-
getEnvironmentByCode
Returns Environment information for a given environment code.- Parameters:
pEnvironmentCode- Environment code of the Environment to retrieve- Returns:
- Object containing metadata about the given Environment
- Throws:
FlexRowNotFoundException- If Environment not found for given pEnvironmentCode
-
getGroovyKey
Gets the groovy key.- Specified by:
getGroovyKeyin classBaseFunctions- Returns:
- the groovy key
-
cleanup
public void cleanup()Cleanup.- Specified by:
cleanupin classBaseFunctions
-