* Added DynamoPlugin to integrate with DynamoDB * Connection management for DynamoPlugin * Process action from a single JSON object as input * Moved ListTables command to separate class * Add missing UI definition files * Use reflection to build request objects for AWS SDK * All DynamoDB actions are now run purely by reflection * Serialize responses to JSON * Remove some unused/commented code and some refactorings * Add non-working test with generic dynamodb container * Added working test for ListTables action * Added test for PutItem action * Add tests for get and update actions * Added comments and some refactoring * Removed unused Command class. * Added more tests for map to SDK object conversion * Add templates * Add option to set an endpoint override * Fix Dynamo plugin tests when ~/.aws is missing * Add documentation link for DynamoDB plugin * Fix validation checks * Remove debug log * Added comments on expected query structure * Fix incorrect error condition with incorrect request format * Add comment for converting action to method name * Error out if region is missing * Remove unused throws declaration * Use rich form for action configuration * Removed templates * Use PNG for logo images * Use PNG logos for all plugins * Avoid hard-coded field names * Change logo to PNG only for ElasticSearch for now * Wrap errors in AppsmithPluginException * Typo Co-authored-by: Trisha Anand <trisha@appsmith.com> * Fix changeset order number Co-authored-by: Trisha Anand <trisha@appsmith.com> * Minor refactoring and fixed error messaging Co-authored-by: Trisha Anand <trisha@appsmith.com>
142 lines
5.1 KiB
XML
142 lines
5.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.external.plugins</groupId>
|
|
<artifactId>dynamoPlugin</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<name>dynamoPlugin</name>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<java.version>11</java.version>
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
<plugin.id>dynamo-plugin</plugin.id>
|
|
<plugin.class>com.external.plugins.DynamoPlugin</plugin.class>
|
|
<plugin.version>1.0-SNAPSHOT</plugin.version>
|
|
<plugin.provider>tech@appsmith.com</plugin.provider>
|
|
<plugin.dependencies/>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.pf4j</groupId>
|
|
<artifactId>pf4j-spring</artifactId>
|
|
<version>0.6.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.appsmith</groupId>
|
|
<artifactId>interfaces</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.8</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>dynamodb</artifactId>
|
|
<version>2.15.3</version>
|
|
<scope>compile</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- Test Dependencies -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.11</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.testcontainers</groupId>
|
|
<artifactId>testcontainers</artifactId>
|
|
<version>1.15.0-rc2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.projectreactor</groupId>
|
|
<artifactId>reactor-test</artifactId>
|
|
<version>3.2.11.RELEASE</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>3.1.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.4</version>
|
|
<configuration>
|
|
<minimizeJar>false</minimizeJar>
|
|
<transformers>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<manifestEntries>
|
|
<Plugin-Id>${plugin.id}</Plugin-Id>
|
|
<Plugin-Class>${plugin.class}</Plugin-Class>
|
|
<Plugin-Version>${plugin.version}</Plugin-Version>
|
|
<Plugin-Provider>${plugin.provider}</Plugin-Provider>
|
|
</manifestEntries>
|
|
</transformer>
|
|
</transformers>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-dependencies</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<includeScope>runtime</includeScope>
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|