Arpit Mohan
01737b9599
Experimenting with maven-shade-plugin to create a fat-jar of the postgres dependency.
...
Will have to do this for all plugins. Currently, it's not registering the plugin with the SpringPluginManager
2020-06-10 11:11:23 +00:00
Shrikant Kandula
1ce336257c
Mark any 2xx status code in REST API plugin as successful execution.
2020-06-10 10:51:07 +00:00
Arpit Mohan
3cf8ff008f
Hacky fix for the postgres plugin to work. Including the dependency in the appsmith-server/pom.xml file instead of the plugin
2020-06-10 10:46:09 +05:30
Arpit Mohan
bbd33c2968
Removing the query field in ActionConfiguration and using String body as the field to store the query
...
This is to simplify the query pane on the frontend client. The client doesn't need to have separate interfaces for sql and non-sql plugins. All queries will be sent to the server in the form of a String that is parsed in different formats based on the plugin.
Also adding test cases for PostgresPlugin. Used TestContainers to simulate the postgres db in Docker inside the Java test itself. Very useful.
2020-06-09 12:12:27 +00:00
Arpit Mohan
99e7519550
Handling form data via the field bodyFormData in ActionConfiguration
...
This is because the client sends us the data for form-data in the form of a list of Property fields with keys and values. This is consistent with how the client stores & renders headers & query parameters as well.
For MediaType application/x-www-form-urlencoded we will use the bodyFormData field.
2020-06-09 05:48:16 +00:00
Shrikant Kandula
c18c344f4b
Don't fail after executing a non-SELECT query on Postgres.
2020-05-15 18:13:36 +05:30
Arpit Mohan
fb9e9fbf4c
Request body and header in Action Execution Response
2020-05-14 02:08:46 +00:00
Shrikant Kandula
9c48f42990
Rename ActionExecutionResult.shouldCacheResponse -> isExecutionSuccess.
2020-05-12 18:25:49 +05:30
Nikhil Nandagopal
5dad85ff3e
Update form.json
2020-05-12 09:48:56 +00:00
Shrikant Kandula
f3e448019d
Auth mechanism is not added to URI in the MongoPlugin. Fixed now.
2020-05-11 12:16:09 +05:30
Shrikant Kandula
3e2dea8f84
Merge branch 'bug/hide-exception-class-in-plugin-error-message' into 'release'
...
Hide Exception class details in the Plugin error message.
See merge request theappsmith/internal-tools-server!321
2020-05-05 11:08:38 +00:00
Shrikant Kandula
e99c104fe7
Hide Exception class details in the Plugin error message.
2020-05-05 16:34:09 +05:30
Nikhil Nandagopal
8f95fe22a9
Update form.json
2020-05-05 10:46:58 +00:00
Nikhil Nandagopal
c4f3ccfd8b
Update form.json
2020-05-05 10:34:02 +00:00
Shrikant Kandula
57dc2205e2
Add missing default database field in Mongo plugin form.
2020-05-05 13:39:03 +05:30
Shrikant Kandula
8ea8fb295e
Handle 500 when JSON body doesn't make up an object data type.
2020-04-30 13:32:24 +00:00
Shrikant Kandula
c8e8c9136d
Check the value of Content-Type before trying to make an HTTP call.
2020-04-30 16:50:17 +05:30
Shrikant Kandula
50a8bad19e
Merge branch 'bug/restapi-test-without-port' into 'release'
...
Fix testing of REST API datasources fails when no port is set.
See merge request theappsmith/internal-tools-server!307
2020-04-30 06:02:28 +00:00
Shrikant Kandula
be7f1c0a81
Fix testing of REST API datasources fails when no port is set.
2020-04-30 06:02:28 +00:00
Shrikant Kandula
06e85c308f
Update form.json for datasource configurations.
2020-04-29 16:25:30 +05:30
Shrikant Kandula
23bd4e1722
Add NO_SSL option to SSL authType to turn off SSL explicitly.
2020-04-28 12:31:34 +00:00
Shrikant Kandula
e0880c7d31
Support separate default database for MongoPlugin, besides authDatabase.
2020-04-23 11:09:02 +00:00
Nikhil Nandagopal
18acf373f5
Update form.json
2020-04-23 06:08:25 +00:00
Trisha Anand
dacc6a5c9e
The header key should be matched to all possible variations : Content-Type, content-type, etc. This fixes that.
2020-04-22 18:13:31 +05:30
Shrikant Kandula
3ad98a4367
Support SSL connections with self-signed from MongoPlugin.
2020-04-21 18:53:30 +05:30
Shrikant Kandula
3dfc62034f
Merge branch 'feature/datasource-form-config-apis' into 'release'
...
Add form config JSONs for individual plugins and an API for GETting them.
See merge request theappsmith/internal-tools-server!295
2020-04-21 12:23:23 +00:00
Shrikant Kandula
58c0f94508
Add form config JSONs for individual plugins and an API for GETting them.
2020-04-21 17:42:14 +05:30
Shrikant Kandula
9f2427f1df
Merge branch 'bug/mongo-plugin-test-on-unavailable-host' into 'release'
...
Fix MongoPlugin test returning success even when host is unavailable.
See merge request theappsmith/internal-tools-server!294
2020-04-21 10:22:50 +00:00
Shrikant Kandula
d94a231934
Fix MongoPlugin test returning success even when host is unavailable.
2020-04-21 15:39:44 +05:30
Shrikant Kandula
a49ef95d5b
Fix 500 on invalid port sent for restapi plugin test request.
2020-04-21 13:40:12 +05:30
Shrikant Kandula
ee556b729c
Fix 500 error when authentication.type is not provided in request body.
2020-04-17 14:35:53 +05:30
Shrikant Kandula
08b7f51d5d
Datasource API cleanup and better error reporting
2020-04-17 07:27:56 +00:00
Trisha Anand
801cd59c14
Merge branch 'bug/marketplce-fixes' into 'release'
...
Updated Rapid API key. Also, now URL Encoding the route parameters as well.
See merge request theappsmith/internal-tools-server!285
2020-04-16 15:59:56 +00:00
Trisha Anand
8aaff70ef0
Updated Rapid API key. Also, now URL Encoding the route parameters as well.
2020-04-16 21:13:37 +05:30
Shrikant Kandula
822afdc064
Rich datasource support for MongoPlugin
2020-04-16 08:21:40 +00:00
Shrikant Kandula
2dbf9d1c6b
Test API for data sources
2020-04-15 10:02:09 +00:00
Shrikant Kandula
abd9235360
Richer plugin validations
2020-04-10 09:59:50 +00:00
Shrikant Kandula
91dd8bf5c3
Fix old enums being used in Postgres plugin. Build failed because of this.
2020-04-08 12:45:18 +00:00
Shrikant Kandula
065f0f1c3d
Suppress redundant-if warning in datasource validation method.
...
This method can be simplified, but is more readable this way.
2020-04-08 11:50:58 +00:00
Trisha Anand
16742403ec
Merge branch 'bug/restapi-data-buffer-limit-exception' into 'release'
2020-04-08 12:11:53 +05:30
Shrikant Kandula
ff6b0ce6bc
Increase restapi client buffer size from 256KB to 10MB.
2020-04-07 11:20:46 +00:00
Trisha Anand
5911234276
To ensure that special characters like "\n", "\t", etc are preserved in the request json body, convert the json string into object.
2020-04-03 14:27:10 +00:00
Shrikant Kandula
1f524827b9
Datasource CRUD APIs
2020-04-01 08:50:36 +00:00
Trisha Anand
44d5dccbbb
Rest API and Rapid api plugin url encode the query parameters. The Providers returned are sorted by sortOrder in ascending order
2020-03-18 20:35:50 +05:30
Trisha Anand
015713f409
1. Add to Page changes : In case the sample response is null, don't set the cached response for the action.
...
2. Add to Page changes : Documentation object has been added in Action to handle the extra Template documentation for actions that have been imported from 3p marketplace
3. Added basic structure for rapid api plugin by copy pasting the rest api plugin
2020-03-17 18:19:22 +00:00
Trisha Anand
b17fae8e44
1. Add to Page changes : In case the sample response is null, don't set the cached response for the action.
...
2. Add to Page changes : Documentation object has been added in Action to handle the extra Template documentation for actions that have been imported from 3p marketplace
3. Added basic structure for rapid api plugin by copy pasting the rest api plugin
2020-03-11 17:16:15 +00:00
Arpit Mohan
249bbbde39
Adding the field shouldCacheResponse to the ActionExecutionResult to make the response caching generic across various plugins
2020-02-25 11:36:02 +00:00
Trisha Anand
2e11a5c2d5
Added datasource configuration to the provider to support the provider level configurations in rapid api
2020-02-14 06:32:34 +00:00
Trisha Anand
d3769bad62
In case of duplicate key, send the application error code instead of http error code so that frontend can handle the duplicate key error gracefully
2020-01-29 10:22:21 +00:00
Trisha Anand
d1705a1931
Corrected receiving the response from String to byte[] array. This ensures that binary responses can also be handled. Added handling of content type Image.
2020-01-24 07:49:52 +00:00