Aso changing serviceType is wrong .. what if the CSG component is on DS? Then DS services will no longer be recognized as DS services! How will I edit the service after publishing it via CSG??
Sanjiva. On Fri, Mar 18, 2011 at 3:31 PM, Afkham Azeez <[email protected]> wrote: > The UI is distorted. Who adds this param? Anyway, I personally feel that > adding a param named hasUIExtensions is ugly from a services PoV. This is > purely a Carbon Mgt Console thing, and adding a "hasUIExtension" param, and > then setting serviceType = hasUIExtension is pretty hacky and ugly. > > > On Fri, Mar 18, 2011 at 12:48 PM, Rajika Kumarasiri <[email protected]>wrote: > >> I got this working by introducing a parameter named "hasUIExtensions" >> which has the relevant context value. Now the original service informations >> are preserved. I have attached a screen shot. >> >> Rajika >> >> >> On Thu, Mar 17, 2011 at 10:55 AM, Rajika Kumarasiri <[email protected]>wrote: >> >>> 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 >> >> > > > -- > *Afkham Azeez* > Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, > * > * > *Member; Apache Software Foundation; > **http://www.apache.org/*<http://www.apache.org/> > * > email: **[email protected]* <[email protected]>* cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > * > * > *Lean . Enterprise . Middleware* > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Sanjiva Weerawarana, Ph.D. Founder, Chairman & CEO; WSO2, Inc.; http://wso2.com/ email: [email protected]; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
