Arpit Mohan
3bdfd13284
Adding the APIs to add plugins and query commands
...
Currently, there is a single executor implemented PostgresDBPluginExecutor which returns some dummy results. The entire framework exists to choose and instantiate the appropriate executor implementation at runtime.
2019-03-30 16:14:54 +05:30
Arpit Mohan
a57d31fbb2
Adding the system.properties file for java version
...
Heroku needs this for determining java version
2019-03-30 13:12:49 +05:30
Arpit Mohan
8f4bfd59fc
Adding application-local.properties
...
This is to ensure that we can provide different types of mongo configurations for different environments
2019-03-30 13:08:43 +05:30
Arpit Mohan
e553470095
Moving the code to the top level to remove one-level of folder indirection
2019-03-30 13:04:05 +05:30
Arpit Mohan
4733ebf95b
Removing Go code from the repo. This is now pure Java spring boot app
2019-03-30 13:01:06 +05:30
Arpit Mohan
d786890834
Adding the staging properties with mongodb atlas setup
2019-03-30 12:58:34 +05:30
Arpit Mohan
cef6946859
Adding the LayoutController that will store the DDL for the page layouts
...
Also adding the getById function in the BaseController so that all CRUD APIs will automatically support that API call.
2019-03-30 12:23:21 +05:30
Arpit Mohan
f8b382940d
Adding basic authentication to the server.
...
This will allow us to host it on a webserver for integration purposes.
2019-03-30 12:01:24 +05:30
Nikhil Nandgopal
69114b8352
exported only watch saga
2019-03-26 21:32:23 +05:30
Nikhil Nandgopal
d83f3d9308
added axios type script
...
added api calls from a mock server
added redux saga
2019-03-26 20:58:24 +05:30
Nikhil Nandgopal
4e2b003a5d
added canvas widget normalizer
2019-03-21 23:12:23 +05:30
Nikhil Nandagopal
82d141b290
Merge branch 'feature/core-components' into 'master'
...
Feature/core components
See merge request mobtools/internal-tools-client!4
2019-03-21 12:10:32 +00:00
Anirudh Madhavan
32621a7975
Feature/core components
2019-03-21 12:10:32 +00:00
Nikhil Nandgopal
96a47a9bb8
fixed heights for all components
2019-03-19 20:51:27 +05:30
Nikhil Nandgopal
85b59b352d
added default props to base widget
...
fixed container logic
2019-03-19 20:17:18 +05:30
Arpit Mohan
8ccd001652
Adding abstractions for CRUD APIs.
...
Now we can easily add controllers for any resource quickly by simply adding a few files.
2019-03-19 19:39:05 +05:30
Nikhil Nandgopal
da5f47437b
abstracted styles into base widget
2019-03-19 19:35:48 +05:30
Arpit Mohan
f7aaafacfb
Moving to Mongo instead of Postgresql for storage.
...
This will allow us to store the widget, plugin & page information much more cleanly and directly into the DB.
2019-03-19 12:13:21 +05:30
Arpit Mohan
9cea9f94f2
Completing the CRUD for the widget domain.
2019-03-19 02:28:00 +05:30
Arpit Mohan
e4f59ff941
Adding the Spring java API for creating Widget.
...
Migrating the code to Spring Java instead of Golang
2019-03-19 01:50:32 +05:30
Nikhil Nandgopal
746efeee06
fixed widget pane rendering
2019-03-18 21:15:53 +05:30
Nikhil Nandgopal
e24517cbcb
minor fix
2019-03-18 20:44:33 +05:30
Nikhil Nandgopal
3d7b7cef32
created seperate render modes for widgets
...
added widget pane
2019-03-18 20:40:30 +05:30
Nikhil Nandgopal
9921154045
Merge branch 'master' of gitlab.com:mobtools/internal-tools-client into feature/button
...
# Conflicts:
# src/constants/WidgetConstants.tsx
# src/mockResponses/CanvasResponse.ts
# src/utils/WidgetRegistry.tsx
2019-03-18 19:32:07 +05:30
Nikhil Nandagopal
d99a326786
Merge branch 'feature/core-components' into 'master'
...
Feature/core components
See merge request mobtools/internal-tools-client!3
2019-03-18 13:57:04 +00:00
Nikhil Nandgopal
2ad53929ad
added button widget
2019-03-18 19:20:24 +05:30
Anirudh Madhavan
6d2d6237e1
add : input text -> input group, widget width and height height calculation on basewidget troubleshoot
2019-03-16 18:38:45 +05:30
Arpit Mohan
7ea78bf64c
Adding functionality to execute a query via mustache template.
2019-03-16 18:28:44 +05:30
Anirudh Madhavan
cfbefcf654
add : missing intent prop in widgets
2019-03-16 17:08:22 +05:30
Arpit Mohan
49b7051cea
Moving the method comparison in gorilla mux to the end and not in the chain
...
This allows mux to compare and match the requests based on the HTTP method as well. If we compare the methods in the middleware chain, then mux will try to redirect the request to the first match it finds.
2019-03-16 17:05:20 +05:30
Anirudh Madhavan
92cf9fcc4f
add : blueprint scss, node-sass
2019-03-16 17:03:15 +05:30
Anirudh Madhavan
ad22eac52e
abstract position styled component to a seperate pure component
2019-03-16 16:29:42 +05:30
Arpit Mohan
1133b53437
Adding Google authentication via Goth. All endpoints can now be authenticated.
...
Other changes include:
* Also removing httprouter mux in favour of gorilla for being more mature and having more integrations and resources available for debugging.
* Adding http middlewares for logging req processing time and handling authentication.
TODO: Need to add context in the middleware as well. Will be useful for logging and debugging.
2019-03-16 15:47:47 +05:30
Anirudh Madhavan
e438cb056c
add : spinner widget
2019-03-15 18:23:45 +05:30
Anirudh Madhavan
69212460de
fix : callout widget, add : icon widget
2019-03-15 18:05:36 +05:30
Anirudh Madhavan
74a87e85a8
add : core component : callout widget
2019-03-13 21:25:53 +05:30
Anirudh Madhavan
24412df605
add : core component : input field
2019-03-13 20:35:24 +05:30
Nikhil Nandgopal
4a2854ca58
updated canvas response
2019-03-12 19:53:22 +05:30
Nikhil Nandgopal
9fd346d0c0
moved response to another folder
2019-03-12 19:33:58 +05:30
Arpit Mohan
edaf7e3025
Correcting the project structure as per idiomatic go
2019-03-10 15:51:19 +05:30
Arpit Mohan
ce34ff4a83
Completing the CRUD for the query API. Also being able to execute a saved query.
...
TODO: Handle parameters while executing a saved query.
2019-02-28 09:41:35 +05:30
Arpit Mohan
b38df1c07d
Minor refactoring
2019-02-28 00:46:17 +05:30
Arpit Mohan
dc66c070d6
Adding viper configuration to make the server configurable.
...
The config file `config.yml` must be in the same location as the binary. It must be named `config.yml`. For different environments, symlink the configuration file to the environment speciifc file.
2019-02-28 00:35:50 +05:30
Arpit Mohan
3cfadc1c51
Completing the CRUD API for component model. Also adding more basic structs for other models
2019-02-27 22:05:03 +05:30
Arpit Mohan
eb2af8e534
Minor comments
2019-02-27 09:44:02 +05:30
Arpit Mohan
13a0247fd7
Creating a generic map to struct function to convert any map objects into struct objects
...
Also creating a services package. This will hold all the business logic. The controllers will be very light.
2019-02-27 09:29:30 +05:30
Arpit Mohan
4016562f09
Making the ExecuteQuery function generic to return a map of rows instead of a struct
...
This will help us to execute arbitrary queries and map them to results at a later stage.
2019-02-26 23:49:20 +05:30
Arpit Mohan
acbb5a55e0
Moving gorm ORM library for Golang database connections
...
Also creating the Create API for components
2019-02-26 23:22:37 +05:30
Arpit Mohan
13156380ce
Adding the factory pattern to switch between databases.
...
Also adding a basic GET API for components
Making modifications to the Makefile to create a dist/ folder.
2019-02-26 22:36:21 +05:30
Arpit Mohan
f72597051c
Adding the factory method to derive postgres implementation for db
2019-02-22 10:16:46 +05:30