Connector is a Java based backend extension for WaveMaker applications. Connectors are built as Java modules & exposes java based SDK to interact with the connector implementation. Each connector is built for a specific purpose and can be integrated with one of the external services. Connectors are imported & used in the WaveMaker application. Each connector runs on its own container thereby providing the ability to have it’s own version of the third party dependencies.
- Connector is a java based extension which can be integrated with external services and reused in many Wavemaker applications.
- Each connector can work as an SDK for an external system.
- Connectors can be imported once in a WaveMaker application and used many times in the applications by creating multiple instances.
- Connectors are executed in its own container in the WaveMaker application, as a result there are no dependency version conflict issues between connectors.
Cloud Storage is a flexible, scalable, and durable storage option for your virtual machine instances. You can read and write files to Cloud Storage buckets from almost anywhere, so you can use buckets as common storage between your instances, App Engine, your on-premises systems, and other cloud services. This connector exposes api to interact with Google cloud file storage from WaveMaker application.
- Google cloud storage service account file(.json)
- Google cloud storage Project Id and Bucket name
- Java 1.8 or above
- Maven 3.1.0 or above
- Any java editor such as Eclipse, Intellij..etc
You can build this connector using following command
mvn clean install
You can import connector dist/google-cloud-file-storage.zip artifact in WaveMaker studio application using file upload option, after uploading into wavemaker, you can update your profile properties such as Project Id, Bucket name and Service file name.
@Autowired
private GoogleCloudFileStorageConnector googleCloudFileStorageConnector;
List<GoogleCloudFileStorageObjectSummary> listObjects = googleCloudFileStorageConnector.listObjects(folderPath, retrieveAll);
googleCloudFileStorageConnector.downloadObject(objectName);
Apart from above apis, there are other apis exposed in this connector, please visit connector interface in the api module.