-
Notifications
You must be signed in to change notification settings - Fork 20
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
TDL-19959 added missing fields #63
Merged
Merged
Changes from 59 commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
41e0404
added missing fields
namrata270998 39dbb50
TDL-19957 update dict based to class based
namrata270998 8e00cbd
updated while condition
namrata270998 f94f68e
updated while condition
namrata270998 f299b8d
removed incremental_range from REQUIRED_CONFIG_KEYS
namrata270998 999d32d
TDL-19964 Added missing tap-tester commits
namrata270998 5f8e433
updated discover and schema file
namrata270998 b76f9cf
Merge branch 'TDL-19964-add-missing-tap-tester-tests' of https://gith…
namrata270998 86ffe72
updated tap-tester tests
namrata270998 4353def
updated to replication_key instead of keys
namrata270998 e0f5029
Merge branch 'TDL-19964-add-missing-tap-tester-tests' of https://gith…
namrata270998 69692b7
updated schemas and added comments
namrata270998 89d4e4a
added unittests for code coverage
namrata270998 348262e
updated bookmarks tap-tester test
namrata270998 140cd09
added unittests for sync.py
namrata270998 9e27ff2
Merge branch 'TDL-19964-add-missing-tap-tester-tests' of https://gith…
namrata270998 c3e40e2
added parameterized in setup.py
namrata270998 3249d74
added parameterized in config.yml and updated unittests
namrata270998 c025e28
Merge branch 'TDL-19957-update-dict-based-to-class-based' of https://…
namrata270998 8b7163c
updated the replication key to list instead of a single key
namrata270998 cd435d4
Updated and removed extra comments
namrata270998 f9989bd
fixed the issue for Keyerror of form_id in answers stream
namrata270998 bc91c4b
Merge branch 'TDL-19964-add-missing-tap-tester-tests' of https://gith…
namrata270998 3a63e1e
updated unittests
namrata270998 6621815
updated start date as per format
namrata270998 8888391
Merge branch 'TDL-19964-add-missing-tap-tester-tests' of https://gith…
namrata270998 4289539
added configurable page size param
namrata270998 677eea7
updated pagination test case
namrata270998 dcc12f2
Merge branch 'TDL-19964-add-missing-tap-tester-tests' of https://gith…
namrata270998 26d8dce
handled page_size for 0 and updated unittests
namrata270998 0dc281b
resolved review comments
namrata270998 828a5ad
Merge branch 'TDL-19964-add-missing-tap-tester-tests' of https://gith…
namrata270998 ba12410
resolved bug fixes for pagination and removed incompleted_forms_only …
namrata270998 2600a42
Merge branch 'TDL-19957-update-dict-based-to-class-based' of https://…
namrata270998 89fae83
updated array type schema
namrata270998 e3725e6
added new stream unsubmitted landings
namrata270998 e645182
added new stream in tap-tester
namrata270998 cd94d7b
Merge branch 'TDL-19964-add-missing-tap-tester-tests' of https://gith…
namrata270998 cfa13f6
updated indentation
namrata270998 e63152f
resolved PR review comments
namrata270998 856049f
updated indentation to use 2 spaces
namrata270998 a15099f
added page_size in example config
namrata270998 728da16
added back incremental_range in the tap-tester
namrata270998 d0089aa
fixed the cci issues
namrata270998 651f0cc
Merge branch 'TDL-19964-add-missing-tap-tester-tests' of https://gith…
namrata270998 aa583be
Merge branch 'TDL-19957-update-dict-based-to-class-based' of https://…
namrata270998 a5b52bb
added missing fields to a dict
namrata270998 e580805
added missing assertion for all fields
namrata270998 5cc0a73
Merge branch 'TDL-19964-add-missing-tap-tester-tests' of https://gith…
namrata270998 c585570
Merge branch 'TDL-19957-update-dict-based-to-class-based' of https://…
namrata270998 2ab8bdb
updated comment
namrata270998 c92dd35
raised exc instead of fatal error message and updated unittests
namrata270998 75e4566
removed get_logger()
namrata270998 7924ef9
added logger instead of print
namrata270998 1eb6324
Merge branch 'TDL-19964-add-missing-tap-tester-tests' of https://gith…
namrata270998 0b76fce
Merge branch 'TDL-19957-update-dict-based-to-class-based' of https://…
namrata270998 7e39001
Merge branch 'crest-master' into TDL-19959-add-missing-fields
prijendev ec3546e
Merge branch 'crest-master' into TDL-19959-add-missing-fields
prijendev 3a9ddd1
Updated schema for questions.
prijendev ebcbe4d
Removed duplicate assertion in all_fields test.
prijendev 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 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 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,36 +1,234 @@ | ||
{ | ||
"type": ["null", "object"], | ||
"additionalProperties": false, | ||
"properties": { | ||
"form_id": { | ||
"type": ["null", "string"] | ||
}, | ||
"question_id": { | ||
"type": ["null", "string"] | ||
}, | ||
"title": { | ||
"type": ["null", "object"], | ||
"additionalProperties": false, | ||
"properties": { | ||
"form_id": { | ||
"type": ["null", "string"] | ||
}, | ||
"question_id": { | ||
"type": ["null", "string"] | ||
}, | ||
"title": { | ||
"type": ["null", "string"] | ||
}, | ||
"ref": { | ||
"type": ["null", "string"] | ||
}, | ||
"ref": { | ||
}, | ||
"sub_questions": { | ||
"type": ["null", "array"], | ||
"items": { | ||
"type": ["null", "object"], | ||
"properties": { | ||
"question_id": { | ||
"type": ["null", "string"] | ||
}, | ||
"title": { | ||
"type": ["null", "string"] | ||
}, | ||
"ref": { | ||
"type": ["null", "string"] | ||
} | ||
} | ||
} | ||
}, | ||
"attachment": { | ||
"type": ["null", "object"], | ||
"properties": { | ||
"type": { | ||
"type": ["null", "string"] | ||
}, | ||
"href": { | ||
"type": ["null", "string"] | ||
}, | ||
"scale": { | ||
"type": ["null", "number"] | ||
}, | ||
"properties": { | ||
"type": ["null", "object"], | ||
"properties": { | ||
"description": { | ||
"type": ["null", "string"] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"field_type": { | ||
"type": ["null", "string"] | ||
}, | ||
"id": { | ||
"type": ["null", "string"] | ||
}, | ||
"layout": { | ||
"type": ["null", "object"], | ||
"properties": { | ||
"type": { | ||
"type": ["null", "string"] | ||
}, | ||
"placement": { | ||
"type": ["null", "string"] | ||
}, | ||
"attachment": { | ||
"type": ["null", "object"], | ||
"properties": { | ||
"type": { | ||
"type": ["null", "string"] | ||
}, | ||
"href": { | ||
"type": ["null", "string"] | ||
}, | ||
"scale": { | ||
"type": ["null", "number"] | ||
}, | ||
"properties": { | ||
"type": ["null", "object"], | ||
"properties": { | ||
"description": { | ||
"type": ["null", "string"] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"name": { | ||
"type": ["null", "string"] | ||
}, | ||
"options": { | ||
"type": ["null", "array"], | ||
"items": { | ||
"type": ["null", "object"], | ||
"properties": { | ||
"label": { | ||
"type": ["null", "string"] | ||
}, | ||
"sub_questions": { | ||
"type": ["null", "array"], | ||
"items": { | ||
"type": ["null", "object"], | ||
"properties": { | ||
"question_id": { | ||
"type": ["null", "string"] | ||
}, | ||
"title": { | ||
"type": ["null", "string"] | ||
}, | ||
"ref": { | ||
"type": ["null", "string"] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"properties": { | ||
"type": ["null", "object"], | ||
"properties": { | ||
"allow_multiple_selection": { | ||
"type": ["null", "boolean"] | ||
}, | ||
"allow_other_choice": { | ||
"type": ["null", "boolean"] | ||
}, | ||
"alphabetical_order": { | ||
"type": ["null", "boolean"] | ||
}, | ||
"button_text": { | ||
"type": ["null", "string"] | ||
}, | ||
"choices": { | ||
"type": ["null", "array"], | ||
"items": { | ||
"type": ["null", "object"], | ||
"properties": { | ||
"attachment": { | ||
"type": ["null", "object"], | ||
"properties": { | ||
"href": { | ||
"type": ["null", "string"] | ||
}, | ||
"type": { | ||
"type": ["null", "string"] | ||
} | ||
} | ||
}, | ||
"label": { | ||
"type": ["null", "string"] | ||
}, | ||
"ref": { | ||
"type": ["null", "string"] | ||
} | ||
} | ||
} | ||
}, | ||
"currency": { | ||
"type": ["null", "string"] | ||
}, | ||
"default_country_code": { | ||
"type": ["null", "string"] | ||
}, | ||
"description": { | ||
"type": ["null", "string"] | ||
}, | ||
"fields": { | ||
"type": ["null", "array"], | ||
"items": { | ||
"type": ["null", "object"] | ||
} | ||
}, | ||
"hide_marks": { | ||
"type": ["null", "boolean"] | ||
}, | ||
"labels": { | ||
"type": ["null", "object"], | ||
"properties": { | ||
"center": { | ||
"type": ["null", "string"] | ||
}, | ||
"left": { | ||
"type": ["null", "string"] | ||
}, | ||
"right": { | ||
"type": ["null", "string"] | ||
} | ||
} | ||
}, | ||
"price": { | ||
"type": ["null", "object"], | ||
"properties": { | ||
"type": { | ||
"type": ["null", "string"] | ||
}, | ||
"value": { | ||
"type": ["null", "string"] | ||
} | ||
} | ||
}, | ||
"randomize": { | ||
"type": ["null", "boolean"] | ||
}, | ||
"separator": { | ||
"type": ["null", "string"] | ||
}, | ||
"shape": { | ||
"type": ["null", "string"] | ||
} | ||
} | ||
}, | ||
"required": { | ||
"type": ["null", "string"] | ||
}, | ||
"type": { | ||
"type": ["null", "string"] | ||
}, | ||
"validations": { | ||
"type": ["null", "object"], | ||
"properties": { | ||
"max_length": { | ||
"type": ["null", "integer"] | ||
}, | ||
"max_selection": { | ||
"type": ["null", "integer"] | ||
}, | ||
"max_value": { | ||
"type": ["null", "integer"] | ||
}, | ||
"min_selection": { | ||
"type": ["null", "integer"] | ||
}, | ||
"min_value": { | ||
"type": ["null", "integer"] | ||
}, | ||
"required": { | ||
"type": ["null", "boolean"] | ||
} | ||
} | ||
} | ||
}, | ||
}, | ||
"key_properties": ["form_id","question_id"] | ||
} |
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This assertion is duplicated on L#88, remove one of the assertion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed duplicate assertion.