Project wordpress-connector was created to enable easy communication between WordPress and Kyma. With this project set up, the user is ready to make their first API registration from the WordPress admin panel and start using WordPress events based on hooks with Kyma.
You need a running wordpress instance by either creating an account at wordpress or by installing it to your kyma cluster following the instructions of this blog post
The installation requires a working Basic Authentication solution for the REST API. The default Basic-Auth plugin from WordPress is providing it. If there are any problems with the plugin, maybe a patched version (https://github.com/eventespresso/Basic-Auth) will solve the problem.
As the plugin is not part of the WordPress Plugin Directory, it has to be installed manually.
- Download the Plugin as a zipfile from GitHub.
- Navigate in WordPress to
Plugins->Add New->Upload Plugin
and upload the zipfile. - Activate the Plugin
- Navigate to
Settings->Kyma
- Copy Application Connection URL from Kyma into
Kyma Connection
and clickConnect
This will register all existing API's and configured events in Kyma.
The Plugin was developed to showcase the functionality of the Kyma Application Connector with an open-source application. So far it is not well tested and might contain bugs. Feedback and pullrequests to improve the plugin are highly appreciated.