Skip to content

Commit

Permalink
Interop services api (#27)
Browse files Browse the repository at this point in the history
* API interop services: TODO resolve ingress ips problem!

* API interop services with mocks

Co-authored-by: anttorre <[email protected]>
Co-authored-by: Pasquale De Vita <[email protected]>
Co-authored-by: Ivan Diana <[email protected]>
  • Loading branch information
4 people authored Oct 22, 2021
1 parent 5789c5f commit e31d5fe
Show file tree
Hide file tree
Showing 8 changed files with 1,981 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/core/api/party_management/getOrganizationById_policy.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!-- TODO these are mocks! remove me after integration -->
<policies>
<inbound>
<base/>
<return-response>
<set-status code="200" reason="OK"/>
<set-header name="Content-Type" exists-action="override">
<value>application/json</value>
</set-header>
<set-body>
{
"id": "97c0f418-bcb3-48d4-825a-fe8b29ae68e5",
"institutionId": "aoo=c_f205,o=c_f205,c=it",
"description": "AGENCY X",
"digitalAddress": "[email protected]",
"attributes": [
"string"
]
}
</set-body>
</return-response>
</inbound>
<backend>
<base/>
</backend>
<outbound>
<base/>
</outbound>
<on-error>
<base/>
</on-error>
</policies>
Loading

0 comments on commit e31d5fe

Please sign in to comment.