Repository listeners

View: New views
2 Messages — Rating Filter:   Alert me  

Repository listeners

by Vasil Manolov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

The company I work for are using an Artifactory-managed shared repository. What we need is to be able to "react" (e.g. write to a specific log file/send an http request/etc.) when an artifact is deployed. Is there a way to plug a "repository listener" into Artifactory?

Now, I understand that my problem is pretty much covered by the http://issues.jfrog.org/jira/browse/RTFACT-294 issue, but we can't really wait for the 2.5 release - and we don't require the feature to be "out of the box". It's ok if I am to write an "extension" to do the job, but I don't know how to do that.

Is there a way to configure Artifactory to load my own class and then notify that class for "deploy" events? I already read the "Creating Your Own Authentication Provider" tutorial and I know that Artifactory is based on the Spring framework, but I'm very new to Spring (and to JavaEE development, in general), so I'd appreciate all hints and directions you can provide.

Best regards,
Vasil Manolov

Re: Re pository listeners

by Yoav Landman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


It should be possible to do this with the upcoming 2.1 release (soon :). It is not an "official" public api yet, but should be fairly straight-forward to use.

Yoav

On Mon, Aug 3, 2009 at 1:45 PM, Vasil Manolov <bluecreature@...> wrote:

Hi,

The company I work for are using an Artifactory-managed shared repository.
What we need is to be able to "react" (e.g. write to a specific log
file/send an http request/etc.) when an artifact is deployed. Is there a way
to plug a "repository listener" into Artifactory?

Now, I understand that my problem is pretty much covered by the
http://issues.jfrog.org/jira/browse/RTFACT-294 issue, but we can't really
wait for the 2.5 release - and we don't require the feature to be "out of
the box". It's ok if I am to write an "extension" to do the job, but I don't
know how to do that.

Is there a way to configure Artifactory to load my own class and then notify
that class for "deploy" events? I already read the "Creating Your Own
Authentication Provider" tutorial and I know that Artifactory is based on
the Spring framework, but I'm very new to Spring (and to JavaEE development,
in general), so I'd appreciate all hints and directions you can provide.

Best regards,
Vasil Manolov

--
View this message in context: http://www.nabble.com/Repository-listeners-tp24788624p24788624.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users