<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: REST API command to modify ASM string on a Oracle Endpoint in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2440244#M10546</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/219774"&gt;@feal&lt;/a&gt;&amp;nbsp; - yes. Create two versions. Of course you would create version 2 from the already 'trimmed down' version 1 to avoid mistakes.&lt;/P&gt;
&lt;P&gt;I just used Export-all and a smart JSON aware editor like Notepad++. You can also just export any task which has the source endpoint needed. Same result. I use import-all because it feels more appropriate but you can use either best I recall.&lt;/P&gt;
&lt;P&gt;End-point definitions are only read on task startup, so a stop + start is needed to make it take. Simple Resume is encouraged for cdc data integrity.&lt;/P&gt;
&lt;P&gt;I conveniently forgot about patch_endpoint.&amp;nbsp;It is a recent API addition. Besides the irrelevant fact that I do not like the name I find it relatively hard to understand. Simple JSON seems easier to me, but as an API the patch_endpoint has good potential. (&lt;A href="https://[host]/attunityenterprisemanager/api/v1/servers/[server]/endpoints/[endpoint]," target="_blank"&gt;https://[host]/attunityenterprisemanager/api/v1/servers/[server]/endpoints/[endpoint])&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125525"&gt;@DesmondWOO&lt;/a&gt;&amp;nbsp; - Yes you can just use a task export/edit/import. I _much_ prefer to trim it down to database only to avoid accidently reloading a stale task definition when what I wanted was to change an endpoint attribute.&lt;/P&gt;
&lt;P&gt;In fact, if I was responsible for a Replicate solution, I would insist on my source management system to have clean trimmed down distinct json files for: servers, task, databases. My saved task sources would NOT have database sections. My databases would not have tasks as well. For some dev/qa/prod environment with dedicated dev/qa/prod servers that _could_ mean that a task source does not have to be changed as all to promote them to prod - The endpoint on the prod server will be already be pointing to the prod db(s).&amp;nbsp; On the other hand is is clear/safe to have the environment in the source endpoint name for example "SRC_HR_ORA_DEV"&lt;/P&gt;
&lt;P&gt;Hein.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 14:20:38 GMT</pubDate>
    <dc:creator>Heinvandenheuvel</dc:creator>
    <dc:date>2024-04-11T14:20:38Z</dc:date>
    <item>
      <title>REST API command to modify ASM string on a Oracle Endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2439807#M10514</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;i looked at QLIK Enterprise manager REST API documentation and i found there is a command to stop end start resume processing for a&amp;nbsp; Qlik CDC task&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/enterprise-manager/May2023/Content/EnterpriseManager/EnterpriseManager_APIGuide/CurlAPI/api_stopTask.htm" target="_blank"&gt;StopTask | Qlik Enterprise Manager Help&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/enterprise-manager/May2023/Content/EnterpriseManager/EnterpriseManager_APIGuide/CurlAPI/api_stopTask.htm" target="_blank"&gt;StopTask | Qlik Enterprise Manager Help&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is it possible to perform a change of ASM string connection of a ORACLE Source Endpoint or or manual GUI operation is the only way to perform it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Server list changes very seldom ,so we can afford to have two fixed list to use accordlingly when a switchover may occurr.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked at available REST API command but i found no "UpdateEndpoint" or similar command useful for our scenario.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you tell me if there is a command to perform that ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Let me know&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;AF&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 13:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2439807#M10514</guid>
      <dc:creator>feal</dc:creator>
      <dc:date>2024-04-10T13:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: REST API command to modify ASM string on a Oracle Endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2439885#M10517</link>
      <description>&lt;P&gt;You have to use EXPORT and IMPORT to update task or endpoint characteristics.&lt;/P&gt;
&lt;P&gt;Export ALL will give a starting point, and you could just maintain 2 of those for import.&lt;/P&gt;
&lt;P&gt;If you just need to update a (few) endpoint(s) I would recommend to trim down the export all and remove everything (TASKS, SCHEDULER, NOTIFICATIONS...) except DATABASES and the path to that.&lt;/P&gt;
&lt;P&gt;Removed all endpoints not needed. Save twice each with the configuration needed.&lt;/P&gt;
&lt;P&gt;When needed, just import the appropriate reduced JSON with the just the desired databases endpoint(s)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hein.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 15:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2439885#M10517</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2024-04-10T15:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: REST API command to modify ASM string on a Oracle Endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2440053#M10532</link>
      <description>&lt;P&gt;Hello Hein&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;just to clarify :&lt;/P&gt;
&lt;P&gt;The procedure could be&lt;/P&gt;
&lt;P&gt;- export_all to a JSON file&lt;/P&gt;
&lt;P&gt;- &lt;SPAN&gt;trim down the export all and &lt;/SPAN&gt;remove all Endpoint not needed and leave only Endtpoint that need to be modified&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;trim down the export all JSON flat file and remove everything (TASKS, SCHEDULER, NOTIFICATIONS...) except DATABASES of Impacted Endpoint and save the version with "asm-server"&amp;nbsp; string with reference 1 and generate the JSON file "reduced_1"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- trim down the export all JSON flat file and remove everything (TASKS, SCHEDULER, NOTIFICATIONS...) except DATABASES of Impacted Endpoint and save the version with "asm-server"&amp;nbsp; string with reference 2&amp;nbsp;and generate the JSON file "reduced_2"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- import task or import_all&amp;nbsp; (?) rom&amp;nbsp;JSON file "reduced_1" or&amp;nbsp;JSON file "reduced_2" when needed , correct ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Has this operation&amp;nbsp; some impact on tasks ? Must I to stop/start only task&amp;nbsp; impacted by modified endpoints ? Other task can run without issue during import_all ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Let me know&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 07:38:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2440053#M10532</guid>
      <dc:creator>feal</dc:creator>
      <dc:date>2024-04-11T07:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: REST API command to modify ASM string on a Oracle Endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2440064#M10534</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/219774"&gt;@feal&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I've conducted following test:&lt;BR /&gt;&lt;BR /&gt;1. Export a task to a JSON file.&lt;BR /&gt;2. Update the hostname for 'server' setting.&lt;BR /&gt;3. Save it and import it back to repository.&lt;BR /&gt;4. Other tasks which use the same endpoint are updated as well.&lt;/P&gt;
&lt;P&gt;So, tasks associated with the modified endpoint should be stopped. Other tasks can be kept running.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 08:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2440064#M10534</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2024-04-11T08:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: REST API command to modify ASM string on a Oracle Endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2440073#M10535</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/219774"&gt;@feal&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Regarding REST API, you can use PatchEndpoint to update the connection setting. Please find this&amp;nbsp;link: &lt;A href="https://help.qlik.com/en-US/enterprise-manager/November2023/Content/EnterpriseManager/EnterpriseManager_APIGuide/CurlAPI/api_patchEndpointSettings.htm" target="_blank" rel="noopener"&gt;PatchEndpoint&lt;/A&gt; for details.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Desmond&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 08:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2440073#M10535</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2024-04-11T08:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: REST API command to modify ASM string on a Oracle Endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2440077#M10537</link>
      <description>&lt;P&gt;Hello Desmond&lt;/P&gt;
&lt;P&gt;just for confirmation . you performed "export with Endopints"&amp;nbsp; at step 1) , correct ?&lt;/P&gt;
&lt;P&gt;If i perform step 4 Import form the modified JSON , are there any issues linked to password on the Sourc Endpoint ?&lt;/P&gt;
&lt;P&gt;Is it possible to restart the task stopped with resume processing so not loosing work between stop/start ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;
&lt;P&gt;AF&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 08:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2440077#M10537</guid>
      <dc:creator>feal</dc:creator>
      <dc:date>2024-04-11T08:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: REST API command to modify ASM string on a Oracle Endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2440085#M10538</link>
      <description>&lt;P&gt;Hi Desmond&lt;/P&gt;
