Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete operation against the feed #295

Open
ghost opened this issue Jan 29, 2016 · 2 comments
Open

Delete operation against the feed #295

ghost opened this issue Jan 29, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 29, 2016

Hi

Thanks for the great atom tool Atom Hopper.

We're using Atom Hopper as a message feed at work, and want to remove/delete ‘old’ entries that are invalid.

I am trying to invoke a HTTP DELETE on:

https://domain.com/namespace/feed/entries/urn:uuid:9b850562-d357-4cf8-8811-048a6730e869

with response:

java.lang.UnsupportedOperationException: Not supported.

Is there an other way to perform a delete operation against the feed?

Best regards
Stian

@ghost ghost changed the title Delete operation agenst the feed Delete operation against the feed Jan 29, 2016
@usnavi
Copy link
Contributor

usnavi commented Jan 29, 2016

Hi,

What adapter are you using? I don't think its supported by any of the adapters. We use the JDBCAdapter, and that method throws and UnsupportedOperationException, which I believe you are seeing:

https://github.com/rackerlabs/atom-hopper/blob/master/adapters/jdbc/src/main/java/org/atomhopper/jdbc/adapter/JdbcFeedPublisher.java#L306

Greg

From: stianvillanger <notifications@github.commailto:notifications@github.com>
Reply-To: rackerlabs/atom-hopper <reply@reply.github.commailto:reply@reply.github.com>
Date: Friday, January 29, 2016 at 2:46 AM
To: rackerlabs/atom-hopper <atom-hopper@noreply.github.commailto:atom-hopper@noreply.github.com>
Subject: [atom-hopper] Delete operation agenst the feed (#295)

Hi

Thanks for the great atom tool Atom Hopper

We're using Atom Hopper as a message feed at work, and want to remove/delete 'old' entries that are invalid

I am trying to invoke a HTTP DELETE on:

https://domaincom/namespace/feed/entries/urn:uuid:9b850562-d357-4cf8-8811-048a6730e869

with response:

javalangUnsupportedOperationException: Not supported

Is there an other way to perform a delete operation against the feed?

Best regards
Stian

Reply to this email directly or view it on GitHubhttps://github.com//issues/295.

@ghost
Copy link
Author

ghost commented Feb 1, 2016

Correct, not only the JDBC adapter but all of them return UnsupportedOperationException("Not supported."); on HTTP delete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant