Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 theJob 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 youdon'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
andProjectMapping
to mirror theequivalent
User
classes. Also cleaned up the concept of localusers and groups, so that a
UserMapping
maps a user to a localunix username and unix group, while the
ProjectMapping
maps aproject to a local unix group.