Using the Projects Page

This chapter describes tasks that can be performed on the Projects page and on the page of a project. For general information on these pages, see Introducing the Projects Page.

The following topics are included in this chapter:

Browsing Projects

The Projects page lists the projects of the user’s workspace and of Design repository. The Projects and Deployments links in the top bar switch between this page and the page of deployments described in Browsing Deployments. While no branch is picked in the Branch filter, the page keeps to the default branch of each repository, as described in Filtering and Grouping the Project Tree.

The Projects page with its filters and the list of projects

The Projects page

The page consists of the following parts:

  • Filters and Tree views on the left narrow the list down and group it, as described in Filtering and Grouping the Project Tree.
  • The search field of the top bar, named Projects on this page, finds projects by name, author, branch or tag. For more information, see Searching in OpenL Studio.
  • New Project in the top bar, next to the Projects and Deployments links, creates a project as described in Creating Projects in Design Repository.
  • The list shows the projects of all repositories in one alphabetical list. A row shows the project name with its tags, the branch it is on, who modified it and when, and the actions available for it. A click on the Project, Branch or Modified column header sorts the list by that column, and a second click reverses the order.
  • The bar under the list counts the projects and switches the pages of a long list. When projects have compilation errors or warnings, or are being compiled, it shows how many. While a repository is still being indexed, Indexing 1 repository appears there too, and clicking it names the repository.

A click on a project opens its page, described in Working with the Project Page.

The row of a project offers the everyday actions as icons and keeps the others behind the Actions menu ⋮.

  • The Copy icon copies the project, as described in Copying a Project.
  • The Delete Branch icon deletes the branch the project is on, as described in Working with Project Branches. It is shown only when the branch can be deleted.
  • The folder icon opens a closed project, and the green open folder icon closes an open one.
  • The Actions menu lists Save, Open Revision, Sync, Deploy, Compare, Export and Delete, as far as they are available for the project.
  • The branch next to the name switches the project to another branch, as described in Working with Project Branches.

Only the actions that the user is allowed to perform on the project in its current state are offered.

The status of a project is shown on the list and on the project page:

Status Description
Closed The project is available only in Design repository. A closed folder icon stands for it. It must be opened to be viewed in the editor or modified.
No Changes The project is open and copied to the user’s workspace. A green open folder icon stands for it. It can be modified and has no unsaved changes.
In Editing The project is open and modified by the current user, which a pencil icon before the name marks. Other users cannot edit it. The project must be saved to store the changes.
Viewing Revision The project is open on an earlier revision, not on the latest one, which a history icon before the name marks. It can be browsed and, after a warning, edited, as described in Opening a Project.
Local The project exists only in the user’s workspace but not in Design repository. Other users do not see it. The user can delete it, or export it and import the archive into Design repository as described in Saving a Project.

A lock icon after the project name means that another user edits the project. The project cannot be edited by anyone else until that user saves or closes it or the lock is released, as described in Unlocking a Project.

Working with the Project Page

The page of a project shows everything about one project. Its title row carries the following:

  • The path Projects / Design / master /, where the repository and the branch the project is on follow the Projects link, and the closing slash leads to the project name below. The repository name opens the Projects list filtered by the repository. The branch is a switcher, as described in Working with Project Branches.
  • The project name, preceded by the status icon when the project is in editing or opened on an earlier revision.
  • The actions of the project, listed in the table below.

The page of an open project with its actions and tabs

The page of an open project

The following table describes the actions of the project page in their display order. A user sees only the actions that are available in the current state of the project.

Action Description Available when
Save Saves the changes as a new revision. See Saving a Project. The project has unsaved changes.
Open Opens the project. For versioned repositories, its menu offers Open Revision. See Opening a Project. The project is closed.
Open Revision Opens an earlier revision of the project. See Opening a Project. The repository stores project revisions; the project is open, or from the Open menu while it is closed.
Close Closes the project. See Closing a Project. The project is open.
Add Adds a folder or a file to the folder shown, beside the file shown, or at the root of the project while a tab is shown. See Modifying Project Contents. The project is open and not locked by another user.
Sync Merges the project with another branch. See Working with Project Branches. The repository supports branches and the project has no unsaved changes.
Copy Copies the project into a new project or a new branch. See Copying a Project. The user can create projects or branch this one.
Delete Branch Deletes the branch the project is on. See Working with Project Branches. The branch is not the default one and is not protected.
Delete Deletes the project. See Removing a Project. The project is not locked by another user.
Deploy Deploys the project. See Deploying a Project. The project has no unsaved changes and is not Local.
Compare Compares the project with its revisions. See Comparing Project Revisions. The project is not Local.
Export Downloads the project. See Exporting a Project or a File. The user can read the project.
Unlock Releases the lock of another user. See Unlocking a Project. Another user locks the project and the current user has administrative rights on it.

When the window is too narrow for all actions, the last ones move into the Actions menu ⋮.

The tabs below the title row show the following:

A file or a folder of the project selected in the tree on the left is shown in place of the content of a tab, and none of the tabs is selected. Selecting a tab leaves the file. See Modifying Project Contents.

The panel on the left of the page is the panel of the Projects page, with its Filters and Tree views described in Filtering and Grouping the Project Tree. It stays as it is while the user moves between the list and the projects: what is expanded in the tree, and what the tree has read, are kept. Opening a project — from the list, the tree or a link — switches the panel to the Tree view, unfolds the groups holding the project and scrolls the tree to its row; the user may switch back to Filters until the next project is opened. The Hide the panel icon in its header folds the panel away. The tree keeps itself up to date without a reload: a project saved, opened, closed or switched to another branch, here or in another tab, shows at once, and so do the files of a project in the workspace that another tab or a client, such as an AI agent, writes. A change another user makes in the Design repository, such as a save or a merge, or a push to it from outside OpenL Studio, shows as well. If the projects cannot be read, the tree says why and offers Retry; so does an expanded project whose files cannot be read, and its Retry reads the files of that project again.

Filtering and Grouping the Project Tree

The panel on the left of the Projects page has two views, switched at its top: Filters and Tree. Both work on the projects of the list beside them.

While no branch is picked in the Branch filter, the list and the tree show the following projects:

  • projects that the default branch of their repository contains, on whichever branch the user switched them to;
  • projects open in the user’s workspace, even when they exist only outside the default branch;
  • projects of repositories without branches, and local projects.

A project that exists only in another branch appears once its branch is picked in the Branch filter. Picking one or more branches shows the projects on these branches instead.

Filtering Projects

The Filters view lists the filter values in groups: Repository, Branch, one group per tag type, and Status. Each value shows how many projects it covers. The tag groups come in the order an administrator arranged the tag types in, each marked with the tag icon in the color of its type.

  • Several values of one group show the projects that match any of them.
  • The small grey check box before the title of a group selects all values of the group at once. When all of them are selected, it clears them. A dash in the check box shows that only some values of the group are selected.
  • Values of different groups show the projects that match all of them.
  • The Branch group lists every branch with its count, including a branch whose projects the default view hides. While no branch is picked, the counts of the other groups cover only the projects the default view shows.

The Filters view with a tag value picked, a dash in the check box of its group, and Clear filters in its header

To reorder the groups or hide some of them, click Arrange the filters, the gear icon in the header of the view. While the filters are arranged, each group shows only its title:

  • To move a group, drag it by its title to another place. To move it with the keyboard, focus its title, press Space, move it with the arrow keys, and press Space again.
  • To hide a group, click Hide this filter next to its title. The hidden groups are listed below the others, and Show this filter returns a group to the view.
  • To finish, click Done. The groups list their values again, each folded or unfolded as before. The browser remembers the arrangement for the next visit.

The Filters view being arranged: every group shows only its title, and the LOB group is hidden

Browsing the Project Tree

