[ 
https://issues.apache.org/jira/browse/ATLAS-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16247523#comment-16247523
 ] 

Mandy Chessell commented on ATLAS-2246:
---------------------------------------

Hello Cassio,
I recreated the patch to include the IGC skeleton code.  I think you should 
focus on supporting Glossary terms, Glossary categories and Databases plus any 
of the Hadoop resources Marc wants.

You need to implement the following methods :

    EntitySummary getEntitySummary(String     guid) throws 
RepositoryErrorException,
                                                           
EntityNotKnownException;
 
    EntityDetail getEntityDetail(String     guid) throws 
RepositoryErrorException,
                                                         
EntityNotKnownException;

    EntityUniverse getEntityUniverse(String  guid) throws 
RepositoryErrorException,
                                                          
EntityNotKnownException;


    Relationships getRelationshipsForEntity(String               entityGUID,
                                            InstanceStatus       
limitResultsByStatus,
                                            int                  
fromRelationshipElement,
                                            String               
sequencingProperty,
                                            SequencingOrder      
sequencingOrder,
                                            int                  pageSize) 
throws RepositoryErrorException,
                                                                                
  EntityNotKnownException,
                                                                                
  PropertyErrorException,
                                                                                
  PagingErrorException;

    Classifications getClassificationsForEntity(String               entityGUID,
                                                int                  
fromClassificationElement,
                                                String               
sequencingProperty,
                                                SequencingOrder      
sequencingOrder,
                                                int                  pageSize) 
throws RepositoryErrorException,
                                                                                
      EntityNotKnownException,
                                                                                
      PropertyErrorException,
                                                                                
      PagingErrorException;

    EntityDetails findEntitiesByProperty(String               entityTypeGUID,
                                         InstanceProperties   matchProperties,
                                         MatchCriteria        matchCriteria,
                                         int                  
fromEntityDetailElement,
                                         String               
sequencingProperty,
                                         SequencingOrder      sequencingOrder,
                                         int                  pageSize) throws 
RepositoryErrorException,
                                                                               
TypeErrorException,
                                                                               
PropertyErrorException,
                                                                               
PagingErrorException;

    EntityDetails findEntitiesByClassification(String               
entityTypeGUID,
                                               String               
classificationName,
                                               InstanceProperties   
matchClassificationProperties,
                                               MatchCriteria        
matchCriteria,
                                               InstanceStatus       
limitResultsByStatus,
                                               String               
sequencingProperty,
                                               SequencingOrder      
sequencingOrder,
                                               int                  
fromEntityDetailElement,
                                               int                  pageSize) 
throws RepositoryErrorException,
                                                                                
     TypeErrorException,
                                                                                
     ClassificationNotKnownException,
                                                                                
     PropertyErrorException,
                                                                                
     PagingErrorException;


    Relationship getRelationship(String    guid) throws 
RepositoryErrorException,
                                                        
RelationshipNotKnownException;


   
    Relationships findRelationshipsByProperty(String               
relationshipTypeGUID,
                                              InstanceProperties   
matchProperties,
                                              MatchCriteria        
matchCriteria,
                                              int                  
fromEntityDetailElement,
                                              InstanceStatus       
limitResultsByStatus,
                                              String               
sequencingProperty,
                                              SequencingOrder      
sequencingOrder,
                                              int                  pageSize) 
throws RepositoryErrorException,
                                                                                
    TypeErrorException,
                                                                                
    PropertyErrorException,
                                                                                
    PagingErrorException;


    EntityDetail addEntity(String              entityTypeGUID,
                           String              entityOwner,
                           InstanceProperties  initialProperties,
                           Classifications     initialClassifications,
                           InstanceStatus      initialStatus) throws 
RepositoryErrorException,
                                                                     
TypeErrorException,
                                                                     
PropertyErrorException,
                                                                     
ClassificationNotKnownException,
                                                                     
StatusNotSupportedException;


  
    EntityDetail updateEntityStatus(String           entityGUID,
                                    InstanceStatus   newStatus) throws 
RepositoryErrorException,
                                                                       
EntityNotKnownException,
                                                                       
StatusNotSupportedException;

    EntityDetail updateEntityProperties(String               entityGUID,
                                        InstanceProperties   properties) throws 
RepositoryErrorException,
                                                                                
EntityNotKnownException,
                                                                                
PropertyErrorException;


    void   deleteEntity(String    obsoleteEntityGUID) throws 
RepositoryErrorException,
                                                             
EntityNotKnownException,
                                                             
StatusNotSupportedException;

    void purgeEntity(String    deletedEntityGUID) throws 
RepositoryErrorException,
                                                         
EntityNotKnownException,
                                                         
EntityNotDeletedException;

    EntityDetail restoreEntity(String    deletedEntityGUID) throws 
RepositoryErrorException,
                                                                   
EntityNotKnownException,
                                                                   
EntityNotDeletedException;


   
    EntityDetail classifyEntity(String               entityGUID,
                                String               classificationName,
                                InstanceProperties   classificationProperties) 
throws RepositoryErrorException,
                                                                                
      EntityNotKnownException,
                                                                                
      ClassificationNotKnownException,
                                                                                
      PropertyErrorException;

    EntityDetail declassifyEntity(String  entityGUID,
                                  String  classificationName) throws 
RepositoryErrorException,
                                                                     
EntityNotKnownException,
                                                                     
ClassificationNotKnownException;


    EntityDetail updateEntityClassification(String               entityGUID,
                                            String               
classificationName,
                                            InstanceProperties   properties) 
throws RepositoryErrorException,
                                                                                
    EntityNotKnownException,
                                                                                
    ClassificationNotKnownException,
                                                                                
    PropertyErrorException;



    Relationship addRelationship(String               relationshipTypeGUID,
                                 InstanceProperties   initialProperties,
                                 String               entityOneGUID,
                                 String               entityTwoGUID,
                                 InstanceStatus       initialStatus) throws 
RepositoryErrorException,
                                                                            
TypeErrorException,
                                                                            
PropertyErrorException,
                                                                            
EntityNotKnownException,
                                                                            
StatusNotSupportedException;


  
    Relationship updateRelationshipStatus(String           relationshipGUID,
                                          InstanceStatus   newStatus) throws 
RepositoryErrorException,
                                                                             
RelationshipNotKnownException,
                                                                             
StatusNotSupportedException;


    Relationship updateRelationshipProperties(String               
relationshipGUID,
                                              InstanceProperties   properties) 
throws RepositoryErrorException,
                                                                                
      RelationshipNotKnownException,
                                                                                
      PropertyErrorException;


 
    void deleteRelationship(String    obsoleteRelationshipGUID) throws 
RepositoryErrorException,
                                                                       
RelationshipNotKnownException,
                                                                       
StatusNotSupportedException;
    void purgeRelationship(String    deletedRelationshipGUID) throws 
RepositoryErrorException,
                                                                     
RelationshipNotKnownException,
                                                                     
RelationshipNotDeletedException;
    Relationship restoreRelationship(String    deletedRelationshipGUID) throws 
RepositoryErrorException,
                                                                               
RelationshipNotKnownException,
                                                                               
RelationshipNotDeletedException;

> Define OMRS Connector interface
> -------------------------------
>
>                 Key: ATLAS-2246
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2246
>             Project: Atlas
>          Issue Type: Sub-task
>          Components: atlas-intg
>            Reporter: Mandy Chessell
>            Assignee: Mandy Chessell
>            Priority: Critical
>         Attachments: 
> 0002-ATLAS-2246-OMRS-Connector-API-plus-REST-and-IGC-Conn.patch, 
> 0002-ATLAS-2246-OMRS-Connector-API.patch, OMRS Javadoc.zip
>
>
> This task covers the creation of the OMRS Connector APIs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to