PromucFlow_constructor/app/server/appsmith-plugins
Manish Kumar 5c1ad6403e
fix: Elasticsearch DB Head request fails on some ES instances when used on /test API (#15332)
* This commit changes two things:

	* Pom.xml --> ES- Restclient version to 7.17.5 from 7.9.2
	* ElasticSearchPlugin.java ---> changed the testDatasource method to expect a 200 instead of a 200 or 404 HTTP status code

This commit fixes a high-priority bug with github issue  https://github.com/appsmithorg/appsmith/issues/14909
	* it can now negotiate around a 403 forbidden error as it does try to send head only to user provided  URI

This commit has been tested:
	* manually for CRUD at local with ES version 7.9.2
	* manually for CR at user provide aws instance running 7.9.3 on docker

* |
|	BugFix:
|
|       This commit changes two files:
|
|               * ElasticSearchPlugin.java --> added feature to distinguish between unauthorized and not found datasources.
|               * ElasticSearchPluginTest.java ---> added testcases to verify the unauthorized and not found test cases
|
|       This commit adds features on top of previous commit  https://github.com/appsmithorg/appsmith/issues/14909
|               * this commit adds the feature of more readable error messages while testing the elasticsearch datasource. i.e wrong endpoint errors and unauthorized issues
|
|       This commit has been tested:
|		* Junit
|		* manually

* removed leftover comments from the parent commit and updated response texts for better readability

* removed wildcard imports from appsmith-plugins/elasticSearchPlugin/src/test/java/com/external/plugins/ElasticSearchPluginTest.java
2022-08-03 16:31:00 +05:30
..
amazons3Plugin chore: Better server logging infra (#15440) 2022-07-28 09:40:03 +05:30
arangoDBPlugin chore: Better server logging infra (#15440) 2022-07-28 09:40:03 +05:30
dynamoPlugin chore: Better server logging infra (#15440) 2022-07-28 09:40:03 +05:30
elasticSearchPlugin fix: Elasticsearch DB Head request fails on some ES instances when used on /test API (#15332) 2022-08-03 16:31:00 +05:30
firestorePlugin chore: Better server logging infra (#15440) 2022-07-28 09:40:03 +05:30
googleSheetsPlugin chore: Better server logging infra (#15440) 2022-07-28 09:40:03 +05:30
jsPlugin chore: Upgrade dependencies reported by Dependabot (#13735) 2022-07-19 10:23:27 +05:30
mongoPlugin fix: fix Mongo plugin query execution failure (#15591) 2022-08-02 14:55:06 +05:30
mssqlPlugin chore: Better server logging infra (#15440) 2022-07-28 09:40:03 +05:30
mysqlPlugin chore: Better server logging infra (#15440) 2022-07-28 09:40:03 +05:30
postgresPlugin fix: fix query failure on simultaneous execution of multiple queries (#15458) 2022-07-28 17:01:17 +05:30
rapidApiPlugin chore: Better server logging infra (#15440) 2022-07-28 09:40:03 +05:30
redisPlugin chore: Better server logging infra (#15440) 2022-07-28 09:40:03 +05:30
redshiftPlugin fix: fix query failure on simultaneous execution of multiple queries (#15458) 2022-07-28 17:01:17 +05:30
restApiPlugin chore: Better server logging infra (#15440) 2022-07-28 09:40:03 +05:30
saasPlugin chore: Upgrade dependencies reported by Dependabot (#13735) 2022-07-19 10:23:27 +05:30
smtpPlugin chore: Better server logging infra (#15440) 2022-07-28 09:40:03 +05:30
snowflakePlugin chore: Closing resources to ensure there are no memory leaks (#15343) 2022-07-29 19:51:10 +05:30
pom.xml chore: Upgrade dependencies reported by Dependabot (#13735) 2022-07-19 10:23:27 +05:30