The Tree view shows the projects that the Filters view selects, the same ones the list shows, as a tree. The search field of the top bar narrows the tree and the list by the same text: a project is found by its name, author, branch or tag. The tree also keeps a group whose name holds the text, with all its projects, and finds the files of the projects expanded in it by their path, opening the folders that hold them.

  • Selecting a group, such as a repository or a tag value, sets its filters: the list shows the projects of the group, and the tree stays as it is. A pick made in the Filters view narrows both.
  • Selecting a project opens it and leaves its row folded. The arrow before the project expands it and lists its folders and files, with the size of every file.
  • Selecting a file shows it on the page of its project. A module is shown there too, with its More actions icon ⋮ and Open in Editor, which opens its tables in Rules Editor. Selecting a folder shows it on the page of its project and leaves it folded; the arrow before it expands it.
  • A link to a file or a folder of a project opens the tree on it: the project and the folders leading to it unfold, and the row is selected.
  • In a project being edited, a file added or modified and not saved yet has a dot on its icon and its name in green or orange, beside the Projects list and on a project page alike. A deleted file stays in the tree until the project is saved, struck through with a red dot, and opens nothing; so does a folder whose files are all deleted. A folder whose files are all added is marked as added, and any other folder holding a changed file has an orange dot. Pointing at a marked row tells what changed.
  • A name too long for the panel ends in an ellipsis, and pointing at it shows it in full. The size of a file stays at the right end of its row. To read more of the names, drag the right edge of the panel to widen it.
  • On a project page, the panel keeps both views. The tree applies the filters last used on the Projects list and always shows the project being viewed, even when those filters leave it out; picking a filter or a group there shows the list again. To search the tree, click the name at the start of the search field of the top bar and select Projects; on a tab with nothing of its own to search, the field searches the tree already.

To group projects by repository, branch or tag types, click Group projects and select up to three levels. The levels offer the tag types of the projects the tree shows: a tag type that only a project of a branch the tree does not show carries is not offered. Tag values used for grouping are taken from the most recent version of a project, so after changing the tags of an opened project, save the project for the tree to show the change. For more information on tag definition for a project, see Managing Tags.

The Group Projects dialog grouping by repository and then by two tag types

Clearing Filters

While any filter is picked, the Filters and Tree views show Clear filters at the start of their header, before its icons. In the Tree view, the button also tells that the list is filtered.

  • Clear filters removes the status, repository, branch and tag picks and forgets the group selected in the tree, returning both views to the default-branch view. The search field keeps its text.
  • When the filters hide every project, the list offers Clear all filters, which clears the search as well.

The Tree view narrowed to the projects the Filters view picks, with Clear filters in its header

Creating Projects in Design Repository

OpenL Studio allows users to create new rule projects in the Design repository. To start, click New Project on the Projects page. The Create project dialog offers the following ways:

The Create project dialog with the ways to create a project

Choosing how to create a project

Way Section
Create a rule project from a template Creating a Project from Template
Create a rule project from a zip archive Creating a Project from ZIP Archive
Create a rule project from Excel files Creating a Project from Excel Files
Create a rule project from an OpenAPI file Creating a Project from OpenAPI file
Copy an existing rule project Copying a Project

After a way is chosen, the dialog shows the source of the project and the settings that are common to all ways. Back returns to the choice of the way.

  • Project Name — the name by which the project is presented in Design repository. The name of the template, the archive or the source project is suggested. Spaces at the beginning and at the end of the name are dropped. The name cannot contain the characters \ / : ; < > ? * % ' [ ] | " or end with a dot; such a name is refused with a message that says so. The same applies to the new name of a project copy.
  • Repository — the Design repository that stores the project. Only the repositories where the user may create projects are offered. The dialog opens on the first of them and keeps the one picked until it is closed; while the picked repository is not offered, the first one is shown.
  • Branch — the branch of a Git repository, described below. The field is shown for repositories that support branches.
  • Path — the folder of the repository where the project is stored. Leave it empty to store the project in the root of the repository, enter a path such as folder/subfolder, or click Browse folders ⋮ to select an existing folder. The field is shown for repositories that keep projects in folders.
  • Comment — the comment of the commit that creates the project. A standard comment is suggested and can be edited: Project Bank Rating is created., or Copied from: Bank Rating. for a copy. The field is hidden for repositories that do not store change comments, such as file repositories.

After the project is created, its page opens and the project has the No Changes status, which means that it is open and can be modified. When the project is not created, the dialog stays open with the message and with every field as it was filled in, so Create can be clicked again.

For a Git Design repository that supports branches, every creation method displays one Branch field after a repository is selected. Select an existing branch from the suggestions, or type a valid new branch name in the same field. When the name does not exist, OpenL Studio creates the branch from the repository default branch and then creates the project there. Its Branch value is the branch where it was created. A project created in another branch than the default one is listed once that branch is picked in the Branch filter, or while it is open in the workspace; see Filtering and Grouping the Project Tree. In an empty repository, the first project creates the selected valid branch, including a non-default branch. Names that violate Git naming rules or the repository branch-name pattern are shown as errors below the field and are not submitted.

Projects with the same name can be created in different repositories. These projects cannot be in the same status. If the first project is in the No Changes status, the second one is assigned the Closed status. After closing the first project, the second can be opened.

Creating a Project from Template

This section describes how to create a project using a template and includes the following topics:

Creating a Project Using a Default Repository Template

This is the easiest way to create a rule project in the Design repository that must be preferably used for demonstration or introductory purposes.

The templates are organized into the following categories:

Category Description
Templates Include the following:
- Sample Project is a very simple project consisting of one rule table and hence, one Excel file.
- Empty Project allows creating a project with an empty Excel file.
Open the project and create tables as needed.
Examples Provide several simple projects demonstrating how OpenL Tablets can be used in various business domains.
Tutorials Represents projects designed to familiarize users with OpenL Tablets step-by-step, from simple features and concepts to more complex ones.

Every built-in template uses the standard project layout. It contains rules.xml in the project root, stores rule workbooks in rules/, and stores test workbooks, when present, in tests/.

Projects represented as Examples and Tutorials can be used not only to learn how they are organized and work, but also to create user’s own projects from them.

To create a new project from template, proceed as follows:

  1. On the Projects page, click New Project and then click From template.

    The dialog lists the template categories with the number of templates in each of them. A category with custom templates is marked custom.

  2. Click the category, and then click the required template.

    A check mark shows the selected template, and its name appears in the Project Name field. Back above the templates returns to the categories. The following example demonstrates creating a project based on the example.

    Configuring a template project and its target branch

    Creating a simple project from a template

  3. If necessary, modify the project name.
  4. Select the repository, and, for a branch-capable repository, select an existing branch or enter a new branch name in the Branch field.

    For the Path and Comment fields, see Creating Projects in Design Repository.

  5. Click Create.

    A new project is created in Design repository and opens. Initially, project structure corresponds to the selected project template but can be constructed manually.

  6. To construct the project structure, add folders and upload files as described in Modifying Project Contents.
Creating a Project Using a Custom Template

A custom project template can be created and then used during new projects definition. To create a new custom project template, proceed as follows:

  1. In the OpenL Studio home directory \<OPENL_HOME>, create the following directory:

    \<OPENL_HOME>\project-templates
    
  2. Create a subfolder with a template category name.

    An example is \<OPENL_HOME>\project-templates\My Custom Templates.

  3. For project templates that store files with project rules, create subfolders.

    For example, \<OPENL_HOME>\project-templates\My Custom Templates\MyRule1\rating.xlsx will be presented as the MyRule1 template project in the My Custom Templates category containing the rating.xlsx file.

    The MyRule1 custom template in the My Custom Templates category

    A custom project template in the Create project dialog

Creating a Project from Excel Files

A rule project in the Design repository can be created by loading one or more Excel files that contain OpenL rule tables or entire rule projects.

