Skip to content

Conversation

zomboc0m
Copy link
Contributor

…ter, updated tests, and brought dependencies to more recent versions where applicable

Fixes #10

Changes fall into 3 categories:

  1. Fixing the macros. Scala 2.12 made a change to the syntax tree that broke the aws2scala macros for AWSFlow and AWSFlowAdapter. These classes have been changed to be constructed from a typeclass based approach, where the Flows are constructed from typeclasses that provide the necessary paging functionality (more specifically, they verify that the java class has one of several differently named methods for setting or retrieving the token, where each differently named method has a typeclass), and the macros have been moved to the typeclass definitions, which satisfies the compiler.

  2. Scalatest has been upgraded to a new major version (version 2.x is not supported in scala 2.12), which required a few modifications to the tests. Most notably, some bounds checking had to be added to invocations of Gen.choose. The tests all still function similarly and all pass.

  3. Other dependencies have been updated to 2.12 compatible versions, which resulted in some deprecated code that has been modified as per the recommendations of the library authors. Almost all of this was in the test libraries due to scalatest and scalacheck updates.

…ter, updated tests, and brought dependencies to more recent versions where applicable

all libs compile, all unit tests passing

all integration tests passing

general cleanup of unused and deprecated code
@zomboc0m zomboc0m self-assigned this Oct 27, 2017
@zomboc0m zomboc0m requested a review from bkrodgers October 27, 2017 17:33
@coveralls
Copy link

Coverage Status

Coverage increased (+0.6%) to 97.637% when pulling d4f7101 on zomboc0m:upgrade212 into 0bcb694 on MonsantoCo:master.

@hayd
Copy link

hayd commented May 29, 2018

@bkrodgers any chance you could review this? 2.12 support would be great.

Copy link
Contributor

@bkrodgers bkrodgers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bkrodgers bkrodgers merged commit fe396f8 into Bayer-Group:master Jun 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants