UNPKG

@itentialopensource/adapter-morpheus

Version:

This adapter integrates with system described as: morpheus.

464 lines 11.2 kB
{ "errors": [], "statistics": [ { "owner": "errorJson", "description": "Standard adapter errors available for use", "value": 30 }, { "owner": "packageJson", "description": "Number of production dependencies", "value": 12 }, { "owner": "packageJson", "description": "Number of development dependencies", "value": 7 }, { "owner": "packageJson", "description": "Number of npm scripts", "value": 21 }, { "owner": "packageJson", "description": "Runtime Library dependency", "value": "^4.39.2" }, { "owner": "propertiesSchemaJson", "description": "Adapter properties defined in the propertiesSchema file", "value": 61 }, { "owner": "adapterJS", "description": "Lines of code generated in adapter.js", "value": 4682 }, { "owner": "adapterJS", "description": "Number of Functions added to adapter.js", "value": 50 }, { "owner": "pronghornJson", "description": "Number of Methods added to pronghorn.json", "value": 50 }, { "owner": "readmeMd", "description": "Number of lines in the README.md", "value": 615 }, { "owner": "unitTestJS", "description": "Number of lines of code in unit tests", "value": 2369 }, { "owner": "unitTestJS", "description": "Number of unit tests", "value": 141 }, { "owner": "integrationTestJS", "description": "Number of lines of code in integration tests", "value": 1694 }, { "owner": "integrationTestJS", "description": "Number of integration tests", "value": 55 }, { "owner": "actionJson", "description": "Number of actions for Cluster entity", "value": 7 }, { "owner": "actionJson", "description": "Number of actions for Instance entity", "value": 30 }, { "owner": "actionJson", "description": "Number of actions for Monitoring entity", "value": 1 }, { "owner": "actionJson", "description": "Number of actions for Network entity", "value": 12 }, { "owner": "actionJson", "description": "Total number of actions", "value": 50 }, { "owner": "actionJson", "description": "Total number of entities", "value": 4 }, { "owner": "schemaJson", "description": "Number of schemas for Cluster entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for Instance entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for Monitoring entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for Network entity", "value": 1 }, { "owner": "schemaJson", "description": "Total number of schemas", "value": 4 }, { "owner": "mockdata", "description": "Number of mock data files for Cluster entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for Instance entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for Monitoring entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for Network entity", "value": 0 }, { "owner": "mockdata", "description": "Total number of mock data files", "value": 0 }, { "owner": "actionJson", "description": "Number of actions for .system entity", "value": 2 }, { "owner": "schemaJson", "description": "Number of schemas for .system entity", "value": 3 }, { "owner": "mockdata", "description": "Number of mock data files for .system entity", "value": 2 }, { "owner": "System", "description": "System entity files", "value": 6 }, { "owner": "usecases", "description": "Number of workflows", "value": 0 }, { "owner": "staticFile", "description": "Number of lines of code in adapterBase.js", "value": 1007 }, { "owner": "staticFile", "description": "Number of static files added", "value": 31 }, { "owner": "Overall", "description": "Total lines of Code", "value": 9752 }, { "owner": "Overall", "description": "Total Tests", "value": 196 }, { "owner": "Overall", "description": "Total Files", "value": 53 } ], "apiParsingReport": { "no_mockdata": [ { "fnName": "createCluster", "method": "post", "path": "/clusters" }, { "fnName": "getClusters", "method": "get", "path": "/clusters" }, { "fnName": "getClusterById", "method": "get", "path": "/cluster/{clusterId}" }, { "fnName": "updateCluster", "method": "put", "path": "/cluster/{clusterId}" }, { "fnName": "deleteCluster", "method": "delete", "path": "/cluster/{clusterId}" }, { "fnName": "updateClusterPermissions", "method": "put", "path": "/cluster/{clusterId}/permissions" }, { "fnName": "getContainers", "method": "get", "path": "/cluster/{clusterId}/containers" }, { "fnName": "createInstance", "method": "post", "path": "/instances" }, { "fnName": "getInstances", "method": "get", "path": "/instances" }, { "fnName": "getInstanceById", "method": "get", "path": "/instances/{instanceId}" }, { "fnName": "updateInstance", "method": "put", "path": "/instances/{instanceId}" }, { "fnName": "deleteInstance", "method": "delete", "path": "/instances/{instanceId}" }, { "fnName": "getInstanceEnvironment", "method": "get", "path": "/instances/{instanceId}/envs" }, { "fnName": "getInstanceHistory", "method": "get", "path": "/instances/{instanceId}/history" }, { "fnName": "getInstanceContainerDetails", "method": "get", "path": "/instances/{instanceId}/containers" }, { "fnName": "getInstanceTypes", "method": "get", "path": "/instance-types" }, { "fnName": "getInstanceTypeById", "method": "get", "path": "/instance-types/{typeId}" }, { "fnName": "getServicePlans", "method": "get", "path": "/instances/service-plans" }, { "fnName": "stopInstance", "method": "put", "path": "/instances/{instanceId}/stop" }, { "fnName": "startInstance", "method": "put", "path": "/instances/{instanceId}/start" }, { "fnName": "restartInstance", "method": "put", "path": "/instances/{instanceId}/restart" }, { "fnName": "suspendInstance", "method": "put", "path": "/instances/{instanceId}/suspend" }, { "fnName": "rejectInstance", "method": "put", "path": "/instances/{instanceId}/reject" }, { "fnName": "resizeInstance", "method": "put", "path": "/instances/{instanceId}/resize" }, { "fnName": "runInstanceWorkflow", "method": "put", "path": "/instances/{instanceId}/workflow" }, { "fnName": "cloneInstance", "method": "put", "path": "/instances/{instanceId}/clone" }, { "fnName": "backupInstance", "method": "put", "path": "/instances/{instanceId}/backup" }, { "fnName": "listInstanceBackups", "method": "get", "path": "/instances/{instanceId}/backups" }, { "fnName": "listInstanceSnapshots", "method": "get", "path": "/instances/{instanceId}/snapshots" }, { "fnName": "snapshotInstance", "method": "put", "path": "/instances/{instanceId}/snapshot" }, { "fnName": "importInstanceSnapshot", "method": "put", "path": "/instances/{instanceId}/import-snapshot" }, { "fnName": "cloneInstanceImage", "method": "put", "path": "/instances/{instanceId}/clone-image" }, { "fnName": "lockInstance", "method": "put", "path": "/instances/{instanceId}/lock" }, { "fnName": "unlockInstance", "method": "put", "path": "/instances/{instanceId}/unlock" }, { "fnName": "listInstanceSecurityGroups", "method": "get", "path": "/instances/{instanceId}/security-groups" }, { "fnName": "setInstanceSecurityGroups", "method": "post", "path": "/instances/{instanceId}/security-groups" }, { "fnName": "cancelDeleteInstance", "method": "put", "path": "/instances/{instanceId}/cancel-removal" }, { "fnName": "getIncidents", "method": "get", "path": "/monitoring/incidents" }, { "fnName": "createNetwork", "method": "post", "path": "/networks" }, { "fnName": "getNetworks", "method": "get", "path": "/networks" }, { "fnName": "getNetworkById", "method": "get", "path": "/instances/{networkId}" }, { "fnName": "updateNetwork", "method": "put", "path": "/instances/{networkId}" }, { "fnName": "deleteNetwork", "method": "delete", "path": "/instances/{networkId}" }, { "fnName": "getNetworkTypes", "method": "get", "path": "/network-types" }, { "fnName": "getNetworkTypeById", "method": "get", "path": "/network-types/{typeId}" }, { "fnName": "createNetworkGroup", "method": "post", "path": "/networks/groups" }, { "fnName": "getNetworkGroups", "method": "get", "path": "/networks/groups" }, { "fnName": "getNetworkGroupById", "method": "get", "path": "/networks/groups/{groupId}" }, { "fnName": "updateNetworkGroup", "method": "put", "path": "/networks/groups/{groupId}" }, { "fnName": "deleteNetworkGroup", "method": "delete", "path": "/networks/groups/{groupId}" } ], "errors": [], "warnings": [], "callsTotal": 50, "callsConverted": 50, "no_mockdata_num": 50 } }