Proceed as follows:

  1. On the Projects page, click New Project and then click From Excel files.
  2. Click or drag the necessary Excel files to the upload area. The .xlsx and .xls formats are accepted. A file name follows the rules of a project name: it cannot contain the characters \ / : ; < > ? * % ' [ ] | ", start with a space, or end with a space or a dot. A project is not created from such a file, and the message names the file.
  3. If required, add more files for the project.

    All files are listed under the upload area.

    Configuring an Excel project and its target branch

    Creating a project from Excel files

    A file can be removed from the list by clicking the delete icon next to its name.

  4. In the Project Name field, enter the name by which the project must be represented in Design repository.
  5. Select a repository.

    For more information on available repositories, see Creating Projects in Design Repository.

  6. For a branch-capable repository, select an existing branch or enter a new branch name in the Branch field.
  7. Click Create to complete.

OpenL Studio creates rules.xml in the project root and stores all uploaded workbooks in the rules/ folder.

Creating a Project from OpenAPI file

A rule project in the Design repository can be created by uploading the OpenAPI file.

The OpenAPI Specification (OAS) defines a standard, language-agnostic interface to RESTful APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection.

The algorithm for generating a project from an OpenAPI file is described in the Appendix B: OpenAPI Project Generation Algorithm.

The OpenAPI file must have a valid structure and a JSON, YAML(YML) extension.

To create a project from the OpenAPI file, proceed as follows:

  1. On the Projects page, click New Project and then click From OpenAPI.
  2. Click or drag the required OpenAPI file to the upload area.
  3. To remove the uploaded file, click the delete icon next to its name.

    Configuring an OpenAPI project and its target branch

    Creating a project from an OpenAPI file

  4. If necessary, modify the names and the file locations of the generated modules: Module Name for Data Types, Path for Module with Data Types, Module Name for Rules and Path for Module with Rules.
  5. In the Project Name field, enter the name by which the project must be presented in the Design repository.
  6. Select a repository.

    For more information on available repositories, see Creating Projects in Design Repository.

  7. For a branch-capable repository, select an existing branch or enter a new branch name in the Branch field.
  8. Click Create.

With the default file locations, OpenL Studio stores the generated Models and Algorithms workbooks in the rules/ folder. The generated rules.xml relies on the standard module layout and omits redundant project and module declarations. Nonstandard module names or file locations are declared explicitly.

The uploaded OpenAPI file is stored in the project root. Its name is normalized to openapi.json for a JSON file or openapi.yaml for a YAML or YML file, regardless of the uploaded file name. The generated rules.xml does not contain an openapi block. The normalized file is discovered automatically in the default reconciliation mode, so it validates the project without continuing to regenerate the workbooks and overwrite subsequent edits.

Creating a Project from ZIP Archive

OpenL Studio provides a control for loading rule projects archived in a ZIP file into Design repository. The procedure resembles creating a project from Excel files described above although there are a few differences.

ZIP is the only supported archive format — .rar or .7z archives cannot be used. A project folder is accepted as well, because OpenL Studio packs it into a zip archive in the browser first and validates it exactly like an uploaded one — the folder must be a project, holding a rules.xml or an Excel file at its root.

The archive must also arrive in full. OpenL Studio reads the directory the archive keeps at its end, so an upload that was cut short is rejected instead of becoming a project with part of its content, and checks the files the archive carries against the checksums recorded for them. An archive that unpacks to more than 2 GB keeps the first check and skips the checksums, so that verifying it cannot itself be turned into an attack.

  1. On the Projects page, click New Project and then click From archive.
  2. Choose Archive or Folder, click or drag the necessary zip archive or project folder to the upload area.

    Configuring an archive project and its target branch

    Creating a project from ZIP file

    Project Name text box is automatically populated with the project name defined in rules.xml, if the uploaded ZIP file contains rules.xml, or with the file name.

    An archive that is not a project, because it has neither rules.xml nor an Excel file in its root, is refused with a message below the upload area.

  3. If necessary, modify the project name.

    It will be updated in rules.xml accordingly.

  4. Select a repository.

    For more information on available repositories, see Creating Projects in Design Repository.

  5. For a branch-capable repository, select an existing branch or enter a new branch name in the Branch field.
  6. Click Create to complete.

    The new project opens in the workspace right away, the same as a project created from a template or Excel files.

If the archive has no rules.xml in its root, OpenL Studio creates one without moving any files in the archive. The generated descriptor declares *.xlsx as the module pattern for workbooks in the project root. Root-level workbooks in older Excel formats are declared as individual modules so they remain available.

If the archive contains the tags.properties file, the tags of the project are taken from it. For more information, see Tagging a Project.

Opening a Project

An opened project is copied to user’s workspace and becomes available for selection in the editor. The project is opened for viewing and can be modified if it is not locked by another user. When a user modifies a project, its status is set to In Editing and it becomes locked for other users who now can only view it.

To open a project, proceed as follows:

  • On the Projects page, click the folder icon in the row of the project. To open another revision, select Open Revision in the Actions menu of the row.
  • On the page of a closed project, click one of the following buttons as required:

    Button Description
    Open Opens the latest revision of project.
    Open Revision Available from the menu next to Open. Displays window where user can specify which project revision must be opened.

When the project declares dependencies, Open first asks whether to open them together with it. Opening them is the default, because the project needs them to compile.

When the workspace keeps a dependency of the same repository on another branch and the dependency has no unsaved changes, the window also offers Open them on branch followed by the branch of the project, selected by default. It switches such dependencies, and the ones they declare on that branch, over to the branch of the project before opening them, so the project is compiled against the versions its own branch holds. A dependency with unsaved changes is never switched: it keeps its branch and its changes, and so do the dependencies only it declares.

The Open project dialog offering to open the dependencies on the branch of the project and warning about a dependency that is not found

Opening a project with dependencies

The same window warns about every dependency the project is compiled against off its branch, which can fail:

  • A dependency of the same repository that stays on another branch: one with unsaved changes, every such dependency when Open them on branch is cleared, and one that another dependency brings in when the move may not reach it, because it goes only through dependencies on the branch of the project. Save or discard its changes and switch its branch, as described in Working with Project Branches.
  • A dependency marked Not Found stays unavailable until the branch of the project contains it, so switching branches does not help. Bring the project into that branch, or open the depending project on a branch that already has it.

A dependency of another repository is never switched or reported here: repositories keep no branches in step, so its branch means nothing to this project.

Any project revision can be opened, with the project status set to Viewing Revision, as follows:

If the project has unsaved changes, opening a revision asks to confirm that they are lost.

Opening a Project Revision Using the Open Revision Button

To open a project revision using the Open Revision button, proceed as follows:

  1. On the page of the project, click Open Revision. For a closed project, click the arrow next to Open and select Open Revision.
  2. In the Project Revision field, select the required revision.

    A revision is listed by its number, followed by the author and the time it was created, so revisions made moments apart can be told apart.

    Opening a project revision using the Open Revision button

    Opening a project revision using the Open Revision button

  3. Click Open.

Opening a Project Revision Using the Revisions Tab

The tab and the More > Revisions editor action are available only when the repository stores revisions.

To open a project revision using the Revisions tab, proceed as follows:

  1. On the Projects page, select a project.
  2. Click the Revisions tab.

    A list of revisions appears, the newest first. A blue dot marks the revision that the project is open on.

    List of project revisions

    List of project revisions

  3. Navigate to the revision that needs to be opened and click the magnifier icon Open Revision at the end of its row. A click elsewhere on the revision lists the files it changed instead, as described in Viewing the Changes of a Revision.

If a project has the Viewing Revision status, the opened project revision becomes available for viewing and modifying, not the latest revision.

If the user tries to modify an old revision of the project in the editor, the system displays the warning message, “Overwrite the newer revision?” It explains that saving the old revision overwrites everything committed since. When the user confirms and modifies the old revision, it becomes the current version of the project, and its status changes to In Editing.

