Following is the code fragment from service_info.jsp:480 in service-mg UI
which provides the extension point for custom UI.

String serviceType = service.getServiceType();
String serviceTypePath = "/" + serviceType + "/";
String extraConfig = ".." + serviceTypePath +
"extra_config.jsp?serviceName="+serviceName;
Set resourcePaths =
config.getServletContext().getResourcePaths(serviceTypePath);

So according to this new service should have the service type parameter to
be set. CSG component set the services to be csg services.

One possible answer would be to extend this logic to support another custom
property. WDYT ?

Rajika


On Wed, Mar 16, 2011 at 5:29 PM, Rajika Kumarasiri <[email protected]> wrote:

> Currently when we install CSG Agent feature into AS, all the services will
> be marked as CSG services ( Service Type). See the attach screen shot.
>
> This was done in this way to make sure that we can extend the service-mgt
> UI to support "publish to CSG" operation. But it seems this is not good
> since we loose the original service type information.
>
> Is there a way where we can extend the service-mgt UI keeping the same
> original service type information ?
>
> Rajika
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to