Commit Graph
21 Commits
Author SHA1 Message Date
Asier IsayasandAsier Isayas 98000a27f0 Legacy Mongo Shell Mongo Proxy support (#1802)
* LMS Mongo Proxy support

* change stirng to url for get mongo shell url

* fix tests

* enable feature flag

* fixed unit test

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-04-17 19:01:12 -04:00
Asier IsayasandAsier Isayas dfcb771939 Activate Mongo Proxy and Cassandra Proxy in Prod (#1794)
* activate Mongo Proxy and Cassandra Proxy in Prod

* fix bug that blocked local mongo proxy and cassandra proxy development

* fix pr check tests

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-04-09 13:45:36 -07:00
18cc2a4195 Activate Mongo and Cassandra Proxies in MPAC (#1776)
* Fix API endpoint for CassandraProxy query API

* activated mongo proxy

* added mpac

* Activate CassandraProxy API endpoints for MPAC

* Run npm format

* Set CASSANDRA_PROXY_OUTBOUND_IPS_ALLOWLISTED when we detect new
Cassandra Proxy endpoints in IP rules.

* query documents API fix

* simplify ip check

---------

Co-authored-by: Senthamil Sindhu <[email protected]>
Co-authored-by: Asier Isayas <[email protected]>
Co-authored-by: Jade Welton <[email protected]>
2024-04-02 09:34:58 -07:00
Asier IsayasandAsier Isayas e09930d9d0 Support Token API in new Portal Backend (#1773)
* added support for generate token

* fix checks

* fix checks

* deactivate mongo proxy

* fix tests

* remove mongo proxy from mpac

* change endpoints to prod

* npm run format

* add await

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-03-22 13:18:02 -04:00
Asier IsayasandAsier Isayas b480c635ca fix create mongo collection and delete mongo document switching (#1758)
Co-authored-by: Asier Isayas <[email protected]>
2024-02-29 12:10:15 -05:00
Asier IsayasandAsier Isayas c9abcc1728 Prompt Mongo and Cassandra users to allow list Mongo and Cassandra proxies in Azure Portal (#1754)
* Mongo Proxy backend API

* merge main into current

* allow mongo proxy endpoints to be constants

* allow mongo proxy endpoints to be constants

* fix test

* show ip address warning for Mongo and Cassandra accounts

* show ip address warning for Mongo and Cassandra accounts

* removed string from prod

* make mongo proxy endpoint mandatory

* added MongoProxyEndpointsV2

* added MongoProxyEndpointsV2

* moved mongo and cassandra endpoints to Constants

* moved mongo and cassandra endpoints to Constants

* moved mongo and cassandra endpoints to Constants

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-02-22 15:53:01 -05:00
Asier IsayasandAsier Isayas 8b0b3b07d6 Add Mongo Proxy to Data Explorer (Standalone and Portal) (#1738)
* Mongo Proxy backend API

* merge main into current

* allow mongo proxy endpoints to be constants

* allow mongo proxy endpoints to be constants

* fix test

* check for allowed mongo proxy endpoint

* check for allowed mongo proxy endpoint

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-02-09 10:58:10 -05:00
Asier IsayasandAsier Isayas 35ca7944ae Limit RU threshold only to NoSQL (#1739)
* limit RU threshold only to NoSQL

* limit RU threshold only to NoSQL

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-02-07 11:31:13 -05:00
Asier IsayasandAsier Isayas 31f7178669 Change RU Threshold to 5000 (#1735)
* ru threshold beta

* use new ru threshold package

* fix typo

* fix merge issue

* fix package-lock.json

* fix test

* fixed settings pane test

* fixed merge issue

* sync with main

* fixed settings pane check

* fix checks

* fixed aria-label error

* fixed aria-label error

* fixed aria-label error

* fixed aria-label error

* remove learn more

* change default RU threshold to 5000

* change default RU threshold to 5000

* change default RU threshold to 5000

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-02-02 11:52:37 -05:00
Asier IsayasandAsier Isayas dbb0324a64 RU Threshold (#1728)
* ru threshold beta

* use new ru threshold package

* fix typo

* fix merge issue

* fix package-lock.json

* fix test

* fixed settings pane test

* fixed merge issue

* sync with main

* fixed settings pane check

* fix checks

* fixed aria-label error

* fixed aria-label error

* fixed aria-label error

* fixed aria-label error

* remove learn more

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-01-30 16:21:29 -05:00
Asier IsayasandAsier Isayas 1726e4df51 Remove enableResourceGraph feature flag (#1681)
* fetch subs and accounts via graph

* fixed subscription rendering

* add feature flag enableResourceGraph

* add feature flag enableResourceGraph

* remove enableResourceGraph feature flag

---------

Co-authored-by: Asier Isayas <[email protected]>
2023-10-27 14:09:21 -04:00
Asier IsayasandAsier Isayas f69cd4c495 Fetch subs and accounts via MS graph (#1677)
* fetch subs and accounts via graph

* fixed subscription rendering

* add feature flag enableResourceGraph

* add feature flag enableResourceGraph

---------

Co-authored-by: Asier Isayas <[email protected]>
2023-10-26 12:00:39 -04:00
Asier IsayasandAsier Isayas 8075ef2847 Upgrade Cosmos SDK to 4.0.0 (#1664)
* upgrade cosmos sdk to 4.0.0

* added explicit any test

* fixed package-lock.json

---------

Co-authored-by: Asier Isayas <[email protected]>
2023-10-19 15:22:12 -04:00
Asier IsayasandAsier Isayas 94158504a8 Cancel query timeout (#1651)
* cancel query option

* query timeout

* run prettier

* removed comments

* fixed npm run compile errors

* fixed tests

* fixed unit test  errors

* fixed unit test  errors

* fixed unit test  errors

* fixed unit test  errors

* fixed unit test  errors

* increased min timeout

* added automatican cancel query option

* added react string format

* npm run format

* added unless automatic cancellation has been enabled

---------

Co-authored-by: Asier Isayas <[email protected]>
2023-10-19 13:21:39 -04:00
Asier IsayasandAsier Isayas 3754d2c32c Cancel Query Option (#1646)
* cancel query option
---------

Co-authored-by: Asier Isayas <[email protected]>
2023-10-05 10:37:59 -04:00
Asier IsayasandAsier Isayas 547954c3dc Lazy loading containers (#1411)
Co-authored-by: Asier Isayas <[email protected]>
2023-03-30 14:53:36 -07:00
Asier IsayasandAsier Isayas ab1409efb1 Show delete database error (#1373)
Co-authored-by: Asier Isayas <[email protected]>
2023-01-13 14:06:24 -05:00
Asier IsayasandAsier Isayas de5df90f75 Removing serverless check to show synapse link options (#1188)
* removing serverless check to show synapse link enablement

* fixing tests

* fixing fomatting

Co-authored-by: Asier Isayas <[email protected]>
2022-01-13 15:27:43 -05:00
Asier IsayasandAsier Isayas 2d945c8231 allowing azure client secret to be null in dev mode (#1079)
Co-authored-by: Asier Isayas <[email protected]>
2021-09-14 12:33:09 -04:00
Asier IsayasandAsier Isayas 8866976bb4 fixed hasFlag test (#1076)
Co-authored-by: Asier Isayas <[email protected]>
2021-09-14 12:28:33 -04:00
d10f3c69f1 MongoClient Feature Flag (#1073)
Adding a feature flag for Mongo Client that allows a user to specify a mongo endpoint and an API so that users can test specific APIs locally.

Example:

https://localhost:1234/hostedExplorer.html?feature.mongoproxyendpoint=https://localhost:12901&feature.mongoProxyAPIs=createDocument|readDocument

The above link says to test APIs createDocument and readDocument on https://localhost:12901

Co-authored-by: artrejo <[email protected]>
Co-authored-by: Asier Isayas <[email protected]>
2021-09-13 16:25:21 -04:00