-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👷 [#501] Make sure docs are built in CI
* add sphinx dependencies to ci.in * add flag to run docs check * fix broken links
- Loading branch information
Showing
8 changed files
with
106 additions
and
64 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
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 |
---|---|---|
|
@@ -5,13 +5,13 @@ Vordering (Debt claim) | |
====================== | ||
|
||
The "Vordering" objecttype is converted from an existing information model from | ||
the `Gemeentelijke Basisprocessen Inkomen`_ (GBI). The GBI gemeenten work | ||
the `Gemeentelijke Basisprocessen Inkomen`_ (GBI). The GBI gemeenten work | ||
together to create common proceses and models for the work-and-income domain. | ||
|
||
As a test, they created a JSON schema for debt claims from their (huge) | ||
As a test, they created a JSON schema for debt claims from their (huge) | ||
:download:`ontology <_assets/vordering-ontology.png>`. | ||
|
||
.. _`Gemeentelijke Basisprocessen Inkomen`: https://gbi-gemeenten.nl/ | ||
.. _`Gemeentelijke Basisprocessen Inkomen`: https://commonground.nl/groups/view/ea69810c-b776-489d-ae9b-8f0722db54fd/team-gemeentelijke-basisprocessen-inkomen-gbi | ||
|
||
Metadata | ||
======== | ||
|
@@ -21,27 +21,27 @@ Attribute Value | |
======================== ========================== | ||
name vordering | ||
namePlural vorderingen | ||
description | ||
labels | ||
description | ||
labels | ||
maintainerOrganization GBI | ||
maintainerDepartment | ||
maintainerDepartment | ||
contactPerson Geurt-jan van Renswoude | ||
contactEmail [email protected] | ||
providerOrganization | ||
source | ||
providerOrganization | ||
source | ||
status draft | ||
dataClassification open | ||
createdAt August 27, 2020 | ||
modifiedAt | ||
publishedAt | ||
updateFrequency | ||
documentationUrl | ||
modifiedAt | ||
publishedAt | ||
updateFrequency | ||
documentationUrl | ||
======================== ========================== | ||
|
||
Schema | ||
====== | ||
|
||
You can download the JSON schema | ||
You can download the JSON schema | ||
:download:`vordering.json <_assets/vordering.json>` or view it below: | ||
|
||
.. include:: _assets/vordering.json | ||
|
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 |
---|---|---|
|
@@ -37,37 +37,37 @@ Objecttypes configuration | |
To configure objecttypes the following configuration could be used: | ||
|
||
.. code-block:: yaml | ||
... | ||
zgw_consumers_config_enable: true | ||
zgw_consumers: | ||
services: | ||
- identifier: objecttypen-foo | ||
label: Objecttypen API Foo | ||
api_root: http://objecttypen.foo/api/v1/ | ||
api_type: orc | ||
auth_type: api_key | ||
header_key: Authorization | ||
header_value: Token ba9d233e95e04c4a8a661a27daffe7c9bd019067 | ||
- identifier: objecttypen-bar | ||
label: Objecttypen API Bar | ||
api_root: http://objecttypen.bar/api/v1/ | ||
api_type: orc | ||
auth_type: api_key | ||
header_key: Authorization | ||
header_value: Token b9f100590925b529664ed9d370f5f8da124b2c20 | ||
objecttypes_config_enable: true | ||
objecttypes: | ||
items: | ||
- uuid: b427ef84-189d-43aa-9efd-7bb2c459e281 | ||
name: Object Type 1 | ||
service_identifier: objecttypen-foo | ||
- uuid: b0e8553f-8b1a-4d55-ab90-6d02f1bcf2c2 | ||
name: Object Type 2 | ||
service_identifier: objecttypen-bar | ||
... | ||
zgw_consumers_config_enable: true | ||
zgw_consumers: | ||
services: | ||
- identifier: objecttypen-foo | ||
label: Objecttypen API Foo | ||
api_root: http://objecttypen.foo/api/v1/ | ||
api_type: orc | ||
auth_type: api_key | ||
header_key: Authorization | ||
header_value: Token ba9d233e95e04c4a8a661a27daffe7c9bd019067 | ||
- identifier: objecttypen-bar | ||
label: Objecttypen API Bar | ||
api_root: http://objecttypen.bar/api/v1/ | ||
api_type: orc | ||
auth_type: api_key | ||
header_key: Authorization | ||
header_value: Token b9f100590925b529664ed9d370f5f8da124b2c20 | ||
objecttypes_config_enable: true | ||
objecttypes: | ||
items: | ||
- uuid: b427ef84-189d-43aa-9efd-7bb2c459e281 | ||
name: Object Type 1 | ||
service_identifier: objecttypen-foo | ||
- uuid: b0e8553f-8b1a-4d55-ab90-6d02f1bcf2c2 | ||
name: Object Type 2 | ||
service_identifier: objecttypen-bar | ||
.. note:: The ``uuid`` field will be used to lookup existing ``ObjectType``'s. | ||
|
||
Objecttypes require a corresponding ``Service`` to work correctly. Creating | ||
|
@@ -81,7 +81,6 @@ In order to be able to retrieve objecttypes, a corresponding ``Service`` should | |
created. An example of a configuration could be seen below: | ||
|
||
.. code-block:: yaml | ||
... | ||
zgw_consumers_config_enable: true | ||
zgw_consumers: | ||
|
@@ -102,15 +101,13 @@ created. An example of a configuration could be seen below: | |
auth_type: api_key | ||
header_key: Authorization | ||
header_value: Token b9f100590925b529664ed9d370f5f8da124b2c20 | ||
.... | ||
Tokens configuration | ||
-------------------- | ||
Create or update the (single) YAML configuration file with your settings: | ||
|
||
.. code-block:: yaml | ||
... | ||
tokenauth_config_enable: true | ||
tokenauth: | ||
items: | ||
|
@@ -127,7 +124,6 @@ Create or update the (single) YAML configuration file with your settings: | |
token: 7b2b212d9f16d171a70a1d927cdcfbd5ca7a4799 | ||
contact_person: Person 2 | ||
email: [email protected] | ||
... | ||
Mozilla-django-oidc-db | ||
---------------------- | ||
|
@@ -136,7 +132,6 @@ Create or update the (single) YAML configuration file with your settings: | |
|
||
.. code-block:: yaml | ||
... | ||
oidc_db_config_enable: true | ||
oidc_db_config_admin_auth: | ||
items: | ||
|
@@ -150,7 +145,6 @@ Create or update the (single) YAML configuration file with your settings: | |
# workaround for https://github.com/maykinmedia/django-setup-configuration/issues/27 | ||
userinfo_claims_source: id_token | ||
... | ||
More details about configuring mozilla-django-oidc-db through ``setup_configuration`` | ||
can be found at the _`documentation`: https://mozilla-django-oidc-db.readthedocs.io/en/latest/setup_configuration.html. | ||
|
@@ -159,14 +153,13 @@ Sites configuration | |
------------------- | ||
|
||
Notifications configuration | ||
------------------------- | ||
--------------------------- | ||
|
||
To configure sending notifications for the application ensure there is a ``services`` | ||
item present that matches the ``notifications_api_service_identifier`` in the | ||
``notifications_config`` namespace: | ||
|
||
.. code-block:: yaml | ||
... | ||
zgw_consumers_config_enable: true | ||
zgw_consumers: | ||
|
@@ -184,7 +177,6 @@ item present that matches the ``notifications_api_service_identifier`` in the | |
notification_delivery_max_retries: 1 | ||
notification_delivery_retry_backoff: 2 | ||
notification_delivery_retry_backoff_max: 3 | ||
.... | ||
Execution | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
codecov | ||
pytest | ||
|
||
# Documentation | ||
sphinx | ||
sphinx-rtd-theme | ||
sphinx-tabs |
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