Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • P Policy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Platform
  • Security and Compliance
  • Policy
  • Merge requests
  • !226

M15 improvements - correlation, logging, tests, admincli

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Shane Hutchins requested to merge correlation_admincli_policysvc into master Oct 21, 2022
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 18

Adding initial support for #77 (closed) not all APIs - just translate and diag log it but all APIs capture/generate for outgoing requests.

Policy Service changes:

  • Correlation-ID support for /diag and /translate APIs
  • Outbound Correlation-ID support (to entitlement)
  • Configurable Correlation-ID generation support (on by default)
  • Logging changes (many) including color logs when using Correlation-IDs
  • New config ENABLE_DEV_DIAGNOSTICS_DUMP to enable diag without troubleshooting eval test/troubleshooting dumps.
  • Requirements changes

AdminCLI Changes:

  • Removing x-user-id from header by default, now only when set
  • Added new header x-local-user-id
  • Added Correlation-ID generation and to header by default, can be disabled for testing
  • Added verbose option to print Correlation-ID when running commands (for troubleshooting/testing)
  • Improved error messages/exit status
  • Added check for valid json with eval command
  • Added --random to legal-tags command to get a single random legal tag (great for testing)
  • Added --random-id to search command to get a single random id from search (great for testing)
  • Updated requirements
  • Testing download/output cleanup
  • Fixes tests for data-partition-id (that are not osdu)
  • Added many more tests including:
    • search->storage workflows, including random testing
    • search->dataset workflows, including downloads and random testing
    • new command options
    • eval command testing
    • translate command testing
    • Some tests added to help preship testing
Edited Oct 21, 2022 by Shane Hutchins
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: correlation_admincli_policysvc