magpie.api.management.service.service_utils

Module Contents

Functions

create_service(service_name: Str, service_type: Str, service_url: Str, service_push: bool, db_session: Session) → HTTPException

Generates an instance to register a new service.

get_services_by_type(service_type: Str, db_session: Session) → Iterable[models.Service]

Obtains all services that correspond to requested service-type.

add_service_getcapabilities_perms(service, db_session, group_name=None)

magpie.api.management.service.service_utils.LOGGER[source]
magpie.api.management.service.service_utils.create_service(service_name: Str, service_type: Str, service_url: Str, service_push: bool, db_session: Session) → HTTPException[source]

Generates an instance to register a new service.

magpie.api.management.service.service_utils.get_services_by_type(service_type: Str, db_session: Session) → Iterable[models.Service][source]

Obtains all services that correspond to requested service-type.

magpie.api.management.service.service_utils.add_service_getcapabilities_perms(service, db_session, group_name=None)[source]