Skip to main content

Expectations for Parallel Operation

The introduction of parallel operation allows you to work with selected YAML-based data models directly within VS Code. The Convert tool serves as the bridge between the traditional AOD-based project structure and the new YAML format, enabling a flexible local development experience.

Figure: Schematic representation of the Parallel Operation workflow

Workflow and Usage​

During this phase, all public-facing project assets remain in AOD format. This includes Git repositories, published artifacts, and SSP systems.

Local Development Flow​

Developers can utilize Parallel Operation by maintaining two local representations of the project:

  1. AOD Project: The primary project connected to Git, managed within the ADITO Designer.
  2. YAML Project: The local workspace for the ADITO ExtensionPack, managed within VS Code.

This workflow allows you to perform development tasks in the YAML-based environment and sync back to the AOD project when ready to commit or publish changes.

VS Code provides syntax highlighting, JavaScript support, and YAML documentation. In this parallel-operation workflow, transfer YAML changes back to the AOD project before committing them to the AOD repository. VS Code can also transpile and deploy the YAML workspace.

Integration and Limitations​

VS Code primarily supports text-based model editing. The Context Explorer provides a graphical overview, while visual configuration remains in the Designer. Completion and navigation support selected model references; they do not cover every reference or replace manual verification.

Some specific issues that you might encounter during development are listed as known issues.

Impact on Existing Workflows​

Parallel operation is strictly optional. Developers who prefer not to use the YAML conversion tools can currently continue working within the ADITO Designer and AOD environment without any changes to their existing routines. For those opting in, this phase provides an early opportunity to benefit from the VS Code ecosystem while influencing future development through active feedback.

Working in VS Code​

The following overview groups related tasks and points to their prerequisites and limitations. Availability depends on the installed extensions and project setup.

TaskCurrent support
Edit data modelsAlmost all data models can be edited as YAML with schema validation and completion. Use the Designer for system configurations, Alias Definitions, and language files, and Jaspersoft Studio for reports. Convert a project
Navigate and complete model referencesADITO Code Completion suggests supported model references; Code Preview navigates to resolved references. See VS Code extensions and alias limitations.
Explore model structureADITO Context Explorer shows a logical overview of a context and its related model elements, including parent relationships. Context Explorer
Rename model elementsRename files, folders, and references manually; VS Code refactoring does not update all ADITO model references. Renaming YAML model elements
Customize models from modulesAdd YAML model files and use override files for supported changes; graphical editing of modifications is not available. Modularization in YAML
Update module versionsConverted YAML dependencies use local paths. Transfer changes to AOD, update the dependency there, and convert again. Updating module dependencies
Edit and navigate JavaScriptVS Code supports text editing and IntelliSense. Generated declarations and configuration improve project-specific suggestions. VS Code setup
Transpile and deployADITO Standalone Tools supports transpile and deployment from VS Code. Review the dry-run results and select the files to deploy. Configure database connections and tunnels as required. See Standalone Tools and SSP tunnels.
Manage database changesUse Liquibase in VS Code with the Liquibase 4 Integration extension. Verify compatibility with the project's existing Liquibase workflow. Liquibase integration
Review version-control changesVS Code provides Git integration for reviewing changes and managing commits. In this workflow, transfer YAML changes to the AOD project before committing them to the AOD repository.
Use graphical model editorsContinue to use the Designer with an AOD project for graphical editing. Alias Definitions and language files remain AOD; the System Editor also remains in the Designer for now. Current limitations
Edit JasperReportsUse Jaspersoft Studio. A replacement Jasper editor in the VS Code workflow is not planned.
Use ADITO AIVS Code Copilot Chat can use the self-hosted adito-code model from the ADITO AI Runtime. Code generation setup
Use general development toolsVS Code and additional extensions support tasks such as database queries, API requests, formatting, linting, XML and AsciiDoc editing. See the examples below.

Additional tools in VS Code​

VS Code extensions can support additional development tasks, including database queries, API requests, code formatting, linting, and AsciiDoc editing. The ADITO Extension Pack provides some of these capabilities. For other tasks, you can find and install extensions that suit your project and environment.

note

You are responsible for choosing and installing additional extensions. Review their publisher, permissions, and suitability for your environment before use.

Key Benefits​

  • Stakeholder Engagement: Test new tools and provide feedback early in the development cycle.
  • User Agency: Use the environment that best suits your productivity needs.
  • Workflow Flexibility: Choose the most efficient tool for the task at hand.