Commit Graph

149 Commits

Author SHA1 Message Date
Joshua Darnell b2299fb0d8 tightened up data checking 2020-02-27 19:40:32 -08:00
Joshua Darnell 4be5e3bed6 new jar 2020-02-27 19:14:42 -08:00
Joshua Darnell c7bed09837 refactored generic.resoscript file to use more computed properties 2020-02-27 19:13:28 -08:00
Joshua Darnell 56f6840f2b fixed up page skip comparisons 2020-02-27 19:06:37 -08:00
Joshua Darnell 6321b644a5 Added better support for settings resolution in Cucumber tests, upgraded generic.resoscript with more generic statements and a that builds itself 2020-02-27 18:26:25 -08:00
Joshua Darnell 451ecf00bf updated generic.resoscript with more sensible names for the keyfield and tests 2020-02-27 17:11:38 -08:00
Joshua Darnell 1de4748b12 updated .gitignore 2020-02-27 16:01:17 -08:00
Joshua Darnell 229b6878c4 added null checks to the generic.resoscript and better Integer/String handling for Key field comparisons 2020-02-27 15:38:21 -08:00
Joshua Darnell c07e2835e1 Merge branch 'master' into automated-v1 2020-02-27 11:25:27 -08:00
Joshua Darnell 3f7bfb88f1 RESOScript patch 2020-02-27 11:24:36 -08:00
Joshua Darnell 7c95a3125e minor corrections to test number 2020-02-27 11:22:34 -08:00
Joshua Darnell 04a6979a15 Merge branch 'master' into automated-v1 2020-02-27 11:15:15 -08:00
Joshua Darnell 41c3d633b6
automated-v1 Checkpoint 2 (#2)
* Test REQ-WA103-QO1 working, added assert handling for cases with HTTP Client exceptions
* Added additional test support methods for testing specific OData verisions, also reset for local state
* Assert stepdef cleanup
* Added support for asserting response codes, like 400s, for a specific OData version
* Added support for arithmetic integer comparisons
* Updated resoscript variables and added further test support
* Added Integer Comparison Tests (through REQ-WA103-QO11)
* Rebuilt for Java 1.8 and cleaned up some of the logging and int compare tests
* Updated Dockerfile, generic.resoscript, and removing assertions from the runRESOScript action. Gradle should be used for assertion testing. See README
* Added support for EdmDateTimeOffset and EdmDate parsing and comparisons
* Added more TimeOfDay, Time, DateTimeOffset glue
* Added support for single-valued enumerations
2020-02-27 11:07:28 -08:00
Joshua Darnell 3f82b07d7f added support for single-valued enumeration checking 2020-02-27 11:00:18 -08:00
Joshua Darnell bcd91acb3f added more TimeOfDay, Time, DateTimeOffset glue 2020-02-27 00:13:58 -08:00
Joshua Darnell 506be54988 Added support for EdmDateTimeOffset and EdmDate parsing and comparisons 2020-02-26 22:09:43 -08:00
Joshua Darnell 04c65789c8 Merge branch 'master' into automated-v1 2020-02-26 19:29:08 -08:00
Joshua Darnell 97722ba86c
Test automation checkpoint (#1)
* Test REQ-WA103-QO1 working, added assert handling for cases with HTTP Client exceptions
* Added additional test support methods for testing specific OData versions, also reset for local state.
* Assert stepdef cleanup.
* Added support for asserting response codes, like 400s, for a specific OData version
* Added support for arithmetic integer comparisons.
* Updated resoscript variables and added further test support.
* Added Integer Comparison Tests (through REQ-WA103-QO11)
* rebuilt for Java 1.8 and cleaned up some of the logging and int compare tests
* Updated Dockerfile, generic.resoscript, and removed assertions from the runRESOScript action. Gradle should be used for assertion testing. See README.
2020-02-26 18:49:41 -08:00
Joshua Darnell b84d62620a Updating Dockerfile, generic.resoscript, and removing assertions from the runRESOScript action. Gradle should be used for assertion testing. See README 2020-02-26 18:38:50 -08:00
Joshua Darnell 8fb7fb06ed rebuilt for Java 1.8 and cleaned up some of the logging and int compare tests 2020-02-25 23:51:27 -08:00
Joshua Darnell e87d07fd65 Added Integer Comparison Tests (through REQ-WA103-QO11) 2020-02-25 23:16:56 -08:00
Joshua Darnell b7925137d9 Merge branch 'master' into automated-v1 2020-02-25 19:32:16 -08:00
Joshua Darnell cffb8bf9e2
Update README.md 2020-02-25 14:37:08 -08:00
Joshua Darnell fdf2839bd6
Update README.md
README - Modified paths for windows.
2020-02-25 14:19:17 -08:00
Joshua Darnell 157f78fec9
Update README.md 2020-02-25 14:14:06 -08:00
Joshua Darnell d5202cf3de updated resoscript variables and added further test support 2020-02-24 19:15:45 -08:00
Joshua Darnell 366cb07f8f adding support for arithmetic integer comparisons 2020-02-22 19:48:50 -08:00
Joshua Darnell dac00c6f6d Merge branch 'master' into automated-v1 2020-02-22 15:12:58 -08:00
Joshua Darnell b369a07859 Added support for asserting response codes, like 400s, for a specific OData version 2020-02-22 15:08:46 -08:00
Joshua Darnell 57016aec78 assert stepdef cleanup 2020-02-22 14:25:21 -08:00
Joshua Darnell f42526d821
Update README.md
Additional instructions for running automated test suite.
2020-02-22 13:58:55 -08:00
Joshua Darnell b877e98c35 Added additional test support methods for testing specific OData verisions, also reset for local state 2020-02-22 13:25:37 -08:00
Joshua Darnell f1b929833b Merge branch 'master' into automated-v1 2020-02-22 11:23:30 -08:00
Joshua Darnell faf9860fe9 Test REQ-WA103-QO1 working, added assert handling for cases with HTTP Client exceptions 2020-02-22 11:23:06 -08:00
Joshua Darnell bf450b137f
Update README.md 2020-02-21 02:03:08 -08:00
Joshua Darnell d7d078d264
Update README.md 2020-02-21 02:00:58 -08:00
Joshua Darnell 785c772297
Create .gitattributes 2020-02-21 01:20:34 -08:00
Joshua Darnell 900ea813db
Update README.md
Minor tweaks to README and added TOC.
2020-02-21 00:45:56 -08:00
Joshua Darnell 66f897c6d4
Update README.md
Fixed CodeFactor badge.
2020-02-20 23:35:00 -08:00
Joshua Darnell be1195f7e6
Update README.md
Added basic instructions on how to use Automated testing. See section entitled "Automated Web API Testing (beta)". cc: @dgmyrek
2020-02-20 23:32:54 -08:00
Joshua Darnell e516ed4604
Updating CodeFactor link 2020-02-19 00:17:43 -08:00
Joshua Darnell 9f7809906e
Automated-v0 (#23)
* Support added for RESOScript files
* Reading and executing RESOScript files with automated testing works
* Refactored XML/Edm Metadata parsing
* Gradlezied automated testing
* Updated generic.resoscript template
* Updated Docs.
* Added XML validation prior to Metadata validation
* Added backwards compatibility support with older versions of gradle
* Extended builder refactoring
* Renamed Main to App and moved output directories to current working directory
* Updated generic.resoscript, added primitive Assert handling, removed /out and checked in /build in keeping with Gradle's default
* Stats generation and recursive parameter resolution, plus new reference generic.resoscript.
* Added Stats, Metallic Levels Report, Capabilities Report, and changes to generic.resoscript
* Refactored RequestStatus into Request, and added more enhanced statistics
* Refactored metadata report generator and added CertificationReport.txt, including metadata report
* Added Cucumber scripts for testing
* Gradle working from command line with pathToRESOScript variable
* HTML Reporting working
* New commander build
* Fixed some minor bugs with --runRESOScript
* Upgraded dependencies and got tests through DataSystem working
* Refactored step defs and features, hopefully better flow
* Metadata through $skip tests working
2020-02-18 23:43:55 -08:00
Joshua Darnell 115ae121d9
Dockerize (#22)
This change adds a `Dockerfile` which uses multi-stage build directives
to build a minimal image of the `web-api-commander` jar file.

This will allow for easily reproducible builds across development
environments.

The docker image artifact can also be used in environments where it is not
convenient to install Java such as a shared Jenkins environment.

* Update README.md

Co-authored-by: Alexander Paz <alexjpaz@users.noreply.github.com>
2020-02-12 10:24:02 -08:00
Joshua Darnell f311dd2ba4
Resoscript-v0 (#17)
Release Notes:
* support added for RESOScript files
* tidied up output
* refactored XML/Edm Metadata parsing
* gradleized and upgraded to log4j2
* added generic.resoscript template
* added support for log4j1 and specifying java version
* added docs
* added XML validation prior to Metadata validation
* backwards compatibiliy with older versions of gradle
* extended builder refactoring
* renamed Main to App and moving output directories to current working directory
* updated generic.resoscript, added primitive Assert handling, removed /out and checked in /build in keeping with Gradle's default
* stats generation and recursive parameter resolution, plus new reference generic.resoscript
* dockerized (thanks @alexjpaz)
* Adding Stats, Metallic Levels Report, Capabilities Report, and changes to generic.resoscript
* refactored RequestStatus into Request, and added more enhanced statistics
* minor fixes from codefactor check
* refactored metadata report generator and added CertificationReport.txt, including metadata report
* Remove a space in generic.resoscript

Co-authored-by: Alexander Paz <alexjpaz@users.noreply.github.com>
2020-02-11 19:00:05 -08:00
Joshua Darnell a33d3e6c39
Create LICENSE (#13) 2019-09-05 19:33:22 -07:00
Joshua Darnell 2b79c7809a Generating DEBUG build in /out 2019-08-21 10:04:58 -07:00
Joshua Darnell 78e23b04b1 generated new build 2019-05-03 16:40:55 -06:00
Joshua Darnell 486cf4e65d Uri parser fixes (#2)
* auth improvements WIP
* fixing strange URL errors (a bit hackishly)
* changing Actions to use URIs rather than Entity Names and Service Roots. Also cleaned up README.
* cleaning up imports and reformatting code

Improved transfer workflow and command line options (#6)

* Improved transfer workflow and command line options
* fixed command line issues and URI parsing
* Updated README

Update README.md
Removed metadata
2019-05-03 16:32:14 -06:00
Joshua Darnell d1a804fa91 initial check-in of prototype
* working API commander
* adding XSLT for EDMX -> OAI
* moved sample metadata files to their own directory.
* improvements to readability and handling
* working serializer
* build producing working JAR in /out/artifacts/...
* added saveRawGetRequest and fixed readEntities
* added support for filter expressions in readEntities, which was also re-written
* adding more correct command line handling
* adding README and ready for PR
* added further exception handling to validateMetadata
2019-03-31 22:26:58 -07:00