in the doc for GateIn 3.2.0, at chapter : "3.15.2. Controller in Action", the REST call to the WebAppController is : portalcontroller
So I guess the url is : http://localhost:8080/rest-pex-portal/private/portalcontroller
(or http://localhost:8080/rest-pex-portal/portalcontroller, as the /private/ is not mandatory anymore).
But I can't get the Rest service to respond.
I get the 404 code, and the message : "There is no any resources matched to request path /portalcontroller"
I have checked that I am logged as root on the portal.
I have checked that the Rest service work well for the POM and "managed-components".
I have checked that the JMX service is there, and responding, with the : "portal="portal",service=controller,view=portal"
Still no answer for the WebAppController with REST call.
Anyone has faced this problem ?
Or any clue, to solve this ?
How can I investigate the Rest services : what is in charge of the request and response ?
Is it also the WebAppController of the portal ?
or some other servlet ?
Yes, sorry, this is another prefix for another portal container rest service
I have no answer when I use also : http:/localhost:8080/rest/private/portalcontroller
anyway I try, I get only the response : "There is no any resources matched to request path /portalcontroller"
=> how can I investigate for the access to the rest service of the WebAppController.
I tried it.
I tried :
and others with my other PortalContainers
the response I get is only :
(open and closed brackets).
Does it mean that there are no Rest services exposed ?
(even though the POM management, with http://localhost:8080/rest/managed-components is working).
when I try :
the response is :
"GET method is not allowed for resource /management/portalcontroller"
what are the main classes involved in the management of the REST services ?
And the classes that manage the requests (and request dispatching and execution to the service) ?
I may try some debug mode, with those, to see what are the services, etc...
Thank you for any clue or idea...
I was logged as root, but in another tab of the same Firefox.
It seems not to be enough.
I logged in the same tab (window) of Firefox, then went to the URL of the portalcontroller... and it works.
I checked it : it is not enough to be logged in another tab. The authentifiaction and session seems to be linked specifically to each tab.
Thanks a lot.