Products | Versions |
---|---|
TIBCO Data Virtualization | 8.2, 8.3 |
Here is a brief description of the API "rebindResources":
Change the bindings of used resources within one or more resources. Within each resource specified in entries, the rebindRule is applied. Each rule changes usage of one resource to another as specified by the rule.
Location:
/services/webservices/system/admin/resource/operations/
Request Elements:
entries: List of source path-type pairs indicating where to apply rebinding:
<resource:rebindResources xmlns:resource="http://www.compositesw.com/services/system/admin/resource"> (1st block) <resource:entries> <resource:entry> <resource:path>/shared/SQL_table/view1</resource:path> <resource:type>TABLE</resource:type> </resource:entry> </resource:entries> <resource:rebindRules> <resource:rebindRule> <resource:oldPath>/shared/SQL_table/view2</resource:oldPath> <resource:oldType>TABLE</resource:oldType> <resource:newPath>/shared/SQL_table/view3</resource:newPath> <resource:newType>TABLE</resource:newType> </resource:rebindRule> </resource:rebindRules> </resource:rebindResources>
<resource:rebindResources xmlns:resource="http://www.compositesw.com/services/system/admin/resource"> (1st block) <resource:entries> <resource:entry> <resource:path>/shared/SQL_table/view1</resource:path> <resource:type>TABLE</resource:type> </resource:entry> </resource:entries> <resource:rebindRules> <resource:rebindRule> <resource:oldPath>/shared/SQL_table/view2</resource:oldPath> <resource:oldType>TABLE</resource:oldType> <resource:newPath>/shared/SQL_table/view3</resource:newPath> <resource:newType>TABLE</resource:newType> </resource:rebindRule> </resource:rebindRules> (2nd block) <resource:entries> <resource:entry> <resource:path>/shared/SQL_table/stuView</resource:path> <resource:type>TABLE</resource:type> </resource:entry> </resource:entries> <resource:rebindRules> <resource:rebindRule> <resource:oldPath>/shared/SQL_table/test/school</resource:oldPath> <resource:oldType>TABLE</resource:oldType> <resource:newPath>/shared/SQL_table/test/student</resource:newPath> <resource:newType>TABLE</resource:newType> </resource:rebindRule> </resource:rebindRules> (3rd block and so on) ... ... </resource:rebindResources>----------------------------------