PromucFlow_constructor/app/server
Trisha Anand 63fe27fae1
[Bug Fix] : Clone Application creates corrupted clone when interrupted. (#1800)
* Doing a deep copy during clone application instead of updating the original application which may have been causing a concurrency bug.

* Ensuring that once the clone application flow is triggered, the flow completes eventually even if the client cancels the request before completion.

* Cloned application would not be public.

* Added parametrized Application constructor

* Removed lombok all args constructor

* Optimized import

* Incorporated review comments :
1. Updated the constructor for creating the application
2. Added a test case to assert that if during cloning of an application the flow gets cancelled, the cloning would still complete and ensure that the application created is sane.
2020-11-20 10:55:59 +05:30
..
appsmith-interfaces Fixed timeout error message, added new type of error for plugin timeout (#1519) 2020-11-04 12:56:52 +05:30
appsmith-plugins Fix mongodb datasource test. (#1783) 2020-11-18 16:55:39 +05:30
appsmith-server [Bug Fix] : Clone Application creates corrupted clone when interrupted. (#1800) 2020-11-20 10:55:59 +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.