PromucFlow_constructor/app/server
Shrikant Sharat Kandula 74cd362057
Firestore Integration (#1799)
* Adding the skeleton for Firestore integration

* Adding the datasource & query editor forms

Also adding the database changelog for the firestore plugin

Commenting out the firestore.close() connection because that causes issues with multiple Firestore tenants running in the same JVM.

* Adding the code for fetching the structure of collections from Firestore

* Use single document path field for Firestore

* Fix potential NPE when datasource destroy timeouts

* Work in progress on collection level ops for Firestore

* Get documents in a collection now works

* Add collection level querying support

* Mild refactoring

* Fix NPE when some fields are missing

* Hide clientJSON as a password field for Firestore

* Make collection level querying reactive

* Make reactive

* Validate before connecting

* Add tests for all supported methods in Firestore

* Fix forms for Firestore with hidden fields

* Hide limit and order by fields when not needed

* Restore log entry deleted by mistake

* Use S3 URL for Firestore/Firebase logo

* Add comments detailing why some code is commented

* Make parsing JSON reactive and fix subscribe calls

* Fix reactive scheduler

Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2020-11-23 18:42:33 +05:30
..
appsmith-interfaces Firestore Integration (#1799) 2020-11-23 18:42:33 +05:30
appsmith-plugins Firestore Integration (#1799) 2020-11-23 18:42:33 +05:30
appsmith-server Firestore Integration (#1799) 2020-11-23 18:42:33 +05:30
envs Change Sentry log 'environment' tag value. (#1789) 2020-11-19 17:29:48 +05:30
mongo-seed Code formatting corrected. 2020-04-20 18:17:25 +05:30
scripts Bump bl from 2.2.0 to 2.2.1 in /app/server/scripts/node (#496) 2020-09-07 12:52:35 +05:30
.gitignore Move application configuration to be loaded from environment variables (#23) 2020-07-06 14:35:56 +05:30
build.sh Merge branch 'release' into feature/acl-spring-object 2020-06-12 19:14:31 +05:30
buildpack-run.sh Merge branch 'release' into feature/acl-spring-object 2020-04-28 18:13:06 +05:30
docker-compose.yml Minor fix to create certbot directories during installation (#211) 2020-08-03 21:07:40 +05:30
Dockerfile Disable instance ping check when the disableTelemetry flag is set (#1776) 2020-11-19 08:54:03 +05:30
entrypoint.sh Merge branch 'release' into feature/acl-spring-object 2020-04-28 18:13:06 +05:30
pom.xml Add maven-license-plugin to the project (#73) 2020-07-10 15:58:04 +05:30
Procfile Adding the JVM parameter to ensure that java stays within the memory limits set by the container 2019-10-21 12:23:00 +05:30
README.md Fixing merge conflicts 2020-10-24 21:30:21 +05:30
system.properties Setting java version to 11 in system.properties. 2019-09-16 16:54:28 +05:30

Appsmith Server

This is the server-side repo for the Appsmith framework.

How to build

$ ./build.sh <arguments>

For example:

$ ./build.sh -DskipTests

This script will perform the following steps:

  1. Compile the code
  2. Generate the jars for server & plugins
  3. Copy them into the dist directory

How to run

$ cd ./dist
$ java -jar -Dspring.profiles.active=$env server-1.0-SNAPSHOT.jar

How to test

In order to test the code, you can run the following command:

mvn -B clean package

Please make sure that you have a local Redis instance running for the test cases. During tests, the MongoDB is run in-memory. So you don't require to be running a local MongoDB instance.