Issue Type: Bug Bug
Affects Versions: 1.0.0
Assignee: Unassigned
Created: 23/May/12 9:37 AM
Description:

I use the Amdatu ace client to create and update features in the AMS. I created a feature using:

AceClientWorkspace workspace = new AceClient(CLIENT_ENDPOINT).createNewWorkspace();
Feature feature = new FeatureBuilder()
  .setName(name)
  .setDescription(name)
  .build();
workspace.createResource(feature);
workspace.commit();
workspace.remove();

Now when I run the same code again, I get a 400 AceClientException, apparently since the feature already exists. And so I tried to retrieve the feature first, to verify if it exists using:

Feature f = workspace.getResource(Feature.class, name);

But this also results in an exception:

org.amdatu.ace.client.AceClientException: Failed to get data: http://localhost:8080/client/work/rest-8/feature/cassandra

Project: Amdatu Management
Labels: pfu040
Priority: Major Major
Reporter: Ivo Ladage - van Doorn
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to