Commit Graph

31 Commits

Author SHA1 Message Date
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