trolie / spec

Transmission Ratings and Operating Limits Information Exchange
https://trolie.energy/
Other
2 stars 2 forks source link

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

Open catkins-miso opened 5 months ago

catkins-miso commented 5 months ago

Ratings Obligation profile:

Supports an X-TROLIE-Testing-Identity header while 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.

caindy commented 4 months ago

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