PromucFlow_constructor/app/server
Shrikant Sharat Kandula 2a2dda0ab0
Fix race condition in setting default page in application (#394)
We are currently getting the *list* of all pages, updating the
`isDefault` fields inside, and then saving the whole *list* of
all pages. If a new page got added to that list in the DB during
this process, that page would be lost. This commit fixes this
problem.

This race condition was causing tests for cloning applications
to fail *sometimes*.
2020-08-21 16:31:40 +05:30
..
appsmith-interfaces Change return type of plugin execution to be more specific (#247) 2020-08-10 14:41:32 +05:30
appsmith-plugins Fix numbers being converted to floats in JSON Post body (#241) 2020-08-11 14:07:34 +05:30
appsmith-server Fix race condition in setting default page in application (#394) 2020-08-21 16:31:40 +05:30
envs Database credentials encryption in MongoDB (#80) 2020-07-14 14:45:08 +05:30
mongo-seed Code formatting corrected. 2020-04-20 18:17:25 +05:30
scripts Mysql plugin integration (#53) 2020-07-21 16:01:42 +05:30
.gitignore Move application configuration to be loaded from environment variables (#23) 2020-07-06 14:35:56 +05:30
.gitlab-ci.yml Merge branch 'release' into feature/acl-spring-object 2020-06-12 19:14:31 +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 Creating dockerfile that creates the server image. 2019-11-14 12:50:37 +00:00
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 Adding dummy check in server build to satisfy required status checks (#296) 2020-08-13 14:50:34 +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. The MongoDB is run in-memory during tests so that shouldn't be a problem.