Wouldn't this cause problems if two data services r saved concurrently?
So i don't think we can use either of these approaches. We may have to
put in our own service to do this. Can you change the service URL at the
front end?

Thanks,
Keith.

Tyrell Perera wrote:
> Keith,
> 
> There is a way to set the repo where the actual dataservice config files
>  reside. The property is
> 
> DBConstants.DB_SERVICE_REPO (org.wso2.ws.dataservice.DBConstants line 168)
> 
> I see 2 ways to set this property;
> 
>  1. If we can set this property at the time of the Mashup Server
> initialization, the Data Service Admin will pick it up from there and
> will hopefully prevent storing the file in a wrong location (as it does
> at present).
> 
> or
> 
>  2. Since our storage strategy is user based, I can try setting this
> config property from the JSP itself. At the JSP level I already know
> which user is creating the Data Service and will be able to infer the
> repo location using this information.
> 
> Thoughts ?
> 
> Tyrell
> 
> 
> 

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



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

Reply via email to