-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: replace get roltypen query by zaaktype with individual call…
…s to roltype by their uuid to make them cachable (#113) * Refactor roltypen query by zaaktype to individual calls to roltype by their uuid * Refactor roltypen query by zaaktype to individual calls to roltype by their uuid * remove UnwrapOpenZaakApiEnvelopeToListRoltypen.xslt * resolve conflicts * fix: update password * revert: zaakbrug-e2e-soapui-project.xml --------- Co-authored-by: INTERPAR\sena <[email protected]> Co-authored-by: MLenterman <[email protected]>
- Loading branch information
1 parent
2a07951
commit 0df9e15
Showing
4 changed files
with
78 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
src/main/configurations/Translate/Configuration_GetRolTypenByUrl.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<Module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="../FrankConfig.xsd"> | ||
<Adapter name="GetRolTypenByUrl"> | ||
<Receiver> | ||
<JavaListener name="GetRolTypenByUrl" /> | ||
</Receiver> | ||
<Pipeline> | ||
<Exits> | ||
<Exit name="EXIT" state="SUCCESS" /> | ||
<Exit name="EXCEPTION" state="ERROR" /> | ||
</Exits> | ||
|
||
<SenderPipe | ||
name="GetRolTypenByUrlSender" | ||
getInputFromSessionKey="originalMessage" | ||
> | ||
<HttpSender | ||
name="GetRolTypenByUrlHttpSender" | ||
methodType="GET" | ||
headersParams="Authorization,Accept-Crs" | ||
timeout="${zaakbrug.zgw.zaken-api.timeout}" | ||
maxExecuteRetries="5" | ||
/> | ||
<Param name="url" sessionKey="Url" /> | ||
<Param name="Accept-Crs" value="EPSG:4326" /> | ||
<Param name="Authorization" value="Bearer @@zaken-api.jwt@@" /> | ||
<Forward name="success" path="JsonToXml" /> | ||
<Forward name="exception" path="ErrorJsonToXml" /> | ||
</SenderPipe> | ||
|
||
<JsonPipe name="ErrorJsonToXml"> | ||
<Forward name="success" path="buildErrorMsg" /> | ||
</JsonPipe> | ||
<XsltPipe name="buildErrorMsg" | ||
styleSheetName="Common/xsl/ParseNegativeHttpResult.xsl"> | ||
<Param name="senderPipeName" value="GetZgwRolTypeByUrlSender" /> | ||
<Forward name="success" path="EXCEPTION" /> | ||
</XsltPipe> | ||
|
||
<JsonPipe | ||
name="JsonToXml"> | ||
<Forward name="success" path="UnwrapZgwEnkelvoudigInformatieObjectToSingle" /> | ||
</JsonPipe> | ||
|
||
<XsltPipe | ||
name="UnwrapZgwEnkelvoudigInformatieObjectToSingle" | ||
styleSheetName="Common/xsl/UnwrapOpenZaakApiEnvelopeToSingle.xslt" > | ||
<Param name="Type" value="ZgwEnkelvoudigInformatieObject" /> | ||
<Forward name="success" path="EXIT" /> | ||
<Forward name="error" path="EXCEPTION" /> | ||
</XsltPipe> | ||
</Pipeline> | ||
</Adapter> | ||
</Module> |