[ https://issues.apache.org/jira/browse/SOLR-17090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17792980#comment-17792980 ]
ASF subversion and git services commented on SOLR-17090: -------------------------------------------------------- Commit f68cfbc1d84546f03c30ccbb9f7bd5df94bda924 in solr's branch refs/heads/main from Jason Gerlowski [ https://gitbox.apache.org/repos/asf?p=solr.git;h=f68cfbc1d84 ] SOLR-17090: Remove DeleteAlias JAX-RS annotations (#2115) The annotations in `DeleteAlias.java` were shadowing those in `DeleteAliasApi.java` and preventing the v2 API from being picked up correctly. > v2 "delete-alias" API returns 405 > --------------------------------- > > Key: SOLR-17090 > URL: https://issues.apache.org/jira/browse/SOLR-17090 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: v2 API > Affects Versions: 9.4 > Reporter: Jason Gerlowski > Priority: Minor > Time Spent: 20m > Remaining Estimate: 0h > > The v2 delete-alias API is broken in 9.4, returning a 405 ("Method not > allowed") from the the Jersey-dispatching code. > The cause of this is appears to be JAX-RS annotations in the 'DeleteAlias' > class, which are causing the annotations in the 'DeleteAliasApi' interface to > be dropped. We should remove these annotations from 'DeleteAlias' and check > on the testing of this API. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org