On Wed, Jul 13, 2016 at 11:54 AM, Nuwan Dias <[email protected]> wrote:

>
>
> On Wed, Jul 13, 2016 at 11:49 AM, Susinda Perera <[email protected]> wrote:
>
>> In terms of structure, i think it's good if we can move keymanager,
>> gateway, store, pub configs to the top as those are the widely used configs.
>> Btw when migrating from 1.10 to 2.0 do we have to do this changes
>> manually or will we be having some tool?
>>
>
> Our usual process for migration is to get the 2.0 binary and point it to
> the relevant DB schemas and run the migration tool against the server. The
> migration tool takes care of updating the DBs, Registry, Synapse files,
> etc. It doesn't automatically convert the config files. You have to do it
> manually.
>
​Also there is no point in trying to do the configs through the migration
tool. The reason is that the configs are different from client environment
to environment.

Thanks,
Janaka

>
>> Thanks
>> Susinda
>>
>>
>> On Mon, Jul 11, 2016 at 5:42 PM, Abimaran Kugathasan <[email protected]>
>> wrote:
>>
>>> Hi All,
>>>
>>> Also, we have introduced following configuration for Swagger SDK
>>> generation for APIs. You can add maven groupId, artifactId, package name,
>>> supported languages for the SDK.
>>>
>>>     <SwaggerCodegen>
>>>         <ClientGeneration>
>>>             <GroupId>org.wso2</GroupId>
>>>             <ArtifactId>org.wso2.client.</ArtifactId>
>>>             <ModelPackage>org.wso2.client.model.</ModelPackage>
>>>             <ApiPackage>org.wso2.client.api.</ApiPackage>
>>>             <!-- Configure supported languages/Frameworks as comma
>>> separated values,
>>>              Supported Languages/Frameworks : android, java, scala,
>>> csharp, cpp, dart, flash, go, groovy, javascript, jmeter,
>>>              nodejs, perl, php, python, ruby, swift, clojure, aspNet5,
>>> asyncScala, spring, csharpDotNet2, haskell-->
>>>
>>>             <SupportedLanguages>java,android</SupportedLanguages>
>>>         </ClientGeneration>
>>>     </SwaggerCodegen>
>>>
>>> On Mon, Jul 11, 2016 at 5:09 PM, Malintha Amarasinghe <
>>> [email protected]> wrote:
>>>
>>>> Hi All.
>>>>
>>>> Addition to the above configs we have a new config element <RESTAPI>.
>>>>
>>>> Currently it is used to specify the non-secured resources in new CXF
>>>> REST API for Publisher/Store and Admin Portal.
>>>>
>>>> Ex:
>>>>     <RESTAPI>
>>>>         <!--Configure white-listed URIs of REST API. Accessing
>>>> white-listed URIs does not require credentials (does not require
>>>> Authorization header). -->
>>>>         <WhiteListedURIs>
>>>>             <WhiteListedURI>
>>>>                 <URI>/api/am/publisher/{version}/swagger.json</URI>
>>>>                 <HTTPMethods>GET,HEAD</HTTPMethods>
>>>>             </WhiteListedURI>
>>>>      ...
>>>>         </WhiteListedURIs>
>>>>     </RESTAPI>
>>>>
>>>> Thanks.
>>>> Malintha
>>>>
>>>> On Sun, Jul 10, 2016 at 11:56 PM, Bhathiya Jayasekara <
>>>> [email protected]> wrote:
>>>>
>>>>> There are some Thrift related configuration changes too. They are
>>>>> mentioned in [1].
>>>>>
>>>>> [1] "Port offsetting the Thrift port in APIM"
>>>>>
>>>>> Thanks,
>>>>> Bhathiya
>>>>>
>>>>> On Sun, Jul 10, 2016 at 11:09 PM, Nuwan Dias <[email protected]> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> As part of the configuration sanitization effort of the
>>>>>> api-manager.xml file, there have been several configuration changes that
>>>>>> took place in API Manager 2.0.0. The main objectives of this effort are 
>>>>>> to
>>>>>> cleanup the api-manager.xml file, remove unused configs and better
>>>>>> structure the document. The following lists the changes that were carried
>>>>>> out.
>>>>>>
>>>>>> 1. Changes to the cache configurations.
>>>>>>
>>>>>> In version 1.10.0 and below, the api-manager.xml held cache
>>>>>> configuration of different caches. These caches configs were scattered 
>>>>>> all
>>>>>> over the api-manager.xml file and some config elements lacked consistency
>>>>>> in their naming. From version 2.0.0, all cache configs will fall under
>>>>>> the <CacheConfigurations> element. This element will hold all configs
>>>>>> related to enabling/disabling caches and the relevant configs to control
>>>>>> the cache timeouts. The following changes were made in the cache configs.
>>>>>>
>>>>>> Old Config New Config Description
>>>>>> <EnableGatewayKeyCache> <EnableGatewayTokenCache> Controls the
>>>>>> Access Token Cache on the Gateway
>>>>>> <EnableKeyMgtValidationInfoCache> <EnableKeyManagerTokenCache> Controls
>>>>>> the Access Token Cache on the Key Manager
>>>>>>
>>>>>>
>>>>>> 2. Changes to JWT configurations
>>>>>>
>>>>>> Old Config New Config Description
>>>>>> <APIConsumerAuthentication> <JWTConfiguration> The section that
>>>>>> contains the JWT configurations
>>>>>> <SecurityContextHeader> </JWTHeader> Specifies the name of the JWT
>>>>>> header
>>>>>> <TokenGeneratorImpl> <JWTGeneratorImpl> Specifies the name of the
>>>>>> class that generates the JWT
>>>>>>
>>>>>>
>>>>>> 3. Changes to Analytics configurations.
>>>>>>
>>>>>> Old Config New Config Description
>>>>>> <APIUsageTracking> <Analytics> The section that contains the
>>>>>> Analytics configurations
>>>>>>
>>>>>> In addition to the above changes, a new section was introduced to
>>>>>> hold OAuth2.0 related API Manager specific configurations. This new 
>>>>>> section
>>>>>> brings together OAuth related configs which were earlier scattered over 
>>>>>> the
>>>>>> api-manager.xml file. This is what it contains now.
>>>>>>
>>>>>> <OAuthConfigurations>
>>>>>>     
>>>>>> <RemoveOAuthHeadersFromOutMessage>true</RemoveOAuthHeadersFromOutMessage>
>>>>>>     <ApplicationTokenScope>am_application_scope</ApplicationTokenScope>
>>>>>>     <ScopeWhitelist>
>>>>>>         <Scope>^device_.*</Scope>
>>>>>>         <Scope>openid</Scope>
>>>>>>     </ScopeWhitelist>
>>>>>>     <TokenEndPointName>/oauth2/token</TokenEndPointName>
>>>>>>     
>>>>>> <RevokeAPIURL>https://${carbon.local.ip}:${https.nio.port}/revoke</RevokeAPIURL>
>>>>>>     <EncryptPersistedTokens>false</EncryptPersistedTokens>
>>>>>> </OAuthConfigurations>
>>>>>>
>>>>>> Thanks,
>>>>>> NuwanD.
>>>>>>
>>>>>> --
>>>>>> Nuwan Dias
>>>>>>
>>>>>> Technical Lead - WSO2, Inc. http://wso2.com
>>>>>> email : [email protected]
>>>>>> Phone : +94 777 775 729
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Bhathiya Jayasekara*
>>>>> *Senior Software Engineer,*
>>>>> *WSO2 inc., http://wso2.com <http://wso2.com>*
>>>>>
>>>>> *Phone: +94715478185 <%2B94715478185>*
>>>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>>>>> <http://www.linkedin.com/in/bhathiyaj>*
>>>>> *Twitter: https://twitter.com/bhathiyax
>>>>> <https://twitter.com/bhathiyax>*
>>>>> *Blog: http://movingaheadblog.blogspot.com
>>>>> <http://movingaheadblog.blogspot.com/>*
>>>>>
>>>>> _______________________________________________
>>>>> Architecture mailing list
>>>>> [email protected]
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Malintha Amarasinghe
>>>> Software Engineer
>>>> *WSO2, Inc. - lean | enterprise | middleware*
>>>> http://wso2.com/
>>>>
>>>> Mobile : +94 712383306
>>>>
>>>> _______________________________________________
>>>> Architecture mailing list
>>>> [email protected]
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks
>>> Abimaran Kugathasan
>>> Senior Software Engineer
>>>
>>> Email : [email protected]
>>> Mobile : +94 773922820
>>>
>>> <http://stackoverflow.com/users/515034>
>>> <http://lk.linkedin.com/in/abimaran>
>>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
>>> <https://twitter.com/abimaran>
>>>
>>>
>>> _______________________________________________
>>> Architecture mailing list
>>> [email protected]
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>>
>> --
>> *Susinda Perera*
>> Software Engineer
>> B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
>> Mobile:(+94)716049075
>> Blog: susinda.blogspot.com
>> WSO2 Inc. http://wso2.com/
>> Tel : 94 11 214 5345 Fax :94 11 2145300
>>
>>
>> _______________________________________________
>> Architecture mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> Nuwan Dias
>
> Technical Lead - WSO2, Inc. http://wso2.com
> email : [email protected]
> Phone : +94 777 775 729
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
*Janaka Ranabahu*
Associate Technical Lead, WSO2 Inc.
http://wso2.com


*E-mail: [email protected] <http://wso2.com>**M: **+94 718370861*

Lean . Enterprise . Middleware
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to