https://wso2.org/jira/browse/APIMANAGER-4952

On Fri, Jun 3, 2016 at 11:29 AM, Harsha Kumara <hars...@wso2.com> wrote:

> Yes, it's look like a bug. But you have have simple subtheme fix to get
> rid of the issue.
>
> [1] -
> http://sanjeewamalalgoda.blogspot.com/2015/01/how-to-add-sub-theme-to-api-manager.html
>
> On Fri, Jun 3, 2016 at 10:58 AM, Amalka Subasinghe <ama...@wso2.com>
> wrote:
>
>> No I removed it before create the api
>>
>> After removing the Unlimited tier, created a tenant and then created the
>> API
>>
>>
>> On Fri, Jun 3, 2016 at 10:09 AM, Rukshan Premathunga <ruks...@wso2.com>
>> wrote:
>>
>>> Hi Amalka,
>>>
>>> did you remove unlimited tier after the API creation. Since when
>>> unlimited tier is available this cannot be observed. I think this is a bug.
>>>
>>> Thanks.
>>>
>>> On Fri, Jun 3, 2016 at 7:52 AM, Amalka Subasinghe <ama...@wso2.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> In my APIM 1.10.0 node, I have removed Unlimited tier from both
>>>> api-level and the resource-level.
>>>>
>>>> When I create an API, in the Manage page, api-level tier list display
>>>> as Gold, Silver, Bronze. But in resource-level it default set to Gold see
>>>> the image
>>>> (When I try to change the resource-level tier it shows the tier list as
>>>> Ultimate, Plus, Basic only)
>>>>
>>>> In
>>>> wso2am-1.10.0/repository/deployment/server/jaggeryapps/publisher/site/themes/default/templates/item-manage/template.jag
>>>> file, the following code block gets the default tier from api-level tier
>>>> list and sets it as default tier of the resource-level
>>>> is this the expected behavior?
>>>>
>>>> var tiers = mod.getTiers().tiers;
>>>>     var resourceTiers = mod.getResourceTiers().tiers;
>>>>     var default_tier = tiers[tiers.length -1].tierName;
>>>>     for (var i = 0; i < tiers.length; i++){
>>>>         if(tiers[i].defaultTier){
>>>>             default_tier = tiers[i].tierName;
>>>>             break;
>>>>         }
>>>>     }
>>>>
>>>>
>>>>
>>>> Thanks
>>>> Amalka
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Rukshan Chathuranga.
>>> Software Engineer.
>>> WSO2, Inc.
>>>
>>
>>
>>
>> --
>> Amalka Subasinghe
>>
>> WSO2 Inc.
>> Mobile: +94 77 9401267
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Harsha Kumara
> Software Engineer, WSO2 Inc.
> Mobile: +94775505618
> Blog:harshcreationz.blogspot.com
>



-- 
Amalka Subasinghe

WSO2 Inc.
Mobile: +94 77 9401267
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to