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

Feature waldur #9

Merged
merged 9 commits into from
Dec 17, 2024
Merged

Feature waldur #9

merged 9 commits into from
Dec 17, 2024

Conversation

chryswoods
Copy link

Functionality that makes it easier to interface with Waldur.

Added

  • Added some extra functions to the Python layer to make it easier to
    integrate OpenPortal with, e.g. Waldur. These include is_config_loaded
    to check if the config has been loaded, and get to get the
    Job that matches the passed ID.

  • Added automatic building of Python Linux aarch64 binaries, so that
    the Python module can be used on ARM64 systems.

  • Cleaned up the Python API and added in lots of convenience functions.
    Objects are now correctly returned from the run function, so that you
    don't need to parse anything. Also added in the ability to default
    wait for a command to run

  • Added in extra commands to add and remove projects, list users in a
    project, and list projects in a portal. Some of these are still stubbed.

  • Added in ProjectIdentifier and ProjectMapping to mirror the
    equivalent User classes. Also cleaned up the concept of local
    users and groups, so that a UserMapping maps a user to a local
    unix username and unix group, while the ProjectMapping maps a
    project to a local unix group.

Christopher Woods added 9 commits December 11, 2024 12:23
…ement,

e.g. add_project, remove_project, get_projects and get_users)
a ProjectIdentifier to identify groups. This helps, as I also now
have a ProjectMapping that matches the UserMapping
…roject instructions

checks that the issueing portal is valid
…he type of the

result, and thus deserialise back when accessing via Python. Aim to make the result
types part of the Grammar, so that don't have to think about the underlying
tranmission format (e.g. json etc)
…h returned objects.

No need for parsing, and more type safe
@chryswoods chryswoods merged commit 8de1c11 into devel Dec 17, 2024
0 of 3 checks passed
@chryswoods chryswoods deleted the feature_waldur branch December 17, 2024 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant