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

[ADD] Add rest test #1324

Merged
merged 1 commit into from
Mar 11, 2020
Merged

[ADD] Add rest test #1324

merged 1 commit into from
Mar 11, 2020

Conversation

bouskaJ
Copy link
Contributor

@bouskaJ bouskaJ commented Mar 4, 2020

Add test for REST service. This test covers:

  • REST DSL route
  • dependency trait (see "run", "-n", ns, "files/RestConsumer.java", "-d", "camel:undertow
  • custom properties ("run", "-n", ns, "files/RestProducer.groovy", "-p", "serviceIp="+service().Spec.ClusterIP, "-p", "name="+name)
  • service trait
  • route trait

Copy link
Member

@nicolaferraro nicolaferraro left a comment

Choose a reason for hiding this comment

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

Awesome, just a minor question

e2e/rest_test.go Show resolved Hide resolved
e2e/rest_test.go Outdated Show resolved Hide resolved
@bouskaJ
Copy link
Contributor Author

bouskaJ commented Mar 10, 2020

@nicolaferraro It does not seem that CI failed because of my changes.

=== RUN   TestRunREST
Camel K installed in namespace test-ed54d5f2-cbe2-453f-998e-015f6bacd6c1 
integration "rest-consumer" created
=== RUN   TestRunREST/Service_works
integration "rest-producer" created
2 integration(s) deleted
--- PASS: TestRunREST (89.55s)
    --- PASS: TestRunREST/Service_works (42.78s)

Is there any way how to rerun the CI?

@nicolaferraro
Copy link
Member

I restarted them from the action panel

@nicolaferraro nicolaferraro merged commit d3b2f8c into apache:master Mar 11, 2020
@heiko-braun
Copy link

Thanks @bouskaJ !

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.

None yet

4 participants