Skip to content

Conversation

brandantck
Copy link
Collaborator

@brandantck brandantck commented Aug 28, 2025

  1. Remap object keys (remove underscores and renamed some keys) from dc results sql to be compatible with both public webapi and d2e
  2. Add mock_server created by @jerome-ng (added dc-routes.js for proxy to public webapi DC endpoints)
  3. Add two envs
    1. USE_PUBLIC_WEBAPI_PROXY: Boolean to choose whether to use public webapi proxy or not
    2. PUBLIC_WEBAPI_PROXY_URL: String to set URL for proxy server to call public webapi endpoints

Example of rendering SYNPUF5PCT from public webapi.
image
image

EXTRAS:
To run DC against public webapi,
1. Add USE_PUBLIC_WEBAPI_PROXY=true to .env.local file
2. Navigate to ui/apps/vue-mri-ui-lib/src/query-filter/mock_server, run npm run start

Merge Checklist

Please cross check this list if additions / modifications needs to be done on top of your core changes and tick them off. Reviewer can as well glance through and help the developer if something is missed out.

  • Automated Tests (Jasmine integration tests, Unit tests, and/or Performance tests)
  • Updated Manual tests / Demo Config
  • Documentation (Application guide, Admin guide, Markdown, Readme and/or Wiki)
  • Verified that local development environment is working with latest changes (integrated with latest develop branch)
  • following best practices in code review doc

@brandantck brandantck force-pushed the brandantck/analyze-704_run_dc_against_public_webapi branch from 33a1ddb to 858945e Compare August 28, 2025 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run Data Charaterization against WebAPI Endpoints
2 participants