-
Notifications
You must be signed in to change notification settings - Fork 1
Forecasting features #7
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
Open
AlexanderYenGEV
wants to merge
10
commits into
trolie:main
Choose a base branch
from
AlexanderYenGEV:forecasting-features
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
543ad69
Added multiple changes features in forecasting
AlexanderYenGEV 5c3da14
Merge pull request #2 from AlexanderYenGEV/allure-reports
AlexanderYenGEV fe56c7d
Reviewed PR comments and made appropriate changes
AlexanderYenGEV a2875a9
Merge branch 'main' into forecasting-features
AlexanderYenGEV aa0855c
Merge pull request #3 from AlexanderYenGEV/forecasting-features
AlexanderYenGEV e09ec14
Minor fix preventing tests from running
AlexanderYenGEV 52b99c6
Added multiple changes features in forecasting
AlexanderYenGEV e4e6618
Reviewed PR comments and made appropriate changes
AlexanderYenGEV 3e79fd1
Changed how snapshot_filters was implemented for offset_start and per…
AlexanderYenGEV e31012b
Merge branch 'main' into forecasting-features
AlexanderYenGEV File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -176,4 +176,3 @@ cython_debug/ | |
| # Allure files | ||
| allure-results/ | ||
| assets/ | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| @forecasting | ||
| Feature: Provide forecast proposal limits in appropriate formats | ||
|
|
||
| As a Clearinghouse Operator | ||
| I want to provide forecast limits in a variety of formats | ||
| when a client sends the appropriate media type | ||
| So that clients can obtain the data in the format they need | ||
| Without defining a generalized query capability, like OData or GraphQL | ||
|
|
||
| Background: Authenticated as a Ratings Provider | ||
| Given a TROLIE client that has been authenticated as a Ratings Provider | ||
|
|
||
| # GET Obtain Forecast Proposal Status | ||
| Scenario Outline: Get the forecast proposal status | ||
| Given the Accept header is set to `<content_type>` | ||
| When the client requests the status of a Forecast Proposal | ||
| Then the response is 200 OK | ||
| And the Content-Type header of the response is `<content_type>` | ||
| And the response is schema-valid | ||
|
|
||
|
|
||
| Examples: | ||
| | content_type | | ||
| | application/vnd.trolie.rating-forecast-proposal-status.v1+json | | ||
|
|
||
| # PATCH Submit a Forecast Proposal | ||
| Scenario Outline: Submit a forecast proposal | ||
| Given the Content-type header is set to `<request_type>` | ||
| And the body is loaded from `<file_name>` | ||
| When the client submits a Forecast Proposal | ||
| Then the response is 202 OK | ||
| And the Content-Type header of the response is `<response_type>` | ||
| And the response is schema-valid | ||
|
|
||
| Examples: | ||
| | request_type | file_name | response_type | | ||
| | application/vnd.trolie.rating-forecast-proposal.v1+json | data/forecast_proposal.json | application/vnd.trolie.rating-forecast-proposal-status.v1+json | | ||
| | application/vnd.trolie.rating-forecast-proposal-slim.v1+json; limit-type=apparent-power | data/forecast_proposal_slim.json | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.