- Updated `AbilityGuard` to utilize `TransactionLogger` for logging execution time and errors.
- Enhanced `ResponseInterceptor` to include transaction metadata in logs.
- Modified `QueryAuthGuard`, `ValidateQueryAppGuard`, and `ValidateQuerySourceGuard` to log completion times and transaction IDs.
- Introduced `TransactionLogger` service for structured logging with transaction context.
- Added transaction ID and route information to request context in `RequestContextMiddleware`.
- Updated `JwtStrategy` to log validation completion times.
- Refactored logging configuration in `AppModuleLoader` to support pretty printing in non-production environments.
- Removed console logs in favor of structured logging for better traceability.
* ee commit
* merge commit
* feat: updated openapi operation component
* updated query operation sepctype
* fix: updated query dropdown style
* feat: config dropdown update
* feat: add Gmail plugin with API integration and initial setup
* refactor: enhance type definitions
* refactor: clean up code and refactor variable names
* fix: update Gmail OAuth scope to allow full access to Gmail
* feat: standardize error handling for Gmail plugin
* fix: include oauth_type handling in Gmail plugin for cloud environment
* fix: update spec_url for Gmail operations
* refactor: remove unused fields in gmail manifest.json
* fix: update Content-Type header to application/x-www-form-urlencoded for token requests
* feat: add environment variable prefix for Gmail in OAuth handling
* fix: remove encryption requirement for client_id in Gmail manifest
* fix: update Gmail plugin to use form data for token requests and simplify response handling
* fix: add Gmail to OAuth data sources in DataSourceManager
* fix: encode path parameters in Gmail plugin URL construction
* fix: add back margin to Client ID label in CommonOAuthFields component
* fix: adjust width of input field in RenderParameterFields for better alignment
* fix: set response type to 'json' in requestOptions for Gmail service
---------
Co-authored-by: Devanshu Gupta <devanshuguptaknp@gmail.com>
* feat: Add new gRPC v2 plugin
- Enhanced DataSourcesController to support invoking methods on data sources.
- Introduced InvokeDataSourceMethodDto for method invocation requests.
- Added WhitelistPluginGuard to restrict method invocation based on data source kind.
- Updated IDataSourcesController and IDataSourcesService interfaces to include invoke method functionality.
- Implemented invokeMethod in DataSourcesService to handle method calls for gRPC v2.
- Added method whitelisting for gRPC v2 in the service layer.
* refactor: invokeMethod to use method dispatch pattern
* fix: improve error handling in testConnection method
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* refactor: update types and interface
* fix: remove unnecessary border styles for improved UI consistency
* refactor: simplify error handling
- Introduced a new SCSS file for styling the gRPC v2 query editor components.
- Styled request sections, server URL input, dropdown menus, and method buttons for better user experience.
refactor(grpcv2): enhance error handling and type safety
- Updated error handling in gRPC query service to use a new `toError` utility function for consistent error conversion.
- Improved type definitions for gRPC client and service methods to ensure better type safety.
- Refactored method existence validation and gRPC call execution to handle errors more gracefully.
fix(grpcv2): improve service discovery and proto file loading
- Enhanced service discovery logic to handle reflection and proto file clients more robustly.
- Added checks for valid service constructors and improved error messages for better debugging.
- Updated the `loadProtoFromRemoteUrl` function to handle HTTP errors more effectively.
chore(grpcv2): add utility functions for type checks
- Introduced utility functions `isRecord`, `hasProperty`, and `toError` for better type checking and error handling throughout the codebase.
* feat: add LegacyBanner component for gRPC legacy tag display
* fix: styling changes
* fix: correct text in LegacyBanner component
* feat: enhance GRPCv2 component with request handling and state management improvements
* refactor: update metadata handling in GRPCv2 component and service
* refactor: update GRPCv2 component to use raw_message instead of requestData
* fix: Styling issues and labels
* refactor: gRPC test connection checks for proto file and url
* fix: improve error handling in service discovery
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* apiendpoint component used for rendering openapi spec value are persisted
* Fix/stripe old component (#13737)
* fix: integrated old component
* removed log
---------
Co-authored-by: Devanshu Gupta <devanshuguptaknp@gmail.com>
* REST API changes from LTS and new changes
* Fix: Response, Request and Metadata coming out to be undefined on query failure and success inside Inspector
---------
Co-authored-by: devanshu052000 <devanshu.rastogi05@gmail.com>
* Feature: Prometheus plugin (#13161)
* prometheus plugin
* added existing props
* Host and database can be dynamically configured in query builder for PostgreSQL and MySQL data sources (#13163)
* Fix: Postgresql datasource tries to connect via ssl even when ssl toggle is off (#13167)
* The ability to provide a partition key for deleting items in CosmosDB datasource has been enabled (#13166)
* Feature: Ability to configure the database name in Redis datasource (#13165)
* Fix: Avoid setting Content-Type header for requests without body and configure different host for all environments in OpenAPI [PRE-RELEASE] (#13230)
* Send content-type only with body in request
* Persist OpenAPI parameters per operation only
* Configure different host
* Add disable styles to the select input
* Feat: New fields 'client id' and 'client secret' have been introduced in the Slack datasource configuration page in pre-release (#13162)
* Update slack frontend
* Update slack backend to handle custom creds
* Add backfill migrations
* Dynamically change dropdown according to versions
* Change migration file name
* Correctly access scope in chat:write logic
---------
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: Parth <108089718+parthy007@users.noreply.github.com>
Co-authored-by: Akshay <akshaysasidrn@gmail.com>
Fetch the auth code using correct method in request
Get the plugin object correctly for reloading
Fix woocommerce operation rendering
Resolve promise correctly
Pass plugin_id as prop
Resolve plugin saving issue with caching tokens
Add json-message in query correctly
Use auth code once without cache
* API backend setup for fetching decrypted options object
* Frontend setup to use and fetch decrypted options object
* Debounce validation and include encrypted fields
* Update banners and point back to inputs
* Remove ssl config from connection string in postgresql
* Add support for textarea design component
* Improve conditional requirement logic
* Fix validation banner bugs
* Change schema for airtable
* Change schema for bigquery
* Change schema for mongodb
* Change schema for mysql
* Change schema for mssql
* API backend setup for fetching decrypted options object
* Frontend setup to use and fetch decrypted options object
* Debounce validation and include encrypted fields
* Update banners and point back to inputs
* Remove ssl config from connection string in postgresql
* Add support for textarea design component
* Improve conditional requirement logic
* Fix validation banner bugs
* Change schema for airtable
* Change schema for bigquery
* Change schema for mongodb