Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make AccuREST tasks cacheable #296

Merged
merged 15 commits into from
Jul 13, 2017
Merged

Make AccuREST tasks cacheable #296

merged 15 commits into from
Jul 13, 2017

Conversation

szpak
Copy link
Member

@szpak szpak commented Jul 13, 2017

AccuREST tasks are cacheable. To do that a hack to provide distinct configuration with not overlapping outputs has to be used.

To be able to use @CacheableTask annotation project had to be upgraded to Gradle 3 which in turn requires newer Spring Boot (which was painful...).

@szpak szpak changed the title Make AccuREST cacheable Make AccuREST tasks cacheable Jul 13, 2017
Copy link
Member

@OlgaMaciaszek OlgaMaciaszek left a comment

Choose a reason for hiding this comment

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

+1

@@ -183,6 +183,7 @@ class WireMockGroovyDslSpec extends Specification implements WireMockStubVerifie
when:
String wireMockStub = new WireMockStubStrategy("Test", new Contract(null, false, 0, null), groovyDsl).toWireMockClientStub()
then:
//TODO: That assertion fails on some environments due to 2 ways how body array is created - with 'created' at the beginning or 'id'
Copy link
Member

Choose a reason for hiding this comment

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

Maybe instead of adding a comment this assertion could be modified to compare the jsons wtih problematic elements removed on both sides?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, but not in 1.1.1 :)

Copy link
Member Author

@szpak szpak Jul 13, 2017

Choose a reason for hiding this comment

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

This project is no longer actively maintained :(

testCompile("com.github.tomakehurst:wiremock:$wiremockVersion") {
exclude group: 'org.eclipse.jetty'
}

Copy link
Member

Choose a reason for hiding this comment

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

Maybe remove unnecessary spacing?

Copy link
Member Author

Choose a reason for hiding this comment

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

What do you exactly mean? :)

Copy link
Member

Choose a reason for hiding this comment

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

Sorry. I meant the additional unnecessary line.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@szpak szpak merged commit df81fa9 into accurest-1.1.0-branch Jul 13, 2017
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.

2 participants