Commit graph

23 commits

Author SHA1 Message Date
Ashish
12d110e006
Feature/datasource connection pools (#357)
* add a library which defines available datasources as constants

* include thread_pool gem and concurrent-ruby gem

* modify per process connection_pools global variable to be a concurrent map datastructure

* add a new DsConnectionPool libary to provide the api for using connections from a connection pool

* convert the connection pool parameters in the ENV to integers before using them

* add a new function in the ds_connection_pool library to reset_connection_pool/s

* add unit tests for the ds_connection_pool library

* fix typo

* better variable names and module_names

* refactor connection pool library test cases to use mocked query service

* add magic comment to make strings frozen

* remove airtable from the list of connection pooled datasources

* separate module inside available_data_sources to list connection poolable datasources

* use datasource_id as the key for storing connection pools of a type; Also handle cases when the pools connections are stale

* add additional test cases for the connection pool library

* fix rubocop errors
2021-07-07 12:16:19 +05:30
Ashish
2eaff6e8b6
Feature: support for GraphQL data sources 🎉 (#288)
* Feature: Add GraphQL data sources

* Querying graphql

* use graphlient gem to talk to a graphql datasource

* use the source headers and params while initializing the graphql-client

* remove unnecessary body field from the graphql source addition modal

* add documentation for graphql datasource setup

Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-06-22 19:47:00 +05:30
Akshay
134e2f51ca
Feature: SQL Server integration 🎉 (#244)
* MS SQL server integration

* enable mssql service to test, create and process connection

* return 400 when query fails

* [Docker] Install freetds on buster

Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-06-14 07:33:13 +05:30
Unnikrishnan KP
47a816742c
Improves ruby code in app/models/ based on suggestions from RuboCop (#179)
* Improves ruby code in app/models/app_user.rb based on suggestions from Rubocop

* Rubocop fixes for more models
2021-06-01 12:36:13 +05:30
navaneeth
5a343adc9a Use lockbox for credential encryption 2021-05-29 20:41:32 +05:30
navaneeth
065d724732 Changed base docker image to buster, bumped ruby version 2021-05-25 13:53:11 +05:30
dependabot[bot]
e6611ed36b
Bump puma from 5.2.2 to 5.3.1 (#171)
Bumps [puma](https://github.com/puma/puma) from 5.2.2 to 5.3.1.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v5.2.2...v5.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 01:17:55 +05:30
navaneeth
8aa1bb5070 Paginate apps on dashboard 2021-05-19 12:06:18 +05:30
navaneeth
adb88c254e Feature: Connect to mongo using connection strings 2021-05-13 22:08:13 +05:30
navaneeth
6ad3970212 Feature: Test AWS DynamoDB connection 2021-05-13 18:02:41 +05:30
navaneeth
4957f31a8d Backed services for mongodb 2021-05-04 18:11:06 +05:30
navaneeth
95858d1736 Setup Rubocop 2021-04-29 12:11:23 +05:30
navaneeth
ca34b3d2c5 Feature: Backend for Elasticsearch queries 2021-04-28 13:36:45 +05:30
navaneeth
53b72a6dac Setup dotenv 2021-04-22 09:42:01 +05:30
navaneeth
7461e4cea1 Feature: Backend for redis queries 2021-04-19 22:20:15 +05:30
navaneeth
5ca2f0adb5 Firestore auth, get doc operation 2021-04-13 23:41:02 +05:30
navaneeth
9f07418099 Mysql query backend 2021-04-06 22:34:02 +05:30
navaneeth
2d7a6e2ac7 Feature: REST API queries 2021-04-04 22:37:03 +05:30
navaneeth
79ff0e7a7c Feature: Create new apps 2021-04-01 16:29:27 +05:30
navaneeth
e422b960d9 User roles and permissions 2021-03-31 22:16:01 +05:30
navaneeth
218839b887 Authentication 2021-03-31 21:48:42 +05:30
navaneeth
4e815ebd04 Added rack cors 2021-03-31 21:40:19 +05:30
navaneeth
e6dcdcf3d3 Initial commit for rails API 2021-03-31 19:08:49 +05:30