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

Prefix function names with spring- #15

Merged

Conversation

onobc
Copy link
Collaborator

@onobc onobc commented Dec 27, 2023

This commit adds a prefix of spring- to the name of each submodule in the common, consumer, and function groups.

Resolves #9

ℹ️ @artembilan a couple of points...

ONE: I did not actually rename the folders of the sub-modules as that leads to bit lengthy, repetitive name. However, I am not strongly opposed to doing that if you think it would be better to keep the folder name in sync w/ the artifiactId.

TWO: Should we also rename the bean function names (eg. aggregatorFunction -> springAggregratorFunction)? Even though this will be a major release, by the principal of "Upgrade Empathy" maybe we should leave the function names as-is?

TODO

  • Update docs/readme accordingly

@onobc onobc requested a review from artembilan December 27, 2023 17:59
@onobc onobc added the theme: build An issue relating to our own build label Dec 27, 2023
@onobc onobc added this to the 5.0.0-M1 milestone Dec 27, 2023
@onobc onobc marked this pull request as draft December 27, 2023 18:08
settings.gradle Outdated Show resolved Hide resolved
@artembilan
Copy link
Member

Yes, I prefer to have dirs renamed: much easier to comprehend . And no, I don’t see reasons in renaming beans : doesn’t look like Spring Boot has that habit for auto-configured beans.

thanks

P.S. not sure then what you talk about docs changes…

This commit renames each submodule in the common, consumer, function
and supplier groups with a prefix of `spring-`.
@onobc onobc force-pushed the GH-9-prefix-function-artifacts-with-spring branch from 91c6835 to 8835071 Compare December 28, 2023 04:19
@onobc
Copy link
Collaborator Author

onobc commented Dec 28, 2023

P.S. not sure then what you talk about docs changes…

This is minimal now (see 2nd commit). However, If we would have renamed the function bean names then this would have been a bigger change as each README lists the bean name to use to get the function injected.

@onobc onobc marked this pull request as ready for review December 28, 2023 04:39
@onobc onobc removed the theme: build An issue relating to our own build label Dec 30, 2023
@onobc onobc requested a review from artembilan December 30, 2023 02:58
@artembilan artembilan added type: enhancement A general enhancement and removed type: enhancement A general enhancement labels Jan 2, 2024
@artembilan artembilan removed this from the 5.0.0-M1 milestone Jan 2, 2024
@artembilan artembilan merged commit 84e732d into spring-cloud:main Jan 2, 2024
3 checks passed
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.

Rename all function artifacts w/ a "spring-" prefix
2 participants