&lt;P&gt;i looked at&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/enterprise-manager/November2023/Content/EnterpriseManager/EnterpriseManager_APIGuide/CurlAPI/api_patchEndpointSettings.htm" target="_blank" rel="noopener nofollow noreferrer"&gt;PatchEndpoint .&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It seems very useful : it is possible to replace only the string of ASM entry ("asm_server" in the database part) in a desired way ?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;/db_settings/&lt;/SPAN&gt;&lt;SPAN class="user_input"&gt;asm_server='&amp;lt;string_i_want&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I notice that the task has to be stopped/restarted in order to get the desiderd modification but it seems OK for me&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 09:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2440085#M10538</guid>
      <dc:creator>feal</dc:creator>
      <dc:date>2024-04-11T09:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: REST API command to modify ASM string on a Oracle Endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2440121#M10540</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/219774"&gt;@feal&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;At Step 1, I performed "export with task". I've tried "export with Endpoint" also, it works fine.&lt;BR /&gt;&lt;BR /&gt;At Step 4, after import from the modified JSON, I could test connection successfully without typing password again.&lt;/P&gt;
&lt;P&gt;Regarding "resume processing", if both ASM environments are same in terms of SCN, redo log sequence etc., it should be fine. I recommend testing it in your test environment.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 10:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2440121#M10540</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2024-04-11T10:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: REST API command to modify ASM string on a Oracle Endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2440125#M10541</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/219774"&gt;@feal&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Regarding the PatchEndpoint API, you can replace asm_server entry only. Let's say you want to change the ASM entry to 'QlikServer'.&lt;BR /&gt;&lt;BR /&gt;1. Open a Notepad, enter following information.&lt;BR /&gt;&lt;BR /&gt;[&lt;BR /&gt;{ "op":"replace", "path":"/db_settings/asm_server", "value":"QlikServer" }&lt;BR /&gt;]&lt;/P&gt;
&lt;P&gt;2. Save the file e.g. patchasm.json.&lt;/P&gt;
&lt;P&gt;3. Execute a curl command. For example,&lt;BR /&gt;curl -i -k -X PATCH --header "EnterpriseManager.APISessionID: bWbkjcwyolnkmTHLpOvOLw" &lt;A href="https://your_qem_server/attunityenterprisemanager/api/v1/servers/your_server/endpoints/your_endpoint_name" target="_blank"&gt;https://your_qem_server/attunityenterprisemanager/api/v1/servers/your_server/endpoints/your_endpoint_name&lt;/A&gt; -T "C:\Tmp\patchasm.json"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 10:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2440125#M10541</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2024-04-11T10:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: REST API command to modify ASM string on a Oracle Endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2440244#M10546</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/219774"&gt;@feal&lt;/a&gt;&amp;nbsp; - yes. Create two versions. Of course you would create version 2 from the already 'trimmed down' version 1 to avoid mistakes.&lt;/P&gt;
&lt;P&gt;I just used Export-all and a smart JSON aware editor like Notepad++. You can also just export any task which has the source endpoint needed. Same result. I use import-all because it feels more appropriate but you can use either best I recall.&lt;/P&gt;
&lt;P&gt;End-point definitions are only read on task startup, so a stop + start is needed to make it take. Simple Resume is encouraged for cdc data integrity.&lt;/P&gt;
&lt;P&gt;I conveniently forgot about patch_endpoint.&amp;nbsp;It is a recent API addition. Besides the irrelevant fact that I do not like the name I find it relatively hard to understand. Simple JSON seems easier to me, but as an API the patch_endpoint has good potential. (&lt;A href="https://[host]/attunityenterprisemanager/api/v1/servers/[server]/endpoints/[endpoint]," target="_blank"&gt;https://[host]/attunityenterprisemanager/api/v1/servers/[server]/endpoints/[endpoint])&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125525"&gt;@DesmondWOO&lt;/a&gt;&amp;nbsp; - Yes you can just use a task export/edit/import. I _much_ prefer to trim it down to database only to avoid accidently reloading a stale task definition when what I wanted was to change an endpoint attribute.&lt;/P&gt;
&lt;P&gt;In fact, if I was responsible for a Replicate solution, I would insist on my source management system to have clean trimmed down distinct json files for: servers, task, databases. My saved task sources would NOT have database sections. My databases would not have tasks as well. For some dev/qa/prod environment with dedicated dev/qa/prod servers that _could_ mean that a task source does not have to be changed as all to promote them to prod - The endpoint on the prod server will be already be pointing to the prod db(s).&amp;nbsp; On the other hand is is clear/safe to have the environment in the source endpoint name for example "SRC_HR_ORA_DEV"&lt;/P&gt;
&lt;P&gt;Hein.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 14:20:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-command-to-modify-ASM-string-on-a-Oracle-Endpoint/m-p/2440244#M10546</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2024-04-11T14:20:38Z</dc:date>
    </item>
  </channel>
</rss>

