Re: [Dev] [AM] Adding a Custom Tier without the use of UI

2017-07-12 Thread Saad Sahibjan
Hi Yasima, Thanks :D Regards, Saad On Wed, Jul 12, 2017 at 1:58 PM, Yasima Dewmini wrote: > Hi Saad, > > Yes you are correct. For that you can first do a registry get to get the > current tier.xml. Next append the new tire configuration you want and do > the registry put. > >

Re: [Dev] [AM] Adding a Custom Tier without the use of UI

2017-07-12 Thread Yasima Dewmini
Hi Saad, Yes you are correct. For that you can first do a registry get to get the current tier.xml. Next append the new tire configuration you want and do the registry put. Regards, Yasima. On Wed, Jul 12, 2017 at 1:08 PM, Saad Sahibjan wrote: > Hi Yasima, > > Thanks

Re: [Dev] [AM] Adding a Custom Tier without the use of UI

2017-07-12 Thread Saad Sahibjan
Hi Yasima, Thanks for the reply. I went through [1] and it looks like a file replacement. Correct me if i'm wrong. I don't want to replace the whole file, I want to edit the existing file to add the custom tier without any affect to the already existing tiers. In case if someone else has

Re: [Dev] [AM] Adding a Custom Tier without the use of UI

2017-07-12 Thread Yasima Dewmini
Hi Saad, You can write a SOAP based client for updating a registry resource - tiers.xml. Please find a sample in [1]. If you like to do it using carbon console refer [2] which is same as in APIM 1.9.0. [1] https://github.com/malinthaprasan/registry-ws-client/ [2]

[Dev] [AM] Adding a Custom Tier without the use of UI

2017-07-11 Thread Saad Sahibjan
Hi, I want to add a custom tier to API Manager 1.9.1 but not through UI. I checked the API Manager 2.1.0, adding a custom tier could be done through editing the 'default-tiers.xml' file in the 'wso2am-2.1.0\repository\resources\default-tiers' Is there any way to add a custom tier in to AM 1.9.1