Hi all,

Recently i finished developing a client side tool to perform import and
export of APIS in APIM.This is a brief description about the tool and its
basic functionality. Please find the corresponding repository in [1]. Tool
is simply a jar file where user can configure using a external
configuration file or using command line parameters passing along jar
execution. (however tool is per-configured with default configurations)

Using this tool, can perform single API export and bulk API export
depending on the user's configuration on the tool. User can pass a list of
APIs in CSV file and export them all together with their association
information as thumbnails, documents, wsdl and mediation policies to be
export at once and create a single exportable file. Exportable file
structure will be as Fig 1.1 . All the information regarding each APIs are
retrieved through available publisher and admin REST APIs available and
write in to the folder been exporting. For that user should be log in to
the system using valid credentials and obtain access tokens with required
scopes.


​
Fig 1.1


Inside each API folder, structure will be as in Fig 1..2


​                            Fig 1.2

Tool also support single and bulk import of APIs depending on the no of
APIs inside the imported folder. (As in Fig 1.1, no of APIs to be import
will be 3). Process involve in reading each component inside the imported
folder and create new APIs together with related associations depending on
the compatibilities as  authorization etc. This is also achieved by calling
available admin and publisher REST APIs. User should login with valid
credentials and obtain access tokens with valid scopes to perform the
procedure.

This is the basic functionality of the tool and more comprehensive
documentation will be available in [1] soon .

[1] https://github.com/knPerera/importExport

If have any feed back please do reply.

Regards,
Kaveesha.
-- 
Kaveesha Perera
Intern - Software Engineering

mobile: 0716130471
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to