You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jo...@apache.org on 2017/05/31 20:13:14 UTC
[43/50] [abbrv] ambari git commit: AMBARI-21114 - Fix Unit Test
Failures From Prior Patch/Service Upgrade Commits (jonathanhurley)
http://git-wip-us.apache.org/repos/asf/ambari/blob/770c519a/ambari-server/docs/api/generated/index.html
----------------------------------------------------------------------
diff --git a/ambari-server/docs/api/generated/index.html b/ambari-server/docs/api/generated/index.html
index 1771346..7ea4297 100644
--- a/ambari-server/docs/api/generated/index.html
+++ b/ambari-server/docs/api/generated/index.html
@@ -710,6 +710,80 @@ margin-bottom: 20px;
<script>
// Script section to load models into a JS Var
var defs = {}
+ defs.ActionRequest = {
+ "type" : "object",
+ "properties" : {
+ "action_name" : {
+ "type" : "string"
+ },
+ "action_type" : {
+ "type" : "string"
+ },
+ "inputs" : {
+ "type" : "string"
+ },
+ "target_service" : {
+ "type" : "string"
+ },
+ "target_component" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "target_type" : {
+ "type" : "string"
+ },
+ "default_timeout" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.ActionRequestSwagger = {
+ "type" : "object",
+ "properties" : {
+ "Actions" : {
+ "$ref" : "#/definitions/ActionRequest"
+ }
+ }
+};
+ defs.ActionResponse = {
+ "type" : "object",
+ "properties" : {
+ "action_name" : {
+ "type" : "string"
+ },
+ "action_type" : {
+ "type" : "string"
+ },
+ "inputs" : {
+ "type" : "string"
+ },
+ "target_service" : {
+ "type" : "string"
+ },
+ "target_component" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "target_type" : {
+ "type" : "string"
+ },
+ "default_timeout" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.ActionResponseSwagger = {
+ "type" : "object",
+ "properties" : {
+ "Actions" : {
+ "$ref" : "#/definitions/ActionResponse"
+ }
+ }
+};
defs.ActiveWidgetLayoutRequest = {
"type" : "object",
"properties" : {
@@ -753,489 +827,728 @@ margin-bottom: 20px;
}
}
};
- defs.GroupPrivilegeResponse = {
+ defs.AgentEnv = {
"type" : "object",
- "required" : [ "PrivilegeInfo/group_name" ],
"properties" : {
- "PrivilegeInfo/permission_label" : {
- "type" : "string"
+ "stackFoldersAndFiles" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/Directory"
+ }
},
- "PrivilegeInfo/privilege_id" : {
+ "alternatives" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/Alternative"
+ }
+ },
+ "existingUsers" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/ExistingUser"
+ }
+ },
+ "existingRepos" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "installedPackages" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/PackageDetail"
+ }
+ },
+ "hostHealth" : {
+ "$ref" : "#/definitions/HostHealth"
+ },
+ "umask" : {
"type" : "integer",
"format" : "int32"
},
- "PrivilegeInfo/permission_name" : {
+ "transparentHugePage" : {
"type" : "string"
},
- "PrivilegeInfo/principal_type" : {
- "type" : "string",
- "enum" : [ "USER", "GROUP", "ROLE" ]
+ "firewallRunning" : {
+ "type" : "boolean",
+ "default" : false
},
- "PrivilegeInfo/principal_name" : {
+ "firewallName" : {
"type" : "string"
},
- "PrivilegeInfo/type" : {
- "type" : "string",
- "enum" : [ "AMBARI", "CLUSTER", "VIEW" ]
+ "hasUnlimitedJcePolicy" : {
+ "type" : "boolean",
+ "default" : false
},
- "PrivilegeInfo/cluster_name" : {
+ "reverseLookup" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.Alternative = {
+ "type" : "object",
+ "properties" : {
+ "name" : {
"type" : "string"
},
- "PrivilegeInfo/view_name" : {
+ "target" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.Artifacts = {
+ "type" : "object",
+ "properties" : {
+ "stack_name" : {
"type" : "string"
},
- "PrivilegeInfo/version" : {
+ "stack_version" : {
"type" : "string"
},
- "PrivilegeInfo/instance_name" : {
+ "artifact_name" : {
"type" : "string"
},
- "PrivilegeInfo/group_name" : {
+ "service_name" : {
"type" : "string"
}
}
};
- defs.GroupRequest = {
+ defs.BlueprintInfo = {
"type" : "object",
- "required" : [ "Groups/group_name" ],
"properties" : {
- "Groups/group_name" : {
+ "security" : {
+ "$ref" : "#/definitions/SecurityInfo"
+ },
+ "stack_name" : {
+ "type" : "string"
+ },
+ "stack_version" : {
+ "type" : "string"
+ },
+ "blueprint_name" : {
"type" : "string"
}
}
};
- defs.GroupResponse = {
+ defs.BlueprintSwagger = {
"type" : "object",
"properties" : {
- "Groups/group_name" : {
- "type" : "string"
+ "configurations" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "properties" : { }
+ }
+ }
},
- "Groups/ldap_group" : {
- "type" : "boolean",
- "default" : false
+ "Blueprints" : {
+ "$ref" : "#/definitions/BlueprintInfo"
},
- "Groups/group_type" : {
- "type" : "string",
- "enum" : [ "LOCAL", "LDAP", "JWT", "PAM" ]
+ "host_groups" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/HostGroupInfo"
+ }
}
}
};
- defs.MemberRequest = {
+ defs.Body = {
"type" : "object",
- "required" : [ "MemberInfo/group_name", "MemberInfo/user_name" ],
"properties" : {
- "MemberInfo/group_name" : {
- "type" : "string"
- },
- "MemberInfo/user_name" : {
- "type" : "string"
+ "Requests" : {
+ "$ref" : "#/definitions/Request"
}
}
};
- defs.MemberResponse = {
+ defs.Check = {
"type" : "object",
"properties" : {
- "MemberInfo/group_name" : {
+ "property" : {
"type" : "string"
},
- "MemberInfo/user_name" : {
+ "desired" : {
+ "type" : "string"
+ },
+ "site" : {
"type" : "string"
}
}
};
- defs.ParameterConfig = {
+ defs.ClusterArtifactRequest = {
"type" : "object",
"properties" : {
- "name" : {
- "type" : "string"
+ "Artifacts" : {
+ "$ref" : "#/definitions/ClusterArtifactRequestInfo"
},
- "description" : {
+ "artifact_data" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "properties" : { }
+ }
+ }
+ }
+};
+ defs.ClusterArtifactRequestInfo = {
+ "type" : "object",
+ "properties" : {
+ "artifact_name" : {
"type" : "string"
+ }
+ }
+};
+ defs.ClusterArtifactResponse = {
+ "type" : "object",
+ "properties" : {
+ "Artifacts" : {
+ "$ref" : "#/definitions/ClusterArtifactResponseInfo"
},
- "label" : {
+ "artifact_data" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "properties" : { }
+ }
+ }
+ }
+};
+ defs.ClusterArtifactResponseInfo = {
+ "type" : "object",
+ "properties" : {
+ "cluster_name" : {
"type" : "string"
},
- "placeholder" : {
+ "artifact_name" : {
"type" : "string"
- },
- "defaultValue" : {
- "type" : "string",
- "xml" : {
- "name" : "default-value"
- }
- },
- "clusterConfig" : {
- "type" : "string",
- "xml" : {
- "name" : "cluster-config"
- }
- },
- "required" : {
- "type" : "boolean",
- "default" : false
- },
- "masked" : {
- "type" : "boolean",
- "default" : false
}
}
};
- defs.PrivilegeResponse = {
+ defs.ClusterHealthReport = {
"type" : "object",
"properties" : {
- "PrivilegeInfo/permission_label" : {
- "type" : "string"
+ "Host/stale_config" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "PrivilegeInfo/privilege_id" : {
+ "Host/maintenance_state" : {
"type" : "integer",
"format" : "int32"
},
- "PrivilegeInfo/permission_name" : {
- "type" : "string"
+ "Host/host_state/HEALTHY" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "PrivilegeInfo/principal_type" : {
- "type" : "string",
- "enum" : [ "USER", "GROUP", "ROLE" ]
+ "Host/host_state/UNHEALTHY" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "PrivilegeInfo/principal_name" : {
- "type" : "string"
+ "Host/host_state/HEARTBEAT_LOST" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "PrivilegeInfo/type" : {
- "type" : "string",
- "enum" : [ "AMBARI", "CLUSTER", "VIEW" ]
+ "Host/host_state/INIT" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "PrivilegeInfo/cluster_name" : {
- "type" : "string"
+ "Host/host_status/HEALTHY" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "PrivilegeInfo/view_name" : {
- "type" : "string"
+ "Host/host_status/UNHEALTHY" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "PrivilegeInfo/version" : {
- "type" : "string"
+ "Host/host_status/UNKNOWN" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "PrivilegeInfo/instance_name" : {
- "type" : "string"
+ "Host/host_status/ALERT" : {
+ "type" : "integer",
+ "format" : "int32"
}
}
};
- defs.UserAuthorizationResponse = {
+ defs.ClusterRequest = {
"type" : "object",
- "required" : [ "AuthorizationInfo/user_name" ],
"properties" : {
- "AuthorizationInfo/authorization_id" : {
- "type" : "string"
+ "cluster_id" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "AuthorizationInfo/authorization_name" : {
+ "cluster_name" : {
"type" : "string"
},
- "AuthorizationInfo/resource_type" : {
+ "version" : {
"type" : "string"
},
- "AuthorizationInfo/user_name" : {
+ "provisioning_state" : {
"type" : "string"
},
- "AuthorizationInfo/cluster_name" : {
- "type" : "string"
+ "security_type" : {
+ "type" : "string",
+ "enum" : [ "NONE", "KERBEROS" ]
},
- "AuthorizationInfo/view_name" : {
- "type" : "string"
+ "desired_service_config_versions" : {
+ "$ref" : "#/definitions/ServiceConfigVersionRequest"
},
- "AuthorizationInfo/view_version" : {
+ "repository_version" : {
"type" : "string"
},
- "AuthorizationInfo/view_instance_name" : {
- "type" : "string"
- }
- }
+ "desired_configs" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/ConfigurationRequest"
+ }
+ }
+ }
};
- defs.UserPrivilegeResponse = {
+ defs.ClusterRequestSwagger = {
"type" : "object",
- "required" : [ "PrivilegeInfo/user_name" ],
"properties" : {
- "PrivilegeInfo/permission_label" : {
- "type" : "string"
- },
- "PrivilegeInfo/privilege_id" : {
+ "Clusters" : {
+ "$ref" : "#/definitions/ClusterRequest"
+ }
+ }
+};
+ defs.ClusterResponse = {
+ "type" : "object",
+ "properties" : {
+ "cluster_id" : {
"type" : "integer",
- "format" : "int32"
+ "format" : "int64"
},
- "PrivilegeInfo/permission_name" : {
+ "cluster_name" : {
"type" : "string"
},
- "PrivilegeInfo/principal_type" : {
- "type" : "string",
- "enum" : [ "USER", "GROUP", "ROLE" ]
- },
- "PrivilegeInfo/principal_name" : {
+ "version" : {
"type" : "string"
},
- "PrivilegeInfo/type" : {
+ "provisioning_state" : {
"type" : "string",
- "enum" : [ "AMBARI", "CLUSTER", "VIEW" ]
+ "enum" : [ "INIT", "INSTALLING", "INSTALL_FAILED", "INSTALLED", "STARTING", "STARTED", "STOPPING", "UNINSTALLING", "UNINSTALLED", "WIPING_OUT", "UPGRADING", "DISABLED", "UNKNOWN" ]
},
- "PrivilegeInfo/cluster_name" : {
- "type" : "string"
+ "security_type" : {
+ "type" : "string",
+ "enum" : [ "NONE", "KERBEROS" ]
},
- "PrivilegeInfo/view_name" : {
- "type" : "string"
+ "total_hosts" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "PrivilegeInfo/version" : {
- "type" : "string"
+ "desired_configs" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/definitions/DesiredConfig"
+ }
},
- "PrivilegeInfo/instance_name" : {
- "type" : "string"
+ "desired_service_config_versions" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/ServiceConfigVersionResponse"
+ }
+ }
},
- "PrivilegeInfo/user_name" : {
- "type" : "string"
+ "health_report" : {
+ "$ref" : "#/definitions/ClusterHealthReport"
+ },
+ "credential_store_properties" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
}
}
};
- defs.UserRequest = {
+ defs.ClusterResponseWrapper = {
"type" : "object",
"properties" : {
- "Users/password" : {
- "type" : "string"
- },
- "Users/old_password" : {
- "type" : "string"
- },
- "Users/active" : {
- "type" : "boolean",
- "default" : false
- },
- "Users/admin" : {
- "type" : "boolean",
- "default" : false
+ "Clusters" : {
+ "$ref" : "#/definitions/ClusterResponse"
}
}
};
- defs.UserResponse = {
+ defs.ClusterServiceArtifactRequest = {
"type" : "object",
- "required" : [ "Users/user_name" ],
"properties" : {
- "Users/user_type" : {
- "type" : "string",
- "enum" : [ "LOCAL", "LDAP", "JWT", "PAM" ]
+ "Artifacts" : {
+ "$ref" : "#/definitions/ClusterServiceArtifactRequestInfo"
},
- "Users/groups" : {
- "type" : "array",
- "uniqueItems" : true,
- "items" : {
- "type" : "string"
+ "artifact_data" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "properties" : { }
}
- },
- "Users/user_name" : {
+ }
+ }
+};
+ defs.ClusterServiceArtifactRequestInfo = {
+ "type" : "object",
+ "properties" : {
+ "artifact_name" : {
"type" : "string"
- },
- "Users/active" : {
- "type" : "boolean",
- "default" : false
- },
- "Users/admin" : {
- "type" : "boolean",
- "default" : false
- },
- "Users/ldap_user" : {
- "type" : "boolean",
- "default" : false
}
}
};
- defs.ValidationResult = {
+ defs.ClusterServiceArtifactResponse = {
"type" : "object",
"properties" : {
- "valid" : {
- "type" : "boolean",
- "default" : false
+ "Artifacts" : {
+ "$ref" : "#/definitions/ClusterServiceArtifactResponseInfo"
},
- "detail" : {
- "type" : "string"
+ "artifact_data" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "properties" : { }
+ }
}
}
};
- defs.ViewInfo = {
+ defs.ClusterServiceArtifactResponseInfo = {
"type" : "object",
"properties" : {
- "view_name" : {
+ "cluster_name" : {
+ "type" : "string"
+ },
+ "artifact_name" : {
+ "type" : "string"
+ },
+ "service_name" : {
"type" : "string"
}
}
};
- defs.ViewInstanceRequest = {
+ defs.ComponentDependencyResponse = {
"type" : "object",
"properties" : {
- "ViewInstanceInfo" : {
- "$ref" : "#/definitions/ViewInstanceRequestInfo"
+ "Dependencies" : {
+ "$ref" : "#/definitions/ComponentDependencyResponseInfo"
}
}
};
- defs.ViewInstanceRequestInfo = {
+ defs.ComponentDependencyResponseInfo = {
"type" : "object",
"properties" : {
- "label" : {
+ "scope" : {
"type" : "string"
},
- "description" : {
+ "component_name" : {
"type" : "string"
},
- "visible" : {
- "type" : "boolean",
- "default" : false
+ "stack_name" : {
+ "type" : "string"
},
- "icon_path" : {
+ "stack_version" : {
"type" : "string"
},
- "icon64_path" : {
+ "service_name" : {
"type" : "string"
},
- "properties" : {
- "type" : "object",
- "additionalProperties" : {
- "type" : "string"
+ "conditions" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/DependencyConditionInfo"
}
},
- "instance_data" : {
- "type" : "object",
- "additionalProperties" : {
- "type" : "string"
- }
+ "dependent_component_name" : {
+ "type" : "string"
},
- "cluster_handle" : {
- "type" : "integer",
- "format" : "int32"
+ "dependent_service_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.ComponentInfo = {
+ "type" : "object",
+ "properties" : {
+ "provision_action" : {
+ "type" : "string"
},
- "cluster_type" : {
- "type" : "string",
- "enum" : [ "LOCAL_AMBARI", "REMOTE_AMBARI", "NONE" ]
+ "name" : {
+ "type" : "string"
}
}
};
- defs.ViewInstanceResponse = {
+ defs.ComponentRecoveryReport = {
"type" : "object",
"properties" : {
- "ViewInstanceInfo" : {
- "$ref" : "#/definitions/ViewInstanceResponseInfo"
+ "name" : {
+ "type" : "string"
+ },
+ "numAttempts" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "limitReached" : {
+ "type" : "boolean",
+ "default" : false
}
}
};
- defs.ViewInstanceResponseInfo = {
+ defs.ConfigCondition = {
"type" : "object",
"properties" : {
- "view_name" : {
+ "configs" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "resource" : {
"type" : "string"
},
- "version" : {
+ "if" : {
"type" : "string"
},
- "instance_name" : {
+ "then" : {
+ "$ref" : "#/definitions/ConfigConditionResult"
+ },
+ "else" : {
+ "$ref" : "#/definitions/ConfigConditionResult"
+ }
+ }
+};
+ defs.ConfigConditionResult = {
+ "type" : "object",
+ "properties" : {
+ "property_value_attributes" : {
+ "$ref" : "#/definitions/ValueAttributesInfo"
+ }
+ }
+};
+ defs.ConfigPlacement = {
+ "type" : "object",
+ "properties" : {
+ "config" : {
"type" : "string"
},
- "label" : {
+ "subsection-name" : {
"type" : "string"
},
- "description" : {
+ "subsection-tab-name" : {
"type" : "string"
},
- "visible" : {
+ "property_value_attributes" : {
+ "$ref" : "#/definitions/ValueAttributesInfo"
+ },
+ "depends-on" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/ConfigCondition"
+ }
+ },
+ "removed" : {
"type" : "boolean",
"default" : false
- },
- "icon_path" : {
+ }
+ }
+};
+ defs.ConfigurationRequest = {
+ "type" : "object",
+ "properties" : {
+ "clusterName" : {
"type" : "string"
},
- "icon64_path" : {
+ "type" : {
"type" : "string"
},
- "properties" : {
- "type" : "object",
- "additionalProperties" : {
- "type" : "string"
- }
- },
- "instance_data" : {
- "type" : "object",
- "additionalProperties" : {
- "type" : "string"
- }
- },
- "cluster_handle" : {
+ "version" : {
"type" : "integer",
- "format" : "int32"
- },
- "cluster_type" : {
- "type" : "string",
- "enum" : [ "LOCAL_AMBARI", "REMOTE_AMBARI", "NONE" ]
+ "format" : "int64"
},
- "context_path" : {
+ "serviceConfigVersionNote" : {
"type" : "string"
},
- "static" : {
+ "selected" : {
"type" : "boolean",
"default" : false
},
- "short_url" : {
- "type" : "string"
+ "properties" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
},
- "short_url_name" : {
+ "versionTag" : {
"type" : "string"
},
- "validation_result" : {
- "$ref" : "#/definitions/ValidationResult"
- },
- "property_validation_results" : {
+ "propertiesAttributes" : {
"type" : "object",
"additionalProperties" : {
- "$ref" : "#/definitions/ValidationResult"
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
}
}
}
};
- defs.ViewPermissionInfo = {
+ defs.ConfigurationResponse = {
"type" : "object",
"properties" : {
- "view_name" : {
+ "clusterName" : {
"type" : "string"
},
- "version" : {
+ "stackId" : {
+ "$ref" : "#/definitions/StackId"
+ },
+ "type" : {
"type" : "string"
},
- "permission_id" : {
+ "versionTag" : {
+ "type" : "string"
+ },
+ "version" : {
"type" : "integer",
- "format" : "int32"
+ "format" : "int64"
},
- "permission_name" : {
- "type" : "string"
+ "serviceConfigVersions" : {
+ "type" : "array",
+ "items" : {
+ "type" : "integer",
+ "format" : "int64"
+ }
},
- "resource_name" : {
+ "configs" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "configAttributes" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ }
+ },
+ "propertiesTypes" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "type" : "string"
+ }
+ }
+ }
+ }
+};
+ defs.DependencyConditionInfo = {
+ "type" : "object"
+};
+ defs.DesiredConfig = {
+ "type" : "object",
+ "properties" : {
+ "tag" : {
+ "type" : "string"
+ },
+ "serviceName" : {
"type" : "string"
+ },
+ "version" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "hostOverrides" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/HostOverride"
+ }
}
}
};
- defs.ViewPermissionResponse = {
+ defs.Directory = {
"type" : "object",
"properties" : {
- "ViewPermissionInfo" : {
- "$ref" : "#/definitions/ViewPermissionInfo"
+ "name" : {
+ "type" : "string"
+ },
+ "type" : {
+ "type" : "string"
}
}
};
- defs.ViewPrivilegeRequest = {
+ defs.DiskInfo = {
"type" : "object",
"properties" : {
- "PrivilegeInfo/permission_name" : {
+ "available" : {
"type" : "string"
},
- "PrivilegeInfo/principal_type" : {
- "type" : "string",
- "enum" : [ "USER", "GROUP", "ROLE" ]
+ "device" : {
+ "type" : "string"
},
- "PrivilegeInfo/principal_name" : {
+ "used" : {
+ "type" : "string"
+ },
+ "percent" : {
+ "type" : "string"
+ },
+ "size" : {
+ "type" : "string"
+ },
+ "type" : {
+ "type" : "string"
+ },
+ "mountPoint" : {
"type" : "string"
}
}
};
- defs.ViewPrivilegeResponse = {
+ defs.ExistingUser = {
+ "type" : "object",
+ "properties" : {
+ "userName" : {
+ "type" : "string"
+ },
+ "userHomeDir" : {
+ "type" : "string"
+ },
+ "userStatus" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.ExtensionLinkResponse = {
+ "type" : "object",
+ "properties" : {
+ "ExtensionLink" : {
+ "$ref" : "#/definitions/ExtensionLinkResponseInfo"
+ }
+ }
+};
+ defs.ExtensionLinkResponseInfo = {
+ "type" : "object",
+ "properties" : {
+ "link_id" : {
+ "type" : "string"
+ },
+ "stack_name" : {
+ "type" : "string"
+ },
+ "stack_version" : {
+ "type" : "string"
+ },
+ "extension_name" : {
+ "type" : "string"
+ },
+ "extension_version" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.GroupPrivilegeResponse = {
"type" : "object",
+ "required" : [ "PrivilegeInfo/group_name" ],
"properties" : {
"PrivilegeInfo/permission_label" : {
"type" : "string"
@@ -1254,6 +1567,13 @@ margin-bottom: 20px;
"PrivilegeInfo/principal_name" : {
"type" : "string"
},
+ "PrivilegeInfo/type" : {
+ "type" : "string",
+ "enum" : [ "AMBARI", "CLUSTER", "VIEW" ]
+ },
+ "PrivilegeInfo/cluster_name" : {
+ "type" : "string"
+ },
"PrivilegeInfo/view_name" : {
"type" : "string"
},
@@ -1262,379 +1582,37835 @@ margin-bottom: 20px;
},
"PrivilegeInfo/instance_name" : {
"type" : "string"
+ },
+ "PrivilegeInfo/group_name" : {
+ "type" : "string"
}
}
};
- defs.ViewResponse = {
+ defs.GroupRequest = {
"type" : "object",
+ "required" : [ "Groups/group_name" ],
"properties" : {
- "ViewInfo" : {
- "$ref" : "#/definitions/ViewInfo"
+ "Groups/group_name" : {
+ "type" : "string"
}
}
};
- defs.ViewVersionInfo = {
+ defs.GroupResponse = {
"type" : "object",
"properties" : {
- "archive" : {
- "type" : "string"
- },
- "build_number" : {
+ "Groups/group_name" : {
"type" : "string"
},
- "cluster_configurable" : {
+ "Groups/ldap_group" : {
"type" : "boolean",
"default" : false
},
- "description" : {
- "type" : "string"
- },
- "label" : {
- "type" : "string"
- },
- "masker_class" : {
- "type" : "string"
- },
- "max_ambari_version" : {
- "type" : "string"
+ "Groups/group_type" : {
+ "type" : "string",
+ "enum" : [ "LOCAL", "LDAP", "JWT", "PAM" ]
+ }
+ }
+};
+ defs.HostConfig = {
+ "type" : "object",
+ "properties" : {
+ "configGroupOverrides" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
},
- "min_ambari_version" : {
+ "defaultVersionTag" : {
"type" : "string"
+ }
+ }
+};
+ defs.HostGroupInfo = {
+ "type" : "object",
+ "properties" : {
+ "components" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/ComponentInfo"
+ }
},
- "parameters" : {
+ "configurations" : {
"type" : "array",
"items" : {
- "$ref" : "#/definitions/ParameterConfig"
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "properties" : { }
+ }
}
},
- "status" : {
- "type" : "string",
- "enum" : [ "PENDING", "DEPLOYING", "DEPLOYED", "ERROR" ]
+ "cardinality" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "status_detail" : {
+ "name" : {
"type" : "string"
+ }
+ }
+};
+ defs.HostHealth = {
+ "type" : "object",
+ "properties" : {
+ "activeJavaProcs" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/JavaProc"
+ }
},
- "system" : {
- "type" : "boolean",
- "default" : false
+ "agentTimeStampAtReporting" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "version" : {
- "type" : "string"
+ "serverTimeStampAtReporting" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "view_name" : {
- "type" : "string"
+ "liveServices" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/LiveService"
+ }
}
}
};
- defs.ViewVersionResponse = {
+ defs.HostOverride = {
"type" : "object",
"properties" : {
- "ViewVersionInfo" : {
- "$ref" : "#/definitions/ViewVersionInfo"
+ "name" : {
+ "type" : "string"
+ },
+ "versionTag" : {
+ "type" : "string"
}
}
};
- defs.WidgetLayoutIdWrapper = {
+ defs.HostRequest = {
"type" : "object",
"properties" : {
- "id" : {
- "type" : "integer",
- "format" : "int64"
+ "host_name" : {
+ "type" : "string"
+ },
+ "rack_info" : {
+ "type" : "string"
+ },
+ "desired_configs" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/ConfigurationRequest"
+ }
+ },
+ "maintenance_state" : {
+ "type" : "string"
+ },
+ "public_host_name" : {
+ "type" : "string"
+ },
+ "blueprint" : {
+ "type" : "string"
+ },
+ "host_group" : {
+ "type" : "string"
}
}
};
- defs.WidgetResponse = {
+ defs.HostResponse = {
"type" : "object",
"properties" : {
- "id" : {
+ "host_name" : {
+ "type" : "string"
+ },
+ "cluster_name" : {
+ "type" : "string"
+ },
+ "ip" : {
+ "type" : "string"
+ },
+ "cpu_count" : {
"type" : "integer",
"format" : "int64"
},
- "widgetName" : {
+ "ph_cpu_count" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "os_arch" : {
"type" : "string"
},
- "widgetType" : {
+ "os_family" : {
"type" : "string"
},
- "metrics" : {
+ "os_type" : {
"type" : "string"
},
- "timeCreated" : {
+ "total_mem" : {
"type" : "integer",
"format" : "int64"
},
- "author" : {
- "type" : "string"
+ "disk_info" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/DiskInfo"
+ }
},
- "description" : {
- "type" : "string"
+ "last_heartbeat_time" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "displayName" : {
+ "last_agent_env" : {
+ "$ref" : "#/definitions/AgentEnv"
+ },
+ "last_registration_time" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "rack_info" : {
"type" : "string"
},
- "scope" : {
+ "recovery_report" : {
+ "$ref" : "#/definitions/RecoveryReport"
+ },
+ "recovery_summary" : {
"type" : "string"
},
- "widgetValues" : {
+ "host_state" : {
+ "type" : "string",
+ "enum" : [ "INIT", "WAITING_FOR_HOST_STATUS_UPDATES", "HEALTHY", "HEARTBEAT_LOST", "UNHEALTHY" ]
+ },
+ "desired_configs" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/definitions/HostConfig"
+ }
+ },
+ "host_status" : {
"type" : "string"
},
- "properties" : {
+ "maintenance_state" : {
+ "type" : "string",
+ "enum" : [ "OFF", "ON", "IMPLIED_FROM_SERVICE", "IMPLIED_FROM_HOST", "IMPLIED_FROM_SERVICE_AND_HOST" ]
+ },
+ "host_health_report" : {
"type" : "string"
},
- "clusterName" : {
+ "public_host_name" : {
"type" : "string"
}
}
};
- </script>
-
- <div class="container-fluid">
- <div class="row-fluid">
- <div id="sidenav" class="span2">
- <nav id="scrollingNav">
- <ul class="sidenav nav nav-list">
- <!-- Logo Area -->
- <!--<div style="width: 80%; background-color: #4c8eca; color: white; padding: 20px; text-align: center; margin-bottom: 20px; ">
+ defs.JavaProc = {
+ "type" : "object",
+ "properties" : {
+ "user" : {
+ "type" : "string"
+ },
+ "pid" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "command" : {
+ "type" : "string"
+ },
+ "hadoop" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.Layout = {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "tabs" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/Tab"
+ }
+ }
+ }
+};
+ defs.Link = {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "label" : {
+ "type" : "string"
+ },
+ "componentName" : {
+ "type" : "string"
+ },
+ "requiresUserName" : {
+ "type" : "string"
+ },
+ "url" : {
+ "type" : "string"
+ },
+ "port" : {
+ "$ref" : "#/definitions/Port"
+ },
+ "protocol" : {
+ "$ref" : "#/definitions/Protocol"
+ },
+ "attributes" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "visible" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "removed" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.LiveService = {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "status" : {
+ "type" : "string"
+ },
+ "desc" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.MemberRequest = {
+ "type" : "object",
+ "required" : [ "MemberInfo/group_name", "MemberInfo/user_name" ],
+ "properties" : {
+ "MemberInfo/group_name" : {
+ "type" : "string"
+ },
+ "MemberInfo/user_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.MemberResponse = {
+ "type" : "object",
+ "properties" : {
+ "MemberInfo/group_name" : {
+ "type" : "string"
+ },
+ "MemberInfo/user_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.OperatingSystemEntity = {
+ "type" : "object",
+ "properties" : {
+ "osType" : {
+ "type" : "string"
+ },
+ "repositories" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/RepositoryEntity"
+ }
+ },
+ "ambariManagedRepos" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.OperationLevel = {
+ "type" : "object",
+ "properties" : {
+ "level" : {
+ "type" : "string"
+ },
+ "cluster_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.Os = {
+ "type" : "object",
+ "properties" : {
+ "family" : {
+ "type" : "string",
+ "xml" : {
+ "attribute" : true
+ }
+ },
+ "packageVersion" : {
+ "type" : "string",
+ "xml" : {
+ "name" : "package-version"
+ }
+ },
+ "repos" : {
+ "type" : "array",
+ "xml" : {
+ "name" : "repo"
+ },
+ "items" : {
+ "$ref" : "#/definitions/Repo"
+ }
+ }
+ }
+};
+ defs.PackageDetail = {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "version" : {
+ "type" : "string"
+ },
+ "repoName" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.ParameterConfig = {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "label" : {
+ "type" : "string"
+ },
+ "placeholder" : {
+ "type" : "string"
+ },
+ "defaultValue" : {
+ "type" : "string",
+ "xml" : {
+ "name" : "default-value"
+ }
+ },
+ "clusterConfig" : {
+ "type" : "string",
+ "xml" : {
+ "name" : "cluster-config"
+ }
+ },
+ "required" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "masked" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.Placement = {
+ "type" : "object",
+ "properties" : {
+ "configs" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/ConfigPlacement"
+ }
+ },
+ "configurationLayout" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.Port = {
+ "type" : "object",
+ "properties" : {
+ "httpProperty" : {
+ "type" : "string"
+ },
+ "httpDefaultPort" : {
+ "type" : "string"
+ },
+ "httpsProperty" : {
+ "type" : "string"
+ },
+ "httpsDefaultPort" : {
+ "type" : "string"
+ },
+ "regex" : {
+ "type" : "string"
+ },
+ "site" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.PrivilegeResponse = {
+ "type" : "object",
+ "properties" : {
+ "PrivilegeInfo/permission_label" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/privilege_id" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "PrivilegeInfo/permission_name" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/principal_type" : {
+ "type" : "string",
+ "enum" : [ "USER", "GROUP", "ROLE" ]
+ },
+ "PrivilegeInfo/principal_name" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/type" : {
+ "type" : "string",
+ "enum" : [ "AMBARI", "CLUSTER", "VIEW" ]
+ },
+ "PrivilegeInfo/cluster_name" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/view_name" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/version" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/instance_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.PropertyDependencyInfo = {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.Protocol = {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string"
+ },
+ "checks" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/Check"
+ }
+ }
+ }
+};
+ defs.QuickLinksConfiguration = {
+ "type" : "object",
+ "properties" : {
+ "protocol" : {
+ "$ref" : "#/definitions/Protocol"
+ },
+ "links" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/Link"
+ }
+ }
+ }
+};
+ defs.QuickLinksResponse = {
+ "type" : "object",
+ "properties" : {
+ "QuickLinkInfo" : {
+ "$ref" : "#/definitions/QuickLinksResponseInfo"
+ }
+ }
+};
+ defs.QuickLinksResponseInfo = {
+ "type" : "object",
+ "properties" : {
+ "file_name" : {
+ "type" : "string"
+ },
+ "default" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "stack_name" : {
+ "type" : "string"
+ },
+ "stack_version" : {
+ "type" : "string"
+ },
+ "quicklink_data" : {
+ "$ref" : "#/definitions/QuickLinksConfiguration"
+ },
+ "service_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.RecoveryReport = {
+ "type" : "object",
+ "properties" : {
+ "summary" : {
+ "type" : "string"
+ },
+ "componentReports" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/ComponentRecoveryReport"
+ }
+ }
+ }
+};
+ defs.Release = {
+ "type" : "object",
+ "properties" : {
+ "repositoryType" : {
+ "type" : "string",
+ "xml" : {
+ "name" : "type"
+ },
+ "enum" : [ "STANDARD", "PATCH", "SERVICE" ]
+ },
+ "stackId" : {
+ "type" : "string",
+ "xml" : {
+ "name" : "stack-id"
+ }
+ },
+ "version" : {
+ "type" : "string"
+ },
+ "build" : {
+ "type" : "string"
+ },
+ "compatibleWith" : {
+ "type" : "string",
+ "xml" : {
+ "name" : "compatible-with"
+ }
+ },
+ "releaseNotes" : {
+ "type" : "string",
+ "xml" : {
+ "name" : "release-notes"
+ }
+ },
+ "display" : {
+ "type" : "string"
+ },
+ "fullVersion" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.Repo = {
+ "type" : "object",
+ "properties" : {
+ "unique" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "baseUrl" : {
+ "type" : "string"
+ },
+ "mirrorsList" : {
+ "type" : "string"
+ },
+ "repoId" : {
+ "type" : "string"
+ },
+ "latestUri" : {
+ "type" : "string"
+ },
+ "repoName" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.RepositoryEntity = {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "baseUrl" : {
+ "type" : "string"
+ },
+ "repositoryId" : {
+ "type" : "string"
+ },
+ "mirrorsList" : {
+ "type" : "string"
+ },
+ "unique" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.RepositoryInfo = {
+ "type" : "object",
+ "properties" : {
+ "baseUrl" : {
+ "type" : "string"
+ },
+ "osType" : {
+ "type" : "string"
+ },
+ "repoId" : {
+ "type" : "string"
+ },
+ "repoName" : {
+ "type" : "string"
+ },
+ "mirrorsList" : {
+ "type" : "string"
+ },
+ "defaultBaseUrl" : {
+ "type" : "string"
+ },
+ "latestBaseUrl" : {
+ "type" : "string"
+ },
+ "repoSaved" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "unique" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "ambariManagedRepositories" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.RepositoryVersionEntity = {
+ "type" : "object",
+ "properties" : {
+ "id" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "stack" : {
+ "$ref" : "#/definitions/StackEntity"
+ },
+ "version" : {
+ "type" : "string"
+ },
+ "displayName" : {
+ "type" : "string"
+ },
+ "operatingSystems" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/OperatingSystemEntity"
+ }
+ },
+ "type" : {
+ "type" : "string",
+ "enum" : [ "STANDARD", "PATCH", "SERVICE" ]
+ },
+ "versionXml" : {
+ "type" : "string"
+ },
+ "versionUrl" : {
+ "type" : "string"
+ },
+ "versionXsd" : {
+ "type" : "string"
+ },
+ "children" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/RepositoryVersionEntity"
+ }
+ },
+ "stackId" : {
+ "$ref" : "#/definitions/StackId"
+ },
+ "stackName" : {
+ "type" : "string"
+ },
+ "stackVersion" : {
+ "type" : "string"
+ },
+ "operatingSystemsJson" : {
+ "type" : "string"
+ },
+ "repositoryXml" : {
+ "$ref" : "#/definitions/VersionDefinitionXml"
+ },
+ "parentId" : {
+ "type" : "integer",
+ "format" : "int64"
+ }
+ }
+};
+ defs.RepositoryXml = {
+ "type" : "object",
+ "properties" : {
+ "oses" : {
+ "type" : "array",
+ "xml" : {
+ "name" : "os"
+ },
+ "items" : {
+ "$ref" : "#/definitions/Os"
+ }
+ },
+ "valid" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "repositories" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/RepositoryInfo"
+ }
+ },
+ "errors" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "latestURI" : {
+ "type" : "string"
+ }
+ },
+ "xml" : {
+ "name" : "reposinfo"
+ }
+};
+ defs.Request = {
+ "type" : "object",
+ "properties" : {
+ "exclusive" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "resource_filters" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/RequestResourceFilter"
+ }
+ },
+ "cluster_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.RequestInfo = {
+ "type" : "object",
+ "properties" : {
+ "parameters" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "properties" : { }
+ }
+ },
+ "command" : {
+ "type" : "string"
+ },
+ "operation_level" : {
+ "$ref" : "#/definitions/OperationLevel"
+ },
+ "action" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.RequestPostRequest = {
+ "type" : "object",
+ "properties" : {
+ "Body" : {
+ "$ref" : "#/definitions/Body"
+ },
+ "RequestInfo" : {
+ "$ref" : "#/definitions/RequestInfo"
+ }
+ }
+};
+ defs.RequestPostResponse = {
+ "type" : "object",
+ "properties" : {
+ "Requests" : {
+ "$ref" : "#/definitions/ShortRequestInfo"
+ }
+ }
+};
+ defs.RequestPutRequest = {
+ "type" : "object",
+ "properties" : {
+ "Requests" : {
+ "$ref" : "#/definitions/RequestRequest"
+ }
+ }
+};
+ defs.RequestRequest = {
+ "type" : "object",
+ "properties" : {
+ "cluster_name" : {
+ "type" : "string"
+ },
+ "id" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "request_status" : {
+ "type" : "string",
+ "enum" : [ "PENDING", "QUEUED", "IN_PROGRESS", "HOLDING", "COMPLETED", "FAILED", "HOLDING_FAILED", "TIMEDOUT", "HOLDING_TIMEDOUT", "ABORTED", "SKIPPED_FAILED" ]
+ },
+ "abort_reason" : {
+ "type" : "string"
+ },
+ "removePendingHostRequests" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.RequestResourceFilter = {
+ "type" : "object",
+ "properties" : {
+ "component_name" : {
+ "type" : "string"
+ },
+ "hosts_predicate" : {
+ "type" : "string"
+ },
+ "hosts" : {
+ "type" : "string"
+ },
+ "service_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.RequestResponse = {
+ "type" : "object",
+ "properties" : {
+ "Requests" : {
+ "$ref" : "#/definitions/RequestStatusInfo"
+ }
+ }
+};
+ defs.RequestStatusInfo = {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string"
+ },
+ "start_time" : {
+ "type" : "string"
+ },
+ "request_status" : {
+ "type" : "string"
+ },
+ "request_context" : {
+ "type" : "string"
+ },
+ "request_schedule" : {
+ "type" : "string"
+ },
+ "create_time" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "id" : {
+ "type" : "string"
+ },
+ "aborted_task_count" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "end_time" : {
+ "type" : "string"
+ },
+ "exclusive" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "failed_task_count" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "inputs" : {
+ "type" : "string"
+ },
+ "operation_level" : {
+ "type" : "string"
+ },
+ "progress_percent" : {
+ "type" : "number",
+ "format" : "double"
+ },
+ "queued_task_count" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "request_schedule_id" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "resource_filters" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/RequestResourceFilter"
+ }
+ },
+ "cluster_name" : {
+ "type" : "string"
+ },
+ "task_count" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "completed_task_count" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.RootServiceComponentResponse = {
+ "type" : "object",
+ "properties" : {
+ "service_name" : {
+ "type" : "string"
+ },
+ "component_name" : {
+ "type" : "string"
+ },
+ "properties" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "component_version" : {
+ "type" : "string"
+ },
+ "server_clock" : {
+ "type" : "integer",
+ "format" : "int64"
+ }
+ }
+};
+ defs.RootServiceComponentResponseWrapper = {
+ "type" : "object",
+ "properties" : {
+ "RootServiceComponents" : {
+ "$ref" : "#/definitions/RootServiceComponentResponse"
+ }
+ }
+};
+ defs.RootServiceComponentWithHostComponentList = {
+ "type" : "object",
+ "properties" : {
+ "hostComponents" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/RootServiceHostComponentResponseWrapper"
+ }
+ },
+ "RootServiceComponents" : {
+ "$ref" : "#/definitions/RootServiceComponentResponse"
+ }
+ }
+};
+ defs.RootServiceHostComponentResponse = {
+ "type" : "object",
+ "properties" : {
+ "service_name" : {
+ "type" : "string"
+ },
+ "host_name" : {
+ "type" : "string"
+ },
+ "component_name" : {
+ "type" : "string"
+ },
+ "component_state" : {
+ "type" : "string"
+ },
+ "component_version" : {
+ "type" : "string"
+ },
+ "properties" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ }
+ }
+};
+ defs.RootServiceHostComponentResponseWrapper = {
+ "type" : "object",
+ "properties" : {
+ "RootServiceHostComponents" : {
+ "$ref" : "#/definitions/RootServiceHostComponentResponse"
+ }
+ }
+};
+ defs.RootServiceResponse = {
+ "type" : "object",
+ "properties" : {
+ "service_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.RootServiceResponseWithComponentList = {
+ "type" : "object",
+ "properties" : {
+ "components" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/RootServiceComponentResponseWrapper"
+ }
+ },
+ "RootService" : {
+ "$ref" : "#/definitions/RootServiceResponse"
+ }
+ }
+};
+ defs.RootServiceResponseWrapper = {
+ "type" : "object",
+ "properties" : {
+ "RootService" : {
+ "$ref" : "#/definitions/RootServiceResponse"
+ }
+ }
+};
+ defs.Section = {
+ "type" : "object",
+ "properties" : {
+ "subsections" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/Subsection"
+ }
+ },
+ "display-name" : {
+ "type" : "string"
+ },
+ "row-index" : {
+ "type" : "string"
+ },
+ "section-rows" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "column-span" : {
+ "type" : "string"
+ },
+ "section-columns" : {
+ "type" : "string"
+ },
+ "column-index" : {
+ "type" : "string"
+ },
+ "row-span" : {
+ "type" : "string"
+ },
+ "removed" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.SecurityInfo = {
+ "type" : "object",
+ "properties" : {
+ "kerberos_descriptor_reference" : {
+ "type" : "string"
+ },
+ "kerberos_descriptor" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "properties" : { }
+ }
+ },
+ "security_type" : {
+ "type" : "string",
+ "enum" : [ "NONE", "KERBEROS" ]
+ }
+ }
+};
+ defs.ServiceConfigVersionRequest = {
+ "type" : "object",
+ "properties" : {
+ "clusterName" : {
+ "type" : "string"
+ },
+ "serviceName" : {
+ "type" : "string"
+ },
+ "version" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "createTime" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "applyTime" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "userName" : {
+ "type" : "string"
+ },
+ "note" : {
+ "type" : "string"
+ },
+ "isCurrent" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.ServiceConfigVersionResponse = {
+ "type" : "object",
+ "properties" : {
+ "clusterName" : {
+ "type" : "string"
+ },
+ "serviceName" : {
+ "type" : "string"
+ },
+ "version" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "createTime" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "groupId" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "groupName" : {
+ "type" : "string"
+ },
+ "userName" : {
+ "type" : "string"
+ },
+ "note" : {
+ "type" : "string"
+ },
+ "stackId" : {
+ "type" : "string"
+ },
+ "isCurrent" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "configurations" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/ConfigurationResponse"
+ }
+ },
+ "hosts" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "compatibleWithCurrentStack" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.ServiceRequest = {
+ "type" : "object",
+ "properties" : {
+ "cluster_name" : {
+ "type" : "string"
+ },
+ "service_name" : {
+ "type" : "string"
+ },
+ "state" : {
+ "type" : "string"
+ },
+ "maintenance_state" : {
+ "type" : "string"
+ },
+ "credential_store_enabled" : {
+ "type" : "string"
+ },
+ "credential_store_supporteds" : {
+ "type" : "string"
+ },
+ "desiredStack" : {
+ "type" : "string"
+ },
+ "desiredRepositoryVersion" : {
+ "type" : "string"
+ },
+ "resolvedRepository" : {
+ "$ref" : "#/definitions/RepositoryVersionEntity"
+ }
+ }
+};
+ defs.ServiceRequestSwagger = {
+ "type" : "object",
+ "properties" : {
+ "ServiceInfo" : {
+ "$ref" : "#/definitions/ServiceRequest"
+ }
+ }
+};
+ defs.ServiceResponse = {
+ "type" : "object",
+ "properties" : {
+ "cluster_name" : {
+ "type" : "string"
+ },
+ "service_name" : {
+ "type" : "string"
+ },
+ "desiredRepositoryVersion" : {
+ "type" : "string"
+ },
+ "repositoryVersionState" : {
+ "type" : "string",
+ "enum" : [ "INIT", "NOT_REQUIRED", "INSTALLING", "INSTALLED", "INSTALL_FAILED", "OUT_OF_SYNC", "CURRENT" ]
+ },
+ "state" : {
+ "type" : "string"
+ },
+ "maintenance_state" : {
+ "type" : "string"
+ },
+ "credential_store_supported" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "credential_store_enabled" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.ServiceResponseSwagger = {
+ "type" : "object",
+ "properties" : {
+ "ServiceInfo" : {
+ "$ref" : "#/definitions/ServiceResponse"
+ }
+ }
+};
+ defs.SettingRequest = {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "setting_type" : {
+ "type" : "string"
+ },
+ "content" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.SettingRequestSwagger = {
+ "type" : "object",
+ "properties" : {
+ "Settings" : {
+ "$ref" : "#/definitions/SettingRequest"
+ }
+ }
+};
+ defs.SettingResponse = {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "setting_type" : {
+ "type" : "string"
+ },
+ "content" : {
+ "type" : "string"
+ },
+ "updated_by" : {
+ "type" : "string"
+ },
+ "update_timestamp" : {
+ "type" : "integer",
+ "format" : "int64"
+ }
+ }
+};
+ defs.SettingResponseWrapper = {
+ "type" : "object",
+ "properties" : {
+ "Settings" : {
+ "$ref" : "#/definitions/SettingResponse"
+ }
+ }
+};
+ defs.ShortRequestInfo = {
+ "type" : "object",
+ "properties" : {
+ "id" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "status" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.StackArtifactResponse = {
+ "type" : "object",
+ "properties" : {
+ "Artifacts" : {
+ "$ref" : "#/definitions/Artifacts"
+ },
+ "artifact_data" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "properties" : { }
+ }
+ }
+ }
+};
+ defs.StackConfigurationDependencyResponse = {
+ "type" : "object",
+ "properties" : {
+ "stack_name" : {
+ "type" : "string"
+ },
+ "stack_version" : {
+ "type" : "string"
+ },
+ "service_name" : {
+ "type" : "string"
+ },
+ "property_name" : {
+ "type" : "string"
+ },
+ "dependency_name" : {
+ "type" : "string"
+ },
+ "dependency_type" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.StackConfigurationDependencyResponseSwagger = {
+ "type" : "object",
+ "properties" : {
+ "StackConfigurationDependency" : {
+ "$ref" : "#/definitions/StackConfigurationDependencyResponse"
+ }
+ }
+};
+ defs.StackConfigurationResponse = {
+ "type" : "object",
+ "properties" : {
+ "stack_name" : {
+ "type" : "string"
+ },
+ "stack_version" : {
+ "type" : "string"
+ },
+ "service_name" : {
+ "type" : "string"
+ },
+ "property_name" : {
+ "type" : "string"
+ },
+ "property_value" : {
+ "type" : "string"
+ },
+ "property_description" : {
+ "type" : "string"
+ },
+ "property_display_name" : {
+ "type" : "string"
+ },
+ "type" : {
+ "type" : "string"
+ },
+ "property_value_attributes" : {
+ "$ref" : "#/definitions/ValueAttributesInfo"
+ },
+ "dependencies" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "$ref" : "#/definitions/PropertyDependencyInfo"
+ }
+ },
+ "property_type" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "type" : "string",
+ "enum" : [ "PASSWORD", "USER", "GROUP", "TEXT", "ADDITIONAL_USER_PROPERTY", "NOT_MANAGED_HDFS_PATH", "VALUE_FROM_PROPERTY_FILE", "KERBEROS_PRINCIPAL" ]
+ }
+ }
+ }
+};
+ defs.StackConfigurationResponseSwagger = {
+ "type" : "object",
+ "properties" : {
+ "StackConfigurations" : {
+ "$ref" : "#/definitions/StackConfigurationResponse"
+ }
+ }
+};
+ defs.StackEntity = {
+ "type" : "object",
+ "properties" : {
+ "stackId" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "stackName" : {
+ "type" : "string"
+ },
+ "stackVersion" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.StackId = {
+ "type" : "object",
+ "properties" : {
+ "stackName" : {
+ "type" : "string"
+ },
+ "stackVersion" : {
+ "type" : "string"
+ },
+ "stackId" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.StackResponse = {
+ "type" : "object",
+ "properties" : {
+ "stack_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.StackResponseSwagger = {
+ "type" : "object",
+ "properties" : {
+ "Stacks" : {
+ "$ref" : "#/definitions/StackResponse"
+ }
+ }
+};
+ defs.StackServiceArtifactResponse = {
+ "type" : "object",
+ "properties" : {
+ "Artifacts" : {
+ "$ref" : "#/definitions/Artifacts"
+ },
+ "artifact_data" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "properties" : { }
+ }
+ }
+ }
+};
+ defs.StackServiceComponentResponse = {
+ "type" : "object",
+ "properties" : {
+ "stack_name" : {
+ "type" : "string"
+ },
+ "stack_version" : {
+ "type" : "string"
+ },
+ "service_name" : {
+ "type" : "string"
+ },
+ "component_name" : {
+ "type" : "string"
+ },
+ "display_name" : {
+ "type" : "string"
+ },
+ "component_category" : {
+ "type" : "string"
+ },
+ "cardinality" : {
+ "type" : "string"
+ },
+ "advertise_version" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "custom_commands" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "recovery_enabled" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "bulkCommandsDisplayName" : {
+ "type" : "string"
+ },
+ "is_master" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "bulk_commands_master_component_namen" : {
+ "type" : "string"
+ },
+ "is_client" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "decommission_allowed" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "reassign_allowed" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.StackServiceComponentResponseSwagger = {
+ "type" : "object",
+ "properties" : {
+ "StackServiceComponents" : {
+ "$ref" : "#/definitions/StackServiceComponentResponse"
+ }
+ }
+};
+ defs.StackServiceResponse = {
+ "type" : "object",
+ "properties" : {
+ "stack_name" : {
+ "type" : "string"
+ },
+ "stack_version" : {
+ "type" : "string"
+ },
+ "service_name" : {
+ "type" : "string"
+ },
+ "service_type" : {
+ "type" : "string"
+ },
+ "display_name" : {
+ "type" : "string"
+ },
+ "user_name" : {
+ "type" : "string"
+ },
+ "comments" : {
+ "type" : "string"
+ },
+ "service_version" : {
+ "type" : "string"
+ },
+ "selection" : {
+ "type" : "string",
+ "enum" : [ "DEFAULT", "TECH_PREVIEW", "MANDATORY", "DEPRECATED" ]
+ },
+ "service_check_supported" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "custom_commands" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "config_types" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ }
+ }
+ },
+ "required_services" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "properties" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "credential_store_supported" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "credential_store_enabled" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "credential_store_required" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.StackServiceResponseSwagger = {
+ "type" : "object",
+ "properties" : {
+ "StackServices" : {
+ "$ref" : "#/definitions/StackServiceResponse"
+ }
+ }
+};
+ defs.StackVersionResponse = {
+ "type" : "object",
+ "properties" : {
+ "min_jdk" : {
+ "type" : "string"
+ },
+ "max_jdk" : {
+ "type" : "string"
+ },
+ "stack_name" : {
+ "type" : "string"
+ },
+ "stack_version" : {
+ "type" : "string"
+ },
+ "min_upgrade_version" : {
+ "type" : "string"
+ },
+ "active" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "valid" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "parent_stack_version" : {
+ "type" : "string"
+ },
+ "config_types" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ }
+ }
+ },
+ "upgrade_packs" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "stack-errors" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ }
+};
+ defs.StackVersionResponseSwagger = {
+ "type" : "object",
+ "properties" : {
+ "Versions" : {
+ "$ref" : "#/definitions/StackVersionResponse"
+ }
+ }
+};
+ defs.Subsection = {
+ "type" : "object",
+ "properties" : {
+ "row-index" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "display-name" : {
+ "type" : "string"
+ },
+ "column-span" : {
+ "type" : "string"
+ },
+ "row-span" : {
+ "type" : "string"
+ },
+ "column-index" : {
+ "type" : "string"
+ },
+ "border" : {
+ "type" : "string"
+ },
+ "left-vertical-splitter" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "depends-on" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/ConfigCondition"
+ }
+ },
+ "subsection-tab" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/SubsectionTab"
+ }
+ },
+ "removed" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.SubsectionTab = {
+ "type" : "object",
+ "properties" : {
+ "name" : {
+ "type" : "string"
+ },
+ "displayName" : {
+ "type" : "string"
+ },
+ "dependsOn" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/ConfigCondition"
+ }
+ }
+ }
+};
+ defs.Tab = {
+ "type" : "object",
+ "properties" : {
+ "display-name" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "layout" : {
+ "$ref" : "#/definitions/TabLayout"
+ }
+ }
+};
+ defs.TabLayout = {
+ "type" : "object",
+ "properties" : {
+ "tab-rows" : {
+ "type" : "string"
+ },
+ "sections" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/Section"
+ }
+ },
+ "tab-columns" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.Theme = {
+ "type" : "object",
+ "properties" : {
+ "description" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "configuration" : {
+ "$ref" : "#/definitions/ThemeConfiguration"
+ }
+ }
+};
+ defs.ThemeConfiguration = {
+ "type" : "object",
+ "properties" : {
+ "placement" : {
+ "$ref" : "#/definitions/Placement"
+ },
+ "widgets" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/WidgetEntry"
+ }
+ },
+ "layouts" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/Layout"
+ }
+ }
+ }
+};
+ defs.ThemeInfoResponse = {
+ "type" : "object",
+ "properties" : {
+ "file_name" : {
+ "type" : "string"
+ },
+ "default" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "stack_name" : {
+ "type" : "string"
+ },
+ "stack_version" : {
+ "type" : "string"
+ },
+ "theme_data" : {
+ "$ref" : "#/definitions/Theme"
+ },
+ "service_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.ThemeResponse = {
+ "type" : "object",
+ "properties" : {
+ "ThemeInfo" : {
+ "$ref" : "#/definitions/ThemeInfoResponse"
+ }
+ }
+};
+ defs.Unit = {
+ "type" : "object",
+ "properties" : {
+ "unit-name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.UserAuthorizationResponse = {
+ "type" : "object",
+ "required" : [ "AuthorizationInfo/user_name" ],
+ "properties" : {
+ "AuthorizationInfo/authorization_id" : {
+ "type" : "string"
+ },
+ "AuthorizationInfo/authorization_name" : {
+ "type" : "string"
+ },
+ "AuthorizationInfo/resource_type" : {
+ "type" : "string"
+ },
+ "AuthorizationInfo/user_name" : {
+ "type" : "string"
+ },
+ "AuthorizationInfo/cluster_name" : {
+ "type" : "string"
+ },
+ "AuthorizationInfo/view_name" : {
+ "type" : "string"
+ },
+ "AuthorizationInfo/view_version" : {
+ "type" : "string"
+ },
+ "AuthorizationInfo/view_instance_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.UserGroupInfo = {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.UserPrivilegeResponse = {
+ "type" : "object",
+ "required" : [ "PrivilegeInfo/user_name" ],
+ "properties" : {
+ "PrivilegeInfo/permission_label" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/privilege_id" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "PrivilegeInfo/permission_name" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/principal_type" : {
+ "type" : "string",
+ "enum" : [ "USER", "GROUP", "ROLE" ]
+ },
+ "PrivilegeInfo/principal_name" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/type" : {
+ "type" : "string",
+ "enum" : [ "AMBARI", "CLUSTER", "VIEW" ]
+ },
+ "PrivilegeInfo/cluster_name" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/view_name" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/version" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/instance_name" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/user_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.UserRequest = {
+ "type" : "object",
+ "properties" : {
+ "Users/password" : {
+ "type" : "string"
+ },
+ "Users/old_password" : {
+ "type" : "string"
+ },
+ "Users/active" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "Users/admin" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.UserResponse = {
+ "type" : "object",
+ "required" : [ "Users/user_name" ],
+ "properties" : {
+ "Users/user_type" : {
+ "type" : "string",
+ "enum" : [ "LOCAL", "LDAP", "JWT", "PAM" ]
+ },
+ "Users/groups" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "Users/user_name" : {
+ "type" : "string"
+ },
+ "Users/active" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "Users/ldap_user" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "Users/admin" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.ValidationResult = {
+ "type" : "object",
+ "properties" : {
+ "detail" : {
+ "type" : "string"
+ },
+ "valid" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.ValueAttributesInfo = {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string"
+ },
+ "maximum" : {
+ "type" : "string"
+ },
+ "minimum" : {
+ "type" : "string"
+ },
+ "unit" : {
+ "type" : "string"
+ },
+ "delete" : {
+ "type" : "string"
+ },
+ "visible" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "overridable" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "copy" : {
+ "type" : "string"
+ },
+ "empty_value_valid" : {
+ "type" : "boolean",
+ "xml" : {
+ "name" : "empty-value-valid"
+ },
+ "default" : false
+ },
+ "ui_only_property" : {
+ "type" : "boolean",
+ "xml" : {
+ "name" : "ui-only-property"
+ },
+ "default" : false
+ },
+ "read_only" : {
+ "type" : "boolean",
+ "xml" : {
+ "name" : "read-only"
+ },
+ "default" : false
+ },
+ "editable_only_at_install" : {
+ "type" : "boolean",
+ "xml" : {
+ "name" : "editable-only-at-install"
+ },
+ "default" : false
+ },
+ "show_property_name" : {
+ "type" : "boolean",
+ "xml" : {
+ "name" : "show-property-name"
+ },
+ "default" : false
+ },
+ "increment_step" : {
+ "type" : "string",
+ "xml" : {
+ "name" : "increment-step"
+ }
+ },
+ "entries" : {
+ "type" : "array",
+ "xml" : {
+ "name" : "entries",
+ "wrapped" : true
+ },
+ "items" : {
+ "$ref" : "#/definitions/ValueEntryInfo"
+ }
+ },
+ "hidden" : {
+ "type" : "string"
+ },
+ "entries_editable" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "selection_cardinality" : {
+ "type" : "string",
+ "xml" : {
+ "name" : "selection-cardinality"
+ }
+ },
+ "property-file-name" : {
+ "type" : "string"
+ },
+ "property-file-type" : {
+ "type" : "string"
+ },
+ "user-group-entries" : {
+ "type" : "array",
+ "xml" : {
+ "name" : "user-groups",
+ "wrapped" : true
+ },
+ "items" : {
+ "$ref" : "#/definitions/UserGroupInfo"
+ }
+ },
+ "keystore" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ }
+};
+ defs.ValueEntryInfo = {
+ "type" : "object",
+ "properties" : {
+ "value" : {
+ "type" : "string"
+ },
+ "label" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.VersionDefinitionXml = {
+ "type" : "object",
+ "properties" : {
+ "release" : {
+ "$ref" : "#/definitions/Release"
+ },
+ "repositoryInfo" : {
+ "xml" : {
+ "name" : "repository-info"
+ },
+ "$ref" : "#/definitions/RepositoryXml"
+ },
+ "xsdLocation" : {
+ "type" : "string"
+ },
+ "availableServiceNames" : {
+ "type" : "array",
+ "uniqueItems" : true,
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "stackDefault" : {
+ "type" : "boolean",
+ "default" : false
+ }
+ },
+ "xml" : {
+ "name" : "repository-version"
+ }
+};
+ defs.ViewInfo = {
+ "type" : "object",
+ "properties" : {
+ "view_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.ViewInstanceRequest = {
+ "type" : "object",
+ "properties" : {
+ "ViewInstanceInfo" : {
+ "$ref" : "#/definitions/ViewInstanceRequestInfo"
+ }
+ }
+};
+ defs.ViewInstanceRequestInfo = {
+ "type" : "object",
+ "properties" : {
+ "label" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "visible" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "icon_path" : {
+ "type" : "string"
+ },
+ "icon64_path" : {
+ "type" : "string"
+ },
+ "properties" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "instance_data" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "cluster_handle" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "cluster_type" : {
+ "type" : "string",
+ "enum" : [ "LOCAL_AMBARI", "REMOTE_AMBARI", "NONE" ]
+ }
+ }
+};
+ defs.ViewInstanceResponse = {
+ "type" : "object",
+ "properties" : {
+ "ViewInstanceInfo" : {
+ "$ref" : "#/definitions/ViewInstanceResponseInfo"
+ }
+ }
+};
+ defs.ViewInstanceResponseInfo = {
+ "type" : "object",
+ "properties" : {
+ "view_name" : {
+ "type" : "string"
+ },
+ "version" : {
+ "type" : "string"
+ },
+ "instance_name" : {
+ "type" : "string"
+ },
+ "label" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "visible" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "icon_path" : {
+ "type" : "string"
+ },
+ "icon64_path" : {
+ "type" : "string"
+ },
+ "properties" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "instance_data" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "cluster_handle" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "cluster_type" : {
+ "type" : "string",
+ "enum" : [ "LOCAL_AMBARI", "REMOTE_AMBARI", "NONE" ]
+ },
+ "context_path" : {
+ "type" : "string"
+ },
+ "static" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "short_url" : {
+ "type" : "string"
+ },
+ "short_url_name" : {
+ "type" : "string"
+ },
+ "validation_result" : {
+ "$ref" : "#/definitions/ValidationResult"
+ },
+ "property_validation_results" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "$ref" : "#/definitions/ValidationResult"
+ }
+ }
+ }
+};
+ defs.ViewPermissionInfo = {
+ "type" : "object",
+ "properties" : {
+ "view_name" : {
+ "type" : "string"
+ },
+ "version" : {
+ "type" : "string"
+ },
+ "permission_id" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "permission_name" : {
+ "type" : "string"
+ },
+ "resource_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.ViewPermissionResponse = {
+ "type" : "object",
+ "properties" : {
+ "ViewPermissionInfo" : {
+ "$ref" : "#/definitions/ViewPermissionInfo"
+ }
+ }
+};
+ defs.ViewPrivilegeRequest = {
+ "type" : "object",
+ "properties" : {
+ "PrivilegeInfo/permission_name" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/principal_type" : {
+ "type" : "string",
+ "enum" : [ "USER", "GROUP", "ROLE" ]
+ },
+ "PrivilegeInfo/principal_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.ViewPrivilegeResponse = {
+ "type" : "object",
+ "properties" : {
+ "PrivilegeInfo/permission_label" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/privilege_id" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "PrivilegeInfo/permission_name" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/principal_type" : {
+ "type" : "string",
+ "enum" : [ "USER", "GROUP", "ROLE" ]
+ },
+ "PrivilegeInfo/principal_name" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/view_name" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/version" : {
+ "type" : "string"
+ },
+ "PrivilegeInfo/instance_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.ViewResponse = {
+ "type" : "object",
+ "properties" : {
+ "ViewInfo" : {
+ "$ref" : "#/definitions/ViewInfo"
+ }
+ }
+};
+ defs.ViewVersionInfo = {
+ "type" : "object",
+ "properties" : {
+ "archive" : {
+ "type" : "string"
+ },
+ "build_number" : {
+ "type" : "string"
+ },
+ "cluster_configurable" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "label" : {
+ "type" : "string"
+ },
+ "masker_class" : {
+ "type" : "string"
+ },
+ "max_ambari_version" : {
+ "type" : "string"
+ },
+ "min_ambari_version" : {
+ "type" : "string"
+ },
+ "parameters" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/ParameterConfig"
+ }
+ },
+ "status" : {
+ "type" : "string",
+ "enum" : [ "PENDING", "DEPLOYING", "DEPLOYED", "ERROR" ]
+ },
+ "status_detail" : {
+ "type" : "string"
+ },
+ "system" : {
+ "type" : "boolean",
+ "default" : false
+ },
+ "version" : {
+ "type" : "string"
+ },
+ "view_name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.ViewVersionResponse = {
+ "type" : "object",
+ "properties" : {
+ "ViewVersionInfo" : {
+ "$ref" : "#/definitions/ViewVersionInfo"
+ }
+ }
+};
+ defs.Widget = {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string"
+ },
+ "units" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/Unit"
+ }
+ },
+ "required-properties" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "display-name" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.WidgetEntry = {
+ "type" : "object",
+ "properties" : {
+ "config" : {
+ "type" : "string"
+ },
+ "widget" : {
+ "$ref" : "#/definitions/Widget"
+ }
+ }
+};
+ defs.WidgetLayoutIdWrapper = {
+ "type" : "object",
+ "properties" : {
+ "id" : {
+ "type" : "integer",
+ "format" : "int64"
+ }
+ }
+};
+ defs.WidgetResponse = {
+ "type" : "object",
+ "properties" : {
+ "id" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "widgetName" : {
+ "type" : "string"
+ },
+ "widgetType" : {
+ "type" : "string"
+ },
+ "metrics" : {
+ "type" : "string"
+ },
+ "timeCreated" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "author" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "displayName" : {
+ "type" : "string"
+ },
+ "scope" : {
+ "type" : "string"
+ },
+ "widgetValues" : {
+ "type" : "string"
+ },
+ "properties" : {
+ "type" : "string"
+ },
+ "clusterName" : {
+ "type" : "string"
+ }
+ }
+};
+ defs.Wrapper = {
+ "type" : "object",
+ "properties" : {
+ "Hosts" : {
+ "$ref" : "#/definitions/HostResponse"
+ }
+ }
+};
+ </script>
+
+ <div class="container-fluid">
+ <div class="row-fluid">
+ <div id="sidenav" class="span2">
+ <nav id="scrollingNav">
+ <ul class="sidenav nav nav-list">
+ <!-- Logo Area -->
+ <!--<div style="width: 80%; background-color: #4c8eca; color: white; padding: 20px; text-align: center; margin-bottom: 20px; ">
+
+ API Docs 2
+
+ </div>
+ -->
+ <li class="nav-fixed nav-header active" data-group="_"><a href="#api-_">API Summary</a></li>
+
+ <li class="nav-header" data-group="Actions"><a href="#api-Actions">API Methods - Actions</a></li>
+ <li data-group="Actions" data-name="actionServiceCreateActionDefinition" class="">
+ <a href="#api-Actions-actionServiceCreateActionDefinition">actionServiceCreateActionDefinition</a>
+ </li>
+ <li data-group="Actions" data-name="actionServiceDeleteActionDefinition" class="">
+ <a href="#api-Actions-actionServiceDeleteActionDefinition">actionServiceDeleteActionDefinition</a>
+ </li>
+ <li data-group="Actions" data-name="actionServiceGetActionDefinition" class="">
+ <a href="#api-Actions-actionServiceGetActionDefinition">actionServiceGetActionDefinition</a>
+ </li>
+ <li data-group="Actions" data-name="actionServiceGetActionDefinitions" class="">
+ <a href="#api-Actions-actionServiceGetActionDefinitions">actionServiceGetActionDefinitions</a>
+ </li>
+ <li data-group="Actions" data-name="actionServiceUpdateActionDefinition" class="">
+ <a href="#api-Actions-actionServiceUpdateActionDefinition">actionServiceUpdateActionDefinition</a>
+ </li>
+ <li class="nav-header" data-group="Blueprints"><a href="#api-Blueprints">API Methods - Blueprints</a></li>
+ <li data-group="Blueprints" data-name="blueprintServiceCreateBlueprint" class="">
+ <a href="#api-Blueprints-blueprintServiceCreateBlueprint">blueprintServiceCreateBlueprint</a>
+ </li>
+ <li data-group="Blueprints" data-name="blueprintServiceDeleteBlueprint" class="">
+ <a href="#api-Blueprints-blueprintServiceDeleteBlueprint">blueprintServiceDeleteBlueprint</a>
+ </li>
+ <li data-group="Blueprints" data-name="blueprintServiceDeleteBlueprints" class="">
+ <a href="#api-Blueprints-blueprintServiceDeleteBlueprints">blueprintServiceDeleteBlueprints</a>
+ </li>
+ <li data-group="Blueprints" data-name="blueprintServiceGetBlueprint" class="">
+ <a href="#api-Blueprints-blueprintServiceGetBlueprint">blueprintServiceGetBlueprint</a>
+ </li>
+ <li data-group="Blueprints" data-name="blueprintServiceGetBlueprints" class="">
+ <a href="#api-Blueprints-blueprintServiceGetBlueprints">blueprintServiceGetBlueprints</a>
+ </li>
+ <li class="nav-header" data-group="Clusters"><a href="#api-Clusters">API Methods - Clusters</a></li>
+ <li data-group="Clusters" data-name="createCluster" class="">
+ <a href="#api-Clusters-createCluster">createCluster</a>
+ </li>
+ <li data-group="Clusters" data-name="createClusterArtifact" class="">
+ <a href="#api-Clusters-createClusterArtifact">createClusterArtifact</a>
+ </li>
+ <li data-group="Clusters" data-name="deleteCluster" class="">
+ <a href="#api-Clusters-deleteCluster">deleteCluster</a>
+ </li>
+ <li data-group="Clusters" data-name="deleteClusterArtifact" class="">
+ <a href="#api-Clusters-deleteClusterArtifact">deleteClusterArtifact</a>
+ </li>
+ <li data-group="Clusters" data-name="deleteClusterArtifacts" class="">
+ <a href="#api-Clusters-deleteClusterArtifacts">deleteClusterArtifacts</a>
+ </li>
+ <li data-group="Clusters" data-name="getCluster" class="">
+ <a href="#api-Clusters-getCluster">getCluster</a>
+ </li>
+ <li data-group="Clusters" data-name="getClusterArtifact" class="">
+ <a href="#api-Clusters-getClusterArtifact">getClusterArtifact</a>
+ </li>
+ <li data-group="Clusters" data-name="getClusterArtifacts" class="">
+ <a href="#api-Clusters-getClusterArtifacts">getClusterArtifacts</a>
+ </li>
+ <li data-group="Clusters" data-name="getClusters" class="">
+ <a href="#api-Clusters-getClusters">getClusters</a>
+ </li>
+ <li data-group="Clusters" data-name="updateCluster" class="">
+ <a href="#api-Clusters-updateCluster">updateCluster</a>
+ </li>
+ <li data-group="Clusters" data-name="updateClusterArtifact" class="">
+ <a href="#api-Clusters-updateClusterArtifact">updateClusterArtifact</a>
+ </li>
+ <li data-group="Clusters" data-name="updateClusterArtifacts" class="">
+ <a href="#api-Clusters-updateClusterArtifacts">updateClusterArtifacts</a>
+ </li>
+ <li class="nav-header" data-group="Groups"><a href="#api-Groups">API Methods - Groups</a></li>
+ <li data-group="Groups" data-name="groupPrivilegeServiceGetPrivilege" class="">
+ <a href="#api-Groups-groupPrivilegeServiceGetPrivilege">groupPrivilegeServiceGetPrivilege</a>
+ </li>
+ <li data-group="Groups" data-name="groupPrivilegeServiceGetPrivileges" class="">
+ <a href="#api-Groups-groupPrivilegeServiceGetPrivileges">groupPrivilegeServiceGetPrivileges</a>
+ </li>
+ <li data-group="Groups" data-name="groupServiceCreateGroup" class="">
+ <a href="#api-Groups-groupServiceCreateGroup">groupServiceCreateGroup</a>
+ </li>
+ <li data-group="Groups" data-name="groupServiceDeleteGroup" class="">
+ <a href="#api-Groups-groupServiceDeleteGroup">groupServiceDeleteGroup</a>
+ </li>
+ <li data-group="Groups" data-name="groupServiceGetGroup" class="">
+ <a href="#api-Groups-groupServiceGetGroup">groupServiceGetGroup</a>
+ </li>
+ <li data-group="Groups" data-name="groupServiceGetGroups" class="">
+ <a href="#api-Groups-groupServiceGetGroups">groupServiceGetGroups</a>
+ </li>
+ <li data-group="Groups" data-name="memberServiceDeleteMember" class="">
+ <a href="#api-Groups-memberServiceDeleteMember">memberServiceDeleteMember</a>
+ </li>
+ <li data-group="Groups" data-name="memberServiceGetMember" class="">
+ <a href="#api-Groups-memberServiceGetMember">memberServiceGetMember</a>
+ </li>
+ <li data-group="Groups" data-name="memberServiceGetMembers" class="">
+ <a href="#api-Groups-memberServiceGetMembers">memberServiceGetMembers</a>
+ </li>
+ <li data-group="Groups" data-name="memberServiceUpdateMembers" class="">
+ <a href="#api-Groups-memberServiceUpdateMembers">memberServiceUpdateMembers</a>
+ </li>
+ <li class="nav-header" data-group="Hosts"><a href="#api-Hosts">API Methods - Hosts</a></li>
+ <li data-group="Hosts" data-name="createHost" class="">
+ <a href="#api-Hosts-createHost">createHost</a>
+ </li>
+ <li data-group="Hosts" data-name="createHosts" class="">
+ <a href="#api-Hosts-createHosts">createHosts</a>
+ </li>
+ <li data-group="Hosts" data-name="deleteHost" class="">
+ <a href="#api-Hosts-deleteHost">deleteHost</a>
+ </li>
+ <li data-group="Hosts" data-name="deleteHosts" class="">
+ <a href="#api-Hosts-deleteHosts">deleteHosts</a>
+ </li>
+ <li data-group="Hosts" data-name="getHost" class="">
+ <a href="#api-Hosts-getHost">getHost</a>
+ </li>
+ <li data-group="Hosts" data-name="getHosts" class="">
+ <a href="#api-Hosts-getHosts">getHosts</a>
+ </li>
+ <li data-group="Hosts" data-name="updateHost" class="">
+ <a href="#api-Hosts-updateHost">updateHost</a>
+
<TRUNCATED>