Support url parameter to rewrite endpoint addresses to use localhost.
---------------------------------------------------------------------

                 Key: MASHUP-545
                 URL: http://wso2.org/jira/browse/MASHUP-545
             Project: WSO2 Mashup Server
          Issue Type: Improvement
            Reporter: Jonathan Marsh
         Assigned To: Keith Godwin Chapman
             Fix For: 1.0


Stubs currently do not work unedited when imported into a mashup, because the 
endpoint addresses are fixed IPs, thus if the IP of the host changes the stub 
breaks.  To fix this we've been hand-editing the stubs, but why should we live 
with this state?

I've added a parameter "localhost-endpoints" to jsstub.xslt, which when set to 
"true()" will rewrite the endpoint addresses to use localhost.  Thus we can 
recommend (maybe even provide a link in the UI) that users request stubs as 
follows when including them in a mashup:

    ?stub&lang=e4x&localhost=true

Please add such a parameter and map it to the "localhost-endpoints" xslt 
parameter.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to