Hi All,

The requirement is to integrate the ballerina composer with API Manager. We
are planning to use the composer to give the flexibility to edit the
initial API definition generated from the API Manager.

The composer will be available for editing both APIs and composite APIs.
Our initial plan was to separate the composer from the API Manager. We will
spawn a composer separately. This will introduce several complications
includes on handling communication and security between two separate
applications. Having separate composer application will complex the
deployments as we will need to configure HA for the composer as well.

So we decided to move the composer application to API Manager itself. With
this change, we will need to embed UI components of the composer as a
separate application inside the API Manager. Currently, composer works on
top of several microdevices. From API Manager point of view, we need to
provide UUID of the API to load it to the composer and save it to the
database. As we discussed we will need to have extensions to extend
ballerina content load and save functions. Since composer will continue to
reuse existing services for other functions like validations, we will need
to think about how we going to secure those services.

We identified areas that we need to have backend support.

   - Ballerina source generation from ballerina model(New implementation)
   - Create ballerina source from swagger(Need to improve current existing
   functionality)
   - Merge modified swagger with ballerina source(Need to improve current
   existing functionality)

Since we going to embed the composer, we will need to add ballerina
dependencies for API Manager runtime, Since ballerina is non-OSGI, we will
need to OSGify them before we use them.

Thanks,
Harsha


-- 
Harsha Kumara
Software Engineer, WSO2 Inc.
Mobile: +94775505618 <+94%2077%20550%205618>
Blog:harshcreationz.blogspot.com
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to