Revisions can also be accessed through the editor by selecting More > Revisions for a project.

The Show technical revisions toggle and the search of revisions are available in OpenL Studio when the repository type is Git.
The Show technical revisions toggle, when on, allows users to see revisions that are not directly related to the current project (for example, changes related to code updates or changes in other projects).
A revision that changes only the files the system settings ignore or the protected files of the project, such as a version bump in the pom.xml of the project made by a CI pipeline, is a technical revision too. A revision that changes any other file of the project is not. The project stands on its latest revision that is not technical, so the history always marks it as current. For more information on ignored files, see Managing System Settings, and on protected files, the project.protected-files property in Configuration.
On the Revisions tab, the search field of the top bar is named Revisions and helps users quickly locate specific revisions by searching through the comments, modified by, and revision IDs. The Revisions window of the editor has a search field of its own.

Closing a Project

Closing a project deletes it from the user’s workspace. No changes made to the project will be applied and stored. From that point, the project is not available for selection in the editor. Users can still browse closed projects on the Projects page.

To close a project, click the green open folder icon in the row of the project, or click Close on the page of the project.

If the project has unsaved changes, OpenL Studio asks to confirm that they are discarded.

Confirming the discard of unsaved changes when closing a project

Closing a modified project

Saving a Project

A modified project is saved and copied from the user’s workspace to Design repository as a new revision.

Save is available only for a project linked to a Design repository. A project with the Local status has no Design repository revision to update; export it as described in Exporting a Project or a File and import the archive as described in Creating a Project from ZIP Archive instead. The imported project cannot be opened while the Local project of the same name is still in the workspace, so delete the Local project after the import.

To save a project, proceed as follows:

  1. On the page of the project, click Save. On the Projects page, Save is in the Actions menu of the row.

    The Save project window appears. Under the name of the project and the number of files to save, folded until you expand it, it lists the files the save commits, changed since the project was opened or last saved. Each file is named after the icon that marks it added, modified or deleted, followed by the folder it is in. A click on the row of a modified file, which ends with an arrow, opens the file as it was saved, headed Saved revision, against your changes, headed Your changes: a workbook is compared element by element in the window described in Comparing Excel Files, which opens on the comparison itself, with no files to pick, and a text file line by line. A file that is neither, such as a library, has nothing to be compared by, and the window says so.

    Save changes in a project

    Save changes in a project

  2. Enter a comment if the field is shown and needed, then click Save.

    For repositories that store change comments, a standard comment is suggested and can be edited: Project Bank Rating is saved. Saving a project opened on an older revision restores that revision, and the comment names its author and the moment it was saved, in UTC: Restored from revision of John Smith on 06/22/2026 09:02:42 PM. If the repository requires comments of a certain form, a comment that does not match it is refused. File repositories do not store change comments, so the Comment field is hidden when saving their projects.

If another user saved the same files in the meantime, their changes are merged with yours where they do not overlap. When both changed the same place, the Resolve Conflicts window appears, as described in Resolving Conflicts.

An editable project can be saved and closed directly from the editor as described in Editing and Saving a Project.

Projects Edited in Place

When OpenL Studio runs in single-user mode and its Design repository is a folder of the file system, as a tool running OpenL Studio on a developer’s machine sets it up, the projects of the folder are edited where they are:

  • Every project of the folder is open at once, with the No Changes status, and is not copied to the workspace. Open, Close and Save are not offered for it.
  • Every edit is written into the files of the project in the folder at once, and what other programs write there, such as Excel or an IDE, is part of the project as well.
  • OpenL Studio never writes over a file another program changed after OpenL Studio read it. Such a write is refused and the file stays as the other program left it; the module is read again, so repeat the edit on what the file holds now.
  • OpenL Studio writes a file whole. A program reading it meanwhile, such as Excel or an IDE, sees it as it was or as it is saved, never half written, and a save that fails leaves the file as it was. A file in a folder OpenL Studio cannot create files in is written over in place instead.
  • A file open in another program on Windows, such as a workbook in Excel, cannot be changed while the program holds it. An edit, an upload or a deletion of it is refused with a message naming the file; close the file there and repeat the change.
  • When another program changes a file of the module open in the editor, adds a workbook to the modules of the project or changes rules.xml, the editor shows the notification The files of the project were changed outside OpenL Studio. It stays until it is closed, the module is read again or the editor is left. The editor keeps what it shows, so an edit in progress is not lost; click Refresh in the notification to read the files again. A change not yet saved in the editor is lost on refresh.
  • The project is named by the <name> of its rules.xml, whatever its folder is called, and keeps its tags in tags.properties of the folder.
  • Earlier versions of a module are kept as when a copy is edited, so an edit is rolled back from the local history of the module. A version another program saved is kept as well before OpenL Studio writes over it.

A notification that the files of the project were changed outside OpenL Studio, with the Refresh button

A file of the module changed outside OpenL Studio

A project opened before OpenL Studio ran this way stays a copy in the workspace while it has unsaved changes, so that they can be saved; once it has none, the project is edited in place.

Viewing the Project Overview

The Overview tab of a project page shows the configuration of the project on the left and its properties on the right. A section or a property that the project has no value for is not shown.

The Overview tab of an open project

The Overview tab of a project

The left part describes the project configuration that is stored in rules.xml:

  • Modules lists the modules of the project. Modules that are found by the standard rules/ and tests/ folders are shown as Auto-discovered modules and Auto-discovered tests with the pattern that finds them, and modules that rules.xml declares are shown with their names and paths. Click the name of a module to open it in the editor.
  • Version patterns, Properties processor and Exposed methods show the corresponding settings of rules.xml.
  • Dependencies lists the projects that this project depends on under Depends on, followed by the projects that depend on it under Used by and the Libraries it names by Maven coordinates. A link opens the project, and Not Found marks a dependency that no project of the repository satisfies. A dependency that names Maven coordinates, or whose project of its name the pom.xml of this project or of a project it depends on declares, is compiled from the archive of the Maven repository while you have no project of its name open: it is marked From Maven, and clicking the mark opens the archive read-only, as described in Viewing a Maven Dependency. While the project is open, its coordinates are shown beside it in grey. A project depending on two projects that need two versions of one downloaded project compiles one of them, the first one its dependencies reach: the dependency is marked Version conflict, the versions left out are listed on hover, and the compilation reports a warning. To edit a dependency, its project and its Maven coordinates, click Edit; a dependency with coordinates and no project is a library.
  • Sources lists the folders and libraries that hold the source code of the project.
  • OpenAPI shows the OpenAPI file of the project and its mode.

To change this configuration, click Edit above the sections. The button is shown while the project can be modified. For more information, see Editing and Saving a Project.

The right part shows the properties of the project:

  • Status — one of the statuses described in Browsing Projects.
  • Repository and Path — the repository and the folder where the project is stored.
  • Branch — the branch the project is on. The branch is a switcher, as described in Working with Project Branches.
  • Revision ID — the short ID of the revision the project is based on. The copy icon copies the full revision ID.
  • Modified — who modified the project last and when. For a Git repository, the display name of the user is shown.
  • Comment — the comment of the last revision.
  • Tags — the tags of the project. See Tagging a Project.

When another user locks the project, the tab starts with a note saying who locked the project and when, and the Release lock button unlocks it, as described in Unlocking a Project.

Viewing a Maven Dependency

The projects tree lists the projects downloaded from the Maven repository that your workspace depends on under the Maven repository, beside the design repositories. A project of it opens read-only at an address made of its coordinates, /maven/<groupId>/<artifactId>/<version>. It is also reached from the From Maven mark of a dependency on the Overview tab, and from any link to a table of the project, such as the Target Table of a test or a call in a cell.

