Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add testing mode affordances to spec and/or docs #35

Open
catkins-miso opened this issue Jan 25, 2024 · 1 comment
Open

add testing mode affordances to spec and/or docs #35

catkins-miso opened this issue Jan 25, 2024 · 1 comment
Assignees

Comments

@catkins-miso
Copy link

Ratings Obligation profile:

  • well-known testing identities and associated data
  • plain-text (CIM XML RDF?) and extensible
  • can be loaded at start-up if configured to start in Testing Mode

Supports an X-TROLIE-Testing-Identity header while in Testing Mode

  • Header is used to identify a well-known identity from the testing model
  • Implementations SHOULD return a 500 response if header present when not in testing mode

Testing Mode loads an alternate DateTime Provider implementation

When X-TROLIE-Testing-Current-DateTime has a valid RFC 3339 value, that value is used for the duration of request processing. If the header is present but doesn't have a valid value,

Testing Mode Clearinghouse Provider

In Testing Mode an alternate Testing Clearinghouse Provider should be loaded. This provider should support verification of proposals under the testing Ratings Obligation profile.

@getorymckeag getorymckeag self-assigned this Jan 25, 2024
@caindy
Copy link

caindy commented Mar 7, 2024

consider specifying a header, e.g., X-TROLIE-Test-Required-Units, or some other affordance for conformance tests to force the proper validation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

3 participants