More sample configs for JSON ingester

glance, heat, magnum, masakari, mistral, tacker, zun.

Change-Id: I7ebb94c08c993d20b57396197409eaf9a72230ba
partially-implements: bp json-data-model
This commit is contained in:
Eric Kao 2019-03-07 14:49:22 -08:00
parent 8788b5b31d
commit bd3a30ae90
8 changed files with 203 additions and 0 deletions

View File

@ -80,6 +80,7 @@ function configure_congress {
echo " auth_url: http://$SERVICE_HOST/identity" >> "$CONGRESS_JSON_CONF_REUSABLES_PATH"
local OS_PROJECT_ID="$(openstack project show $OS_PROJECT_NAME -f value -c id)"
echo "cinder_path: volume/v3/$OS_PROJECT_ID/"
echo "heat_path: orchestration/v1/$OS_PROJECT_ID/"
if [[ ! -d $CONGRESS_JSON_CONF_DIR ]]; then
mkdir $CONGRESS_JSON_CONF_DIR

View File

@ -0,0 +1,17 @@
name: _image
poll_interval: 60
allow_exec_api: true
authentication: !ref keystone_admin_auth_config
api_endpoint_host: !ref primary_host
api_endpoint_path: v2/
tables:
images:
poll:
api_path: images
api_method: get
jsonpath: $.images[:]
tasks:
poll:
api_path: tasks
api_method: get
jsonpath: $.tasks[:]

View File

@ -0,0 +1,37 @@
name: _heat
poll_interval: 60
allow_exec_api: true
authentication: !ref keystone_admin_auth_config
api_endpoint_host: !ref primary_host
api_endpoint_path: !ref heat_path
tables:
stacks:
poll:
api_path: stacks/detail?global_tenant=true
api_method: get
jsonpath: $.stacks[:]
template_versions:
poll:
api_path: template_versions
api_method: get
jsonpath: $.template_versions[:]
software_configs:
poll:
api_path: software_configs
api_method: get
jsonpath: $.software_configs[:]
software_deployments:
poll:
api_path: software_deployments
api_method: get
jsonpath: $.software_deployments[:]
resource_types:
poll:
api_path: resource_types
api_method: get
jsonpath: $.resource_types[:]
services:
poll:
api_path: services
api_method: get
jsonpath: $.services[:]

View File

@ -0,0 +1,37 @@
name: _magnum
poll_interval: 60
allow_exec_api: true
authentication: !ref keystone_admin_auth_config
api_endpoint_host: !ref primary_host
api_endpoint_path: magnum/v1/
tables:
bays:
poll:
api_path: bays
api_method: get
jsonpath: $.bays[:]
baymodels:
poll:
api_path: baymodels
api_method: get
jsonpath: $.baymodels[:]
clusters:
poll:
api_path: clusters
api_method: get
jsonpath: $.clusters[:]
clustertemplates:
poll:
api_path: clustertemplates
api_method: get
jsonpath: $.clustertemplates[:]
mservices:
poll:
api_path: mservices
api_method: get
jsonpath: $.mservices[:]
quotas:
poll:
api_path: quotas
api_method: get
jsonpath: $.quotas[:]

View File

@ -0,0 +1,18 @@
name: _masakari
poll_interval: 60
allow_exec_api: true
authentication: !ref keystone_admin_auth_config
api_endpoint_host: !ref primary_host
api_endpoint_path: v1/
api_endpoint_port: 15868
tables:
segments:
poll:
api_path: segments
api_method: get
jsonpath: $.segments[:]
notifications:
poll:
api_path: notifications
api_method: get
jsonpath: $.notifications[:]

View File

@ -0,0 +1,53 @@
name: _mistral
poll_interval: 60
allow_exec_api: true
authentication: !ref keystone_admin_auth_config
api_endpoint_host: !ref primary_host
api_endpoint_path: v2/
api_endpoint_port: 8989
tables:
workbooks:
poll:
api_path: workbooks
api_method: get
jsonpath: $.workbooks[:]
workflows:
poll:
api_path: workflows?all_projects=true
api_method: get
jsonpath: $.workflows[:]
actions:
poll:
api_path: actions
api_method: get
jsonpath: $.actions[:]
executions:
poll:
api_path: executions?all_projects=true
api_method: get
jsonpath: $.executions[:]
tasks:
poll:
api_path: tasks
api_method: get
jsonpath: $.tasks[:]
action_executions:
poll:
api_path: action_executions
api_method: get
jsonpath: $.action_executions[:]
cron_triggers:
poll:
api_path: cron_triggers?all_projects=true
api_method: get
jsonpath: $.cron_triggers[:]
environments:
poll:
api_path: environments
api_method: get
jsonpath: $.environments[:]
services:
poll:
api_path: services
api_method: get
jsonpath: $.services[:]

View File

@ -0,0 +1,18 @@
name: _tacker
poll_interval: 60
allow_exec_api: true
authentication: !ref keystone_admin_auth_config
api_endpoint_host: !ref primary_host
api_endpoint_path: v1.0/
api_endpoint_port: 9890
tables:
vnfds:
poll:
api_path: vnfds
api_method: get
jsonpath: $.vnfds[:]
vnfs:
poll:
api_path: vnfs
api_method: get
jsonpath: $.vnfs[:]

View File

@ -0,0 +1,22 @@
name: _zun
poll_interval: 60
allow_exec_api: true
authentication: !ref keystone_admin_auth_config
api_endpoint_host: !ref primary_host
api_endpoint_path: zun/v1/
tables:
containers:
poll:
api_path: containers
api_method: get
jsonpath: $.containers[:]
services:
poll:
api_path: services
api_method: get
jsonpath: $.services[:]
hosts:
poll:
api_path: hosts
api_method: get
jsonpath: $.hosts[:]