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

added trait example of services #3159

Merged
merged 4 commits into from
Apr 18, 2022
Merged

Conversation

Gre8t
Copy link
Contributor

@Gre8t Gre8t commented Apr 2, 2022

This is a fix for issue #3147. It's an example of activating traits (services).

Release Note

NONE

@Gre8t
Copy link
Contributor Author

Gre8t commented Apr 2, 2022

@astefanutti

@Gre8t Gre8t changed the title added trait example for services added trait example of services Apr 2, 2022
@Gre8t
Copy link
Contributor Author

Gre8t commented Apr 2, 2022

I want to add this example to the docs-module-service folder.

examples/traits/service/service.java Outdated Show resolved Hide resolved
examples/traits/service/service.java Outdated Show resolved Hide resolved
Copy link
Contributor

@squakez squakez left a comment

Choose a reason for hiding this comment

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

We need something a bit more devised than that. Something I suggest is to look at the node-port feature, and create an example with that feature enabled compared to the default ClusterIp mode.

@Gre8t
Copy link
Contributor Author

Gre8t commented Apr 5, 2022

@squakez

Copy link
Contributor

@squakez squakez left a comment

Choose a reason for hiding this comment

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

Thanks, I think it is going in the right direction. What we miss now is some further step to explain how to call that service. Ie, you can think another route calling it. We need also to provide some readme.md to provide the step by step procedure to run the example.

examples/traits/service/service.java Outdated Show resolved Hide resolved
@Gre8t Gre8t requested a review from tadayosi April 6, 2022 18:48
@Gre8t
Copy link
Contributor Author

Gre8t commented Apr 7, 2022

@squakez

@Gre8t
Copy link
Contributor Author

Gre8t commented Apr 9, 2022

can you make a review @astefanutti

@Gre8t Gre8t requested a review from squakez April 9, 2022 15:04
examples/traits/service/RestDSL2.java Outdated Show resolved Hide resolved
@Gre8t
Copy link
Contributor Author

Gre8t commented Apr 17, 2022

@squakez please review

@Gre8t Gre8t requested a review from tadayosi April 17, 2022 13:16
@squakez squakez merged commit dbe426a into apache:main Apr 18, 2022
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

3 participants