airgun.entities.lifecycleenvironment

Module Contents

Classes

LCEEntity

ShowAllLCE

Navigate to All Lifecycle Environments page

AddNewLCEPath

Navigate to New Lifecycle Environment Path page

AddNewLCE

Navigate to New Lifecycle Environment page

EditLCE

Navigate to Edit Lifecycle Environment page

class airgun.entities.lifecycleenvironment.LCEEntity(browser)
endpoint_path = /lifecycle_environments
create_environment_path(values)
create_environment(values, entity_name)
create(values, prior_entity_name=None)

Create new lifecycle environment :param values: Parameters to be assigned to lce, at least name should be provided :param prior_entity_name: Specify entity name which should be a parent to lifecycle environment that created in a chain

read(entity_name, widget_names=None)

Read specific lifecycle environment details from its Edit page

read_all()

Read all available lifecycle environments details from generic lifecycle environments page

update(entity_name='Library', values=None)

Update existing lifecycle environment values

delete(entity_name)

Deletes existing lifecycle environment entity

search_package(entity_name, package_name, cv_name=None, repo_name=None)

Search for specific package inside lifecycle environment

search_module_stream(entity_name, module_name, cv_name=None, repo_name=None)

Search for specific module stream inside lifecycle environment

class airgun.entities.lifecycleenvironment.ShowAllLCE(obj, navigate_obj, logger=None)

Navigate to All Lifecycle Environments page

VIEW
step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.

class airgun.entities.lifecycleenvironment.AddNewLCEPath(obj, navigate_obj, logger=None)

Navigate to New Lifecycle Environment Path page

VIEW
prerequisite
step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.

class airgun.entities.lifecycleenvironment.AddNewLCE(obj, navigate_obj, logger=None)

Navigate to New Lifecycle Environment page

VIEW
prerequisite(*args, **kwargs)

Describes a step that must be carried our prior to this one.

This often calls a previous navigate_to, often using one of the helpers, NavigateToSibling which will navigate to a given destination using the same object, or NavigateToAttribute which will navigate to a destination against an object describe by the attribute of the parent object.

This is a default and is generally overridden.

step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.

class airgun.entities.lifecycleenvironment.EditLCE(obj, navigate_obj, logger=None)

Navigate to Edit Lifecycle Environment page

Parameters

entity_name – name of the lifecycle environment

VIEW
prerequisite(*args, **kwargs)

Describes a step that must be carried our prior to this one.

This often calls a previous navigate_to, often using one of the helpers, NavigateToSibling which will navigate to a given destination using the same object, or NavigateToAttribute which will navigate to a destination against an object describe by the attribute of the parent object.

This is a default and is generally overridden.

step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.