jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Archiva
  • MRM-124

web service interface

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.2-M1
  • Component/s: Web Interface
  • Labels:
    None

Description

this needs a new jira component.

We need a comprehensive web services interface to the application. Like RSS, it should be a new view on the same actions. The more we can derive that from the repository-core interfaces, the better.
This should include administration and security.

Issue Links

relates to

New Feature - A new feature of the product, which has yet to be developed. MRM-206 Add xml-rpc search

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
supercedes

New Feature - A new feature of the product, which has yet to be developed. MRM-92 some random ideas about the repository manager

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
James William Dumay added a comment - 08/May/08 1:42 AM

Moving to 1.1.x

Show
James William Dumay added a comment - 08/May/08 1:42 AM Moving to 1.1.x
Hide
Permalink
James William Dumay added a comment - 08/May/08 2:22 AM

Moving to 1.2

Show
James William Dumay added a comment - 08/May/08 2:22 AM Moving to 1.2
Hide
Permalink
James William Dumay added a comment - 20/Aug/08 7:34 PM

Committed r687522 on branch https://svn.apache.org/repos/asf/archiva/branches/MRM-124

  • Using Atlassian XML-RPC API (Source and binaries available under the Apache 2 license at https://maven.atlassian.com/public/)
  • Modules for API and Server

Clients can simply depend on the archiva-xmlrpc-api module and use its interfaces to bind to remote services.

Here is an example:

Client interface:

@ServiceObject("Test")
interface TestService
{
  String ping();
}

Server implementation

class TestServiceImpl implements TestService
{
  String ping() {
    return "pong";
  }
}

Clients would then connect like so:

Binder binder = new DefaultBinder()
TestService testService = binder.bind(TestService.class, "http://path/to/archiva/xmlrpcservlet");
String result = testService.ping(); //result should equal "pong"
Show
James William Dumay added a comment - 20/Aug/08 7:34 PM Committed r687522 on branch https://svn.apache.org/repos/asf/archiva/branches/MRM-124
  • Using Atlassian XML-RPC API (Source and binaries available under the Apache 2 license at https://maven.atlassian.com/public/)
  • Modules for API and Server
Clients can simply depend on the archiva-xmlrpc-api module and use its interfaces to bind to remote services. Here is an example: Client interface:
@ServiceObject("Test")
interface TestService
{
  String ping();
}
Server implementation
class TestServiceImpl implements TestService
{
  String ping() {
    return "pong";
  }
}
Clients would then connect like so:
Binder binder = new DefaultBinder()
TestService testService = binder.bind(TestService.class, "http://path/to/archiva/xmlrpcservlet");
String result = testService.ping(); //result should equal "pong"
Hide
Permalink
Maria Odea Ching added a comment - 20/Oct/08 1:04 AM - edited

MRM-124 branch merged to trunk in -r706126.

Archiva now uses Apache XmlRpc via the Atlassian XmlRpc binder which James did. The XmlRpc module is already using Spring components, no more plexus annotations. The current service in place now is for administration, namely: execute repo/db scan, enable/disable consumers, delete artifact, query managed & remote repositories, query repo & database consumers.

A search service still needs to be implemented.

Show
Maria Odea Ching added a comment - 20/Oct/08 1:04 AM - edited MRM-124 branch merged to trunk in -r706126. Archiva now uses Apache XmlRpc via the Atlassian XmlRpc binder which James did. The XmlRpc module is already using Spring components, no more plexus annotations. The current service in place now is for administration, namely: execute repo/db scan, enable/disable consumers, delete artifact, query managed & remote repositories, query repo & database consumers. A search service still needs to be implemented.
Hide
Permalink
Maria Odea Ching added a comment - 23/Oct/08 8:30 PM

Closing issue.. There is already a jira issue for the xmlrpc search (MRM-206).

Show
Maria Odea Ching added a comment - 23/Oct/08 8:30 PM Closing issue.. There is already a jira issue for the xmlrpc search (MRM-206).

People

  • Assignee:
    Maria Odea Ching
    Reporter:
    Brett Porter
Vote (0)
Watch (2)

Dates

  • Created:
    23/Jul/06 7:46 PM
    Updated:
    07/Nov/08 7:58 AM
    Resolved:
    23/Oct/08 8:30 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.