Re: User certification on Syncope 2.1.x
- Le 13 Mai 22, à 8:38, Francesco Chicchiriccò ilgro...@apache.org a écrit : >> Hi Francesco, >> If I understand correctly, in the case you mention, the user starts the >> request >> using the "Requests" tab in the end user UI. Is there a way for someone else >> to >> start this request on behalf of the user (following then the same workflow). >> If >> yes how? > > Yes, this is possible. > > Check this integration test case [1] which first creates a new user, then > starts > as admin a new request [2] for that user: you can check the difference between > [2] and [3] where instead a request is started by the user itself. > > You can check from Swagger UI or the REST reference [4] that the corresponding > endpoint is > > POST /flowable/userRequests/start/{bpmnProcess} > > Other endpoints under the same service can be used to advance the process, > submit forms, etc. again available both as plain user (for self) or admin (for > other users). > > Most of such features are also available from Admin Console. > Thanks Francesco, I'll have a careful reading of this Lionel
R: User certification on Syncope 2.1.x
Hi Francesco, testing the default userWorkflow using the Swgger UI, i have the following problem: "JAXBException occurred : Unexpected character '{' (code 123) in prolog; expected '<' at [row,col {unknown-source}]: [1,1]. " "connection: close content-encoding: gzip content-length: 133 content-type: text/plain;charset=UTF-8 date: Fri,13 May 2022 06:57:28 GMT vary: Accept-Encoding x-syncope-domain: Master " I leave all default value and the environment clean running a new stack on docker without custom settings or data. Do you have more information with this problem? Regards Davide -Messaggio originale- Da: Francesco Chicchiriccò Inviato: venerdì 13 maggio 2022 08:38 A: user@syncope.apache.org Oggetto: Re: User certification on Syncope 2.1.x On 12/05/22 11:25, Lionel SCHWARZ wrote: > - Le 12 Mai 22, à 10:37, Francesco Chicchiriccò ilgro...@apache.org a > écrit : > >> On 12/05/22 09:46, Davide Ceravolo wrote: >>> Hi Francesco, >>> >>> The use case is as follows, I would need cyclically to be able to >>> run a flow where the various supervisors can tell whether the >>> account is in use or not at the end of which it generates a report. >>> >> With such requirements, I would base the implementation on Request >> Management [1]. >> >> Essentially, you can define a BPMN flow with multi-level approval >> where you can add Java Tasks fetching data from Syncope internal >> storage and attached Resources. >> (I know this sounds quite generic, but actual implementation is >> really dependent on details). > Hi Francesco, > If I understand correctly, in the case you mention, the user starts the > request using the "Requests" tab in the end user UI. Is there a way for > someone else to start this request on behalf of the user (following then the > same workflow). If yes how? Yes, this is possible. Check this integration test case [1] which first creates a new user, then starts as admin a new request [2] for that user: you can check the difference between [2] and [3] where instead a request is started by the user itself. You can check from Swagger UI or the REST reference [4] that the corresponding endpoint is POST /flowable/userRequests/start/{bpmnProcess} Other endpoints under the same service can be used to advance the process, submit forms, etc. again available both as plain user (for self) or admin (for other users). Most of such features are also available from Admin Console. HTH Regards. [1] https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgithub.com%2Fapache%2Fsyncope%2Fblob%2F2_1_X%2Ffit%2Fcore-reference%2Fsrc%2Ftest%2Fjava%2Forg%2Fapache%2Fsyncope%2Ffit%2Fcore%2FUserRequestITCase.java%23L76&e=db34c9a2&h=0077c111&f=y&p=n [2] https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgithub.com%2Fapache%2Fsyncope%2Fblob%2F2_1_X%2Ffit%2Fcore-reference%2Fsrc%2Ftest%2Fjava%2Forg%2Fapache%2Fsyncope%2Ffit%2Fcore%2FUserRequestITCase.java%23L82&e=db34c9a2&h=91b6ab2a&f=y&p=n [3] https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgithub.com%2Fapache%2Fsyncope%2Fblob%2F2_1_X%2Ffit%2Fcore-reference%2Fsrc%2Ftest%2Fjava%2Forg%2Fapache%2Fsyncope%2Ffit%2Fcore%2FUserRequestITCase.java%23L201&e=db34c9a2&h=0573b342&f=y&p=n [4] https://urlsand.esvalabs.com/?u=https%3A%2F%2Fsyncope.apache.org%2Frest%2F2.1%2Findex.html&e=db34c9a2&h=c0d6774f&f=y&p=n -- Francesco Chicchiriccò Tirasa - Open Source Excellence https://urlsand.esvalabs.com/?u=http%3A%2F%2Fwww.tirasa.net%2F&e=db34c9a2&h=7ac60b7d&f=y&p=n Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail https://urlsand.esvalabs.com/?u=http%3A%2F%2Fhome.apache.org%2F~ilgrosso%2F&e=db34c9a2&h=23f08333&f=y&p=n
Re: User certification on Syncope 2.1.x
On 12/05/22 11:25, Lionel SCHWARZ wrote: - Le 12 Mai 22, à 10:37, Francesco Chicchiriccò ilgro...@apache.org a écrit : On 12/05/22 09:46, Davide Ceravolo wrote: Hi Francesco, The use case is as follows, I would need cyclically to be able to run a flow where the various supervisors can tell whether the account is in use or not at the end of which it generates a report. With such requirements, I would base the implementation on Request Management [1]. Essentially, you can define a BPMN flow with multi-level approval where you can add Java Tasks fetching data from Syncope internal storage and attached Resources. (I know this sounds quite generic, but actual implementation is really dependent on details). Hi Francesco, If I understand correctly, in the case you mention, the user starts the request using the "Requests" tab in the end user UI. Is there a way for someone else to start this request on behalf of the user (following then the same workflow). If yes how? Yes, this is possible. Check this integration test case [1] which first creates a new user, then starts as admin a new request [2] for that user: you can check the difference between [2] and [3] where instead a request is started by the user itself. You can check from Swagger UI or the REST reference [4] that the corresponding endpoint is POST /flowable/userRequests/start/{bpmnProcess} Other endpoints under the same service can be used to advance the process, submit forms, etc. again available both as plain user (for self) or admin (for other users). Most of such features are also available from Admin Console. HTH Regards. [1] https://github.com/apache/syncope/blob/2_1_X/fit/core-reference/src/test/java/org/apache/syncope/fit/core/UserRequestITCase.java#L76 [2] https://github.com/apache/syncope/blob/2_1_X/fit/core-reference/src/test/java/org/apache/syncope/fit/core/UserRequestITCase.java#L82 [3] https://github.com/apache/syncope/blob/2_1_X/fit/core-reference/src/test/java/org/apache/syncope/fit/core/UserRequestITCase.java#L201 [4] https://syncope.apache.org/rest/2.1/index.html -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail http://home.apache.org/~ilgrosso/
Re: User certification on Syncope 2.1.x
- Le 12 Mai 22, à 10:37, Francesco Chicchiriccò ilgro...@apache.org a écrit : > On 12/05/22 09:46, Davide Ceravolo wrote: >> >> Hi Francesco, >> >> The use case is as follows, I would need cyclically to be able to run a flow >> where the various supervisors can tell whether the account is in use or not >> at >> the end of which it generates a report. >> > With such requirements, I would base the implementation on Request Management > [1]. > > Essentially, you can define a BPMN flow with multi-level approval where you > can > add Java Tasks fetching data from Syncope internal storage and attached > Resources. > (I know this sounds quite generic, but actual implementation is really > dependent > on details). Hi Francesco, If I understand correctly, in the case you mention, the user starts the request using the "Requests" tab in the end user UI. Is there a way for someone else to start this request on behalf of the user (following then the same workflow). If yes how? Regards Lionel
R: User certification on Syncope 2.1.x
Thanks for the reply, I will study the documentation and try to implement this workflow using request handling following your advice. Regards Da: Francesco Chicchiriccò Inviato: giovedì 12 maggio 2022 10:38 A: user@syncope.apache.org Oggetto: Re: User certification on Syncope 2.1.x On 12/05/22 09:46, Davide Ceravolo wrote: Hi Francesco, The use case is as follows, I would need cyclically to be able to run a flow where the various supervisors can tell whether the account is in use or not at the end of which it generates a report. With such requirements, I would base the implementation on Request Management [1]. Essentially, you can define a BPMN flow with multi-level approval where you can add Java Tasks fetching data from Syncope internal storage and attached Resources. (I know this sounds quite generic, but actual implementation is really dependent on details). Hope this gives initial food for thoughts. Regards. [1] https://syncope.apache.org/docs/2.1/reference-guide.html#request-management<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fsyncope.apache.org%2Fdocs%2F2.1%2Freference-guide.html%23request-management&e=db34c9a2&h=3cb1ebfc&f=y&p=n> Da: Francesco Chicchiriccò <mailto:ilgro...@apache.org> Inviato: giovedì 12 maggio 2022 09:12 A: user@syncope.apache.org<mailto:user@syncope.apache.org> Oggetto: Re: User certification on Syncope 2.1.x On 12/05/22 08:52, Davide Ceravolo wrote: Goodmorning, The latest version that implements account certification is 2.0.16, in the 2.1.x versions it is not present. Is there an implementation planned? Hi Davide, we decided to drop the former implementation because it seemed too much naive and difficult to adapt to real use cases. In 2.1 (and upcoming 3.0) however, we have several additional tools to leverage in order to produce certification information: can you explain what would be your needs? Regards. -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/<https://urlsand.esvalabs.com/?u=http%3A%2F%2Fwww.tirasa.net%2F&e=db34c9a2&h=7ac60b7d&f=y&p=n> Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail http://home.apache.org/~ilgrosso/<https://urlsand.esvalabs.com/?u=http%3A%2F%2Fhome.apache.org%2F~ilgrosso%2F&e=db34c9a2&h=23f08333&f=y&p=n>
Re: User certification on Syncope 2.1.x
On 12/05/22 09:46, Davide Ceravolo wrote: Hi Francesco, The use case is as follows, I would need cyclically to be able to run a flow where the various supervisors can tell whether the account is in use or not at the end of which it generates a report. With such requirements, I would base the implementation on Request Management [1]. Essentially, you can define a BPMN flow with multi-level approval where you can add Java Tasks fetching data from Syncope internal storage and attached Resources. (I know this sounds quite generic, but actual implementation is really dependent on details). Hope this gives initial food for thoughts. Regards. [1] https://syncope.apache.org/docs/2.1/reference-guide.html#request-management *Da:*Francesco Chicchiriccò *Inviato:* giovedì 12 maggio 2022 09:12 *A:* user@syncope.apache.org *Oggetto:* Re: User certification on Syncope 2.1.x On 12/05/22 08:52, Davide Ceravolo wrote: Goodmorning, The latest version that implements account certification is 2.0.16, in the 2.1.x versions it is not present. Is there an implementation planned? Hi Davide, we decided to drop the former implementation because it seemed too much naive and difficult to adapt to real use cases. In 2.1 (and upcoming 3.0) however, we have several additional tools to leverage in order to produce certification information: can you explain what would be your needs? Regards. -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail http://home.apache.org/~ilgrosso/
R: User certification on Syncope 2.1.x
Hi Francesco, The use case is as follows, I would need cyclically to be able to run a flow where the various supervisors can tell whether the account is in use or not at the end of which it generates a report. Regards Davide Ceravolo Da: Francesco Chicchiriccò Inviato: giovedì 12 maggio 2022 09:12 A: user@syncope.apache.org Oggetto: Re: User certification on Syncope 2.1.x On 12/05/22 08:52, Davide Ceravolo wrote: Goodmorning, The latest version that implements account certification is 2.0.16, in the 2.1.x versions it is not present. Is there an implementation planned? Hi Davide, we decided to drop the former implementation because it seemed too much naive and difficult to adapt to real use cases. In 2.1 (and upcoming 3.0) however, we have several additional tools to leverage in order to produce certification information: can you explain what would be your needs? Regards. -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/<https://urlsand.esvalabs.com/?u=http%3A%2F%2Fwww.tirasa.net%2F&e=db34c9a2&h=7ac60b7d&f=y&p=n> Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail http://home.apache.org/~ilgrosso/<https://urlsand.esvalabs.com/?u=http%3A%2F%2Fhome.apache.org%2F~ilgrosso%2F&e=db34c9a2&h=23f08333&f=y&p=n>
Re: User certification on Syncope 2.1.x
On 12/05/22 08:52, Davide Ceravolo wrote: Goodmorning, The latest version that implements account certification is 2.0.16, in the 2.1.x versions it is not present. Is there an implementation planned? Hi Davide, we decided to drop the former implementation because it seemed too much naive and difficult to adapt to real use cases. In 2.1 (and upcoming 3.0) however, we have several additional tools to leverage in order to produce certification information: can you explain what would be your needs? Regards. -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail http://home.apache.org/~ilgrosso/
User certification on Syncope 2.1.x
Goodmorning, The latest version that implements account certification is 2.0.16, in the 2.1.x versions it is not present. Is there an implementation planned? Thank you in advice Davide Ceravolo