Hi Anshu,

Can you confirm if the relationshipdef creation went through fine?
*curl -X GET
http://localhost:21000/api/atlas/v2/types/relationshipdef/name/measurement2task
<http://localhost:21000/api/atlas/v2/types/relationshipdef/name/measurement2task>*

Also, for endDef2 why isLegacyAttribute set to true? This attribute should
be set only for out of the box models.

Thanks,
Sarath

On Tue, Sep 11, 2018 at 3:34 AM Anshu Shukla <[email protected]>
wrote:

> Still stuck in there ... Any ideas... ??
> Unable to see any relationship between entities in UI even if I have
> written logic for that?
>
> On 29/08/18, 12:20 PM, "anshu shukla" <[email protected]> wrote:
>
>     Hi,
>
>     I am  trying to create a relationship type for the already defined
> entities
>
>     in new model file. But I am getting following warnings in the
>     application.log file.
>
>     *WARNING:*
>
>     2018-08-29 12:11:14,231 WARN  - [main:] ~ No RelationshipDef defined
>     between measurement and task
>
>     on attribute: genoma_measurement.task_name (AtlasEntityType:145)
>
>     *Model:*
>
>     {
>         "name": "measurement2task",
>         "typeVersion": "1.0",
>         "relationshipCategory": "ASSOCIATION",
>         "endDef1": {
>             "type": "measurement",
>             "name": "parameter",
>             "isContainer": false,
>             "cardinality": "SET"
>         },
>         "endDef2": {
>             "type": "task",
>             "name": "source",
>             "isContainer": false,
>             "cardinality": "SINGLE",
>             "isLegacyAttribute": true
>         },
>         "propagateTags": "NONE"
>     },
>
>
>
>     --
>     Thanks & Regards,
>     Anshu Shukla
>
>
>

Reply via email to