Commit Graph

127 Commits

Author SHA1 Message Date
Joshua Darnell 5274dd8557 Cleaned up metadata checking and removed extra Edm metadata fetch, favoring deserialization from the XML Response payload instead 2020-04-12 15:19:27 -07:00
Joshua Darnell 4da68de5c3 Added additional WebAPIContainer tests, formatted code, started to clean up test/testContainer logic 2020-04-12 13:37:18 -07:00
Joshua Darnell dea7e62634 Improved file names and structure 2020-04-11 15:19:14 -07:00
Joshua Darnell e80d1fc172 Fixed some formatting issues 2020-04-09 01:47:10 -07:00
Joshua Darnell aca7bbe709 Adding some needed files... 2020-04-09 01:40:35 -07:00
Joshua Darnell 25750899c6 Added WebAPITestContainer acceptance tests 2020-04-09 01:36:55 -07:00
Joshua Darnell ba980dd213 Changed name of step from build to test 2020-04-08 22:30:27 -07:00
Joshua Darnell 43238553f5 Updated action for post-commit hook to support running tests 2020-04-08 22:20:39 -07:00
Joshua Darnell 476d4b00ce Added Commander acceptance testing for XML and Metadata checking 2020-04-08 22:15:31 -07:00
Joshua Darnell 63f1474257 moving TestUtils to common 2020-04-08 04:32:27 -07:00
Joshua Darnell 7be1cb7d1b Issue #19 - Fail subsequent tests eagerly when metadata fails 2020-04-08 04:22:10 -07:00
Joshua Darnell 26e2a3d915
removing 403 and 501 response code tests per workgroup vote (#16) 2020-04-06 15:00:51 -07:00
Joshua Darnell 13adc2cc24
Add Better XML parsing and Error Handling (#8)
* Added lazy loading of field hash, better XML handling and validation, additional validation for OData 4.0 and 4.01, and updated the RESOScript templates
* Added un-interpreted attempt to download and validate metadata if the Olingo client can't parse the response. Improved messaging.
* Changed XML metadata retrieval to fetch raw response so it could be validated using OASIS XSDs
* Added improved error message handling
2020-04-05 16:21:23 -07:00
Eric Finlay 8f1179cf2f
Merge pull request #10 from RESOStandards/eric/9
Issue#9 - moved field name and type checks, continue on null
2020-04-02 08:39:44 -07:00
Joshua Darnell f4c700a34c
Update README.md (#13) 2020-04-01 15:56:49 -07:00
Eric Finlay 6d63ca8692 Issue#9 - moved field name and type checks, continue on null expand field value
Signed-off-by: Eric Finlay <eric@rets.ly>
2020-04-01 13:28:48 -07:00
Eric Finlay 1045a1aed3
Update SRID value to make more sense for geographic queries (#7)
Signed-off-by: Eric Finlay <eric@rets.ly>
2020-04-01 09:37:57 -07:00
Joshua Darnell c32f83e682 Added additional OData-Version response tests, improved logging, and revised the JSON Schema resource data to not require @odata.context (but still validate it) since it may not be an OData resource, and the specification doesn't require it to be present. Removed specific select lists from generic resoscript templates. 2020-03-31 13:03:20 -07:00
Joshua Darnell 1f2beff9f1 Added additional OData-Version response tests, improved logging, and revised the JSON Schema resource data to not require @odata.context (but still validate it) since it may not be an OData resource, and the specification doesn't require it to be present 2020-03-31 13:00:12 -07:00
Joshua Darnell a7af2e1d2d
Create gradle.yml 2020-03-28 14:36:33 -07:00
Joshua Darnell 3e0390a043 Merge branch 'master' of https://github.com/RESOStandards/web-api-commander 2020-03-27 22:30:21 -07:00
Joshua Darnell 4b84bc5ead Added better Metadata Reporting. Further fixes to RESOScripts 2020-03-27 22:28:23 -07:00
Joshua Darnell a47e03d91e adding new generic Gold RESOScript template 2020-03-27 21:01:23 -07:00
Joshua Darnell a4793668e1 Refactored Test Containers, RESOScript queries and templates and bumped versions, improved response errors, added dynamic select list processing, and added metadata checking for each dynamic select list 2020-03-27 21:00:00 -07:00
Joshua Darnell b8e31d39f3 Added additional field presence counters, fixed issue with DataSystem endpoint not being rooted in the Service Root, added additional type checking 2020-03-27 12:58:34 -07:00
Joshua Darnell 3fae23645c Set theme jekyll-theme-midnight 2020-03-27 11:15:27 -07:00
Joshua Darnell b4d86a2a20 Set theme jekyll-theme-slate 2020-03-27 11:12:58 -07:00
Joshua Darnell c048d72ccb Set theme jekyll-theme-midnight 2020-03-27 11:10:31 -07:00
Joshua Darnell d99deb3b68 adding additional comments 2020-03-26 13:22:13 -07:00
Joshua Darnell b0af5d20c2 Added better exception handling when response code testing is being performed 2020-03-26 00:07:54 -07:00
Joshua Darnell a598261d0d Added monadic test containers for Certification. Cleaned up code. 2020-03-25 23:34:13 -07:00
Joshua Darnell 2a27c4ab0e cleaning up test container 2020-03-25 13:06:27 -07:00
Joshua Darnell d371a9d3bb adding updated commander jar file 2020-03-23 23:40:11 -07:00
Joshua Darnell fbfa3c0d15 created a test wrapper for the commander, converted tests to use test wrapper, rename commander.log to commander.debug.log, and change state mutators to helper functions in TestUtils 2020-03-23 23:34:25 -07:00
Joshua Darnell fec45b94ac
Update README.md 2020-03-23 18:46:23 -07:00
Joshua Darnell b09c21c3b4
Update README.md 2020-03-23 18:44:01 -07:00
Joshua Darnell b7ae36edeb adding gradle wrapper dependencies 2020-03-23 12:20:19 -07:00
Joshua Darnell f574e14040 Added better Auth handling and XML parsing. XML parsing is stricter now and uses OData 4.0 errata03 XSDs to parse EDM and EDMX schema 2020-03-18 23:36:49 -07:00
Joshua Darnell 5ff160b2a4 Fixed Auth deprecated classes, Client Credentials, and added stricter XML checking against EDM and EDMX XSDs 2020-03-18 22:11:59 -07:00
Joshua Darnell 98741b9753 rewrote to remove deprecated components 2020-03-18 17:46:25 -07:00
Joshua Darnell a788bf0309 Removed testing and stats from the Commander jarfile during runRESOScript option, and updated RESOScript templates 2020-03-18 16:00:13 -07:00
Joshua Darnell cccd671c99 Minor corrections to generic.resoscript templates. See issues #4 and #5 2020-03-18 12:17:46 -07:00
Joshua Darnell 2667df3b30 Adding checks for DataSystem resource and new Gold template (generic.gold.resoscript), and updated documentation. 2020-03-18 11:15:14 -07:00
Joshua Darnell 1a59bf9316 merging master 2020-03-18 09:15:38 -07:00
Joshua Darnell 2677a2646f Added DataSystem schema validation when the DataSystem resource is present 2020-03-18 09:12:49 -07:00
rewcraig 648c26358d
Allow URI to contain a port number. (#3) 2020-03-17 17:30:55 -07:00
Joshua Darnell 5fdf4f9158 refactored getEntities to use callback, and renamed the OAI steps to OpenAPI 2020-03-17 17:27:22 -07:00
Joshua Darnell 493c561ff5 added OData client features for grouping test. TBD if refactor using Olingo client natively 2020-03-15 18:02:34 -07:00
Joshua Darnell a3bfa89576 Added additional tests for Well Known Resources as well as Web API Standard Names requirements. Bumped generic.resoscript 2020-03-15 13:12:01 -07:00
Joshua Darnell 1c17926d91 cleaned up logging and showResponse arg logic 2020-03-14 15:08:09 -07:00