Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add metamodel version 3.1 support #308

Merged
merged 6 commits into from
Feb 19, 2024
Merged

Add metamodel version 3.1 support #308

merged 6 commits into from
Feb 19, 2024

Commits on Feb 15, 2024

  1. Prepare for version 3.1

    We add `v3_1.py` and adapt the version number wherever we found.
    s-heppner committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    8e1b39c View commit details
    Browse the repository at this point in the history
  2. Add tests for v3.1

    This commit adds tests for `v3_1.py`.
    s-heppner committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    6827b8b View commit details
    Browse the repository at this point in the history
  3. test_v3_1: Fix codestyle

    When changing the module from `v3` to `v3_1`, the name obviously
    got two characters longer.
    This resulted in overstepping the maximum line limit in two
    occasions.
    We fix this oversight with this commit.
    s-heppner committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    2a1e90f View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. V3.1: Add Role value to Asset_kind enumeration

    A new enumeration value has been added to class `Asset_kind`, see
    [aas-specs#294](admin-shell-io/aas-specs#294)
    
    Fixes #302
    s-heppner committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    ebd6931 View commit details
    Browse the repository at this point in the history
  2. V3.1: Relax matches_id_short regex.

    Previously, the `matches_id_short` regular expression only allowed
    letters, digits and underscores.
    
    With the decision of
    [aas-specs#295](admin-shell-io/aas-specs#295),
    this condition was relaxed to allow also hyphens.
    
    Fixes #304
    s-heppner committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    22f8515 View commit details
    Browse the repository at this point in the history
  3. V3.1: Make Entity.entity_type optional

    Previously, `Entity.entity_type` was mandatory, however v3.1
    changes this.
    We adapt the class defintion, as well as the invariant of AASd-014.
    
    Fix #306
    s-heppner committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    ef05162 View commit details
    Browse the repository at this point in the history