[GH-ISSUE #130] Data Provenance: Platform Version #69

Open
opened 2026-03-03 11:58:41 +03:00 by kerem · 0 comments
Owner

Originally created by @sergeiosipov on GitHub (Nov 3, 2025).
Original GitHub issue: https://github.com/finmars-platform/finmars-core/issues/130

Originally assigned to: @falendary on GitHub.

Rationale:

Information about the Platform Version is a part of the Data Provenance.
Platform Version is defined by entity: Platform Version ("platform_version") (specifies platform version like as a install_iso_datetime_utc+backend_version+backend_channel e.g. "2025-11-01T13:18:43Z_1.23.2_stable").

To Do:

  1. Remove already implemented text fields below from all data entities according to the section "Affected Entities" in https://github.com/finmars-platform/finmars-core/issues/99:
    1. platform_version
    2. platform_build
  2. Add user-defined Platform Version ("platform_version") entity, which should have at least following fields:
    1. user_code
    2. name
    3. short_name
    4. public_name
    5. install_datetime (utc timezone aware)
    6. release_datetime (utc timezone aware)
    7. version_details - JSON with all versions like:
 {
   "backend": "1.23.2-stable",
   "olap": "1.18.0-stable",
   "portal": "1.22.3-stable",
   "vue-portal": "1.22.6-stable",
   "workflow": "1.22.7-stable",
   "workflow-portal": "1.22.1-stable"
 }
  1. When Space is created - autocreate instance of Platform Version ("platform_version") entity corresponding to the used version of the platform.
  2. When Space is updated/rollbacked - autocreate instance of Platform Version ("platform_version") entity corresponding to the used version of the platform.
  3. This entity should have their own Entity Viewer Pages with only READ operations available, not even admin should be able to create/edit/delete this entity even via API.
  4. The entity should be a relation type of Transaction Types Input.
  5. Add this relation to the base transaction so that we can aggregate/filter by it in Transaction, Balance and PnL Reports.
Originally created by @sergeiosipov on GitHub (Nov 3, 2025). Original GitHub issue: https://github.com/finmars-platform/finmars-core/issues/130 Originally assigned to: @falendary on GitHub. ### **Rationale:** Information about the **Platform Version** is a part of the **Data Provenance**. **Platform Version** is defined by entity: `Platform Version ("platform_version")` (specifies platform version like as a install_iso_datetime_utc+backend_version+backend_channel e.g. "2025-11-01T13:18:43Z_1.23.2_stable"). ### **To Do:** 1. Remove already implemented text fields below from all data entities according to the section "Affected Entities" in https://github.com/finmars-platform/finmars-core/issues/99: 1. `platform_version` 2. `platform_build` 2. Add user-defined `Platform Version ("platform_version")` entity, which should have at least following fields: 1. `user_code` 2. `name` 3. `short_name` 4. `public_name` 5. `install_datetime` (utc timezone aware) 6. `release_datetime` (utc timezone aware) 7. `version_details` - JSON with all versions like: ``` { "backend": "1.23.2-stable", "olap": "1.18.0-stable", "portal": "1.22.3-stable", "vue-portal": "1.22.6-stable", "workflow": "1.22.7-stable", "workflow-portal": "1.22.1-stable" } ``` 3. When **Space is created** - autocreate instance of `Platform Version ("platform_version")` entity corresponding to the used version of the platform. 4. When **Space is updated/rollbacked** - autocreate instance of `Platform Version ("platform_version")` entity corresponding to the used version of the platform. 5. This entity should have their own **Entity Viewer Pages** with **only READ operations available**, not even admin should be able to create/edit/delete this entity even via API. 6. The entity should be a relation type of **Transaction Types Input**. 7. Add this relation to the base transaction so that we can aggregate/filter by it in Transaction, Balance and PnL **Reports**.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/finmars-core#69
No description provided.