Skip to content

Production/cicdrefinement#61

Merged
CDevmina merged 3 commits intoDevelopmentfrom
production/cicdrefinement
May 20, 2025
Merged

Production/cicdrefinement#61
CDevmina merged 3 commits intoDevelopmentfrom
production/cicdrefinement

Conversation

@CDevmina
Copy link
Owner

This pull request introduces significant enhancements to API key validation, user preference tracking, and schema updates across the Tapiro platform. Key changes include improved API key revocation handling, expanded tracking for user preference access, and updates to schemas and UI components to support the new "preference_access" data type.

API Key Validation Enhancements:

  • Introduced a revocation marker mechanism in validateApiKey to explicitly mark API keys as revoked and invalidate their cache if accessed (tapiro-api-external/middleware/apiKeyMiddleware.js). [1] [2]
  • Added a new TTL constant EXTERNAL_API_KEY_DETAILS for external API key details cache (tapiro-api-internal/utils/cacheConfig.js).

User Preference Tracking:

  • Added logging for user preference access events, including metadata such as user agent and API key source (tapiro-api-external/service/StoreOperationsService.js).
  • Updated the OpenAPI schema and database schema to include the "preference_access" data type for tracking when stores access user preferences (tapiro-api-internal/api/openapi.yaml, tapiro-api-internal/utils/dbSchemas.js). [1] [2]

Schema and UI Updates:

  • Updated front-end components to support the "preference_access" data type, including filters, table displays, and tooltips (web/src/api/types/data-contracts.ts, web/src/pages/UserDashboard/UserAnalyticsPage.tsx). [1] [2]
  • Modified the application title in index.html to better reflect the platform's purpose (web/index.html).

@CDevmina CDevmina self-assigned this May 20, 2025
@CDevmina CDevmina added the enhancement New feature or request label May 20, 2025
@CDevmina CDevmina merged commit 19c95eb into Development May 20, 2025
3 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant