Microsoft Azure cloud is a great place to install and run your REST API services. Mobile and web development on Azure includes features like elastic scaling, API management, monitoring and alerts, as well as identity management using Azure Active Directory. Espresso Logic gives developers ease of installation and a declarative rich implementation of RESTful endpoints to integrate your existing SQL database(s) and other backend systems.
Declarative means you just declare what you want for an Enterprise-class API:
- API: Default created instantly, then point and click Custom Resources with nesting and aliasing. Runtime support for filtering, pagination, optimistic locking, generated keys, etc.
- Integrate: add new data sources (databases, ERP systems), use in Custom Resources
The new look and feel of the Azure portal is a great improvement and the ‘blade’ design showing and editing properties makes the process much easier to understand and to navigate. (try: http://www.portal.azure.com)
To get started – go to the Market Place (above) or click BROWSE and search for Web app + MySQL Once the web app has been provisioned – you will need to create an empty database in MySQL which will be used to store the api metadata. Once you have an empty MySQL database, username, and password setting you can go to your new Web App tile and using the Settings gear or the All Settings and you can configure various system properties.
On the Application Settings blade You will want to select Java 126.96.36.199 and Tomcat 7.0.53. On the Connection String set the Connection name to AdminDB and the connection properties which will point to your empty MySQL instance. (Make sure you have created an empty database with the name you enter in the properties along with a valid user and password using the template below). For details on MySQL setup see this link.
- Database=dbtest;Data Source=db.espressologic.com;User Id=dbtest;Password=Password!
The Espresso Logic Cafe GitHub account has many sample applications, simply fork the AzureInstall project. Then link your fork to the Deployment settings of your new Web App. This will copy the new EspressoService.war to your webapps directory (D:\home\site\wwwroot\webapps). You can also manually FTP the WAR file to this directory and restart your service.
Launch when ready
To test your your Espresso Logic Service, from the Web App Blade click (URL) or you can click the Browse icon. (On the first connection to the Web App, the WAR file will be installed and the admin repository will be created in your empty MySQL database instance.) For more information visit Espresso Logic or see the documentation page for Azure Installation.
You should see a logon dialog that looks like this (the LogicDesigner Studio is a web based tool to create and manage your REST, Logic, and Security services).