Commit Graph
84 Commits
Author SHA1 Message Date
asier-isayasandAsier Isayas acd2e3d839 Enable throughput switch for GSI source containers (#2535)
Co-authored-by: Asier Isayas <[email protected]>
2026-07-20 09:32:56 -07:00
asier-isayasandAsier Isayas 842051ad5d Remove exposed connection string in test (#2523)
* Address exposed connection string in Data Explorer code

* Address exposed connection string in Data Explorer code

---------

Co-authored-by: Asier Isayas <[email protected]>
2026-06-23 10:15:15 -07:00
asier-isayasandAsier Isayas 41ae13ea3a Fix stored XSS via Cassandra column names in DataTable headers (#2499)
Co-authored-by: Asier Isayas <[email protected]>
2026-05-26 13:44:10 -07:00
asier-isayasandAsier Isayas 5ee2ca37d5 Security hardening for Try Cosmos DB connection string flow (#2500)
* Security hardening for Try Cosmos DB connection string flow

- Validate connection string format via parseConnectionString before accepting postMessage
- Restrict localhost:12900 in allowedHostedExplorerEndpoints to development builds only
- Export App component for testability with null-check on render target
- Add 12 unit tests covering origin validation, format validation, and message handling

* Fix HostedExplorer test mock types for compile

---------

Co-authored-by: Asier Isayas <[email protected]>
2026-05-26 10:46:33 -07:00
asier-isayasandAsier Isayas c0c400a240 Enable connection string login deeplink from Try Cosmos (#2490)
Co-authored-by: Asier Isayas <[email protected]>
2026-05-20 10:15:39 -07:00
asier-isayasandAsier Isayas 93ef9e2cc2 Default throughput bucket (#2460)
* default throughput bucket

* nit

* show inactive buckets

* add e2e tests for default throughput bucket

* for test sql containers, use throughput of 4000

* remove container throughput on creation

* added offer throughput

* add default throughput bucket info link

* add text localization

* upgrade playwright

* Fix flaky permissionsScreen test by using unrouteAll with ignoreErrors

* fix: move container creation to beforeAll to reduce CI shard timeout

* remove comment

---------

Co-authored-by: Asier Isayas <[email protected]>
2026-04-17 09:10:52 -07:00
asier-isayasandAsier Isayas aa70cf994a Fix playwright tests (#2325)
* Fix cleanupDBs.js: use async iteration for Azure SDK paged results

* update node version

* fix cleanup script to use new Cosmos SDK APIs correctly

* get rid of global crypto

* fix flakiness

* revert DE pipeline to use Node 18

* nit

---------

Co-authored-by: Asier Isayas <[email protected]>
2026-04-03 11:34:10 -07:00
asier-isayasandAsier Isayas eac5842176 Add float16 data type and make vector embedding policies mutable (#2433)
* vector index work

* format

* fixed tests

---------

Co-authored-by: Asier Isayas <[email protected]>
2026-03-30 06:38:37 -07:00
asier-isayasandAsier Isayas 454a02bc53 Handle partition key path with whitespace (#2423)
* Handle partition key path with white space

* add whitespace test case for pkey

* remove trailing whitespace

---------

Co-authored-by: Asier Isayas <[email protected]>
2026-03-16 07:21:41 -07:00
asier-isayasandAsier Isayas a106b0ebac add the aad endpoint to known authorities when setting up MSAL (#2415)
Co-authored-by: Asier Isayas <[email protected]>
2026-03-06 10:59:35 -08:00
asier-isayasandAsier Isayas 68ba19d406 dependabot security alerts + delete containers after each migration e2e test (#2384)
* dependabot security alerts + delete containers after each migration e2e test

* catch error

---------

Co-authored-by: Asier Isayas <[email protected]>
2026-02-12 11:24:30 -08:00
asier-isayasandAsier Isayas 81ad13508b dependabot batch 3 (#2379)
Co-authored-by: Asier Isayas <[email protected]>
2026-02-11 12:52:05 -08:00
asier-isayasandAsier Isayas df6312038a Dependabot Part 2 (#2370)
* dependabot part 1

* fix npm ci

* remove overrides

* undo playwright test update

* dependabot part 2

* cross-spawn

---------

Co-authored-by: Asier Isayas <[email protected]>
2026-02-05 08:45:21 -08:00
asier-isayasandAsier Isayas 937989a47d Dependabot part 1 (#2362)
* dependabot part 1

* fix npm ci

* remove overrides

* undo playwright test update

---------

Co-authored-by: Asier Isayas <[email protected]>
2026-02-03 13:21:10 -08:00
asier-isayasandAsier Isayas 2998f14d52 Fix playwright tests (#2342)
* dont refresh tree when opening scale & settings

* disable offline/online migration tests

* delete db after each test

* DEBUG: expand console for mongo testing

* find first execute button for stored procedure

* DEBUG: wait for editor to process changes

* increase wait time to 5s

* verify document text was set

* keep document spec as original

* debug new document and save document count

* when loading a document, wait for document text to appear then click new document

* wait for document to be loaded

* remove debug statement

* wait for results to attach

* do forced wait instead

* cleanup tests

* uncomment container copy tests

* run test account cleanup every 12 hours

* change cleanup frequency to once a day

---------

Co-authored-by: Asier Isayas <[email protected]>
2026-01-26 12:37:07 -08:00
asier-isayasandAsier Isayas 92c8afd166 More playwright tests (#2310)
* Add playwright tests for Autoscale/Manual Throughpout and TTL

* fix unit tests and lint

* fix unit tests

* fix tests

* fix autoscale selector

* changed throughput above limit

* Add more playwright tests

* fix tests

* nit

* cleanup

* format

* stored procedure playwright test

* add user defined function playwright test

* Add user defined functions and trigger test

* fix upload items

* fix tests

* fix lint errors

* fix lint

* run cleanup every 3 hours

* keep cleanup at 2 hours

---------

Co-authored-by: Asier Isayas <[email protected]>
2026-01-09 10:23:35 -06:00
4ac8cd8fe4 Fix playwright tests (#2285)
* Temporarily re-enable key based auth for Mongo and Cassandra tests.

* Increase number of shards for playwright tests.

* Another small bump to test shard count.

* click global new... button then collection in playwright tests

* get new table button

* create and delete container for every individual scale test

* for scale and settings, dont create sample data in container

* run scale tests serially

* refactor scale setup and tear down to be within each test

* record network traces

* record network calls on all retries

* when disposing of database during playwright test, refresh tree to remove deleted database

* refresh tree before  opening scale and settings

* When opening scale and settings, refresh databases

* reload all databases before loading offers

* increase time for change partition key request

* increase time for change partition key request

* refresh databases in test instead of product code

* when refreshing containers, open console window to check for status completion

* close notification console window after seeing desired log

* create and delete a container for each individual test

* dont delete database after every test. leave it to the CI

* Don't refresh databases when opening Scale+Settings and only delete database if running locally

* only open scale and settings at the beginning of each test suite

* get it back to working

* change settings.spect.ts from serial to parallel

* don't delete database after each test

* update container creation throughpout to be 5000

* run tests with no throughput limit on the account

* adjust scale test to reflect no throughput limit on account

* remove test container throughput

* don't refresh collections when clicking settings in product code

* refactor and run cleanup during pr check

* copy cleanup accounts

* run cleanup after playwright tests

* run cleanup every three hours

* revert ci.yml

* update cpk test

* remove cpk

* remove cleanup accounts and add cpk

* add cpk

* remove cpk changes

* revert ci.yml

* run cleanup every two hours

---------

Co-authored-by: Jade Welton <[email protected]>
Co-authored-by: Asier Isayas <[email protected]>
2026-01-07 00:36:54 -05:00
asier-isayasandAsier Isayas d67c1a0464 Add playwright tests (#2274)
* Add playwright tests for Autoscale/Manual Throughpout and TTL

* fix unit tests and lint

* fix unit tests

* fix tests

* fix autoscale selector

* changed throughput above limit

---------

Co-authored-by: Asier Isayas <[email protected]>
2025-12-10 11:02:31 -08:00
asier-isayasandAsier Isayas a33429fd85 Add Session Id (#2263)
* adding sessionId to UserContext

* add session id

* add session id to settings pane and fix npm run compile

* Add conditional for Portal

* set default session id on userContext init

* fix tests

---------

Co-authored-by: Asier Isayas <[email protected]>
2025-11-26 10:07:18 -08:00
asier-isayasandAsier Isayas ff1eb6a78e Add French, German, and Spanish to Full Text Search (Update container only) (#2228)
* Add multiple languages for Full Text Search Policy

* fix tests

* show multiple languages for multi language support enabled accounts

* addressed comments

---------

Co-authored-by: Asier Isayas <[email protected]>
2025-10-24 12:15:12 -07:00
asier-isayasandAsier Isayas 8e2c46301d Allow Mongo users to change thee Guid Representation when conducting CRUD operations for documents (#2204)
* mongo guid representation

* format

* fix return type

---------

Co-authored-by: Asier Isayas <[email protected]>
2025-08-18 12:30:04 -07:00
asier-isayasandAsier Isayas 589b61afaf Upgrade Cosmos SDK to v4.4.0 (#2187)
* Upgrade Cosmos SDK to v4.4.0

* fix unit tests

* explain crypto.subtle

---------

Co-authored-by: Asier Isayas <[email protected]>
2025-07-15 11:28:28 -07:00
asier-isayasandAsier Isayas 08a51ca6b1 Remove unneeded and misleading console log (#2186)
Co-authored-by: Asier Isayas <[email protected]>
2025-07-10 08:58:11 -07:00
asier-isayasandAsier Isayas 45c8d70c77 do not set disableNonStreamingOrderByQuery flag (#2179)
Co-authored-by: Asier Isayas <[email protected]>
2025-06-26 07:43:55 -07:00
asier-isayasandAsier Isayas 1b64827c24 Upgrade ARM Client API version to 2025-05-01-preview & Fetch enableMaterializedViews account property from ARM (#2171)
* Upgrade ARM Client API version to 2025-05-01-preview

* fix npm run compile

---------

Co-authored-by: Asier Isayas <[email protected]>
2025-06-13 06:20:08 -04:00
asier-isayasandAsier Isayas 0fc6647627 Upgrade Cosmos SDK to v4.3 (#2137)
* Upgrade Cosmos SDK to v4.3

* push pkg lock

* fix tests

* fix package-lock.json

* fix package-lock

* fix package-lock.json

* fix package-lock.json

* log console warning when RU limit is reached

* fix tests

* fix format

* fix tests

* added description to RU limit message

* show warning icon on tab header

---------

Co-authored-by: Asier Isayas <[email protected]>
2025-05-29 11:35:06 -04:00
asier-isayasandAsier Isayas f14b574527 Enable Full Text Search on all NoSQL accounts (#2157)
* Enable Full Text Search on all NoSQL accounts

* format

* fix tests

* run tests

---------

Co-authored-by: Asier Isayas <[email protected]>
2025-05-20 10:49:09 -04:00
asier-isayasandAsier Isayas 34edd96c76 Default New Global Secondary Index Panel to be sharded (#2138)
Co-authored-by: Asier Isayas <[email protected]>
2025-05-12 13:12:20 -04:00
asier-isayasandAsier Isayas 10cda21401 Add Vector Index Shard Key option on container creation (#2097)
* Add vector index shard key

* npm run format

* rename shard key to vector index shard key

* add tooltip for quantization byte size

* change text for GSI and container in VectorEmbedding Policy

---------

Co-authored-by: Asier Isayas <[email protected]>
2025-05-02 11:05:40 -04:00
asier-isayasandAsier Isayas d9436be61b Remove references to old Portal Backend (#2109)
* remove old portal backend endpoints

* format

* fix tests

* remove Materialized Views from createResourceTokenTreeNodes

* add portal FE back to defaultAllowedBackendEndpoints

---------

Co-authored-by: Asier Isayas <[email protected]>
2025-04-28 13:29:27 -04:00
asier-isayasandAsier Isayas af4e1d10b4 GSI: Remove Unique Key Policy and Manual Throughput (#2114)
* Remove Unique Key Policy and Manual Throughput

* fix tests

* remove manual throughput option from scale & settings

* fix test

* cleanup

---------

Co-authored-by: Asier Isayas <[email protected]>
2025-04-18 14:39:31 -04:00
asier-isayasandAsier Isayas d5fe2d9e9f Fix Unit and E2E tests (#2112)
* fix tests

* remove Materialized Views from createResourceTokenTreeNodes

---------

Co-authored-by: Asier Isayas <[email protected]>
2025-04-16 10:05:36 -04:00
2cff0fc3ff Global Secondary Index (#2071)
* add Materialized Views feature flag

* fetch MV properties from RP API and capture them in our data models

* AddMaterializedViewPanel

* undefined check

* subpartition keys

* Partition Key, Throughput, Unique Keys

* All views associated with a container (#2063) and Materialized View Target Container (#2065)

Identified Source container and Target container
Created tabs in Scale and Settings respectively
Changed the Icon of target container

* Add MV Panel

* format

* format

* styling

* add tests

* tests

* test files (#2074)

Co-authored-by: nishthaAhujaa

* fix type error

* fix tests

* merge conflict

* Panel Integration (#2075)

* integrated panel

* edited header text

---------

Co-authored-by: nishthaAhujaa <[email protected]>
Co-authored-by: Asier Isayas <[email protected]>

* updated tests (#2077)

Co-authored-by: nishthaAhujaa

* fix tests

* update treeNodeUtil test snap

* update settings component test snap

* fixed source container in global "New Materialized View"

* source container check (#2079)

Co-authored-by: nishthaAhujaa

* renamed Materialized Views to Global Secondary Index

* more renaming

* fix import

* fix typo

* disable materialized views for Fabric

* updated input validation

---------

Co-authored-by: Asier Isayas <[email protected]>
Co-authored-by: Nishtha Ahuja <[email protected]>
Co-authored-by: nishthaAhujaa <[email protected]>
2025-04-11 10:39:32 -04:00
asier-isayasandAsier Isayas 32576f50d3 Self Serve text render fix (#2088)
* debug

* added comment

---------

Co-authored-by: Asier Isayas <[email protected]>
2025-03-27 14:17:06 -04:00
asier-isayasandAsier Isayas eaf9a14e7d Cancel Phoenix container allocation on ctrl+c & ctrl+z (#2055)
* Cancel Phoenix container allocation on ctrl+c

* revert package-lock

* fix build issues

* add ctrl+z

* Close terminal when Ctrl key is pressed

* format

---------

Co-authored-by: Asier Isayas <[email protected]>
2025-03-13 14:56:11 -04:00
asier-isayasandAsier Isayas b5d7423849 Set default RU throughput for Production workload accounts to be 10k (#2070)
* assign default throughput based on workload type

* combined common logic

* fix unit tests

* add tests

* update tests

* npm run format

* Set default RU throughput for Production workload accounts to be 10k

* remove unused method

* refactor

---------

Co-authored-by: Asier Isayas <[email protected]>
2025-03-10 11:35:17 -04:00
asier-isayasandAsier Isayas 644f5941ec Set default throughput based on account's workload type (#2021)
* assign default throughput based on workload type

* combined common logic

* fix unit tests

* add tests

* update tests

* npm run format

* Update ci.yml

---------

Co-authored-by: Asier Isayas <[email protected]>
2025-02-11 17:47:55 -05:00
Asier IsayasandAsier Isayas 261289b031 Remove legacy backend references in tests and local dev (#1983)
* remove legacy backend references in tests and local dev

* fix unit tests

* fixed bulk delete

* fix tests

* fix cosmosclient

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-09-30 14:34:37 -04:00
Asier IsayasandAsier Isayas fae4589427 Bulk Delete API fix (#1977)
* Bulk Delete API fix

* Bulk Delete API fix

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-09-30 11:40:48 -04:00
Asier IsayasandAsier Isayas 9f1cc4cd5c Force Mongo and Proxy users to switch to Mongo and Cassandra Proxy (#1971)
* Force Mongo and Cassandra users to the new Proxies

* npm run format

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-09-18 13:49:09 -04:00
Asier IsayasandAsier Isayas 78154bd976 Disable Bulk Delete API (#1968)
* disable bulk delete

* disable bulk delete

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-09-13 08:36:53 -04:00
Asier IsayasandAsier Isayas 82bdeff158 Add new Portal Backend Sample Data API and remove Notifications API references (#1965)
* Fixed Sample Data logic and remove notifications references

* fixed undefined

* fixed unit tests

* fixed format test

* cleanup

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-09-11 08:07:50 -04:00
Asier IsayasandAsier Isayas 87024f4bf4 use old backend for Mongo and Cassandra accounts depending on their IP addresses (#1959)
Co-authored-by: Asier Isayas <[email protected]>
2024-09-05 16:25:53 -04:00
Asier IsayasandAsier Isayas 8e7a3db67e Point DE to new Mongo and Cassandra Proxies only and activate Cassandra Proxy in FF/MC (#1958)
Co-authored-by: Asier Isayas <[email protected]>
2024-09-05 10:57:55 -04:00
Asier IsayasandAsier Isayas 4b207f3fa6 Show portal networking banner for new backend (#1952)
* show portal networking banner for new backend

* fixed valid endpoints

* format

* fixed tests

* Fixed tests

* fix tests

* fixed tests

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-08-29 18:42:13 -04:00
Asier IsayasandAsier Isayas 6aeac542b1 Runtime Proxy API (#1950)
Co-authored-by: Asier Isayas <[email protected]>
2024-08-28 09:04:49 -04:00
Asier IsayasandAsier Isayas cc89691da3 Activate Mongo Proxy in Prod (#1936)
* activate mongo proxy in mpac

* activate mongo proxy in mpac

* activate mongo proxy in prod

* fixed parition key unit test

* remove three part partition key value test

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-08-14 14:15:11 -04:00
Asier IsayasandAsier Isayas bf6b362610 Activate Mongo Proxy in MPAC (#1934)
* activate mongo proxy in mpac

* activate mongo proxy in mpac

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-08-13 16:34:34 -04:00
Asier IsayasandAsier Isayas 3d1f280378 Allow connection string users to add database to their Mongo serverless account (#1924)
* Allow connection string users to create databases mongo ser

* Allow connection string users to create databases for the mongo serverless accounts

* Allow connection string users to create databases for the mongo serverless accounts

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-08-01 12:29:55 -04:00
Asier IsayasandAsier Isayas 7a1aa89cd1 Add Cassandra Shell tab (#1913)
Co-authored-by: Asier Isayas <[email protected]>
2024-07-17 16:12:15 -04:00
Asier IsayasandAsier Isayas 375bb5f567 Adding CRI fixes to pre RBAC commit (#1902)
Co-authored-by: Asier Isayas <[email protected]>
2024-07-08 17:27:34 -04:00
Asier IsayasandAsier Isayas e9f83a8efd Set AllowPartialScopes flag to true (#1900)
* add partial scopes flag

* add partial scopes flag

* add partial scopes flag

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-07-08 16:30:14 -04:00
Asier IsayasandAsier Isayas 1021e9c969 Fix LMS regression when using old backend (#1890)
Co-authored-by: Asier Isayas <[email protected]>
2024-07-01 12:40:07 -04:00
Asier IsayasandAsier Isayas 17754cba05 Revert to old Mongo Proxy (#1886)
* revert to old mongo proxy

* revert to old mongo proxy

* cleanup

* cleanup

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-06-27 11:40:05 -07:00
Asier IsayasandAsier Isayas b07fa89a23 fix legacy mongo shell regression (#1883)
Co-authored-by: Asier Isayas <[email protected]>
2024-06-26 14:33:57 -04:00
Asier IsayasandAsier Isayas 380caba5f5 Cassandra: Delete a row for a table that has multiple partition keys (#1879)
* Delete a row with multiple parition keys

* clean up

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-06-20 12:55:14 -04:00
Asier IsayasandAsier Isayas 96ba0a9729 Reactivate Mongo Proxy (#1850)
* Reactivate Mongo Proxy

* Reactivate Mongo Proxy

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-05-31 13:31:24 -04:00
Asier IsayasandAsier Isayas 14e5efcebf Point Mongo requests to old backend (#1838)
* point mongo requests to old backend

* point mongo requests to old backend

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-05-09 13:42:59 -04:00
Asier IsayasandAsier Isayas 92246144f7 Enable Legacy Mongo Shell in Fairfax (#1829)
* enable Mongo Proxy and LMS in sovereign clouds

* remove mooncake

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-04-29 16:25:58 -04:00
Asier IsayasandAsier Isayas cbd5e6bf76 open Legacy Mongo SHell with correct base URL in sovereign clouds (#1823)
Co-authored-by: Asier Isayas <[email protected]>
2024-04-26 14:55:47 -04:00
Asier IsayasandAsier Isayas afc82845b5 activate Token Controller (#1820)
Co-authored-by: Asier Isayas <[email protected]>
2024-04-24 15:04:01 -04:00
Asier IsayasandAsier Isayas acf5acfdb4 Remove Legacy Mongo Shell feature flag (#1810)
* LMS Mongo Proxy support

* change stirng to url for get mongo shell url

* fix tests

* enable feature flag

* fixed unit test

* add mongoshell to path

* remove LMS feature flag

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-04-23 08:20:27 -04:00
Asier IsayasandAsier Isayas e3fab9b5bf Add 'mongoshell' to Legacy Mongo Shell path (#1806)
* LMS Mongo Proxy support

* change stirng to url for get mongo shell url

* fix tests

* enable feature flag

* fixed unit test

* add mongoshell to path

---------

Co-authored-by: Asier Isayas <[email protected]>
2024-04-18 15:39:13 -04:00
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