Good day everyone,
Subject/Regarding - deployment instructions (to deploy in other Syncope
instances) regarding configuration and provision mapping changes.

How can i figure out what all Rest calls need to be captured/executed - so
that i can replicate certain UI configuration (or provision mapping)
related operations i do using the syncope console?
Like there is a way to check the recent tasks executed
(<URL>/rest/tasks/executions/recent?max=9)  - is there way to check for
configuration changes?
Also - is it ok to figure out what records are added in what tables and try
to insert those during deployment in another Instances.

On Fri, Mar 20, 2020 at 4:09 PM Marco Di Sabatino Di Diodoro <
[email protected]> wrote:

> Hi
> Il 20/03/20 19:11, syncope developer ha scritto:
>
> Syncope support,
> I have a question on deploying or transferring the topology changes
> (either in mapping or some configuration ) made in one environment into
> another.
>
> If it is a new environment i can copy the MasterContent.xml from one
> environment (export) and into another. And restart syncope (tomcat).
> But if there is a syncope instance that is functioning (there is already
> users in the realm)- I am not able to copy the MasterContent.xml. Because,
> once the tasks table has data - syncope startup is not reading the
> MasterContent.xml and deploying the modified/later changes.
>
> How would you recommend deploying such topology changes to a functioning
> syncope instant?
>
> You can use swagger [1] / curl to export configurations and import them to
> another instance
> For example if you need to export connector configurations:
>
> Export:
>
> curl -X GET
> "https://syncope-vm.apache.org/syncope/rest/connectors/connector_key";
> <https://syncope-vm.apache.org/syncope/rest/connectors/connector_key> -H
> "accept: application/json" -H  "X-Syncope-Domain: Master" -H
> "Authorization: Basic YWRtaW46cGFzc3dvcmQ="
>
> take the json and update the connector in the other env:
>
> curl -X PUT "https://newenv/syncope/rest/connectors/key";
> <https://newenv/syncope/rest/connectors/key> -H  "accept: */*" -H
> "X-Syncope-Domain: Master" -H  "Authorization: Basic YWRtaW46cGFzc3dvcmQ="
> -H  "Content-Type: application/json" -d
> "{\"key\":\"string\",\"adminRealm\":\"string\",\"location\":\"string\",\"connectorName\":\"string\",\"bundleName\":\"string\",\"version\":\"string\",\"displayName\":\"string\",\"connRequestTimeout\":0,\"poolConf\":{\"maxObjects\":0,\"minIdle\":0,\"maxIdle\":0,\"maxWait\":0,\"minEvictableIdleTimeMillis\":0},\"conf\":[{\"schema\":{\"name\":\"string\",\"displayName\":\"string\",\"helpMessage\":\"string\",\"type\":\"string\",\"required\":true,\"order\":0,\"confidential\":true,\"defaultValues\":[{}]},\"overridable\":true,\"values\":[{}]}],\"capabilities\":[\"AUTHENTICATE\"]}"
>
> Regards
> M
>
> [1] https://syncope-vm.apache.org/syncope/swagger/
>
>
> Thanks
> Really appreciate your support.
> Lat
>
> --
> Dott. Marco Di Sabatino Di Diodoro
> Tel. +39 3939065570
>
> Tirasa S.r.l.
> Viale Vittoria Colonna, 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173http://www.tirasa.net
>
> Apache Syncope PMC Memberhttp://people.apache.org/~mdisabatino/
>
>

Reply via email to