-
Notifications
You must be signed in to change notification settings - Fork 24
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
Remove lightblue-rest-integration-test as a dependency for lightblue-client #267
Comments
lightblue-rest is a dependency because it's used in integration testing (lightblue-client-integration-test). lightblue-client-integration-test used to be standalone, but at some point it was added to the client. |
And lightblue-core-hystrix dependency is used because client uses hystrix. Since we're considering to drop hystrix altogether, we can start by removing it from the client. |
@dcrissman, fyi. |
com.redhat.lightblue.rest:lightblue-rest-integration-test makes LightblueClientTestHarness possible lightblue-client-integration-test was added to the lightblue-client because it makes sense that the client would include tools for testing using the client. As for hystrix, I have no objections to it being removed if we are removing hystrix anyway. |
Re lightblue-client-integration-test, I'd recommend breaking into a Hystrix we had talked about breaking out. Thought we were considering On Wed, Mar 2, 2016 at 5:30 PM, Dennis Crissman [email protected]
|
This change would also force us to move integration testing, or testing in the client that is based on the LightblueClientTestHarness, to this external project also. What dependency hell were you running into? I assume you wanted to release an application using the new version of the client without releasing the rest layer, but I think that is somewhat problematic as well as it assumes there were no breaking changes in the rest layer. |
Wanted to release the client without releasing core and rest. There isn't On Wed, Mar 16, 2016 at 11:04 AM, Dennis Crissman [email protected]
|
In order to remove hystrix from lightblue-client, we would need to extract lightblue-core-hystrix into it's own library also. I am moving the hystrix element of this ticket to #273. Another issue is that now we have removed jdk7 from core/mongo/rest and started using jdk8, the jdk7 build we had talked about continuing to support for the client is failing. |
https://github.com/lightblue-platform/lightblue-test-utils was the former project name. I am thinking of re-using this repo, but I might rename it to lightblue-client-test. Objections? Suggestions? |
Splitting the module will not fully solve the jdk7/8 problem. Any application running jdk7 and using the client-test module will be locked in at the last version built as only jdk8 builds can be made moving forward as it will depend on lightblue-rest. |
The lightblue-rest dependency needs to be broken out and support 1.7 and On Thu, Mar 17, 2016 at 3:57 PM, Dennis Crissman [email protected]
|
That is a path we probably don't want to go down. As lightblue-rest-integration-test depends on lightblue-mongo-integration-test which depends on lightblue-core-integration-test which depends on LightblueFactory which puts us back to supporting both 7 and 8. |
Then how is this going to be done? Don't the tests in client depend on On Thu, Mar 17, 2016 at 4:46 PM, Dennis Crissman [email protected]
|
Not all the tests in lightblue-client, just the integration tests that are located at https://github.com/lightblue-platform/lightblue-client/tree/master/lightblue-client-integration-test/src/test/java/com/redhat/lightblue/client/integration/test Tests in lightblue-client-core/http/hystrix do not have this dependency. It will be awkward to have integration tests that live elsewhere, but if we want lightblue-client to support both jdk versions, then I don't see a way around it. |
Discussion got cross-pollinated with #277 |
Core dependency removed with #277 |
This is leading to dependency hell for releases. Client shouldn't require either of these! We're looking at releasing only 4.0.0 now and it is dependent on changes in rest at least...
The text was updated successfully, but these errors were encountered: