Hi David,

I'm not sure why the 2665 patch failed to apply - it sounds like it 
contains dependencies that conflict with the current master. May be worth 
asking Bogdan to rebase it,

Your correction to the omag-server/pom.xml looks good to me - for me that 
is sufficient to remove the cyclic log dependency and allows Atlas to 
start correctly. Did you then perform a full, clean build?

Best regards,
  Graham

Graham Wallis
IBM Analytics
Internet: graham_wal...@uk.ibm.com 
IBM Laboratories, Hursley Park, Hursley, Hampshire SO21 2JN
Tel: +44 7741 379735




From:   "David Radley (JIRA)" <j...@apache.org>
To:     dev@atlas.apache.org
Date:   10/06/2018 10:47
Subject:        [jira] [Commented] (ATLAS-1773) Create the OMRS Connector 
for Atlas




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

David Radley commented on ATLAS-1773:
-------------------------------------

[~grahamwallis]  I have committed 2745. I then tried to follow the notes. 
I am on the latest master. The patch for ATLAS-1773 applied. 
I then ran 
git am < ATLAS-1773-2018-06-07.patch 
and got:
Applying: ATLAS-1773: Atlas OMRS Connector
✔ ~/atlasreview [master ↑·1|…2] 
09:20 $ git am < ATLAS-2665-Add-OMAG-API-in-Atlas-v7.patch 
Applying: ATLAS-2665 Add OMAG-API in Atlas
error: patch failed: omag-api/pom.xml:41
error: omag-api/pom.xml: patch does not apply
error: patch failed: omag-server/pom.xml:53
error: omag-server/pom.xml: patch does not apply
error: patch failed: omas-assetconsumer/pom.xml:39
error: omas-assetconsumer/pom.xml: patch does not apply
error: patch failed: omas-connectedasset/pom.xml:40
error: omas-connectedasset/pom.xml: patch does not apply
error: patch failed: omrs/pom.xml:39
error: omrs/pom.xml: patch does not apply
Patch failed at 0001 ATLAS-2665 Add OMAG-API in Atlas
The copy of the patch that failed is found in: .git/rebase-apply/patch

I did a 3 way merge choosing the patch content over head to apply the 
content. This was all around pom dependancies it did not like. This built 
successfully.
I got the log error even though I have made your suggested change (though 
possibly made a mistake). I have changed the omag-server pom to:

<artifactId>omag-server</artifactId>
<name>Open Metadata and Governance (OMAG) Server</name>
<description>
    Open Metadata and Governance (OMAG) server for running open metadata 
function outside of the Apache Atlas server.
</description>

<packaging>jar</packaging>

<dependencies>

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter</artifactId>
        <version>1.5.7.RELEASE</version>
        <exclusions>
            <exclusion>
                <groupId>ch.qos.logback</groupId>
                <artifactId>*</artifactId>
            </exclusion>
        </exclusions>
    </dependency>

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
        <version>1.5.7.RELEASE</version>
    </dependency>
 

> Create the OMRS Connector for Atlas
> -----------------------------------
>
>                 Key: ATLAS-1773
>                 URL: 
https://issues.apache.org/jira/browse/ATLAS-1773

>             Project: Atlas
>          Issue Type: New Feature
>          Components:  atlas-core
>    Affects Versions: 1.0.0
>            Reporter: Mandy Chessell
>            Assignee: Graham Wallis
>            Priority: Major
>         Attachments: ATLAS-1773-2018-06-07.patch, Notes on running the 
OMRS stack including the Atlas OMRS connector.txt, 
RELATIONSHIP_DEFS_AS_ASSOCIATIONS.patch
>
>
> This JIRA provides the definition of the OMRS Connector API and an 
implementation of this API for a local Apache Atlas metadata repository 
and for the OMRS REST API.
> The OMRS Connector has 3 API groups
> * The types API - this is the metadata API for a metadata repository
> * The entity and relationships APIs that provide the type-agnostic 
interfaces that can access any type - even those added dynamically
> * The fine-grained type-safe APIs that are generated from the addons 
models in the build.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)



Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

Reply via email to