UNPKG

@itentialopensource/adapter-terraform_enterprise

Version:

This adapter integrates with system described as: terraform Enterprise.

914 lines 23.5 kB
{ "errors": [], "statistics": [ { "owner": "errorJson", "description": "Standard adapter errors available for use", "value": 29 }, { "owner": "packageJson", "description": "Number of production dependencies", "value": 6 }, { "owner": "packageJson", "description": "Number of development dependencies", "value": 9 }, { "owner": "packageJson", "description": "Number of npm scripts", "value": 9 }, { "owner": "packageJson", "description": "Runtime Library dependency", "value": "^4.30.10" }, { "owner": "propertiesSchemaJson", "description": "Adapter properties defined in the propertiesSchema file", "value": 55 }, { "owner": "adapterJS", "description": "Lines of code generated in adapter.js", "value": 6172 }, { "owner": "adapterJS", "description": "Number of Functions added to adapter.js", "value": 86 }, { "owner": "pronghornJson", "description": "Number of Methods added to pronghorn.json", "value": 86 }, { "owner": "readmeMd", "description": "Number of lines in the README.md", "value": 507 }, { "owner": "unitTestJS", "description": "Number of lines of code in unit tests", "value": 5838 }, { "owner": "unitTestJS", "description": "Number of unit tests", "value": 369 }, { "owner": "integrationTestJS", "description": "Number of lines of code in integration tests", "value": 5299 }, { "owner": "integrationTestJS", "description": "Number of integration tests", "value": 177 }, { "owner": "actionJson", "description": "Number of actions for Account entity", "value": 3 }, { "owner": "actionJson", "description": "Number of actions for Runs entity", "value": 8 }, { "owner": "actionJson", "description": "Number of actions for Applies entity", "value": 1 }, { "owner": "actionJson", "description": "Number of actions for CostEstimates entity", "value": 1 }, { "owner": "actionJson", "description": "Number of actions for NotificationConfigurations entity", "value": 6 }, { "owner": "actionJson", "description": "Number of actions for Organizations entity", "value": 2 }, { "owner": "actionJson", "description": "Number of actions for OrganizationMemberships entity", "value": 5 }, { "owner": "actionJson", "description": "Number of actions for Plans entity", "value": 1 }, { "owner": "actionJson", "description": "Number of actions for Policies entity", "value": 6 }, { "owner": "actionJson", "description": "Number of actions for PolicyChecks entity", "value": 2 }, { "owner": "actionJson", "description": "Number of actions for PolicySets entity", "value": 11 }, { "owner": "actionJson", "description": "Number of actions for PolicySetParameters entity", "value": 4 }, { "owner": "actionJson", "description": "Number of actions for StateVersions entity", "value": 4 }, { "owner": "actionJson", "description": "Number of actions for StateVersionOutputs entity", "value": 1 }, { "owner": "actionJson", "description": "Number of actions for Variables entity", "value": 4 }, { "owner": "actionJson", "description": "Number of actions for Workspaces entity", "value": 7 }, { "owner": "actionJson", "description": "Number of actions for WorkspacesVariables entity", "value": 4 }, { "owner": "actionJson", "description": "Number of actions for OAuthClients entity", "value": 5 }, { "owner": "actionJson", "description": "Number of actions for OAuthTokens entity", "value": 4 }, { "owner": "actionJson", "description": "Number of actions for OrganizationToken entity", "value": 2 }, { "owner": "actionJson", "description": "Number of actions for PlanExports entity", "value": 4 }, { "owner": "actionJson", "description": "Number of actions for Users entity", "value": 1 }, { "owner": "actionJson", "description": "Total number of actions", "value": 86 }, { "owner": "actionJson", "description": "Total number of entities", "value": 22 }, { "owner": "schemaJson", "description": "Number of schemas for Account entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for Runs entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for Applies entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for CostEstimates entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for NotificationConfigurations entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for Organizations entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for OrganizationMemberships entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for Plans entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for Policies entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for PolicyChecks entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for PolicySets entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for PolicySetParameters entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for StateVersions entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for StateVersionOutputs entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for Variables entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for Workspaces entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for WorkspacesVariables entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for OAuthClients entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for OAuthTokens entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for OrganizationToken entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for PlanExports entity", "value": 1 }, { "owner": "schemaJson", "description": "Number of schemas for Users entity", "value": 1 }, { "owner": "schemaJson", "description": "Total number of schemas", "value": 22 }, { "owner": "mockdata", "description": "Number of mock data files for Account entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for Runs entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for Applies entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for CostEstimates entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for NotificationConfigurations entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for Organizations entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for OrganizationMemberships entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for Plans entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for Policies entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for PolicyChecks entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for PolicySets entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for PolicySetParameters entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for StateVersions entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for StateVersionOutputs entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for Variables entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for Workspaces entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for WorkspacesVariables entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for OAuthClients entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for OAuthTokens entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for OrganizationToken entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for PlanExports entity", "value": 0 }, { "owner": "mockdata", "description": "Number of mock data files for Users 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": 502 }, { "owner": "staticFile", "description": "Number of static files added", "value": 19 }, { "owner": "Overall", "description": "Total lines of Code", "value": 17811 }, { "owner": "Overall", "description": "Total Tests", "value": 546 }, { "owner": "Overall", "description": "Total Files", "value": 77 } ], "apiParsingReport": { "no_mockdata": [ { "fnName": "gET", "method": "get", "path": "/account/details" }, { "fnName": "updateAccount", "method": "patch", "path": "/account/update" }, { "fnName": "changePassword", "method": "patch", "path": "/account/password" }, { "fnName": "createRun", "method": "post", "path": "/runs" }, { "fnName": "applyRun", "method": "post", "path": "/runs/{run_id}/actions/apply" }, { "fnName": "listRuns", "method": "get", "path": "/workspaces/{workspace_id}/runs" }, { "fnName": "getRunDetails", "method": "get", "path": "/runs/{run_id}" }, { "fnName": "discardRun", "method": "post", "path": "/runs/{run_id}/actions/discard" }, { "fnName": "cancelRun", "method": "post", "path": "/runs/{run_id}/actions/cancel" }, { "fnName": "forceCancel", "method": "post", "path": "/runs/{run_id}/actions/force-cancel" }, { "fnName": "forceExecute", "method": "get", "path": "/runs/{run_id}/actions/force-execute" }, { "fnName": "getApply", "method": "get", "path": "/applies/{id}" }, { "fnName": "getCostEstimate", "method": "get", "path": "/cost-estimates/{id}" }, { "fnName": "createNotificationConfiguration", "method": "post", "path": "/workspaces/{workspace_id}/notification-configurations" }, { "fnName": "listNotificationConfigurations", "method": "get", "path": "/workspaces/{workspace_id}/notification-configurations" }, { "fnName": "getNotificationConfiguration", "method": "get", "path": "/notification-configurations/{notification-configuration-id}" }, { "fnName": "updateNotificationConfiguration", "method": "patch", "path": "/notification-configurations/{notification-configuration-id}" }, { "fnName": "deleteNotificationConfiguration", "method": "delete", "path": "/notification-configurations/{notification-configuration-id}" }, { "fnName": "verifyNotificationConfiguration", "method": "post", "path": "/notification-configurations/{notification-configuration-id}/actions/verify" }, { "fnName": "listOrganizations", "method": "get", "path": "/organizations" }, { "fnName": "getOrganization", "method": "get", "path": "/organizations/{organization_name}" }, { "fnName": "inviteUserToOrganization", "method": "post", "path": "/organizations/{organization_name}/organization-memberships" }, { "fnName": "listMembershipsOrganization", "method": "get", "path": "/organizations/{organization_name}/organization-memberships" }, { "fnName": "listUserOwnMemberships", "method": "get", "path": "/organization-memberships" }, { "fnName": "showMembership", "method": "get", "path": "/organization-memberships/{organization_membership_id}" }, { "fnName": "removeUserFromOrganization", "method": "delete", "path": "/organization-memberships/{organization_membership_id}" }, { "fnName": "showPlan", "method": "get", "path": "/plans/{id}" }, { "fnName": "createPolicy", "method": "post", "path": "/organizations/{organization_name}/policies" }, { "fnName": "listPolicies", "method": "get", "path": "/organizations/{organization_name}/policies" }, { "fnName": "showPolicy", "method": "get", "path": "/policies/{policy_id}" }, { "fnName": "updatePolicy", "method": "patch", "path": "/policies/{policy_id}" }, { "fnName": "deletePolicy", "method": "delete", "path": "/policies/{policy_id}" }, { "fnName": "uploadPolicy", "method": "put", "path": "/policies/{policy_id}/upload" }, { "fnName": "listPolicyChecks", "method": "get", "path": "/runs/{run_id}/policy-checks" }, { "fnName": "overridePolicy", "method": "post", "path": "/policy-checks/{policy_check_id}/actions/override" }, { "fnName": "createPolicySet", "method": "post", "path": "/organizations/{organization_name}/policy-sets" }, { "fnName": "listPolicySets", "method": "get", "path": "/organizations/{organization_name}/policy-sets" }, { "fnName": "showPolicySet", "method": "get", "path": "/policy-sets/{id}" }, { "fnName": "updatePolicySet", "method": "patch", "path": "/policy-sets/{id}" }, { "fnName": "deletePolicySet", "method": "delete", "path": "/policy-sets/{id}" }, { "fnName": "addPoliciesToPolicySet", "method": "post", "path": "/policy-sets/{id}/relationships/policies" }, { "fnName": "removePoliciesFromThePolicySet", "method": "delete", "path": "/policy-sets/{id}/relationships/policies" }, { "fnName": "attachPolicySetToWorkspaces", "method": "post", "path": "/policy-sets/{id}/relationships/workspaces" }, { "fnName": "detachthePolicySetFromWorkspaces", "method": "delete", "path": "/policy-sets/{id}/relationships/workspaces" }, { "fnName": "createPolicySetVersion", "method": "post", "path": "/policy-sets/{id}/versions" }, { "fnName": "showPolicySetVersion", "method": "get", "path": "/policy-set-versions/{id}" }, { "fnName": "createParameter", "method": "post", "path": "/policy-sets/{policy_set_id}/parameters" }, { "fnName": "listParameters", "method": "get", "path": "/policy-sets/{policy_set_id}/parameters" }, { "fnName": "updateParameters", "method": "patch", "path": "/policy-sets/{policy_set_id}/parameters/{parameter_id}" }, { "fnName": "deleteParameters", "method": "delete", "path": "/policy-sets/{policy_set_id}/parameters/{parameter_id}" }, { "fnName": "createStateVersion", "method": "post", "path": "/workspaces/{workspace_id}/state-versions" }, { "fnName": "listStateVersions", "method": "get", "path": "/state-versions" }, { "fnName": "fetchCurrentStateVersionForWorkspace", "method": "get", "path": "/workspaces/{workspace_id}/current-state-version" }, { "fnName": "showStateVersion", "method": "get", "path": "/state-versions/{state_version_id}" }, { "fnName": "showStateVersionOutput", "method": "get", "path": "/state-version-outputs/{state_version_output_id}" }, { "fnName": "createVariable", "method": "post", "path": "/vars" }, { "fnName": "listVariables", "method": "get", "path": "/vars" }, { "fnName": "updateVariables", "method": "patch", "path": "/vars/{variable_id}" }, { "fnName": "deleteVariables", "method": "delete", "path": "/vars/{variable_id}" }, { "fnName": "createWorkspace", "method": "post", "path": "/organizations/{organization_name}/workspaces" }, { "fnName": "listWorkspaces", "method": "get", "path": "/organizations/{organization_name}/workspaces" }, { "fnName": "showWorkspace", "method": "get", "path": "/workspaces/{workspace_id}" }, { "fnName": "lockWorkspace", "method": "post", "path": "/workspaces/{workspace_id}/actions/lock" }, { "fnName": "unlockWorkspace", "method": "post", "path": "/workspaces/{workspace_id}/actions/unlock" }, { "fnName": "forceUnlockWorkspace", "method": "post", "path": "/workspaces/{workspace_id}/actions/force-unlock" }, { "fnName": "assignSSHKeyToWorkspace", "method": "patch", "path": "/workspaces/{workspace_id}/relationships/ssh-key" }, { "fnName": "createWorkspaceVariable", "method": "post", "path": "/workspaces/{workspace_id}/vars" }, { "fnName": "listWorkspaceVariables", "method": "get", "path": "/workspaces/{workspace_id}/vars" }, { "fnName": "updateWorkspaceVariables", "method": "patch", "path": "/workspaces/{workspace_id}/vars/{variable_id}" }, { "fnName": "deleteWorkspaceVariables", "method": "delete", "path": "/workspaces/{workspace_id}/vars/{variable_id}" }, { "fnName": "listOauthClients", "method": "get", "path": "/organizations/{organization_name}/oauth-clients" }, { "fnName": "createOAuthClient", "method": "post", "path": "/organizations/{organization_name}/oauth-clients" }, { "fnName": "showOAuthClient", "method": "get", "path": "/oauth-clients/{id}" }, { "fnName": "updateOAuthClient", "method": "patch", "path": "/oauth-clients/{id}" }, { "fnName": "destroyOAuthClient", "method": "delete", "path": "/oauth-clients/{id}" }, { "fnName": "listOAuthTokens", "method": "get", "path": "/oauth-clients/{oauth_client_id}/oauth-tokens" }, { "fnName": "showOAuthToken", "method": "get", "path": "/oauth-tokens/{id}" }, { "fnName": "updateOAuthToken", "method": "patch", "path": "/oauth-tokens/{id}" }, { "fnName": "destroyOAuthToken", "method": "delete", "path": "/oauth-tokens/{id}" }, { "fnName": "generateOrganizationToken", "method": "post", "path": "/organizations/{organization_name}/authentication-token" }, { "fnName": "deleteOrganizationToken", "method": "delete", "path": "/organizations/{organization_name}/authentication-token" }, { "fnName": "createPlanExport", "method": "post", "path": "/plan-exports" }, { "fnName": "showPlanExport", "method": "get", "path": "/plan-exports/{id}" }, { "fnName": "deleteExportedPlanData", "method": "delete", "path": "/plan-exports/{id}" }, { "fnName": "downloadPlanExport", "method": "get", "path": "/plan-exports/{id}/download" }, { "fnName": "showUser", "method": "get", "path": "/users/{user_id}" } ], "errors": [], "warnings": [], "callsTotal": 86, "callsConverted": 86, "no_mockdata_num": 86 } }