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
4139050e
Commit
4139050e
authored
Dec 19, 2014
by
Dan Markwat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added comments based on the team's discussions of the Type and
Repository systems
parent
34941a4f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
0 deletions
+15
-0
EntityResource.java
.../apache/hadoop/metadata/web/resources/EntityResource.java
+3
-0
MetadataDiscoveryResource.java
...oop/metadata/web/resources/MetadataDiscoveryResource.java
+6
-0
RexsterGraphResource.java
...e/hadoop/metadata/web/resources/RexsterGraphResource.java
+3
-0
TypesResource.java
...g/apache/hadoop/metadata/web/resources/TypesResource.java
+3
-0
No files found.
webapp/src/main/java/org/apache/hadoop/metadata/web/resources/EntityResource.java
View file @
4139050e
...
@@ -47,6 +47,9 @@ import java.io.StringWriter;
...
@@ -47,6 +47,9 @@ import java.io.StringWriter;
/**
/**
* Entity management operations as REST API.
* Entity management operations as REST API.
*
* An entity is an "instance" of a Type. Entities conform to the definition
* of the Type they correspond with.
*/
*/
@Path
(
"entities"
)
@Path
(
"entities"
)
public
class
EntityResource
{
public
class
EntityResource
{
...
...
webapp/src/main/java/org/apache/hadoop/metadata/web/resources/MetadataDiscoveryResource.java
View file @
4139050e
...
@@ -22,6 +22,12 @@ import javax.ws.rs.Path;
...
@@ -22,6 +22,12 @@ import javax.ws.rs.Path;
/**
/**
* Jersey Resource for metadata operations.
* Jersey Resource for metadata operations.
*
* The entry point for all operations against various aspects of the entities graph.
*
* For instance,
* lineage: given an entity, X, get me the lineage - all entities X is derived from (recursively)
* 'search': find entities generated by Hive processes or that were generated by Sqoop, etc.
*/
*/
@Path
(
"discovery"
)
@Path
(
"discovery"
)
public
class
MetadataDiscoveryResource
{
public
class
MetadataDiscoveryResource
{
...
...
webapp/src/main/java/org/apache/hadoop/metadata/web/resources/RexsterGraphResource.java
View file @
4139050e
...
@@ -54,6 +54,9 @@ import java.util.Set;
...
@@ -54,6 +54,9 @@ import java.util.Set;
* Jersey Resource for lineage metadata operations.
* Jersey Resource for lineage metadata operations.
* Implements most of the GET operations of Rexster API with out the indexes.
* Implements most of the GET operations of Rexster API with out the indexes.
* https://github.com/tinkerpop/rexster/wiki/Basic-REST-API
* https://github.com/tinkerpop/rexster/wiki/Basic-REST-API
*
* This is a subset of Rexster's REST API, designed to provide only read-only methods
* for accessing the backend graph.
*/
*/
@Path
(
"graph"
)
@Path
(
"graph"
)
public
class
RexsterGraphResource
{
public
class
RexsterGraphResource
{
...
...
webapp/src/main/java/org/apache/hadoop/metadata/web/resources/TypesResource.java
View file @
4139050e
...
@@ -26,6 +26,9 @@ import javax.ws.rs.core.Response;
...
@@ -26,6 +26,9 @@ import javax.ws.rs.core.Response;
/**
/**
* This class provides RESTful API for Types.
* This class provides RESTful API for Types.
*
* A type is the description of any representable item;
* e.g. a Hive table
*/
*/
@Path
(
"types"
)
@Path
(
"types"
)
public
class
TypesResource
{
public
class
TypesResource
{
...
...
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