You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Michael Russo (JIRA)" <ji...@apache.org> on 2015/08/27 00:49:45 UTC
[jira] [Commented] (USERGRID-929) Test the creation of entities
which have an OldUUID to migrate from 1.0 to 2.1
[ https://issues.apache.org/jira/browse/USERGRID-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14715665#comment-14715665 ]
Michael Russo commented on USERGRID-929:
----------------------------------------
You can import an entity with:
PUT /:org/:app:/:collection/:oldEntityUUID
This will preserve the UUID and properties and create an entity in the system with that data. However, there is not a REST endpoint expose for creating the :org and :app. This functionality is built in the Management Service layer, see: org.apache.usergrid.management.cassandra.ManagementServiceImpl#importOrganization
It's only used by the standalone usergrid-tools, and not exposed via REST endpoint.
> Test the creation of entities which have an OldUUID to migrate from 1.0 to 2.1
> ------------------------------------------------------------------------------
>
> Key: USERGRID-929
> URL: https://issues.apache.org/jira/browse/USERGRID-929
> Project: Usergrid
> Issue Type: Story
> Reporter: Jeffrey
> Assignee: Michael Russo
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)