api-paste.ini

The Tacker service stores its API configuration settings in the api-paste.ini file.

[composite:tacker]
use = egg:Paste#urlmap
/: tackerversions
/v1.0: tackerapi_v1_0
/vnfpkgm/v1: vnfpkgmapi_v1
/vnflcm: vnflcm_versions
/vnflcm/v1: vnflcm_v1
/vnflcm/v2: vnflcm_v2
/vnffm/v1: vnffm_v1
/vnfpm/v2: vnfpm_v2
/alert/auto_scaling: prometheus_auto_scaling
/alert/auto_healing: prometheus_auto_healing
/alert: prometheus_fm
/pm_event: prometheus_pm
/pm_threshold: prometheus_threshold
/server_notification: server_notification

[composite:tackerapi_v1_0]
use = call:tacker.auth:pipeline_factory
noauth = request_id catch_errors extensions tackerapiapp_v1_0
keystone = request_id catch_errors authtoken keystonecontext extensions tackerapiapp_v1_0

[composite:vnfpkgmapi_v1]
use = call:tacker.auth:pipeline_factory
noauth = request_id catch_errors vnfpkgmapp_v1
keystone = request_id catch_errors authtoken keystonecontext vnfpkgmapp_v1

[composite:vnflcm_v1]
use = call:tacker.auth:pipeline_factory
noauth = request_id catch_errors vnflcmaapp_v1
keystone = request_id catch_errors authtoken keystonecontext vnflcmaapp_v1

[composite:vnflcm_v2]
use = call:tacker.auth:pipeline_factory
noauth = request_id catch_errors vnflcmaapp_v2
keystone = request_id catch_errors authtoken keystonecontext vnflcmaapp_v2

[composite:vnfpm_v2]
use = call:tacker.auth:pipeline_factory
noauth = request_id catch_errors vnfpmaapp_v2
keystone = request_id catch_errors authtoken keystonecontext vnfpmaapp_v2

[composite:vnflcm_versions]
use = call:tacker.auth:pipeline_factory
noauth = request_id catch_errors vnflcm_api_versions
keystone = request_id catch_errors authtoken keystonecontext vnflcm_api_versions

[composite:vnffm_v1]
use = call:tacker.auth:pipeline_factory
noauth = request_id catch_errors vnffmaapp_v1
keystone = request_id catch_errors authtoken keystonecontext vnffmaapp_v1

[filter:request_id]
paste.filter_factory = oslo_middleware:RequestId.factory

[filter:catch_errors]
paste.filter_factory = oslo_middleware:CatchErrors.factory

[filter:keystonecontext]
paste.filter_factory = tacker.auth:TackerKeystoneContext.factory

[filter:authtoken]
paste.filter_factory = keystonemiddleware.auth_token:filter_factory

[filter:extensions]
paste.filter_factory = tacker.api.extensions:extension_middleware_factory

[app:tackerversions]
paste.app_factory = tacker.api.versions:Versions.factory

[app:tackerapiapp_v1_0]
paste.app_factory = tacker.api.v1.router:APIRouter.factory

[app:vnfpkgmapp_v1]
paste.app_factory = tacker.api.vnfpkgm.v1.router:VnfpkgmAPIRouter.factory

[app:vnflcmaapp_v1]
paste.app_factory = tacker.api.vnflcm.v1.router:VnflcmAPIRouter.factory

[app:vnflcmaapp_v2]
paste.app_factory = tacker.sol_refactored.api.router:VnflcmAPIRouterV2.factory

[app:vnfpmaapp_v2]
paste.app_factory = tacker.sol_refactored.api.router:VnfPmAPIRouterV2.factory

[app:vnflcm_api_versions]
paste.app_factory = tacker.sol_refactored.api.router:VnflcmVersions.factory

[app:vnffmaapp_v1]
paste.app_factory = tacker.sol_refactored.api.router:VnffmAPIRouterV1.factory

[app:prometheus_auto_scaling]
paste.app_factory = tacker.sol_refactored.api.router:AutoScalingRouter.factory

[app:prometheus_auto_healing]
paste.app_factory = tacker.sol_refactored.api.router:AutoHealingRouter.factory

[app:prometheus_fm]
paste.app_factory = tacker.sol_refactored.api.router:FmAlertRouter.factory

[app:prometheus_pm]
paste.app_factory = tacker.sol_refactored.api.router:PmEventRouter.factory

[app:prometheus_threshold]
paste.app_factory = tacker.sol_refactored.api.router:PmThresholdRouter.factory

[app:server_notification]
paste.app_factory = tacker.sol_refactored.api.router:ServerNotificationRouter.factory