PromucFlow_constructor/app/server
Trisha Anand fd0f23b9cc
Database credentials encryption in MongoDB (#80)
* Encrypting the password stored in AuthenticationDTO for every db.

* Adding comment to the properties file to denote that adding encryption salt and password are mandatory to the server coming up.

* Added the encryption salt and password to server.yml to allow the github actions to succeed.

* Adding database migration to encrypt the existing passwords for authentication object (used for storing db connection username/password)

Changes to the installation script install.sh:

1. Instead of overwriting the existing encryption password or salt, giving the user an option to conserve the previous encryption credentials to ensure that the developer users do not lose access to their database configurations (passwords).
2. Added another file for writing encryption credentials (encryption.env) to ensure that we dont delete the encryption password and salt by mistake.
2020-07-14 14:45:08 +05:30
..
appsmith-interfaces Database credentials encryption in MongoDB (#80) 2020-07-14 14:45:08 +05:30
appsmith-plugins Resolving the dependabot vulnerabilities. (#69) 2020-07-09 21:12:16 +05:30
appsmith-server Database credentials encryption in MongoDB (#80) 2020-07-14 14:45:08 +05:30
envs Database credentials encryption in MongoDB (#80) 2020-07-14 14:45:08 +05:30
mongo-seed
scripts Move application configuration to be loaded from environment variables (#23) 2020-07-06 14:35:56 +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
docker-compose.yml Move application configuration to be loaded from environment variables (#23) 2020-07-06 14:35:56 +05:30
Dockerfile
entrypoint.sh
pom.xml Add maven-license-plugin to the project (#73) 2020-07-10 15:58:04 +05:30
Procfile
README.md Adding instructions on how to test the code in app/server/README 2020-07-09 17:54:12 +05:30
system.properties

Appsmith Server

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

How to build

$ ./build.sh <arguments>

For example:

$ ./build.sh -DskipTests

This will

  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 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.