[ https://issues.apache.org/jira/browse/ATLAS-1178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15522127#comment-15522127 ]
Shwetha G S commented on ATLAS-1178: ------------------------------------ DefaultMetadataService is the API internal to the service. server-api module has only the server side APIs and not exposed to clients. So, lets leave DefaultMetadataService in server-api DefaultMetadataService handles both type and entities related APIs, and hence the name MetadataService Yes, the plan is to remove json awareness from MetadataService, and the serialisation/deserialisation should be transparent to even the rest APIs and should be handled by jersey automatically. Yes, this is to avoid the extra json processing. EntityResult is already a POJO > APIs in DefaultMetadataService should return POJOs > -------------------------------------------------- > > Key: ATLAS-1178 > URL: https://issues.apache.org/jira/browse/ATLAS-1178 > Project: Atlas > Issue Type: Bug > Reporter: Shwetha G S > > DefaultMetadataService APIs accept/return json strings and the rest APIs end > up serialising and deserialising everytime. DefaultMetadataService APIs are > internal APIs and should accept/return POJOs -- This message was sent by Atlassian JIRA (v6.3.4#6332)