// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`ParameterSelectionReducer should activate edit parameter 1`] = ` Object { "columns": Array [ Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Name", "props": Object { "index": 0, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "name", }, Object { "cell": Object { "formatters": Array [ null, ], "props": Object { "index": 1, }, }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Description", "props": Object { "index": 1, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "description", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Type", "props": Object { "index": 2, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "type", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Default value", "props": Object { "index": 3, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "value", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "formatters": Array [ null, ], "label": "Actions", "props": Object { "index": 4, "style": Object { "width": "10%", }, }, }, "property": "actions", }, ], "editMode": true, "error": Object { "errorMsg": "", "status": "", "statusText": "", }, "hostgroupId": 1, "loading": false, "paramData": Object { "computeprofiles": Array [ Object { "id": 1, "name": "1-Small", }, Object { "id": 2, "name": "2-Medium", }, Object { "id": 3, "name": "3-Large", }, Object { "id": 4, "name": "Orchahosts-VM", }, ], "dataType": "PARAMETER_SELECTION_PARAM_TYPE_FOREMAN", "domains": Array [ Object { "id": 1, "name": "deploy3.dev.atix", }, ], "environments": Array [ Object { "id": 1, "name": "production", }, ], "hostgroup_id": 1, "lifecycle_environments": Array [ Object { "id": 1, "name": "Library", }, ], "ptables": Array [ Object { "id": 125, "name": "Kickstart default", }, ], }, "paramDefinition": Object { "dataId": "1", "id": 1, "name": "web", }, "parameterTypes": Object { "domain": "Domain", "hostparam": "Host parameter", "ip": "IP", "password": "Root password", "ptable": "Partition table", "puppetenv": "Puppet environment", }, "parameters": Array [ Object { "description": "", "id": 1, "locked": false, "name": "CP", "type": "computeprofile", "value": "1", }, Object { "backup": Object { "description": "", "id": 2, "locked": true, "name": "LE", "type": "lifecycleenv", "value": "1", }, "description": "", "id": 2, "locked": true, "name": "LE", "type": "lifecycleenv", "value": "1", }, ], "sortingColumns": Object { "name": Object { "direction": "asc", "position": 0, }, }, } `; exports[`ParameterSelectionReducer should add a parameter 1`] = ` Object { "columns": Array [ Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Name", "props": Object { "index": 0, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "name", }, Object { "cell": Object { "formatters": Array [ null, ], "props": Object { "index": 1, }, }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Description", "props": Object { "index": 1, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "description", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Type", "props": Object { "index": 2, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "type", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Default value", "props": Object { "index": 3, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "value", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "formatters": Array [ null, ], "label": "Actions", "props": Object { "index": 4, "style": Object { "width": "10%", }, }, }, "property": "actions", }, ], "editMode": true, "error": Object { "errorMsg": "", "status": "", "statusText": "", }, "hostgroupId": 1, "loading": false, "paramData": Object { "computeprofiles": Array [ Object { "id": 1, "name": "1-Small", }, Object { "id": 2, "name": "2-Medium", }, Object { "id": 3, "name": "3-Large", }, Object { "id": 4, "name": "Orchahosts-VM", }, ], "dataType": "PARAMETER_SELECTION_PARAM_TYPE_FOREMAN", "domains": Array [ Object { "id": 1, "name": "deploy3.dev.atix", }, ], "environments": Array [ Object { "id": 1, "name": "production", }, ], "hostgroup_id": 1, "lifecycle_environments": Array [ Object { "id": 1, "name": "Library", }, ], "ptables": Array [ Object { "id": 125, "name": "Kickstart default", }, ], }, "paramDefinition": Object { "dataId": "1", "id": 1, "name": "web", }, "parameterTypes": Object { "domain": "Domain", "hostparam": "Host parameter", "ip": "IP", "password": "Root password", "ptable": "Partition table", "puppetenv": "Puppet environment", }, "parameters": Array [ Object { "description": "", "id": 1, "locked": false, "name": "CP", "type": "computeprofile", "value": "1", }, Object { "description": "", "id": 2, "locked": true, "name": "LE", "type": "lifecycleenv", "value": "1", }, Object { "backup": Object { "description": "", "id": 3, "locked": false, "name": "", "newEntry": true, "type": "", "value": "", }, "description": "", "id": 3, "locked": false, "name": "", "newEntry": true, "type": "", "value": "", }, ], "sortingColumns": Object { "name": Object { "direction": "asc", "position": 0, }, }, } `; exports[`ParameterSelectionReducer should cancel edit parameter 1`] = ` Object { "columns": Array [ Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Name", "props": Object { "index": 0, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "name", }, Object { "cell": Object { "formatters": Array [ null, ], "props": Object { "index": 1, }, }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Description", "props": Object { "index": 1, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "description", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Type", "props": Object { "index": 2, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "type", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Default value", "props": Object { "index": 3, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "value", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "formatters": Array [ null, ], "label": "Actions", "props": Object { "index": 4, "style": Object { "width": "10%", }, }, }, "property": "actions", }, ], "editMode": false, "error": Object { "errorMsg": "", "status": "", "statusText": "", }, "hostgroupId": 1, "loading": false, "paramData": Object { "computeprofiles": Array [ Object { "id": 1, "name": "1-Small", }, Object { "id": 2, "name": "2-Medium", }, Object { "id": 3, "name": "3-Large", }, Object { "id": 4, "name": "Orchahosts-VM", }, ], "dataType": "PARAMETER_SELECTION_PARAM_TYPE_FOREMAN", "domains": Array [ Object { "id": 1, "name": "deploy3.dev.atix", }, ], "environments": Array [ Object { "id": 1, "name": "production", }, ], "hostgroup_id": 1, "lifecycle_environments": Array [ Object { "id": 1, "name": "Library", }, ], "ptables": Array [ Object { "id": 125, "name": "Kickstart default", }, ], }, "paramDefinition": Object { "dataId": "1", "id": 1, "name": "web", }, "parameterTypes": Object { "domain": "Domain", "hostparam": "Host parameter", "ip": "IP", "password": "Root password", "ptable": "Partition table", "puppetenv": "Puppet environment", }, "parameters": Array [ Object { "description": "", "id": 1, "locked": false, "name": "CP", "type": "computeprofile", "value": "1", }, Object { "description": "", "id": 2, "locked": true, "name": "LE", "type": "lifecycleenv", "value": "1", }, ], "sortingColumns": Object { "name": Object { "direction": "asc", "position": 0, }, }, } `; exports[`ParameterSelectionReducer should change edit parameter 1`] = ` Object { "columns": Array [ Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Name", "props": Object { "index": 0, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "name", }, Object { "cell": Object { "formatters": Array [ null, ], "props": Object { "index": 1, }, }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Description", "props": Object { "index": 1, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "description", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Type", "props": Object { "index": 2, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "type", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Default value", "props": Object { "index": 3, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "value", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "formatters": Array [ null, ], "label": "Actions", "props": Object { "index": 4, "style": Object { "width": "10%", }, }, }, "property": "actions", }, ], "editMode": false, "error": Object { "errorMsg": "", "status": "", "statusText": "", }, "hostgroupId": 1, "loading": false, "paramData": Object { "computeprofiles": Array [ Object { "id": 1, "name": "1-Small", }, Object { "id": 2, "name": "2-Medium", }, Object { "id": 3, "name": "3-Large", }, Object { "id": 4, "name": "Orchahosts-VM", }, ], "dataType": "PARAMETER_SELECTION_PARAM_TYPE_FOREMAN", "domains": Array [ Object { "id": 1, "name": "deploy3.dev.atix", }, ], "environments": Array [ Object { "id": 1, "name": "production", }, ], "hostgroup_id": 1, "lifecycle_environments": Array [ Object { "id": 1, "name": "Library", }, ], "ptables": Array [ Object { "id": 125, "name": "Kickstart default", }, ], }, "paramDefinition": Object { "dataId": "1", "id": 1, "name": "web", }, "parameterTypes": Object { "domain": "Domain", "hostparam": "Host parameter", "ip": "IP", "password": "Root password", "ptable": "Partition table", "puppetenv": "Puppet environment", }, "parameters": Array [ Object { "description": "", "id": 1, "locked": false, "name": "CP", "type": "computeprofile", "value": "1", }, Object { "backup": Object { "description": "", "id": 2, "locked": true, "name": "LE", "type": "lifecycleenv", "value": "1", }, "description": "", "id": 2, "locked": true, "name": "LE", "type": "lifecycleenv", "value": "helloworld", }, ], "sortingColumns": Object { "name": Object { "direction": "asc", "position": 0, }, }, } `; exports[`ParameterSelectionReducer should confirm edit parameter 1`] = ` Object { "columns": Array [ Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Name", "props": Object { "index": 0, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "name", }, Object { "cell": Object { "formatters": Array [ null, ], "props": Object { "index": 1, }, }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Description", "props": Object { "index": 1, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "description", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Type", "props": Object { "index": 2, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "type", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Default value", "props": Object { "index": 3, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "value", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "formatters": Array [ null, ], "label": "Actions", "props": Object { "index": 4, "style": Object { "width": "10%", }, }, }, "property": "actions", }, ], "editMode": false, "error": Object { "errorMsg": "", "status": "", "statusText": "", }, "hostgroupId": 1, "loading": false, "paramData": Object { "computeprofiles": Array [ Object { "id": 1, "name": "1-Small", }, Object { "id": 2, "name": "2-Medium", }, Object { "id": 3, "name": "3-Large", }, Object { "id": 4, "name": "Orchahosts-VM", }, ], "dataType": "PARAMETER_SELECTION_PARAM_TYPE_FOREMAN", "domains": Array [ Object { "id": 1, "name": "deploy3.dev.atix", }, ], "environments": Array [ Object { "id": 1, "name": "production", }, ], "hostgroup_id": 1, "lifecycle_environments": Array [ Object { "id": 1, "name": "Library", }, ], "ptables": Array [ Object { "id": 125, "name": "Kickstart default", }, ], }, "paramDefinition": Object { "dataId": "1", "id": 1, "name": "web", }, "parameterTypes": Object { "domain": "Domain", "hostparam": "Host parameter", "ip": "IP", "password": "Root password", "ptable": "Partition table", "puppetenv": "Puppet environment", }, "parameters": Array [ Object { "description": "", "id": 1, "locked": false, "name": "CP", "type": "computeprofile", "value": "1", }, Object { "description": "", "id": 2, "locked": true, "name": "LE", "type": "lifecycleenv", "value": "1", }, ], "sortingColumns": Object { "name": Object { "direction": "asc", "position": 0, }, }, } `; exports[`ParameterSelectionReducer should delete a parameter 1`] = ` Object { "columns": Array [ Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Name", "props": Object { "index": 0, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "name", }, Object { "cell": Object { "formatters": Array [ null, ], "props": Object { "index": 1, }, }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Description", "props": Object { "index": 1, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "description", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Type", "props": Object { "index": 2, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "type", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Default value", "props": Object { "index": 3, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "value", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "formatters": Array [ null, ], "label": "Actions", "props": Object { "index": 4, "style": Object { "width": "10%", }, }, }, "property": "actions", }, ], "editMode": false, "error": Object { "errorMsg": "", "status": "", "statusText": "", }, "hostgroupId": 1, "loading": false, "paramData": Object { "computeprofiles": Array [ Object { "id": 1, "name": "1-Small", }, Object { "id": 2, "name": "2-Medium", }, Object { "id": 3, "name": "3-Large", }, Object { "id": 4, "name": "Orchahosts-VM", }, ], "dataType": "PARAMETER_SELECTION_PARAM_TYPE_FOREMAN", "domains": Array [ Object { "id": 1, "name": "deploy3.dev.atix", }, ], "environments": Array [ Object { "id": 1, "name": "production", }, ], "hostgroup_id": 1, "lifecycle_environments": Array [ Object { "id": 1, "name": "Library", }, ], "ptables": Array [ Object { "id": 125, "name": "Kickstart default", }, ], }, "paramDefinition": Object { "dataId": "1", "id": 1, "name": "web", }, "parameterTypes": Object { "domain": "Domain", "hostparam": "Host parameter", "ip": "IP", "lifecycleenv": "Lifecycle environment", "password": "Root password", "ptable": "Partition table", "puppetenv": "Puppet environment", }, "parameters": Array [ Object { "description": "", "id": 1, "locked": false, "name": "CP", "type": "computeprofile", "value": "1", }, ], "sortingColumns": Object { "name": Object { "direction": "asc", "position": 0, }, }, } `; exports[`ParameterSelectionReducer should initialize component 1`] = ` Object { "columns": Array [ Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Name", "props": Object { "index": 0, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "name", }, Object { "cell": Object { "formatters": Array [ null, ], "props": Object { "index": 1, }, }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Description", "props": Object { "index": 1, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "description", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Type", "props": Object { "index": 2, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "type", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Default value", "props": Object { "index": 3, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "value", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "formatters": Array [ null, ], "label": "Actions", "props": Object { "index": 4, "style": Object { "width": "10%", }, }, }, "property": "actions", }, ], "editMode": false, "error": Object { "errorMsg": "", "status": "", "statusText": "", }, "hostgroupId": 1, "loading": false, "paramData": Object { "computeprofiles": Array [ Object { "id": 1, "name": "1-Small", }, Object { "id": 2, "name": "2-Medium", }, Object { "id": 3, "name": "3-Large", }, Object { "id": 4, "name": "Orchahosts-VM", }, ], "dataType": "PARAMETER_SELECTION_PARAM_TYPE_FOREMAN", "domains": Array [ Object { "id": 1, "name": "deploy3.dev.atix", }, ], "environments": Array [ Object { "id": 1, "name": "production", }, ], "hostgroup_id": 1, "lifecycle_environments": Array [ Object { "id": 1, "name": "Library", }, ], "ptables": Array [ Object { "id": 125, "name": "Kickstart default", }, ], }, "paramDefinition": Object { "dataId": "1", "id": 1, "name": "web", }, "parameterTypes": Object { "domain": "Domain", "hostparam": "Host parameter", "ip": "IP", "password": "Root password", "ptable": "Partition table", "puppetenv": "Puppet environment", }, "parameters": Array [ Object { "description": "", "id": 1, "locked": false, "name": "CP", "type": "computeprofile", "value": "1", }, Object { "backup": Object { "description": "", "id": 2, "locked": true, "name": "LE", "type": "lifecycleenv", "value": "1", }, "description": "", "id": 2, "locked": true, "name": "LE", "type": "lifecycleenv", "value": "1", }, ], "sortingColumns": Object { "name": Object { "direction": "asc", "position": 0, }, }, } `; exports[`ParameterSelectionReducer should load param data be erroneous 1`] = ` Object { "columns": Array [ Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Name", "props": Object { "index": 0, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "name", }, Object { "cell": Object { "formatters": Array [ null, ], "props": Object { "index": 1, }, }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Description", "props": Object { "index": 1, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "description", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Type", "props": Object { "index": 2, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "type", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Default value", "props": Object { "index": 3, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "value", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "formatters": Array [ null, ], "label": "Actions", "props": Object { "index": 4, "style": Object { "width": "10%", }, }, }, "property": "actions", }, ], "editMode": false, "error": "Something really bad happend", "hostgroupId": 1, "loading": false, "paramData": Object { "computeprofiles": Array [ Object { "id": 1, "name": "1-Small", }, Object { "id": 2, "name": "2-Medium", }, Object { "id": 3, "name": "3-Large", }, Object { "id": 4, "name": "Orchahosts-VM", }, ], "dataType": "PARAMETER_SELECTION_PARAM_TYPE_FOREMAN", "domains": Array [ Object { "id": 1, "name": "deploy3.dev.atix", }, ], "environments": Array [ Object { "id": 1, "name": "production", }, ], "hostgroup_id": 1, "lifecycle_environments": Array [ Object { "id": 1, "name": "Library", }, ], "ptables": Array [ Object { "id": 125, "name": "Kickstart default", }, ], }, "paramDefinition": Object { "dataId": "1", "id": 1, "name": "web", }, "parameterTypes": Object { "domain": "Domain", "hostparam": "Host parameter", "ip": "IP", "password": "Root password", "ptable": "Partition table", "puppetenv": "Puppet environment", }, "parameters": Array [ Object { "description": "", "id": 1, "locked": false, "name": "CP", "type": "computeprofile", "value": "1", }, Object { "description": "", "id": 2, "locked": true, "name": "LE", "type": "lifecycleenv", "value": "1", }, ], "sortingColumns": Object { "name": Object { "direction": "asc", "position": 0, }, }, } `; exports[`ParameterSelectionReducer should load param data be successful 1`] = ` Object { "columns": Array [ Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Name", "props": Object { "index": 0, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "name", }, Object { "cell": Object { "formatters": Array [ null, ], "props": Object { "index": 1, }, }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Description", "props": Object { "index": 1, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "description", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Type", "props": Object { "index": 2, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "type", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Default value", "props": Object { "index": 3, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "value", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "formatters": Array [ null, ], "label": "Actions", "props": Object { "index": 4, "style": Object { "width": "10%", }, }, }, "property": "actions", }, ], "editMode": false, "error": Object { "errorMsg": "", "status": "", "statusText": "", }, "hostgroupId": 1, "loading": false, "paramData": Object { "computeprofiles": Array [ Object { "id": 1, "name": "1-Small", }, Object { "id": 2, "name": "2-Medium", }, Object { "id": 3, "name": "3-Large", }, Object { "id": 4, "name": "Orchahosts-VM", }, ], "dataType": "PARAMETER_SELECTION_PARAM_TYPE_FOREMAN", "domains": Array [ Object { "id": 1, "name": "deploy3.dev.atix", }, ], "environments": Array [ Object { "id": 1, "name": "production", }, ], "hostgroup_id": 1, "lifecycle_environments": Array [ Object { "id": 1, "name": "Library", }, ], "ptables": Array [ Object { "id": 125, "name": "Kickstart default", }, ], }, "paramDefinition": Object { "dataId": "1", "id": 1, "name": "web", }, "parameterTypes": Object { "domain": "Domain", "hostparam": "Host parameter", "ip": "IP", "password": "Root password", "ptable": "Partition table", "puppetenv": "Puppet environment", }, "parameters": Array [ Object { "description": "", "id": 1, "locked": false, "name": "CP", "type": "computeprofile", "value": "1", }, Object { "description": "", "id": 2, "locked": true, "name": "LE", "type": "lifecycleenv", "value": "1", }, ], "sortingColumns": Object { "name": Object { "direction": "asc", "position": 0, }, }, } `; exports[`ParameterSelectionReducer should lock a parameter 1`] = ` Object { "columns": Array [ Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Name", "props": Object { "index": 0, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "name", }, Object { "cell": Object { "formatters": Array [ null, ], "props": Object { "index": 1, }, }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Description", "props": Object { "index": 1, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "description", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Type", "props": Object { "index": 2, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "type", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Default value", "props": Object { "index": 3, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "value", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "formatters": Array [ null, ], "label": "Actions", "props": Object { "index": 4, "style": Object { "width": "10%", }, }, }, "property": "actions", }, ], "editMode": false, "error": Object { "errorMsg": "", "status": "", "statusText": "", }, "hostgroupId": 1, "loading": false, "paramData": Object { "computeprofiles": Array [ Object { "id": 1, "name": "1-Small", }, Object { "id": 2, "name": "2-Medium", }, Object { "id": 3, "name": "3-Large", }, Object { "id": 4, "name": "Orchahosts-VM", }, ], "dataType": "PARAMETER_SELECTION_PARAM_TYPE_FOREMAN", "domains": Array [ Object { "id": 1, "name": "deploy3.dev.atix", }, ], "environments": Array [ Object { "id": 1, "name": "production", }, ], "hostgroup_id": 1, "lifecycle_environments": Array [ Object { "id": 1, "name": "Library", }, ], "ptables": Array [ Object { "id": 125, "name": "Kickstart default", }, ], }, "paramDefinition": Object { "dataId": "1", "id": 1, "name": "web", }, "parameterTypes": Object { "domain": "Domain", "hostparam": "Host parameter", "ip": "IP", "password": "Root password", "ptable": "Partition table", "puppetenv": "Puppet environment", }, "parameters": Array [ Object { "description": "", "id": 1, "locked": false, "name": "CP", "type": "computeprofile", "value": "1", }, Object { "description": "", "id": 2, "locked": false, "name": "LE", "type": "lifecycleenv", "value": "1", }, ], "sortingColumns": Object { "name": Object { "direction": "asc", "position": 0, }, }, } `; exports[`ParameterSelectionReducer should request load param data 1`] = ` Object { "columns": Array [ Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Name", "props": Object { "index": 0, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "name", }, Object { "cell": Object { "formatters": Array [ null, ], "props": Object { "index": 1, }, }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Description", "props": Object { "index": 1, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "description", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Type", "props": Object { "index": 2, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "type", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Default value", "props": Object { "index": 3, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "value", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "formatters": Array [ null, ], "label": "Actions", "props": Object { "index": 4, "style": Object { "width": "10%", }, }, }, "property": "actions", }, ], "editMode": false, "error": Object { "errorMsg": "", "status": "", "statusText": "", }, "hostgroupId": 1, "loading": false, "paramData": Object { "computeprofiles": Array [ Object { "id": 1, "name": "1-Small", }, Object { "id": 2, "name": "2-Medium", }, Object { "id": 3, "name": "3-Large", }, Object { "id": 4, "name": "Orchahosts-VM", }, ], "dataType": "PARAMETER_SELECTION_PARAM_TYPE_FOREMAN", "domains": Array [ Object { "id": 1, "name": "deploy3.dev.atix", }, ], "environments": Array [ Object { "id": 1, "name": "production", }, ], "hostgroup_id": 1, "lifecycle_environments": Array [ Object { "id": 1, "name": "Library", }, ], "ptables": Array [ Object { "id": 125, "name": "Kickstart default", }, ], }, "paramDefinition": Object { "dataId": "1", "id": 1, "name": "web", }, "parameterTypes": Object { "domain": "Domain", "hostparam": "Host parameter", "ip": "IP", "password": "Root password", "ptable": "Partition table", "puppetenv": "Puppet environment", }, "parameters": Array [ Object { "description": "", "id": 1, "locked": false, "name": "CP", "type": "computeprofile", "value": "1", }, Object { "description": "", "id": 2, "locked": true, "name": "LE", "type": "lifecycleenv", "value": "1", }, ], "sortingColumns": Object { "name": Object { "direction": "asc", "position": 0, }, }, } `; exports[`ParameterSelectionReducer should return initial state 1`] = ` Object { "editMode": false, "error": Object { "errorMsg": "", "status": "", "statusText": "", }, } `; exports[`ParameterSelectionReducer should sort parameter 1`] = ` Object { "columns": Array [ Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Name", "props": Object { "index": 0, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "name", }, Object { "cell": Object { "formatters": Array [ null, ], "props": Object { "index": 1, }, }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Description", "props": Object { "index": 1, "sort": true, "style": Object { "width": "25%", }, }, "transforms": Array [ null, ], }, "property": "description", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Type", "props": Object { "index": 2, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "type", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "customFormatters": Array [ null, ], "formatters": Array [ null, ], "label": "Default value", "props": Object { "index": 3, "sort": true, "style": Object { "width": "20%", }, }, "transforms": Array [ null, ], }, "property": "value", }, Object { "cell": Object { "formatters": Array [ null, ], }, "header": Object { "formatters": Array [ null, ], "label": "Actions", "props": Object { "index": 4, "style": Object { "width": "10%", }, }, }, "property": "actions", }, ], "editMode": false, "error": Object { "errorMsg": "", "status": "", "statusText": "", }, "hostgroupId": 1, "loading": false, "paramData": Object { "computeprofiles": Array [ Object { "id": 1, "name": "1-Small", }, Object { "id": 2, "name": "2-Medium", }, Object { "id": 3, "name": "3-Large", }, Object { "id": 4, "name": "Orchahosts-VM", }, ], "dataType": "PARAMETER_SELECTION_PARAM_TYPE_FOREMAN", "domains": Array [ Object { "id": 1, "name": "deploy3.dev.atix", }, ], "environments": Array [ Object { "id": 1, "name": "production", }, ], "hostgroup_id": 1, "lifecycle_environments": Array [ Object { "id": 1, "name": "Library", }, ], "ptables": Array [ Object { "id": 125, "name": "Kickstart default", }, ], }, "paramDefinition": Object { "dataId": "1", "id": 1, "name": "web", }, "parameterTypes": Object { "domain": "Domain", "hostparam": "Host parameter", "ip": "IP", "password": "Root password", "ptable": "Partition table", "puppetenv": "Puppet environment", }, "parameters": Array [ Object { "description": "", "id": 1, "locked": false, "name": "CP", "type": "computeprofile", "value": "1", }, Object { "description": "", "id": 2, "locked": true, "name": "LE", "type": "lifecycleenv", "value": "1", }, ], "sortingColumns": Object { "type": Object { "direction": "asc", "position": 0, }, }, } `;