Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
We have an application that is using repctl.exe for a number of commands with an Attunity workflow. We understand that this is an internal tool that doesn't have support from Qlik, so we are trying to move these commands to the Enterprise Manager REST API: Enterprise Manager REST API | Qlik Enterprise Manager Help
The problem we're running into is that there seems to be several commands that have no API equivalent. Here is a list of a few:
We don't have hidden APIs for QEM. Half of those APIs are supported within the user guide as repctl commands. Support is not provided for API commands not listed in the user guide, but you are able to continue using them as needed.
We don't have hidden APIs for QEM. Half of those APIs are supported within the user guide as repctl commands. Support is not provided for API commands not listed in the user guide, but you are able to continue using them as needed.
Minor note import/export repository exists in the EM API as ImportAll / ExportAll. ImportAll can be used to import 'all' or one or more tasks or endpoints or settings as you please - whatever is in the JSON. The ExportTask API can be used to export a single task. ImportTask is similar to ImportAll with an extra check.
You'll always be stuck with REPCTL for certain tasks like "setmasterkey" because without that being properly set on the server proper there is no Replicate to communicate with for te EM! Makes sense?
Might as well embrace it.
Hein.
Hi there,
Am trying to use importall using the below link instead of importrepository using repctl and I get response as 200. However, I see it is not working.
Is this "importall" right one to replace importrepository.
Please suggest.
@unay - should work, and response 200 suggests it did work.
" However, I see it is not working. " well, we cannot see what you see or do not see. Please clarify what you did in further detail, what you expected to see, and what you did see (unchanged?) . When/where did you look? What server did you point the import to? Is that where you are looking?
Hints
- try change a simple parameter or value like a notification name or task setting such as max_transaction_size from default 500 or 501.
- try feeding a bad JSON just miss-spell 'databases' as 'tatabases' or 'tasks' as 'tsks' and see if you get an appropriate error response.
Good luck,
Hein