The address opens any OpenL project of the Maven repository, even one that no project of your workspace depends on: OpenL Studio downloads it, and the projects tree lists it under Maven while it is shown. An address of an archive that is not an OpenL project, or that the Maven repository does not have, shows why the project cannot be shown.

The page is the page of a project of the workspace, with the version of the project and Read-only beside its title, and Deploy and Export above its tabs:

  • Overview lists the modules, the projects it depends on, the projects of your workspace that depend on it under Used by, and the libraries it names; the right column shows the Maven repository and the coordinates of the project.
  • Deploy Configuration shows its rules-deploy.xml settings and the deployments that carry it.
  • Its files unfold in the projects tree. A file picked there is shown with Export, and a workbook of a module also offers to open the module; a folder can be exported as a ZIP archive.

Nothing on the page can be edited. The version stands beside the name of the project in the projects tree too, so two versions of one project are told apart; projects of one name in two repositories show their repository there.

The page of a project downloaded from the Maven repository

A Maven dependency, read-only

A file of a project downloaded from the Maven repository

A file of a Maven dependency, read-only

A module of the project opens in the editor, as a module of a project of the workspace does: the tables in the tree on the left, the table picked in the middle, its properties in Table Details on the right, and the problems of the compilation below. The project is compiled with the projects it depends on, as a project of the workspace is.

  • Run, Trace and Benchmark run the table, and Test runs the tests of the project.
  • More > Table Dependencies shows how the tables use each other.
  • Deploy deploys the project as it is downloaded, and Export saves it as a ZIP archive.
  • Edit, Copy, Remove, Create Test and Create Table stand disabled: the project is read-only.

A call in a cell leads to the table it names — in this project, in another downloaded project, or in a project of your workspace — and the trail above the title leads back to the page of the project.

A module of a project downloaded from the Maven repository

A module of a Maven dependency, read-only

To change the project, open it from its design repository, and it is compiled instead of the downloaded one.

Tagging a Project

Project tags classify projects, for example, by business domain or line of business. The tag types and values are defined as described in Managing Tags.

The tags of a project are stored in the tags.properties file located in the root directory of the project, one <type>=<value> line per tag. OpenL Studio does not ask for tags when a project is created. A project has the tags that its files carry, for instance, when it is created from a ZIP archive or copied from another project.

Tags are shown in the Tags section of the Overview tab and in the project list, and they can be used for filtering and grouping projects:

  • Each tag type defined in OpenL Studio has a color of its own, taken by its place in the order an administrator arranged the tag types in. A tag type that is not defined in OpenL Studio is gray. A tag value is shown as a chip in the color of its type, and the tag icon of the type is in the same color in the Filters and Tree views. In the project list, a chip shows the value alone, and pointing to it shows the type. The tags of a project stay on one line: the tags that do not fit are collapsed into a +N chip, and pointing to it shows them.
  • The tags, the tag groups of the Filters view and the tag types offered by Group projects follow the order an administrator arranged the tag types in, as described in Managing Tags. The tag types not defined in OpenL Studio follow them.

The Tags section lists the tags in this order, followed by the tags of types not defined in OpenL Studio. The editor starts in the same order, so saving the tags writes the tags.properties file in it. To tag a project, proceed as follows:

  1. Open the project and its Overview tab.
  2. Click the pencil icon Edit tags next to Tags. The icon is shown only while the project can be modified.
  3. Click Add, and enter the tag type in the first field and the tag value in the second one.

    The fields suggest the tag types and values defined in OpenL Studio, the way the type fields of Create Table do: opening a field lists every suggestion, even when the field already holds a value, and typing narrows the list. Any name and value can be entered. Each tag type can be used only once in a project.

    Editing the tags of a project

    Editing the tags of a project

  4. To remove a tag, click the trash icon at the end of its line.
  5. Click the check mark to save the tags, or the cross to cancel the changes.

    A tag with an empty type or an empty value is left out.

The tags are written to the tags.properties file, and the project status changes to In Editing. When every tag is removed, the file is deleted. Save the project to store the tags in Design repository.

The Tags section checks the tags against the tag types defined in OpenL Studio, both while the tags are viewed and while they are edited:

  • A tag type that is not defined in OpenL Studio is shown in the warning color, and a warning below the tags lists such types. Such a tag can be edited or removed like any other one, or an administrator can add it on the Tags page of the administration, which lists the tags that projects carry but that are not defined, as described in Managing Tags.
  • A mandatory tag type, the one with Required selected, that the project has no value for is reported as Tag type '<tag type>' is mandatory. below the tags.
  • A value that a tag type with Extensible cleared does not have is reported as '<value>' is not allowed value for tag type '<tag type>'. below that tag. Values are compared regardless of case, and any value of an extensible tag type is accepted.

These are warnings: the tags can be saved anyway, since a project may carry tags that the current configuration no longer allows, for instance, when it comes from Git. A warning disappears as soon as the tag is corrected in the editor.

The Tags section listing Insurance Type before BLOB in the arranged order, and warning about a value not allowed for BLOB, the undefined Region tag type, and the missing mandatory Domain tag

Warnings about the tags of a project

If a tag is used for grouping in a project tree, its value in a tree gets updated only when the project is saved.

When a project created from an archive or copied from another project carries a value of an extensible tag type that is not yet configured in OpenL Studio, OpenL Studio adds the value to the tag type.

Managing Project Access

A user gets access to a project through a role, as described in Understanding Roles. An Administrator assigns roles in the Administration panel. A user with the Manager role can also grant, change, and revoke the roles other users have on the projects the user manages, without involving an Administrator.

A Manager does it in the Management tab of a project. The tab is shown to:

  • Administrators.
  • Users with the Manager role on the project or on its repository.

The tab is not shown for a project in the Local status, which is not shared with anyone, or in the single-user mode, where there are no other users to grant access to.

To manage the access to a project, proceed as follows:

  1. Open the page of the project and click the Management tab.

    Management tab with the roles assigned on a project

    Roles on a project

    The tab lists everyone who has a role on the project:

    • Subject and Type — the name of the user or group. Groups are listed only where OpenL Studio is integrated with an external user management system, such as Active Directory, LDAP, or an SSO provider.
    • Role — Viewer, Contributor, or Manager.
    • Source — Project for a role assigned on the project itself, and Repository for a role held on the whole repository.
  2. Do any of the following:

    • To grant a role, click Add access. Start typing the username and select the user from the suggestions, which appear from the second character. Choose the Role, Viewer at first, and click Grant access. Where groups are supported, the dialog also asks for the Subject Type, User or Group. A name that does not exist in OpenL Studio is refused with an error in the dialog, and a user who already has a role on the project gets the new role instead of the old one.

      Add access dialog with a user and a role selected

      Granting a role on a project

    • To change a role, select another one in the Role column. The change is saved at once.
    • To revoke a role, click the trash icon at the end of the row and click OK to confirm.

A change takes effect at once: the next request of the user is checked against the new role, and the user does not need to sign in again.

Keep in mind:

  • Revoking removes only the role assigned on the project. The user keeps the access that comes from a role on the repository, from a group, or from the Default Group. A role assigned on the project takes precedence over the one inherited from the repository, as described in Role Inheritance and Conflict Resolution.
  • A role from the Repository is listed only to a Manager of that repository. It applies to every project of the repository, so it is read-only here and is changed by an Administrator in the Administration panel.
  • A Manager cannot change or revoke their own role on the project: the role of that row cannot be selected, and the row has no trash icon.
  • Roles assigned on a project are shared by every branch that holds it. They are removed with the last branch holding the project, whether the project is deleted with Delete or its branch with Delete Branch. A project created later in the same folder starts with the role of its creator only, also when the old project was removed outside OpenL Studio, for example with its branch deleted on the Git server. While the repository is still being indexed, creating a project in such a folder is refused with a message to try again later.

Modifying Project Contents

This section describes modifying the physical structure of the project and includes the following topics:

