On Wed, Jan 13, 2016 at 3:30 PM, Lakmali Baminiwatta <[email protected]>
wrote:

> Hi all,
>
> In our migration guide, currently what we instruct is to copy & replace
> repository/deployment/server/synapse-config/default directory and
> repository/tenants from previous APIM version to new APIM version. Here we
> mention to skip replacing  _TokenAPI_.xml, _RevokeAPI_.xml and
> _AuthorizeAPI_.xml files by which latest files of those will be remained.
>
> But with this approach, it will replace other system sequences with old
> ones (ex: _auth_failure_handler_.xml, _cors_request_handler_.xml, main.xml,
> fault.xml, etc). So some of the fixes went to those will be missed out. We
> have two ways to include those changes to the new version.
>
> 1. Include the missing changes through migration client.
> 2. Get the latest sequences from the new version pack and replace
> corresponded sequences of each tenant through migration client.
>
> Some of the changes done to these sequences are minor changes like adding
> a drop mediator after send, changing a regex value, removing a property
> etc. Since some of the users may have already done own customizations to
> these sequences, trying to add changes to existing ones may lead to
> complications.
> So I think it would be better to ask the users to add their changes (if
> there are any) to default sequences in the
> pack(repository/resources/apim-synapse-config) prior running the migration
> client and then through the client we can replace existing ones. WDYT?
>

This part is tricky. Since we do not know the amount nor nature of
customisations they may have done, can we guarantee the migration client
will do its job properly since it doesn't know the content/state of the
file before it starts to execute on it?



> Thanks,
> Lakmali
>
> --
> Lakmali Baminiwatta
> Senior Software Engineer
> WSO2, Inc.: http://wso2.com
> lean.enterprise.middleware
> mobile:  +94 71 2335936
> blog : lakmali.com
>
>


-- 
Nuwan Dias

Technical Lead - WSO2, Inc. http://wso2.com
email : [email protected]
Phone : +94 777 775 729
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to