Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
25ba9b30
Commit
25ba9b30
authored
Jun 23, 2020
by
nikhilbonte
Committed by
Sarath Subramanian
Jun 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3856 Create new entity typeDefs for Apache Ozone
Signed-off-by:
Sarath Subramanian
<
sarath@apache.org
>
parent
ab9f9731
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
263 additions
and
0 deletions
+263
-0
3050-ozone-typedefs.json
addons/models/3000-Cloud/3050-ozone-typedefs.json
+263
-0
No files found.
addons/models/3000-Cloud/3050-ozone-typedefs.json
0 → 100644
View file @
25ba9b30
{
"enumDefs"
:
[
{
"name"
:
"ozone_storage_type"
,
"description"
:
"The storage type for an Ozone bucket"
,
"serviceType"
:
"ozone"
,
"typeVersion"
:
"1.0"
,
"elementDefs"
:
[
{
"ordinal"
:
0
,
"value"
:
"RAM_DISK"
},
{
"ordinal"
:
1
,
"value"
:
"SSD"
},
{
"ordinal"
:
2
,
"value"
:
"DISK"
},
{
"ordinal"
:
3
,
"value"
:
"ARCHIVE"
}
]
},
{
"name"
:
"ozone_replication_type"
,
"description"
:
"The replication type for an Ozone key"
,
"serviceType"
:
"ozone"
,
"typeVersion"
:
"1.0"
,
"elementDefs"
:
[
{
"ordinal"
:
0
,
"value"
:
"RATIS"
},
{
"ordinal"
:
1
,
"value"
:
"STAND_ALONE"
},
{
"ordinal"
:
2
,
"value"
:
"CHAINED"
}
]
}
],
"structDefs"
:
[
{
"name"
:
"ozone_key_location"
,
"description"
:
"Location information about Ozone key"
,
"serviceType"
:
"ozone"
,
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
{
"name"
:
"containerID"
,
"typeName"
:
"long"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
false
,
"isOptional"
:
false
,
"isUnique"
:
false
},
{
"name"
:
"localID"
,
"typeName"
:
"long"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
false
,
"isOptional"
:
false
,
"isUnique"
:
false
},
{
"name"
:
"length"
,
"typeName"
:
"long"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
false
,
"isOptional"
:
false
,
"isUnique"
:
false
},
{
"name"
:
"offset"
,
"typeName"
:
"long"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
false
,
"isOptional"
:
false
,
"isUnique"
:
false
}
]
}
],
"classificationDefs"
:
[],
"entityDefs"
:
[
{
"name"
:
"ozone_volume"
,
"description"
:
"Atlas Type representing an volume in an Ozone Object Store"
,
"superTypes"
:
[
"DataSet"
],
"serviceType"
:
"ozone"
,
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
{
"name"
:
"admin"
,
"typeName"
:
"string"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
true
,
"isUnique"
:
false
},
{
"name"
:
"quota"
,
"typeName"
:
"long"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
false
,
"isOptional"
:
true
,
"isUnique"
:
false
},
{
"name"
:
"creationTime"
,
"typeName"
:
"date"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
true
,
"isUnique"
:
false
}
]
},
{
"name"
:
"ozone_bucket"
,
"description"
:
"Atlas Type representing a bucket in an Ozone Object Store Volume"
,
"superTypes"
:
[
"DataSet"
],
"serviceType"
:
"ozone"
,
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
{
"name"
:
"storageType"
,
"typeName"
:
"ozone_storage_type"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
true
,
"isUnique"
:
false
},
{
"name"
:
"versioningEnabled"
,
"typeName"
:
"boolean"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
false
,
"isOptional"
:
true
,
"isUnique"
:
false
},
{
"name"
:
"encryptionKeyName"
,
"typeName"
:
"string"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
true
,
"isUnique"
:
false
},
{
"name"
:
"creationTime"
,
"typeName"
:
"date"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
true
,
"isUnique"
:
false
}
]
},
{
"name"
:
"ozone_key"
,
"description"
:
"Atlas Type representing a key in an Ozone Object Store Bucket"
,
"superTypes"
:
[
"DataSet"
],
"serviceType"
:
"ozone"
,
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
{
"name"
:
"dataSize"
,
"typeName"
:
"long"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
true
,
"isUnique"
:
false
},
{
"name"
:
"replicationType"
,
"typeName"
:
"ozone_replication_type"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
true
,
"isUnique"
:
false
},
{
"name"
:
"replicationFactor"
,
"typeName"
:
"int"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
true
,
"isUnique"
:
false
},
{
"name"
:
"keyLocations"
,
"typeName"
:
"array<ozone_key_location>"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
false
,
"isOptional"
:
true
,
"isUnique"
:
false
},
{
"name"
:
"creationTime"
,
"typeName"
:
"date"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
true
,
"isOptional"
:
true
,
"isUnique"
:
false
}
]
}
],
"relationshipDefs"
:
[
{
"name"
:
"ozone_volume_buckets"
,
"serviceType"
:
"ozone"
,
"typeVersion"
:
"1.0"
,
"relationshipCategory"
:
"COMPOSITION"
,
"endDef1"
:
{
"type"
:
"ozone_volume"
,
"name"
:
"buckets"
,
"isContainer"
:
true
,
"cardinality"
:
"SET"
},
"endDef2"
:
{
"type"
:
"ozone_bucket"
,
"name"
:
"volume"
,
"isContainer"
:
false
,
"cardinality"
:
"SINGLE"
},
"propagateTags"
:
"NONE"
},
{
"name"
:
"ozone_bucket_keys"
,
"serviceType"
:
"ozone"
,
"typeVersion"
:
"1.0"
,
"relationshipCategory"
:
"COMPOSITION"
,
"endDef1"
:
{
"type"
:
"ozone_bucket"
,
"name"
:
"keys"
,
"isContainer"
:
true
,
"cardinality"
:
"SET"
},
"endDef2"
:
{
"type"
:
"ozone_key"
,
"name"
:
"bucket"
,
"isContainer"
:
false
,
"cardinality"
:
"SINGLE"
},
"propagateTags"
:
"NONE"
}
]
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment