Create your own data groups
You can create your own data groups at Intrexx DRACOON Connector. You can use all data fields provided by the DRACOON API(DRACOON API ). To create your own data group, Intrexx provides the generic Java class de.uplanet.lucy.server.odata.consumer.dracoon.DracoonApiDataGroupAdapter is available in Intrexx.
Step-by-step guide
To create your own data group in Intrexx DRACOON Connector, proceed as follows:
-
Start the "Integration" module.
-
yUnder "Consume data", select the "Connector for Connector API" item.
The connector created for DRACOON is displayed.
-
Select the Intrexx DRACOON Connector and right-click.
-
Select "Edit" in the context menu.
The "Edit data source" dialog box opens.
-
Click on the menu item "Data groups".
The data groups that have already been created are displayed.
-
Click on the icon (Add data group).
The "Data group settings - Data groups" dialog box is displayed.
Data group name
The data group name can be freely assigned.
The name of the data group is used (later) when creating the external data group (Create external data group in Intrexx application).
Data group adapter
You must store the following Java class here:
de.uplanet.lucy.server.odata.consumer.dracoon.DracoonApiDataGroupAdapter
Data fields
-
Click on the icon () in the Data fields area.
The "Data group settings - Data field" dialog box opens.
The data fields that you can create here are described in the DRACOON API (REST Web Services for DRACOON).
You can find the description under the following link: https://dracoon.team/api/swagger-ui/index.html
"Field name" and "Field type" must correspond to the specifications from the DRACOON API.
You must define a field as the "Primary Key".
-
Click on "Finish".
-
Enter the other data fields that you want to access in DRACOON.
Data group settings
-
Click on the icon () in the Data group settings area.
You can now edit the Data group settings area.
Enter the following attributes and the associated values:
Attribute Value dracoon.service.root.uri The base URL of the Dracoon API dracoon.api.endpoint.uri The path of the Dracoon API endpoint to be used (e.g. /v4/users) (Optional) dracoon.api.endpoint.method The HTTP method of the API endpoint (GET, POST, PUT, DELETE) -
Click on "Finish".
The newly created data group is displayed.
-
Click on "OK".