The files of a project are reached from the tree on the left, as described in Browsing the Project Tree: expand the project, and select a file to view it or a folder to see the actions available for it. The file or the folder is shown in place of the content of a tab.

The page of a project showing a text file selected in the tree

A file of a project

A project can be modified only while it is open and not locked by another user. The Add menu and the actions for files and folders are not shown otherwise. Add in the pane of a folder adds to that folder. Add among the actions of the project adds to the folder shown, beside the file shown, or at the root of the project while a tab is shown.

Every change is made in the workspace copy of the project. The project status changes to In Editing, and the added, modified and deleted files are marked in the tree. Save the project to store the changes in Design repository, as described in Saving a Project; the Save window lists them.

An uploaded Excel workbook or ZIP archive is checked for completeness before it is stored. A file that did not arrive in full — an upload interrupted halfway, or content damaged on its way — is rejected with an error, so a module nobody can open never reaches the project. Files of any other type are stored as they arrive, and an upload larger than 1000 MB is refused rather than checked.

While Format tables on save is selected in System Settings, an uploaded .xlsx file is formatted with the OpenL table style before it is stored, as described in Reformatting Excel Files.

Creating a Folder

To create a new folder in the project structure, proceed as follows:

  1. In the tree, select the parent folder in which the new folder must be created, and click Add in its pane. To create a folder at the root of the project, select a tab of the project and click Add among its actions.
  2. Select New folder.
  3. In the New folder window, enter the path of the folder in the Path field and click OK.

    The path starts with the folder selected in the tree. To select an existing folder as the beginning of the path, click Browse folders ⋮.

The New folder window

Creating a folder

The new folder is shown at once, so that its first file is added from its pane. A new folder is not stored on its own: it stays empty in the tree until a file is added to it, and only then appears in Design repository. Remove empty folder in the folder pane removes a folder that has no files yet.

Creating a Text File

To create an empty text file, for instance, a rules-deploy.xml or a properties file, proceed as follows:

  1. Select the folder of the file in the tree, and click Add in its pane or among the actions of the project. For a file at the root of the project, select a tab of the project and click Add among its actions.
  2. Select New text file.
  3. In the New text file window, enter the file name in the Name field. The Path field starts with the folder; enter or select another folder to place the file there.
  4. Click OK.

The file is created empty and can be filled in as described in Editing a Text File.

The New text file window

Creating a text file

Uploading a File

To upload files to a project folder, proceed as follows:

  1. In the tree, select the folder where the files should be uploaded, and click Add in its pane or among the actions of the project. To upload files to the root of the project, select a tab of the project and click Add among its actions.

    The Path field of the window starts with the selected folder.

  2. Select Upload.

    The Add menu of a folder

    The Add menu

    The Upload window appears:

    The Upload window

    Uploading a file

  3. Click or drag one or more files to the upload area.
  4. If a single file is uploaded, the Name field suggests its name. Enter the name of the file to be used in Design repository if it must differ.

    Several files keep their own names.

  5. In the Path field, enter or select the folder. Leave the field empty to upload files to the project root.
  6. Click OK.

Updating a File

To replace the content of a file of the project, proceed as follows:

  1. In the tree, select the file to be updated.
  2. Click the More actions icon ⋮ and select Update.
  3. In the Update file window, click or drag the file with the new content to the upload area.
  4. Click Update to end the action.

The file keeps its path and name.

Editing a Text File

A text file, such as rules.xml, rules-deploy.xml or a Groovy script, selected in the tree opens in a viewer on the page of the project. To edit it, proceed as follows:

  1. Select the file and click Edit.
  2. Change the content.
  3. Click Save to keep the changes in the workspace copy, or Cancel to discard them.

The viewer and the editor colour the syntax of an XML, JSON, YAML, .properties, Groovy and Java file in the colours of the theme; any other text file is shown plain. In Groovy and Java, a type, a method call and the path of an import each take a colour of their own, apart from a variable. In a .properties file, a key is coloured as the name of a property and its value as a string.

An Excel workbook or another binary file cannot be viewed here. Its pane offers Export, and for a module of the project, Open in Editor opens the tables of the module in the editor.

The i18n folder holds the localization files of the project, and its pane offers Open in Editor, which opens the messages of all languages on the Localization screen. Open in Editor of a localization file opens them too, as described in Editing Localization Messages.

A localization file of the project, a message*.properties file of the i18n folder, is checked as the compilation checks it while the project is open. The viewer and the editor underline each place the check warns about and mark its line with a warning icon; point to the place to read the warning. A warning about the whole file, such as keys the language leaves untranslated, is about no line of it: it is shown above the text of the file. The file is checked again when it is read and every time it is saved.

The French localization file selected in the tree, the warning about the whole file above its text and the warning about the farewell key pointed at

Warnings in a localization file

Renaming, Moving and Copying a File

The More actions icon ⋮ of a selected file offers the following actions:

  • Rename — changes the name of the file. Enter the name in the New File Name field.
  • Move — moves the file to another folder. Enter or select the folder in the Path field.
  • Copy — creates a copy of the file. Enter the name of the copy in the New File Name field and the folder of the copy in the Path field.

The actions of a file

The actions of a file

The Copy file window

Copying a file

A folder can be copied as well: select the folder and click Copy in its pane.

A file or folder name cannot contain the characters \ / : ; < > ? * % ' [ ] | ", start with a space, or end with a space or a dot. A name that Windows reserves for a device, such as CON, PRN, AUX, NUL, COM1 or LPT1, in any letter case and with any extension, is refused too. The message of a refused action names the reason. A file that already has a reserved name can still be opened, downloaded, renamed, moved and deleted.

The newly created file appears in the tree.

Deleting a Folder or a File

To delete a folder or a file in the project structure, proceed as follows:

  1. Expand the tree and select the folder or file to be deleted.
  2. For a file, click the More actions icon ⋮ and select Delete. For a folder, click Delete in its pane.
  3. In the confirmation window, click Delete.

Confirming the deletion of a file

Deleting a file

Deleting a folder or a file changes the opened project. Save the project to store the deletion in Design repository.

Copying a Project

Copying a project creates a new project with identical contents and a different name in Design repository, or a new branch of the same project. A copy can be created from the New Project wizard or from the selected project’s Copy action.

To copy a project from the New Project wizard, proceed as follows:

  1. Click New Project and select Copy project.
  2. Select the source project and enter the new project name.
  3. Select the target repository.
  4. For a branch-capable repository, select an existing branch or enter a new branch name in the single Branch field.
  5. If necessary, specify a path and modify the commit comment, when the target repository supports comments.
  6. Click Create.

Configuring a project copy and its target branch

Copying a project in the Create Project wizard

To copy the selected project, proceed as follows:

  1. Click the Copy icon in the row of the project, or click Copy on the page of the project.

    For a repository that supports branches, the Copy project window initially offers to create a branch of the project: it shows the Current Branch and suggests a name in the New Branch Name field. For more information, see Creating a Branch.

    The Copy project window offering a new branch

    The Copy project window offering a new branch

  2. Select Create a New Project to copy the project instead of branching it.
  3. Enter the new project name and select the target repository. The window starts on the repository of the project when a project can be created there, or else on the first repository offered.
  4. For a branch-capable target repository, select an existing branch or enter a new branch name in Branch.
  5. If necessary, specify the target path and modify the commit comment, when the target repository supports comments.
  6. To copy an earlier state, select Copy an Old Revision and choose the revision.
  7. Click Copy.

    When the copy is not made, the window stays open with the message and with every field as it was filled in, so Copy can be clicked again.

A copy in the default branch appears in the project list at once; a copy in another branch is listed once that branch is picked in the Branch filter. The selected branch is its home branch when no other branch contains the project.

