arquillian.github.io icon indicating copy to clipboard operation
arquillian.github.io copied to clipboard

Arquillian API: Publish a Container Overview API

Open aslakknutsen opened this issue 13 years ago • 8 comments

Based on the Awestruct::Extensions::GitHub::Org, we have all the repository info for all the supported containers and versions.

We should publish this info into a Tools usable format, e.g. JSON. This could be consumed by the Forge or JBossTools Arquillian support.

arquillian.org/api/containers.json

[
  {
    name:  "JBoss AS 5 Remote",
    group_id: "org.jboss.arquillian.container",
    artifact_id: "arquillian-jbossas-remote-5",
    versions: ["1.0.0.CR1", "1.0.0.CR2"],
    download: {
       url: "http://vla/bla",
       artifact: {
         group_id: 'org.jboss.jbossas',
         artifact_id: "jboss-as-districtubtion"
       }
    },
    dependencies: [
      {
         group_id: 'org.jboss.client',
         artifact_id: "jboss-as-client"
       }
    ]
  },
  {
   ...
  }
]

aslakknutsen avatar Oct 29 '11 14:10 aslakknutsen

This is great! When is it going to be available?

If we get this I can do a complete rewrite of the install part of containers for the Forge integration. By doing that it can keep itself up-to-date when new containers are added.

paulbakker avatar Oct 29 '11 14:10 paulbakker

There is one more thing the Forge plugin would need. Some containers require configuration in arquillian.xml. I need to know what to put in there. Besides the required part it would be even better to have a list of all configuration options so that I can build commands to edit the configuration.

paulbakker avatar Oct 29 '11 14:10 paulbakker

Sounds like a good action item for JUDCon Hackfest on Monday.. :)

aslakknutsen avatar Oct 29 '11 14:10 aslakknutsen

When is the Hackfest? Maybe I can join :-)

paulbakker avatar Oct 29 '11 14:10 paulbakker

The ContainerConfiguration object is not parsed yet, but that's planned and could be added.

aslakknutsen avatar Oct 29 '11 14:10 aslakknutsen

Same location as JAX, http://www.jboss.org/events/JUDCon/2011/london

aslakknutsen avatar Oct 29 '11 14:10 aslakknutsen

Couldn't help my self.. https://gist.github.com/1324966

aslakknutsen avatar Oct 29 '11 19:10 aslakknutsen

work started: https://github.com/aslakknutsen/arquillian.github.com/tree/arq_json_api

aslakknutsen avatar Oct 29 '11 20:10 aslakknutsen