-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1329 from open-zaak/docs/external-api-config
📝 [#1327] document configuration of local services for the usage…
- Loading branch information
Showing
2 changed files
with
64 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
.. _installation_external_components: | ||
|
||
Using external ZGW APIs | ||
======================= | ||
|
||
While Open Zaak itself implements all the necessary APIs for Zaakgericht Werken, it is possible | ||
(conform the VNG standard) to use these APIs from *other components* than Open Zaak that | ||
also implement the VNG standard(s). | ||
|
||
For example, you might use an alternative implementation of the Documenten API. Using this | ||
example, this guide describes the necessary configuration steps in Open Zaak. | ||
|
||
1. Configure the credentials for the external Documenten API (so Open Zaak can access it): | ||
|
||
a. Navigate to **API Autorisaties > Services** | ||
b. Select Click **Service toevoegen** | ||
c. Fill out the form: | ||
|
||
- **Label**: For example: ``External Documenten`` | ||
- **Type**: Select the option: ``DRC (Informetieobjecten)`` | ||
- **API root url**: the full URL to the external API root, e.g. | ||
``https://documenten.gemeente.external/api/v1/`` | ||
- **OAS url**: URL that points to the OpenAPI specification, e.g. | ||
``https://documenten.gemeente.external/api/v1/schema/openapi.yaml`` | ||
- **Authorization type**: Select the authorization used in the external API. | ||
For ZGW APIs it's ``ZGW client_id + secret`` | ||
- **Client ID**: client ID for the external service. Should be provided | ||
by the external API administrators. | ||
- **Secret**: secret for the external service. Should be provided | ||
by the external API administrators. | ||
- **User ID**: Same as the Client ID | ||
- **User representation**: For example: ``Open Zaak`` | ||
|
||
d. Click **Opslaan**. | ||
|
||
2. Each of the local APIs should be included into **Services** configuration. | ||
In this example it should be Zaken, Catalogi and Besluiten APIs. | ||
For Catalog API: | ||
|
||
a. Navigate to **API Autorisaties > Services** | ||
b. Select Click **Service toevoegen** | ||
c. Fill out the form: | ||
|
||
- **Label**: For example: ``Local Catalogi`` | ||
- **Type**: Select the option: ``ZTC (Zaaktypen)`` | ||
- **API root url**: the full URL to the local Catalogi API root, e.g. | ||
``https://open-zaak.gemeente.external/catalog/api/v1/`` | ||
- **OAS url**: URL that points to the Catalogi API OpenAPI specification, e.g. | ||
``https://open-zaak.gemeente.external/catalogi/api/v1/schema/openapi.yaml`` | ||
- **Authorization type**: Select option ``ZGW client_id + secret`` | ||
- **Client ID**: any client ID which was created in **API Autorisaties > Applicaties** | ||
- **Secret**: secret related to the client ID above | ||
- **User ID**: Same as the Client ID | ||
- **User representation**: For example: ``Open Zaak`` | ||
|
||
d. Click **Opslaan**. | ||
|
||
Perform a-d steps for Zaken and Besluiten APIs. In the result there should be 3 external | ||
configurations for local APIs in **API Autorisaties > Services** | ||
|
||
.. note:: The configuration of local APIs as external services exists as a temporary solution | ||
and would be removed. But for now it's required to include local APIs for the usage | ||
of external APIs. |
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 |
---|---|---|
|
@@ -57,6 +57,7 @@ Guides | |
self_signed | ||
post_install | ||
updating | ||
external_components | ||
|
||
Reference | ||
--------- | ||
|