SpectoLabs / hoverfly-java

Java binding for Hoverfly
Apache License 2.0
168 stars 58 forks source link

Increase visibility of HoverflyExtension#getPath #218

Closed marcrohlfs closed 5 years ago

marcrohlfs commented 5 years ago

Increasing the visibility to protected allows to override it for customizations.

I need two suites to simulate calls to two two different major versions of a software - where paths and contents may differ quite much. To achieve this, I'd like to extend the HoverflyExtension and overwrite the getPath method and prepend the path with a folder for each suite, e.g. controlled by a system property.

I'll provide a test for this in a subsequent PR (after may holidays ;) ), but would like get the increased visibility in the next release by chance. Time's running out today to provide a well-implemented test...

Many thanks in advance!

tommysitu commented 5 years ago

Will do a release by the end of the week.

tommysitu commented 5 years ago

It's released in v0.12.2

marcrohlfs commented 5 years ago

Great, many thanks!