The first revision of the copy says which project it was copied from, for example Copied from: Bank Rating. In the Revisions tab and in More > Revisions of the editor, the name of that project is a link that opens it. The link leads to the project of that name in the repository of the copy, or else to the only project of that name the user sees in another repository. When no such project is found, for example after the source project was deleted, the name is plain text.

Removing a Project

Deleting a project removes it from the user’s workspace and from the current state of Design repository. For Git repositories, OpenL Studio stores this change as a regular delete commit, so repository history keeps the deletion event. If the project is opened by any user on the deleted branch, OpenL Studio closes it before removal and discards unsaved changes. If the project also exists in another branch, it remains available in that branch, and copies opened from those other branches are not removed.

[!Note] Projects in the Local status that were not uploaded to Design repository will be removed physically and cannot be restored.

To delete a project, proceed as follows:

  1. Perform one of the following steps as required:
    • On the page of the project, click Delete.
    • On the Projects page, select Delete in the Actions menu ⋮ of the row of the project.
  2. In the confirmation window, enter a comment if the field is shown. File repositories do not show it.
  3. Select I understand that the project will be deleted.
  4. Click Delete.

Confirming the deletion of a project

Deleting a project

When Design repository refuses the deletion, such as a Git server that does not let the user write to the repository, the project stays in Design repository, and the message names the repository and the reason it gave.

Deploying a Project

OpenL Studio allows deploying a project directly to a deployment repository.

To deploy a project, proceed as follows:

  1. Perform one of the following steps as required:
    • On the page of the project, click Deploy.
    • On the Projects page, select Deploy in the Actions menu ⋮ of the row of the project.

    [!Note] The Deploy action is not offered if the project has the Local status or has unsaved changes. Save the project first.

    The Deploy “<Project Name>” project dialog appears.

    Deploy project dialog

    Deploy project dialog

  2. In the Repository dropdown, select the target deployment repository. Only the repositories the user may deploy to are offered.
  3. In the Deployment Name field, select an existing deployment from the list or type a new name to create one.
  4. In the Comment field, enter a comment describing the deployment. A repository that keeps no comments, such as a Local one, does not offer the field.
  5. If a dependency of the project names Maven coordinates, select in Dependencies where a dependency project that both Design repository and the Maven repository have is taken from: From design repositories, the default, or From Maven repository. A dependency project only one of them has comes from that one. When several versions of one dependency project are required, the dialog warns: the deployment holds the version the project is compiled with, as its Overview shows.
  6. Click Deploy.

A deployment name follows the rules of a project name: it cannot contain the characters \ / : ; < > ? * % ' [ ] | ", start with a space, end with a space or a dot, or be a reserved word such as CON. If the name is not accepted, the reason is displayed under Deployment Name, and nothing is deployed.

The project is deployed to the selected deployment repository, and the Project deployed message is displayed. The project is listed in the deployment on the Deployments page and in Existing deployments of its Deploy Configuration tab.

When the project or a project it depends on cannot be read from Design repository, such as a saved project whose rules.xml was deleted, nothing is deployed, and the dialog shows Nothing is deployed: the project '<name>' cannot be read from the design repository.

The deployment holds the project, the projects it depends on, and the libraries the rules.xml of these projects name by Maven coordinates, so OpenL Rule Services runs it without a Maven repository. A library is put into the lib folder of the project that names it; a project downloaded from the Maven repository is deployed as it was packaged, with its own libraries. When the Maven repository has not something the deployment needs, nothing is deployed, and the dialog shows Nothing is deployed: the deployment needs what cannot be downloaded from the Maven repository. followed by the reason.

A deployment repository can be configured to take projects only from the main branch of Design repository. For a project that is on another branch, the dialog explains that the project must be switched to the main branch or another repository must be selected, and Deploy is disabled.

The following topics are included in this section:

Configuring Rules Deploy Configuration Settings

Deployment rules can be added before deploying a project to deployment repository. They are stored in the rules-deploy.xml configuration file of the project and shown in the Deploy Configuration tab. The right part of the tab, Existing deployments, lists the deployments of the project: the name of the deployment, its repository, the design revision that was deployed with its author and the time it was deployed.

Deploy Configuration tab of a project with no rules-deploy.xml yet

The Deploy Configuration tab

Proceed as follows:

  1. Open the project and click the Deploy Configuration tab.
  2. Click Edit. The button is shown while the project can be modified.

    A project without the rules-deploy.xml file shows the note that the file will be created when the settings are saved.

  3. In the tab, enter the following information about the rules:
    • Provide Runtime Context — switch it on to provide runtime context. The switch is deprecated and kept for projects upgraded from earlier versions: a new project declares the runtime context properties in the fields of its input datatypes as described in Reference Guide > Runtime Context Properties in Datatype Tables.
    • Publishers — select the publishers, for example, RESTFUL or KAFKA.
    • Service Name — enter the service name.

      The service name is displayed for a deployed project only in the embedded mode.

    • Service Class — define the service class.
    • Version — define the service version.

      For more information on service version definition, see Defining Rule Service Version.

    • URL — enter URL of the service.
    • Annotation Template Class — define the annotation template class.
    • Groups — define comma separated service groups.
    • Configuration (XML) — add configuration description to the XML file.

      For more information on the Deploy Configuration tab settings configuration, see OpenL Tablets Rule Services Usage and Customization Guide > Service Configurer.

  4. Click Save.

    Defining rules deploy configuration settings

    Defining rules deploy configuration settings

    The settings are written to rules-deploy.xml. The file is a project file, so the project status changes to In Editing. Save the project to store the settings in Design repository.

[!Note] Only Annotation Template Class is offered. When rules-deploy.xml names the class in the interceptingTemplateClassName element, the value is shown in this field, and the file is saved with the annotationTemplateClassName element.

A rules-deploy.xml that keeps settings in a legacy form shows the Migrate button. It brings the file to the current minimal form: drops the default runtime-context flag, renames the legacy template class setting, and replaces the Jackson typing settings that OpenL Tablets no longer reads: the EVERYTHING default typing mode becomes NON_FINAL_AND_ENUMS, and jackson.simpleClassNameAsTypingPropertyValue gives way to the NAME type id it stood for. The file is written anew, so its comments and layout are not kept.

Defining Rule Service Version

OpenL Studio supports versioning definition for rule services. This functionality allows specifying a version for the project revision to be deployed. The required version of the deployed project can be called from deployment repository. All specified versions of the project appear on the OpenL Tablets Rule Services page with a version number defined in brackets.

To check the services version deployment, in OpenL Tablets Rule Services, find the name of the deployed project. Services version is set both in the services header and in the services URL.

Services header and URL with the version number

To define the rule service version, proceed as follows:

  1. Open the project and click the Deploy Configuration tab.
  2. Click Edit.
  3. In the Version field, enter the services version.

    For example, to create the services version 1.0, enter 1.0.

  4. For more information on how to configure deployment configuration settings, see Configuring Rules Deploy Configuration Settings.
  5. Click Save.

The selected services version is displayed in the Deploy Configuration tab of the project. For the example displayed in this section, the project version is 1.0.

Viewing the Changes of a Revision

Each revision of the Revisions tab tells which files of the project it changed, the way Git shows a commit. The same list is available in the editor through More > Revisions.

To view the changes of a revision, proceed as follows:

  1. On the Revisions tab of the project, click the revision.

    The revision expands and lists the files it added, modified or deleted, ten files a page. A click on the revision again collapses it; expanding it later shows the same list without reading it again.

    The files a revision changed

    The files a revision changed

  2. To see what changed in a file, click its row. Each file is named after the icon that marks it added, modified or deleted, followed by the folder it is in.

    The comparison window opens with the file as it was before the revision and as the revision left it: an Excel file is compared element by element, as described in Comparing Excel Files, and any other file line by line. A file the revision added is empty before it, and a file it deleted is empty after it, so the whole file shows as added or removed.

