[
https://issues.apache.org/jira/browse/ATLAS-3206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840361#comment-16840361
]
Keval Bhatt commented on ATLAS-3206:
------------------------------------
[~jose.santos] I have created the term as per the example you have provided and
it is working for me.
{code:java}
API: http://localhos:21000/api/atlas/v2/glossary/term
Body: {
"name": "x",
"shortDescription": "",
"longDescription": "",
"AREA_RESPONSAVEL": "teste",
"anchor":
{
"glossaryGuid": "6af02202-f077-4058-8b1b-7d9b43a1ea97",
"displayText": "Test"
}
}
{code}
!Create_with_custom_attr.png|width=650,height=350!
However when we tried to update the term with the custom attributes then it
doesn't get updated.
Can you try to create a term along with custom attributes again? We will check
out what is the issue with the update scenario.
> Atlas REST API: Create new attribute in AtlasGlossaryTerm
> ---------------------------------------------------------
>
> Key: ATLAS-3206
> URL: https://issues.apache.org/jira/browse/ATLAS-3206
> Project: Atlas
> Issue Type: Bug
> Affects Versions: 1.1.0
> Reporter: José Nilson dos Santos Júnior
> Priority: Major
> Fix For: 1.1.0
>
> Attachments: Create_with_custom_attr.png, POST_v2-glossary-term.txt,
> PUT_v2-glossary-term-termGuid.txt, PUT_v2-types-typedefs.txt,
> atlasglossaryterm-created.png, atlasglossaryterm-updated.png
>
>
> Hi experts,
>
> I have been working with Atlas REST API.
> [http://atlas.apache.org/api/v2/index.html]
>
> I created a new attribute in AtlasGlossaryTerm with the command: See
> {color:#333333}*PUT_v2-types-typedefs.txt*{color}
>
> I can not update the values of this new attribute. I tried two ways:
>
> [1] I tried to create a new term with the command: See
> {color:#333333}*POST_v2-glossary-term.txt.*{color}
>
> The term is created, however the display is empty. See
> *atlasglossaryterm-created.png*.
>
> [2] I also tried updating the term created: See
> {color:#333333}*PUT_v2-glossary-term-termGuid.txt*. {color}
> {color:#333333}See *atlasglossaryterm-updated.png*.{color}
>
> How can I solve this?
>
> Thank you.
> Best Regards.
>
> José Nilson
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)