Posts

Showing posts from December, 2013

Migrating WSO2 API Manager 1.5.0 to 1.6.0

WSO2 API Manager latest version 1.6.0 got released recently. This post provides instructions on how to migrate your data from API Manager 1.5.0 to 1.6.0. If you had already used API Manager 1.5.0 and need to migrate your data to the latest version you can follow this.

You can download WSO2 API Manager 1.6.0 from here.


You can download the latest migration scripts from

https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.6.0/modules/distribution/resources/migration-1.5.0_to_1.6.0


Checkout the migration kit by executing below command.

%> svn co https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.6.0/modules/distribution/resources/migration-1.5.0_to_1.6.0


Shutdown AM 1.5.0 if it is running. Backup your API Manager Databases of your AM 1.5.0 instance.Execute relevant sql script in migration-1.5.0_to_1.6.0 against your API Manager Database. (ex:If your database is mysql run mysql.sql against your APIM mysql database)Now point sam…

WSO2 API Manager- Customizing Store User Sign-up

Image
WSO2 API Manager Store Sign-up page can be customized according to your requirements by adding new fields or modifying existing fields. These fields are known as user claims.

By default API Store Sign-up looks as below.



Let's say you want to add a new field called 'Organization' to Store Sign-up page. This post provides step by step instructions on how to achieve this.

1. Start API Manager 1.5.0 and go to Management Console (https://localhost:9443/carbon/)

2. Go to Configure -> Claim Management


3. Click on first Claim dialect displayed as 'http://schemas.xmlsoap.org/ws/2005/05/identity'. This will list all the existing claims under selected dialect. 
4. Click on 'Add New Claim Mapping'. 
5. Enter the below values for new claim.


Display Name : Organization
Description : Organization
Claim Uri : http://schemas.xmlsoap.org/ws/2005/05/identity/claims/organization
Mapped Attribute : organization
Supported by Default : select

Note that claims which are 'S…