Wednesday, November 18, 2009

It's good that I came home last night

I decided to come home on Wednesday and work from home on Thursday and Friday because my father is not good these days due to his kidney failure and dubieties and when I was coming it's around 12 PM. My mom used to sleep with our grand mother's place so father is sleeping alone at home. So when I came and knock the door I heard he's telling something so I thought he's coming to open the door, but after staying few minutes I realize something wrong and he couldn't come due to some reason so I went from back door (since I know how to open it from outside) and I saw that he was trying to come but couldn't because his blood sugar level was very low. He was trying to reach to the glucose packs which is few meters away from the bed.
Fortunately once I gave glucose and water after sometime he came to normal...Unless I'm not there things would be bad.

It's good that I came home last night.

Sunday, September 27, 2009

Birth and Death

The best practice is to ask this question in the morning/evening and tonight.
Why did I born ?
Birth and death is almost a single thing and obviously there's no existence of one thing without the other one so we can consider both together. People used to cry so much when someone die but it's a joke to cry when someone die because we all know when someone born they'll die so the best time to cry is when someone born. Are we in a position to understand this ?
Can we live in a closed room for few hours continuously without doing anything? It's would be a very ugly experience for us but how do we feel when we stay in our mom's body for more than 9 months ? But still we want to have another birth .. We were born to stop another birth and the answer for the question "Why did I born? Stop another birth."
Translated from "Ajan cha natha"

Friday, September 18, 2009

Upcomming multitenant version of WSO2 Governance Registry

We are working on making WSO2 Governance Registry Multi tenant so that users can use it more convenient way rather setting it up in their own environment and configure it. Now we can have a single instance running of WSO2 Governance Registry and allow so many organizations to use that instance by completely separating data between those organizations. Each Organization is having their own tenant and set of users for each tenant and all the data between users and between tenant are successfully separated in database level.

We are almost done with new big feature with our Governance Registry and we are about to host it in an Amazon Cloud so that all the users can easily access it create your own tenant and add users to it and all the users can login by giving tenant domain name and user-id.


Please wait until we host it during upcoming week !

Get the dynamic UI for service adding in WSO2 Governance Registry 3.0.1

If you are using WSO2 Governance Registry 3.0.0 you can see that we are allowing users to create their services as resources by giving different kinds of information about the resource. If you go through the context sensitive documentation by clicking on the help button when you go the add service UI you'll get to know that you can configure the given UI by giving different values for the already provided UI by changing some XML files located int /governance/configurations directory.


Now we are allowing users to create their own fields in to govenance registry Service UI form so that you can have your own data in to service resources. This is a completely dynamic UI generation based on an XML. You just have to change an xml in the registry and change your Service UI dynamically. If you want to get this feature in you can do that by switching in to upcoming release of WSO2 Governance Registry 3.0.1 and download the patch here[1] and go through the readme on how to apply the patch to registry.

[1]http://builder.wso2.org/~carbon/service-ui-M2/patch.zip

Tuesday, July 7, 2009

Governance Registry Service Metadata

WSO2 Governance Registry is providing complete Service Metadata Management features with Release 3.0.0 to do a better governance in your SOA system. In the new left panel there are set of operations supported in order to manage service metadata efficiently.

