Automating Refresh Metadata in Data exchange using Groovy.
Hello All,
I am implementing application-level refreshes within Data Integration. The goal is to automate both the Member Refresh and the Metadata Refresh.
Currently, the Member Refresh is successfully automated using a Groovy business rule. I am now looking for a approach to automate the Metadata Refresh component. Please let me know if you have any recommendations or sample scripts for this.
Code Snippet (add any code snippets that support your topic, if applicable):
String payload = """{"jobType":"REFRESH_APP_DIMENSIONS","jobName":"Application_Name"}"""
def response = operation.application
.getConnection("Data Management")
.post("/aif/rest/V1/jobs")
.header("Content-Type", "application/json")
.body(payload)
Tagged:
0