Reference Source
public class | source

TopologySvcProvider

Extends:

devapt-core-common/dist/js/services/service_provider~ServiceProvider → TopologySvcProvider

Topology service provider class.

Constructor Summary

Public Constructor
public

constructor(arg_provider_name: string, arg_service_instance: Service, arg_context: string): nothing

Create a topology service provider.

Member Summary

Public Members
public

Class test flag.

Method Summary

Public Methods
public

Get deployed tenants topology.

public

get_deployed_node_topology(arg_deployed_node: TopologyDeployedNode): object

Get deployed topology for a node.

public

Get deployed nodes.

public

get_deployed_server_topology(arg_deployed_server: TopologyDeployedServer): object

Get deployed topology for a server.

public

get_deployed_tenant_topology(arg_tenant_name: *): object

Get deployed tenants topology.

public

Get deployed tenants topology.

public

Get provider operations names.

public

produce(arg_request: ServiceRequest): Promise

Produce service datas on request.

Public Constructors

public constructor(arg_provider_name: string, arg_service_instance: Service, arg_context: string): nothing source

Create a topology service provider.

Params:

NameTypeAttributeDescription
arg_provider_name string

consumer name.

arg_service_instance Service

service instance.

arg_context string

logging context label.

Return:

nothing

Public Members

public is_topology_svc_provider: boolean source

Class test flag.

Public Methods

public get_deployed_application_topology(arg_tenant_name: *): object source

Get deployed tenants topology.

Params:

NameTypeAttributeDescription
arg_tenant_name *

Return:

object

deployed tenant topology plain object.

public get_deployed_node_topology(arg_deployed_node: TopologyDeployedNode): object source

Get deployed topology for a node.

Params:

NameTypeAttributeDescription
arg_deployed_node TopologyDeployedNode

deployed node.

Return:

object

deployed node topology plain object.

public get_deployed_nodes_topology(): array source

Get deployed nodes.

Return:

array

public get_deployed_server_topology(arg_deployed_server: TopologyDeployedServer): object source

Get deployed topology for a server.

Params:

NameTypeAttributeDescription
arg_deployed_server TopologyDeployedServer

deployed server.

Return:

object

deployed server topology plain object.

public get_deployed_tenant_topology(arg_tenant_name: *): object source

Get deployed tenants topology.

Params:

NameTypeAttributeDescription
arg_tenant_name *

Return:

object

deployed tenant topology plain object.

public get_deployed_tenants_topology(): object source

Get deployed tenants topology.

Return:

object

deployed tenants topology plain object.

public get_operations_names(): array source

Get provider operations names.

Return:

array

operations names.

public produce(arg_request: ServiceRequest): Promise source

Produce service datas on request.

Params:

NameTypeAttributeDescription
arg_request ServiceRequest

service request instance.

Return:

Promise

promise of ServiceResponse instance.