DISLAIMER - the training needs to be addressed globally, the point of this paragraph is just to provide the highlights of what is likely to be the most important aspects regarding API
For anyone participating in the workshops listed bellow it is crital to have a basic knowledge about Nuxeo API.
- REST resource endpoint
- Document, Users, Tasks, Workflows ...
- introspection (DocTypes, Schemas, ...)
- Marshallers, Adapters and Enrichers
- Automation
- Operation
- Chains
- Scripting
- Async adapter
- Bulk Action Framework
- Stream importer
For this I would suggest a mixed approach:
- 3h overview to help people getting started
- 1h lab to install a local Nuxeo
- some time of "self training" spent on university + API playground
Here the idea is to identify a few use cases and for each of them implement a simple spike to understand how it can be some with Nuxeo.
For this, we do not need to have a very detailed busines case, we just need to understand what kind of integration we need to do since the goal is just to get familar with Nuxeo API and the principles of the integration.
Retention rules are defined and stored inside an external application running in AWS but exposing a REST API.
The goal is to be able, from Nuxeo, to fetch the information and apply the needed actions to the corresponding Nuxeo documents.
Focussing purely on the technical aspects we can list the main tasks:
- authenticate with the external application
- use OAuth 2?
- create an Automation Operation to call the external application
- use the Automation Operation
- listener, Bulk Action Framework, Workflow ...
Expose a end-point to do bulk data injection inside Nuxeo
- define an input format
- write a nuxeo-stream producer
- define an injection pipeline
- do an import
Some applications will need to display documents/files comming from Nuxeo.
We can consider several approaches for that:
- use a rendition via REST API
- use a preview adapter on the REST API
- use a UI components
- select one une case
- target application
- target format
- build / adjust a previewer / rendition if needed
- handle authentication propagation
- display the rendition/preview the target Application
The idea is to prototype the integration with "IM Connect" portal for the user provisioning and authentication part.
- authenticate via the IDP
- ensure user preprovisioning (no JIT provisioning like it is often the case in SAML)
- SAML configuration with lazy user sync
- including user attribute mapping
- define the preprovisioning approach
- SCIM
- custom API
- nuxeo REST API
- Strean / Bulk processing
- implement a prototype
The typical use case would be to integrate the existing AI service of IM inside a Nuxeo pipeline.
- implement an Automation Operation to do the call the same way we do with Nuxeo AI and AWS Lambda
- store call context
- expose a webhook/callback endpoint
- resume processing via stream