Trisha Anand
73757c3425
Merge branch 'release' into feature/acl-spring-object
...
# Conflicts:
# .gitignore
# appsmith-plugins/mongoPlugin/plugin.properties
# appsmith-plugins/postgresPlugin/plugin.properties
# appsmith-plugins/rapidApiPlugin/plugin.properties
# appsmith-plugins/restApiPlugin/plugin.properties
# appsmith-plugins/restApiPlugin/src/main/java/com/external/plugins/RestApiPlugin.java
# appsmith-server/src/main/java/com/appsmith/server/constants/FieldName.java
# appsmith-server/src/main/java/com/appsmith/server/repositories/ActionRepository.java
# appsmith-server/src/main/java/com/appsmith/server/services/ActionServiceImpl.java
# appsmith-server/src/main/java/com/appsmith/server/services/DatasourceContextServiceImpl.java
# appsmith-server/src/main/java/com/appsmith/server/services/DatasourceServiceImpl.java
# appsmith-server/src/test/java/com/appsmith/server/services/ActionServiceTest.java
# appsmith-server/src/test/java/com/appsmith/server/services/ApplicationServiceTest.java
# appsmith-server/src/test/java/com/appsmith/server/services/LayoutServiceTest.java
# appsmith-server/src/test/java/com/appsmith/server/services/PageServiceTest.java
# build.sh
2020-06-12 19:14:31 +05:30
Arpit Mohan
bbd33c2968
Removing the query field in ActionConfiguration and using String body as the field to store the query
...
This is to simplify the query pane on the frontend client. The client doesn't need to have separate interfaces for sql and non-sql plugins. All queries will be sent to the server in the form of a String that is parsed in different formats based on the plugin.
Also adding test cases for PostgresPlugin. Used TestContainers to simulate the postgres db in Docker inside the Java test itself. Very useful.
2020-06-09 12:12:27 +00:00
Trisha Anand
963a3388c3
In CI, buidling and packaging ACL branch with a new tag for the deployment.
2020-05-11 21:15:19 +05:30
Arpit Mohan
77b4ef9a00
Adding a docker image tag for the master commit. This will allow us to revert to previous versions of the image (if required)
2020-05-05 12:54:46 +05:30
Trisha Anand
78bae54f55
Instead of using the latest docker image, using a particular docker image to overcome the latest docker bbuild being brocken issue.
2020-02-17 10:44:18 +05:30
Trisha Anand
62fba19011
Checking if the docker packaging step in CI/CD pipeline has fixed itself over the weekend.
2020-02-17 10:36:14 +05:30
Trisha Anand
88e1ce26e2
Removing docker packaging from release branch because it's getting stuck in Gitlab CI
...
Don't know why this is happening
2020-02-14 18:23:46 +05:30
Arpit Mohan
2e31a74cd9
Converting the docker conatiners to appsmith organization
2019-11-21 13:20:15 +05:30
Arpit Mohan
8fbf61502f
Creating dockerfile that creates the server image.
...
Also modifying .gitlab-ci file to push docker image to the registry
2019-11-14 12:50:37 +00:00
Arpit Mohan
314cdd29d9
Handling error in RedisListenerConfig
...
When we shut down the server, the redis subscription is not closed cleanly leading to the server to hang. Adding an error handler solves for this issue.
2019-10-23 05:20:44 +00:00
Arpit Mohan
0473e3d48e
Removing Heroku API key from gitlab-ci file
2019-10-17 12:44:37 +05:30
Arpit Mohan
04a8467095
Fixing the docker credentials in maven so that we don't require the docker daemon for CI/CD
2019-10-17 11:55:55 +05:30
Arpit Mohan
9550f6210d
Removing image name from the package step in gitlab-ci file
2019-10-17 11:39:37 +05:30
Arpit Mohan
75a5e48c4d
Adding docker hub access token to gitlab-ci for container upload
2019-10-17 09:47:23 +05:30
Arpit Mohan
d295875ee3
Removing the git-commit plugin because it doesn't run properly on heroku
2019-10-17 09:18:17 +05:30
Arpit Mohan
135b61a4bc
Adding mongo seed data that will be recreated whenever docker-compose causes the containers to restart
...
Note that we have to delete the Mongo volume for the inidtb script to take effect. Else, it will not execute. To be used only for testing right now. Will figure out a more robust solution later.
Also using Google's JIB Maven plugin to reduce our Docker image footprint. Will make container upload and download much faster
2019-10-16 11:27:02 +00:00
Arpit Mohan
632aff4faa
Adding basic ACL functionality with Open Policy Agent.
...
Currently, ACLFilter communicates with the OPA daemon to determine if the request should be validated or not based on the resource and permissions in user and group
2019-10-11 10:31:28 +00:00
Arpit Mohan
ad22e1a406
Adding the redis listener via spring-data-redis-reactive.
...
The listeners need to be configured in the RedisConfig class via Beans. These beans can then invoke complex business logic based on requirements.
2019-10-07 08:18:54 +00:00
Trisha Anand
bec8b2e0a1
Adding the docker-compose up command to the build
...
This should ideally run the mongo-seed container to restore the DB before each run
2019-09-24 12:14:41 +00:00
Arpit Mohan
ac44e2c970
Modifying the ResponseDTO to contain the ResponseMeta object. Also moving ErrorDTO inside ResponseMeta object.
...
This also fixes the logic for multiple ResponseDTOs that were being sent when the service level response was a Flux. Now we only return a single array inside a Mono ResponseDTO object.
2019-09-18 08:52:14 +00:00
Trisha Anand
3d82809d2a
CI/CD with Heroku and docker via gitlab
2019-09-18 08:24:03 +00:00