-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Alexander,
On 4/3/12 3:53 PM, Alexander Broekhuis wrote:
> We are using the ACE rest client to create an ACE configuration
> from a program. But now we need to add bundles to the repository,
> what is the best/easiest solution for this? Looking at the webUI
> this is handled via the ArtifactRepository, but the Rest client
> seems to miss such option. Is this correct, or am I missing
> something?
Indeed the REST client does not have functionality for uploading
artifacts. The internal API does support it (= the
ArtifactRepository), but it is not exposed as such through REST.
For now, uploading of artifacts through an REST-ish interface is
possible by using the OBR interface directly:
- - GET /obr/${ID}, yields the artifact itself (e.g. 'repository.xml');
- - POST /obr/${ID}, submits a resource to the OBR. The ${ID} is used as
the resource name and the content as its value. Returns a 409 if there
is a conflict with another resource;
- - DELETE /obr/${ID}, deletes a resource from the OBR. Returns a 409 if
there is a conflict.
- --
Met vriendelijke groeten | Kind regards
Jan Willem Janssen | Software Architect
+31 631 765 814
/My world is:/
Luminis Technologies B.V.
IJsselburcht 3
6825 BS Arnhem
+31 88 586 46 30
http://www.luminis-technologies.com
http://www.luminis.eu
KvK (CoC) 09 16 28 93
BTW (VAT) NL8169.78.566.B.01
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJPewmyAAoJEKF/mP2eHDc4C28QAJtnpRCdGzHSy3ClAxOrMQ5/
e/j6WEveGysK9Aktf2KEr38QaKfKemHkW3vZ7iCmygMjzBX7LqHql+w3GG+MqcJ/
9iV/YM5Qb8DOobwadyTYhSEIskeJdRPD+W+wgDfXXuBS5hVCJBWFFSmr6ro7TFK6
R0j88zL6U0+GS4FZZ6wkm7MBxp3ZRwFMC/h2m85BAqpfYnrTGBQOLCh7O5TutLCQ
I9EHOkZQJ0gRC2AP6kVbVTPKmP3KgZ3MaP5PcHgAHzMomRlFXlencdEA7Fh4kAKE
1TDHXpvlhypt9q/tTTD21sndEb3QDybTsL9SK+Ke1oUseP5AI/7resroQ2d3vqLT
fRTD0LgvqCQeLPNmOooRVlnRbJJGJRiY6wNq0NF/Koz6pmrFSqKgA1Mo8v6ep+MG
fB9i3OvvuTKIVyAdJVgrIyO3z6u36urVNVTnUcsOLaSUZH7tHOwyn+I2Ub7DKwcX
P5LZ6TOv+WVzn8twhrotV8OBU/9jJ/W5O+x2pKWRdgnhU8seHdDkZktw+DrspTLs
vo5k+lYBig/HP1WCTrzTjn/qtQGUBsMaVhdxN0O0yGGI9wpUvY4Wot46oIEbqf70
15uBiDbiRzI6belPF/p9W2ys26kVqY4u8i7+OrVwoEqrF1w0r07RrJK+A0+4Rdn9
ocembzvYVSN+LPussP9B
=UX3h
-----END PGP SIGNATURE-----