Advice on troubleshooting Restlet/Plexus bridge

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

Advice on troubleshooting Restlet/Plexus bridge

by justinedelson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm trying to add a resource to the Crowd plugin that would enable someone to test if Crowd is working (i.e. the configuration is correct) without enabling the security Realm.
 
I can see in the debugger that my PlexusResource component is being attached to a Router instance inside PlexusRestletApplicationBridge, but that's about it. When I hit what I expect to be the endpoint ("/nexus/crowd/test"), I get a 404.
 
 
Thanks,
Justin

Re: Advice on troubleshooting Restlet/Plexus bridge

by Tamás Cservenák :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The "auto managed" PlexusResources are mounted under:

/nexus/service/local + getResourceUri().

Hence, the real URL for this resource is:
http://localhost:8081/nexus/service/local/crowd/test

~t~

On Sun, Feb 1, 2009 at 3:11 AM, Edelson, Justin
<Justin.Edelson@...> wrote:
>
> I'm trying to add a resource to the Crowd plugin that would enable someone to test if Crowd is working (i.e. the configuration is correct) without enabling the security Realm.
>
> I can see in the debugger that my PlexusResource component is being attached to a Router instance inside PlexusRestletApplicationBridge, but that's about it. When I hit what I expect to be the endpoint ("/nexus/crowd/test"), I get a 404.
>
> Here's the source: http://svn.sonatype.org/nexus-plugins/trunk/nexus-crowd-plugin/src/main/java/org/sonatype/nexus/plugins/crowd/api/CrowdTestPlexusResource.java
>
> Thanks,
> Justin

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


RE: Advice on troubleshooting Restlet/Plexus bridge

by justinedelson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Re: [nexus-dev] Advice on troubleshooting Restlet/Plexus bridge
Thanks.


From: t.cservenak@... on behalf of Tamás Cservenák
Sent: Sun 2/1/2009 3:32 AM
To: nexus-dev@...
Subject: Re: [nexus-dev] Advice on troubleshooting Restlet/Plexus bridge

The "auto managed" PlexusResources are mounted under:

/nexus/service/local + getResourceUri().

Hence, the real URL for this resource is:
http://localhost:8081/nexus/service/local/crowd/test

~t~

On Sun, Feb 1, 2009 at 3:11 AM, Edelson, Justin
<Justin.Edelson@...> wrote:
>
> I'm trying to add a resource to the Crowd plugin that would enable someone to test if Crowd is working (i.e. the configuration is correct) without enabling the security Realm.
>
> I can see in the debugger that my PlexusResource component is being attached to a Router instance inside PlexusRestletApplicationBridge, but that's about it. When I hit what I expect to be the endpoint ("/nexus/crowd/test"), I get a 404.
>
> Here's the source: http://svn.sonatype.org/nexus-plugins/trunk/nexus-crowd-plugin/src/main/java/org/sonatype/nexus/plugins/crowd/api/CrowdTestPlexusResource.java
>
> Thanks,
> Justin

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...