This repository was archived by the owner on Mar 17, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Issue/7 json complete mode #8
Merged
bogdanadrianmarc
merged 22 commits into
task/infrastructure-update
from
issue/7-json-complete-mode
Nov 8, 2021
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
2da59cd
Extracting the dataset name before converting the response
bogdanadrianmarc 35c5298
Figure out the json mode from the query
bogdanadrianmarc 2515e71
Added a flag for json compact mode to the response converter
bogdanadrianmarc b9230de
Returning different responses based on the json mode
bogdanadrianmarc 83c4428
Added response converter for json compact mode
bogdanadrianmarc 9f34a88
JSON complete mode response converter added
bogdanadrianmarc 96d9dc0
Added dataset name as config param
bogdanadrianmarc 06c1ee3
Using query terms Hash instead of parsing JSON string
bogdanadrianmarc f7d4a6a
Changed default port for testing the API connection
bogdanadrianmarc ba5d7aa
Mimic the QueryGenerator class for the query object
bogdanadrianmarc 62adf1e
Updated VCR cassette
bogdanadrianmarc 06ff0de
Separated PPD response converter tests
bogdanadrianmarc 7600200
UKHPI response converter tests added
bogdanadrianmarc de8866e
App version bump
bogdanadrianmarc 075a8c8
Added changelog entry
bogdanadrianmarc 920c40c
Fix readme markdown errors
bogdanadrianmarc a704340
Added instructions to run the tests to the readme
bogdanadrianmarc 65ced53
Keyword argument to positional argument
bogdanadrianmarc 2386718
Get API url for tests from env var
bogdanadrianmarc 795dc19
Updated instructions for running the tests
bogdanadrianmarc 28d7824
Small refactor
bogdanadrianmarc 63a72e0
Fixed wrong namespace for rubocop rule
bogdanadrianmarc 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 |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| Metrics/LineLength: | ||
| Layout/LineLength: | ||
| Max: 100 | ||
| Exclude: | ||
| - spec/**/* | ||
|
|
||
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
75 changes: 75 additions & 0 deletions
75
fixtures/vcr_cassettes/test_0002_should_accept_a_query_and_return_the_result.yml
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
|---|---|---|
|
|
@@ -2,6 +2,6 @@ | |
|
|
||
| # :nodoc: | ||
| module DataServicesApi | ||
| VERSION = '1.0.0' | ||
| VERSION = '1.1.0' | ||
| MAJOR, MINOR, PATCH = VERSION.split('.') | ||
| end | ||
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.