A revision is compared with the revision it was made on:

  • In a Git repository it is the parent commit. A merge is compared with the branch as it was before the merge, so it lists what the merge brought in.
  • In a repository without commits it is the previous revision of the project.
  • The first revision of a project lists every file as added, and a revision that deleted the project lists every file as deleted.
  • A revision that changed no file of the project, such as a technical revision, says so instead of listing files.

Only the files inside the project folder are listed. The files the system settings ignore are not listed either.

Comparing Two Revisions

Any two revisions of the Revisions tab can be compared with each other without opening either of them: the project stays on the revision it is open on. The same works in the editor through More > Revisions.

To compare two revisions, proceed as follows:

  1. On the Revisions tab of the project, click the marker of the first revision on the timeline at the left of the list. The marker turns into a check mark, and the line above the list asks for one more revision.
  2. Click the marker of the second revision. A click on a marked revision lets it go; while two revisions are marked, the others cannot be marked until one of the two is let go.
  3. Click Compare Revisions at the end of the line above the list. Clear lets both revisions go.

    The comparison window opens with the name of the project and the two revisions side by side, the earlier one first, whatever order they were marked in. Each revision shows its comment, its author, its date and its number. Under them, the window lists the files changed between the two revisions, ten files a page. A file changed several times in between is listed once, with the difference between the two revisions.

    The files changed between two revisions

    The files changed between two revisions

  4. To see what changed in a file, click its row.

    The file is compared in the same window, as described in Viewing the Changes of a Revision: as of the earlier revision against the later one. The head of the window names the project, the folder and the file, and the two revisions. The arrows beside the position of the file, such as 2 of 15, open the previous or the next changed file in its place. To pick another file, click the back arrow or the name of the project: the list comes back on the page of the file last compared, with that file marked.

Comparing Project Revisions

OpenL Studio compares the project as the working copy has it now, the changes not saved yet included, with a revision of it. To compare the working copy with a revision, proceed as follows:

  1. On the page of the project, click Compare. On the Projects page, Compare is in the Actions menu ⋮ of the row.

    The comparison opens in a window of its own, where the revision to compare the working copy with is picked: the branch, in a repository with branches, and a revision of it. The newest revision of the branch the project is on is picked first.

    The branch and the revision the working copy is compared with

    Picking the revision the working copy is compared with

  2. Click Compare.

    The window lists the files changed between the revision and the working copy, ten files a page, as it lists the files changed between two revisions. The revision stands first, headed Selected revision, with its comment, its author, its date and its number, and the working copy stands beside it, headed User workspace. A file is changed when its content differs, so a file changed and then changed back is not listed.

    A revision the working copy is not made on, such as a revision of another branch, comes with the common revision both histories parted at, and a note under the two names it. The window then shows what the working copy changed since that revision, the way a pull request shows what a branch changed: the files listed are the ones the working copy changed since it. For the working copy, it is the revision the working copy was opened at or one before it, so a later revision of the same branch has one too. The note also estimates whether a merge of both sides would conflict, the way Sync estimates it, without merging anything, and every file both sides changed in the same parts is marked Possible conflict in the list and above the file compared. The estimate is made from the saved revisions, so changes of the working copy not saved yet are not in it.

    The common revision of the working copy and a revision of another branch

    The working copy compared with a revision of another branch, through their common revision

    The files the working copy changed since a revision

    The files the working copy changed since a revision

  3. To see what changed in a file, click its row.

    The file is compared in the same window, as described in Comparing Two Revisions: as of the revision against the working copy, an Excel file element by element as described in Comparing Excel Files, and any other file line by line.

    With a common revision, the file is compared from it: Common revision against User workspace. An Excel file marked Possible conflict shows Their version and Your version instead, each compared with the common revision, side by side or as one table: their version first, as the revision your changes would be merged into. A cell one side changed is framed in orange and carries its value before and after; a cell both sides changed differently is framed in red and carries the value both started from, and under it each value with the name of its version. The two versions are compared by what they read alone, so Formatting changes is not offered for such a file.

Exporting a Project or a File

To export a project, proceed as follows:

  1. On the page of the project, click Export. On the Projects page, Export is in the Actions menu ⋮ of the row.
  2. In the Export window, select the required Project Revision and click Export. A full project in the selected revision is downloaded as a ZIP archive.

    Exporting a project

    Exporting a project

The default project version for export is the one that a user has currently open. If it contains unsaved changes, it is marked as In Editing, otherwise, it is called Viewing. A closed project offers its revisions only, the latest first, and the list loads older revisions on demand: click Load older revisions at its end.

To export a file or a folder of the project as it is now, proceed as follows:

  1. In the tree, expand the project and select the file or the folder to be exported.
  2. Click Export in its pane.

A file is downloaded as it is, and a folder as a ZIP archive.

To export any revision of an Excel file of a module, click Export in the toolbar of the module in the editor. In the window that opens, select the required File Revision and click Export.

[!Note] A project in the Local status has no revisions in a Design repository, so the export window offers its working copy only, listed as Local.

Unlocking a Project

OpenL Studio provides a function for a user to unlock a project which is edited and, therefore, locked by another user. Be aware that after unlocking, all unsaved changes made by another user will be lost and the project will be closed. A lock icon follows the project name in the list, and the note on top of the Overview tab names the user who locked the project and says when.

To unlock a project, proceed as follows:

  1. Perform one of the following steps as required:
    • On the page of the project, click Unlock.
    • In the note on top of the Overview tab, click Release lock.
  2. In the confirmation, click OK.

Unlocking a project that another user edits

Unlocking a project that another user edits

Unlock is offered only to users who have administrative rights on the project. It is recommended to grant permission to the “Unlock” functionality only for administrators.

Browsing Deployments

The Deployment repository contains project deployments and is also the location from where solution applications use them. OpenL Studio allows connecting several deployment repositories. For information on how to configure deployment repositories, refer to Managing Repository Settings.

To browse a deployment repository, proceed as follows:

  1. Click Deployments in the top bar.
  2. In the Repositories panel, select the deployment repository to be browsed.

    The deployments of the selected deployment repository are listed on the right. The search field of the top bar, named Deployments on this page, finds a deployment by name. The bar under the list counts the deployments of the repository that match the search and switches the pages of a long list.

    The Deployments page

    The Deployments page

  3. Click a deployment to see the projects deployed in it.

OpenL Studio displays only the latest revisions of each deployment in the deployment repository.

When browsing deployments in the deployment repository, users can see their content, namely what rules projects are deployed.

For every deployed project, the list displays the following information:

  • Project — the name of the deployed project
  • Revision in Design Repository — the revision the project has in the design repository it was built from, named by who committed it and, underneath, when
  • Modified By and Modified At — who deployed the project and when

A deployed project keeps no reference back to where it came from, so its design revision is recognized by content: OpenL Studio indexes the revisions of the design repositories in the background and looks for the one whose files match the deployed project. Two consequences follow:

  • the revision of a project that was just deployed appears once the indexing reaches it, not immediately;
  • the revision stays unknown for a project deployed from a design repository this OpenL Studio does not have, and for content that no design revision matches.

The indexing is controlled by the repository.cache.monitor.enabled property. Switching it off leaves the Revision in Design Repository column empty for every deployed project.

The projects deployed in a deployment

The projects of a deployment

User Data for Git Commits

Upon user logon, OpenL Studio requires the user’s email address and display name. If either value is missing, the Complete Your Profile window opens before the user can continue to OpenL Studio. First Name and Last Name are optional and can be used to generate the display name. The completed display name and email are used for Git commits for the following actions:

  • create a project
  • copy a project
  • save a project
  • merge a project
  • delete a project
  • delete a branch
  • deploy a project to a Git deployment repository
  • synchronize a project

A deployment repository of another type, such as a database or AWS S3, records only the user name of who deploys. OpenL Studio does not check the email address and the display name for such a deploy, which matters for a deploy through the REST API or the MCP server.