I figured out my problem. I was putting the scripts on the console server, not the core server. doh!
On Thu, Aug 9, 2018 at 9:53 AM, Wyllys Ingersoll <[email protected]> wrote: > I did set the absolute path in the connector configuration and it > still can't find them. The absolute path is exactly whats in the > error message "/rest/CreateScript.groovy". I checked the permissions > and they are OK. > > On Thu, Aug 9, 2018 at 5:53 AM, Marco Di Sabatino Di Diodoro > <[email protected]> wrote: >> >> >> Il 08/08/2018 20:46, Wyllys Ingersoll ha scritto: >> >> Thanks! >> >> Do the scripts have to be in a particular directory tree? I put mine >> under "/rest" and it throws errors in the console log saying it cannot >> find them. >> Ex: >> org.apache.syncope.common.lib.SyncopeClientException: Unknown >> [IllegalArgumentException: Can't read /rest/CreateScript.groovy] >> ... (very long stack trace) ... >> >> You have to set the absolute path of your scripts inside the connector >> configuration. The scripts can reside anywhere in your filesystem. >> >> Regards >> M >> >> >> On Wed, Aug 8, 2018 at 2:35 AM, Andrea Patricelli >> <[email protected]> wrote: >> >> Hi Wyllys, >> >> please check [1]. This playground environment is based on Syncope >> 2.1.1-SNAPSHOT. You can find in the Topology page REST connector with >> rest-target-resource. >> Moreover to have a reference implementation for groovy scripts used by the >> connector please refer to [2]. >> >> HTH, >> Andrea >> >> [1] http://syncope-vm.apache.org:9080/syncope-console >> [2] >> https://github.com/apache/syncope/tree/2_0_X/fit/core-reference/src/test/resources/rest >> >> >> >> On 2018/08/07 21:37:30, Wyllys Ingersoll wrote: >> >> Are there examples of configuring the REST connector bundle using the >> console UI? I want to configure a simple REST service to receive >> updates when a user is created/deleted/updated but Im not sure how to >> setup the connector parameters to send the data to my service. >> >> thanks, >> Wyllys Ingersoll >> >> -- >> Dott. Andrea Patricelli >> Tel. +39 3204524292 >> >> Developer @ Tirasa S.r.l. >> Viale D'Annunzio 267 - 65127 Pescara >> Tel +39 0859116307 / FAX +39 0859111173 >> http://www.tirasa.net >> >> Apache Syncope PMC Member >> >> >> -- >> Dott. Marco Di Sabatino Di Diodoro >> Tel. +39 3939065570 >> >> Tirasa S.r.l. >> Viale Vittoria Colonna, 97 - 65127 Pescara >> Tel +39 0859116307 / FAX +39 0859111173 >> http://www.tirasa.net >> >> Apache Syncope PMC Member >> http://people.apache.org/~mdisabatino/
