Documentation Index
Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
Use this file to discover all available pages before exploring further.
Introduction
The Atoti Server Extension was developed to be used in association with Atoti Python SDK.
You can find the reference documentation for Atoti Python SDK {@doc: “here|python://guides/using_atoti_plugin.html”}.
Some of our more complex components cannot be defined using only our Atoti Python SDK. The Atoti Server Extension creates a way to insert components from our Atoti Java SDK into the Atoti Python SDK.
In this way, an Atoti Python project can be extended with functionalities such as custom measures, post processors, REST endpoints with custom security, etc.
In this way, an Atoti Python project can be extended with functionalities such as custom measures, post processors, REST endpoints with custom security, etc.
Configuration
To use Atoti Server Extension, the first step is to create a new Maven project with theatoti-server-extension-parent as the parent POM. This can be done by using the Atoti Maven Archetype:
atoti-server-extension-parent as their parent inherit:
- Standard Atoti Server Extension dependencies with managed versions and provided scope, ready for plugin development.
- Java 21 compiler settings for consistent builds.
- Maven Compiler Plugin configuration, including annotation processors (Lombok, Spring Boot).
- Assembly profile for packaging plugins using the Atoti assembly descriptor.
- Distribution management setup for publishing artifacts.
- Best practices for plugin structure and build, reducing boilerplate and ensuring compatibility with Atoti Server Application.
Creating an AutoConfiguration class
All Atoti Server Extension components must be registered through a Spring Boot@AutoConfiguration class. This class serves as the main entry point for your extension and imports all your custom configurations and components.
Create an @AutoConfiguration class that imports your custom configurations:
Registering the AutoConfiguration with Spring Boot
For Spring Boot to automatically discover your extension, you must create a file at:@AutoConfiguration class:
Features
After the configuration is complete, you will be able to use Atoti Server Extension to create more complex custom measures, and to secure custom REST services. In order to perform these actions, the Atoti Server Extension provides access to the following beans:IActivePivotManagerIDatabaseIDatastoreIContentServiceIPluginSetupwhich is used to register custom measures and post-processors see.
Custom Measures and Post-processors
Atoti Server Extension allows you to create custom measures and post-processors that can be used in your Atoti applications. A detailed guide on how to create custom measures and post-processors can be found in the custom measures and post-processors page.Custom REST Endpoints
Atoti Server Extension allows you to create custom REST endpoints that can be used in your Atoti applications.A detailed guide on how to apply your custom security with DSLs provided by Atoti Server Application to your REST endpoints can be found in the custom REST security page.
About Python SDK
This feature is supposed to be used in association with the Atoti Python SDK, once the jar for your plugin is created on build, you can provide it to the {@doc: “Python session config|python://api/atoti.config.session_config.html”} as anextra_jars.