We are providing two main operations to manage service metadata in order to do a better governance in users SOA(Service Oriented Architecture) system.

  • Importing required Service metadata as Registry resource
  • Managing imported Registry Resources
  • Users can add it's service details in different ways like importing complete set of service details, importing WSDL of set of services in the SOA system, importing Schema's or Policies of set of services in the SOA system. Importing service details can be done using the upper part of the metadata menu which contains the links Add->Service, Add-Policy, Add->WSDL, Add->Schema.

    Add Service

    This service import method is preferred when user doesn't have a proper description about the service with a WSDL but we provide a field to import WSDL in to Governance Registry. When user click on Add Service link user will be given a form to fill. Important thing in this form is user can simply reconfigure the default configuration.

    Configuring "Add Service" UI

    User can configure the set of drop down lists which suit to users SOA system. This can be done by changing the current configuration by editing the content of set of resources in /governance/configuration/. There are set of resources as displayed in Figure 3 which you can browse and edit the XML content of the resource.

    Ex: Default configuration have drop down list for Service states with the fields of Created Tested Deployed and Deprecated. If user wants to add a new Service in to this drop down list you have to add a new XML element like this in to the XML content of the resource /governance/configuration/states

    After adding new XML element save the content and to find the change, go to add service UI and see the states drop down. Likewise users can configure all the drop downs in the add service UI.Likewise users can configure all the drop downs in the add service UI.

    In Add Service UI there are set of fields to fill and service name and service Namespace are mandatory. Most of the fields are obvious service informations and if you want to add a WSDL URL you can add it but the information from the WSDL will not be display when you go to edit these information. So we prefer you to use add->WSDL if you have a WSDL in the given resource. And you can add any number of endpoints to the given service by clicking add endpoint link and if user try to add more and more endpoints without filling previously added endpoint new endpoint will not be displayed.

    After successfully adding a new Service user will be directed to newly added resource location which constructed based on the service Namespace which user shouldn't concern about. After direction user can see a resource with the given service name and if user give already exist service name service import operation will fail.

    Add Policy

    User can add Policy by traversing to the add Policy link. This form contains fields, policy URL and policy name. Governance Registry will automatically suggest a name for the policy once the URL is entered. Policy will be imported as a resource in to the Governance Registry. Successful import will redirect in to a page which list all the imported policies.


    Add WSDL

    If a WSDL URL is available and you need to import service information to the Governance Registry you can use the "Add WSDL" option provided with the Governance Registry. Once the URL is provided to the UI, a name is automatically suggested for the resource in Governance Registry. When we import the given WSDL we are extracting certain number of details like service name, service namespaces and service endpoints and import the given WSDL as a resource and import a service resource which is very similar to the resource we are creating when user add a service using add service UI. So user can go to that resource and edit the rest of the information user couldn't import through WSDL import operation, like Authentication Platform, Authentication Mechanism etc.

    Add Schema

    Like WSDL importing Governance Registry allow users to add Schema in to registry using add Schema UI. User have to give the schema location in to Schema URL and Schema name will be filling very similar in Add WSDL and Add Policy forms. Successful schema import will redirect in to currently available imported schema listing page.

    Validation

    Similar to WSDLs, WSO2 Governance Registry performs Schema validations on the wsdl provided once importing is done. The result is displayed under "properties" section of the imported Schema resource.


    Saturday, May 30, 2009

    My Elder brother Graduated in May 28th 2009

    This weekend is a very interesting one for all of my family members since My elder brother graduated last Thursday and one of my younger brother came home after nearly a month by finishing his first exam at faculty of medicine University of Peradeniya...
    My brothers convocation held in BMICH in colombo and parents were there to see their son's victory. This was my moms whole life since we were in our childhood. I always remember she was pointing to University of Ruhuna which is by the road of my fathers place and advising us to study hard...Yeah, she used to do that since I was in Grade 1...
    I'm thanking all of them who helped him to become a graduate..and wishing him all the success for his future endovours !!!! I think he's going to get another degree in couple of months and will be posting again on that !!!

    Monday, May 11, 2009

    Configuring Airtel HSDPA on Ubuntu

    Today I bought an Airtel Data bundle and tried to configure it on my Ubuntu 9.04.I have been accessing internet through my Mobitel connection for sometime and I thought it would be easy to configure it to Airtel.Yes it was easy but I had to do couple of things since the debian package did not had Airtel information in Sri Lankan service providers list. If you are a user willing to configure your Airtel HSDPA(Sri Lankan) connection on Ubuntu with your mobile this blog is for you.

    1.In the current mobile-broadband package which ships with Ubuntu 9.04 doesn't contain Airtel as service provider for Sri Lanka.So you have to get the latest update of the package. In order to do that,install subversion on your machine and get and svn check out from here :
    http://svn.gnome.org/svn/mobile-broadband-provider-info/trunk

    2.Copy serviceprovider.xml and serviceprovider.dtd file in to /usr/share/mobile-broadband-provider-info/

    3. You can see a computer at the panel which show the status of the network, right click it and select edit-Connections and select Mobile-Broadband tab.

    4. If you have already define one connectioin please remove it and add a new one. After copying that new file it will show you Airtel as a Sri Lankan Service Provider during the wizard.

    5. According to configuration now this should connect to the internet through Airtel Access point. But Unfortunately it didn't connect for me. The Access point on the latest trunk of the package is wrong and you have to double click on the newly added connection to reconfigure it and select the Access Point to

    AirtelLive (No Spelling mistakes and I'm don't have time to test the case sensitivity, just copy and paste this)

    6. Now you are done. Now when you click the icon which show the network status with a computer icon you can see the Airtel to select and click on it will connect to the internet if you have enough signal....:-)

    For me it work fine since I'm in galle right now and hopefully it'll work fine in Dehiwelle... (I used to stay there during week days)