Re: AtlasClient.java

2015-10-14 Thread Erik Bergenholtz
Hi Herman, This is still a work in progress. I will publish what we have shortly on the Atlas Wiki - it still needs some love but is a step up from the generated API doc: http://atlas.incubator.apache.org/api/rest.html. In the mean time, see attached pdf which will hopefully get you a step

Re: AtlasClient.java

2015-10-14 Thread Herman Yu
Jira Atlas-230 is created asking for detail documentation/samples of REST API. At meanwhile, can someone help provide some insights on how to create an entity through REST API? supposedly the POST method of http:…/api/atlas/entities will do the job, however, I couldn’t make it work: class

AtlasClient.java

2015-10-13 Thread Nigel Jones
The AtlasClient is tempting for Java users to make use of, but I was wondering where it's expected to go.. I tend to see it as sample code but not more. Programmers may use their favoured frameworks/patterns, and all focus is on the rest API (or the bridge plugin mechanism). Is that fair?

Re: AtlasClient.java

2015-10-13 Thread Herman Yu
The challenge (at least for me) is there is no detail documentation of REST API, e.g. I still can’t create new entities through REST API so has to code in Java as the client does. I followed the same son structure as traced out from log, but still get exceptions complaining either unknown token

Re: AtlasClient.java

2015-10-13 Thread Seetharam Venkatesh
Agreed that Atlas is quite thin on documentation. Please open a jira and we will try to add more documentation. Let me clarify about the APIs. There are 2 parts to Atlas, 1. Data Models aka Types that are expressed using the flexible type system API The type and entity (typed instances) are