Commit Graph

187 Commits

Author SHA1 Message Date
Joshua Darnell fa117b19fd
Fixed incomplete client settings tags in resoscript templates (#22)
Fixes for platinum, gold, and mock platinum RESOScripts
2020-05-01 09:19:07 -07:00
Joshua Darnell cd3fd1ab84
Set encoding to UTF-8 and Fix Comparison Tests (#27)
* Fixed issue with UTF-8 encodings not being picked up from the Windows console
* Additional fixes to comparison tests
* Added tests for Integer comparisons
* Added String comparison tests
* Added timestamp comparison tests
* Renamed test files to match conventions
* Added Fractional Date Part tests
* Generated automated acceptance tests for remainder of compare() operations in TestUtils
* Checked in new Commander build
2020-04-27 20:23:49 -07:00
dgmyrek 59c409d37d
Merge pull request #20 from RESOStandards/issue-19-fail-all-if-metadata-fails
Issue #19 fail all if metadata fails
2020-04-16 13:48:02 -05:00
Joshua Darnell dfb1566b0e Fixed additional issue where XML Metadata needed to be fetched for individual test debugging 2020-04-13 04:45:51 -07:00
Joshua Darnell 66097735a4 Fixed small bug in validate test workflow 2020-04-13 03:28:58 -07:00
Joshua Darnell 3c96e39a7b Removed stray line from workflow YAML 2020-04-13 03:02:31 -07:00
Joshua Darnell ac0254d337 GitHub workflow - removed post-build artifact and added gradle caching 2020-04-13 02:59:15 -07:00
Joshua Darnell 1a8346cc1f Fixed YAML syntax error (v2) 2020-04-13 02:48:03 -07:00
Joshua Darnell d069c8b30c Fixed YAML syntax error 2020-04-13 02:41:59 -07:00
Joshua Darnell ce6eeb0cf0 Added DataSystem good/bad container tests, removed rest of Edm fetch logic, added build artifacts to github workflows to build commander lib, and improved state variables in the Web API Test Container 2020-04-13 02:40:22 -07:00
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