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

Remove 'vertx', 'quarkus' from module/image names #3092

Closed
calohmn opened this issue Feb 18, 2022 · 13 comments
Closed

Remove 'vertx', 'quarkus' from module/image names #3092

calohmn opened this issue Feb 18, 2022 · 13 comments
Milestone

Comments

@calohmn
Copy link
Contributor

calohmn commented Feb 18, 2022

With spring boot variants removed (#3090) the adapter maven module and image names can be shortened. I guess the "vertx" part can be removed as well.
E.g. renaming hono-adapter-amqp-vertx-quarkus to hono-adapter-amqp.

@calohmn calohmn added this to the 2.0.0 milestone Feb 18, 2022
@sophokles73
Copy link
Contributor

If we want to rename the images then I would suggest to indeed also drop the -vertx suffix and use a completely new set of Docker Hub repositories. Otherwise we would start pushing Quarkus based images into the (original) Spring Boot based image repositories, e.g. renaming the hono-adapter-mqtt-vertx-quarkus image to hono-adapter-mqtt-vertx, we would push this image to the Docker repository that we used for the Spring Boot based variant. I would rather not do that as it might be very difficult later on to tell, which image is based on what dev framework/source code.

@sophokles73
Copy link
Contributor

So, the adapter image names then are:

  • hono-adapter-amqp
  • hono-adapter-amqp-native
  • hono-adapter-coap
  • hono-adapter-coap-native
  • hono-adapter-http
  • hono-adapter-http-native
  • hono-adapter-lora
  • hono-adapter-lora-native
  • hono-adapter-mqtt
  • hono-adapter-mqtt-native
  • hono-adapter-sigfox
  • hono-adapter-sigfox-native

while we basically keep the service image names:

  • hono-service-auth-quarkus
  • hono-service-auth-quarkus-native
  • hono-service-command-router-quarkus
  • hono-service-command-router-quarkus-native
  • hono-service-device-registry-jdbc-quarkus
  • hono-service-device-registry-jdbc-quarkus-native
  • hono-service-device-registry-mongodb-quarkus
  • hono-service-device-registry-mongodb-quarkus-native

Or am I mistaken? @calohmn

@calohmn
Copy link
Contributor Author

calohmn commented May 5, 2022

@sophokles73 Why wouldn't we remove the -quarkus part also from the service image names?

@sophokles73
Copy link
Contributor

sophokles73 commented May 5, 2022

well, for example the hono-service-auth image name has been used for the vert.xSpring Boot based image so far. I wanted to prevent confusion caused by using the same image name for two different types of images. Starting with 2.0.0 we would use the same name for the Quarkus based images which had been vert.xSpring Boot based before. On the other hand, that is probably only an issue for people trying to use the 2.0.0 chart with older Hono versions. WDYT?

@calohmn
Copy link
Contributor Author

calohmn commented May 6, 2022

Yes, I think it's about whether and how we support using the newest (2.0) Hono Helm chart with Hono 1.x images.

I think keeping support for Hono 1.x images would require keeping some 1.x-only logic in the Hono Helm chart, namely support for SpringBoot images and usage of the Jaeger agent sidecar container (instead of the OpenTelemetry Collector sidecar container for Hono 2.0).

On the other hand, users wanting to keep using Hono 1.x images could just stick to the current 1.x Helm chart version, using the honoImagesTag parameter to switch to newer 1.x image versions when new Hono 1.x patch versions get released.

In any case, changing the service image names here as well wouldn't matter much concerning the chart changes, I guess.

If we keep Hono 1.x image support, explicit 1.x related parameters (or 1.x-version parsing of the honoImagesTag) are needed anyway (e.g. concerning the tracing agent). So we could require setting the 1.x image names explicitly then as well (or set them internally according to the 1.x version detection).

@sophokles73
Copy link
Contributor

I think keeping support for Hono 1.x images would require keeping some 1.x-only logic in the Hono Helm chart,

I would rather get rid of all of the deprecated stuff and have a clean 2.0.0 based chart. As you pointed out, users who want to stick to Hono 1.x can still use the 1.x based chart. FMPOV we should strip out everything that is no longer supported in Hono 2.0.0 from the chart as well.

@sophokles73
Copy link
Contributor

I have created an issue with Eclipse Webmasters to create the corresponding repositories on Docker Hub.

calohmn added a commit to bosch-io/hono that referenced this issue May 19, 2022
Dropping the "-vertx-quarkus" suffix.

Signed-off-by: Carsten Lohmann <[email protected]>
calohmn added a commit to bosch-io/hono that referenced this issue May 19, 2022
Dropping the "-vertx-quarkus" suffix.

Signed-off-by: Carsten Lohmann <[email protected]>
@calohmn
Copy link
Contributor Author

calohmn commented May 19, 2022

I think the CLI module name and created jar could be renamed as well (from hono-cli-quarkus to hono-cli, as the old CLI).
We can add a note about the different versions on the Hono downloads page.

calohmn added a commit that referenced this issue May 19, 2022
Dropping the "-vertx-quarkus" suffix.

Signed-off-by: Carsten Lohmann <[email protected]>
calohmn added a commit to bosch-io/hono that referenced this issue May 19, 2022
Dropping the "-quarkus" suffix.

Signed-off-by: Carsten Lohmann <[email protected]>
calohmn added a commit that referenced this issue May 19, 2022
Dropping the "-quarkus" suffix.

Signed-off-by: Carsten Lohmann <[email protected]>
calohmn added a commit to bosch-io/hono that referenced this issue May 20, 2022
Dropping the "-vertx" suffix.

Signed-off-by: Carsten Lohmann <[email protected]>
calohmn added a commit to bosch-io/hono that referenced this issue May 20, 2022
Dropping the "-vertx" suffix.

Signed-off-by: Carsten Lohmann <[email protected]>
calohmn added a commit to bosch-io/hono that referenced this issue May 20, 2022
Dropping the "-quarkus" suffix.

Signed-off-by: Carsten Lohmann <[email protected]>
calohmn added a commit that referenced this issue May 20, 2022
Dropping the "-quarkus" suffix.

Signed-off-by: Carsten Lohmann <[email protected]>
calohmn added a commit that referenced this issue May 20, 2022
Dropping the "-vertx" suffix.

Signed-off-by: Carsten Lohmann <[email protected]>
calohmn added a commit that referenced this issue May 20, 2022
Signed-off-by: Carsten Lohmann <[email protected]>
@sophokles73
Copy link
Contributor

@calohmn anything else to be done here?

@calohmn
Copy link
Contributor Author

calohmn commented May 20, 2022

Should we keep the hono-adapters-quarkus and hono-services-quarkus Maven base modules?
I guess they could be integrated with the respective hono-adapters and hono-services modules. WDYT?

@sophokles73
Copy link
Contributor

IMHO we should keep them because they help us to apply the build-docker-image and build-native-image profiles to the service implementation modules only (and not to the base class modules).

@sophokles73
Copy link
Contributor

However, we could remove the -quarkus suffix from the module names ...

@calohmn
Copy link
Contributor Author

calohmn commented May 20, 2022

Naming is a bit tricky then, though. We currently have

  • hono-adapter-base in directory adapter-base containing adapter base classes
  • hono-adapters in directory adapters: container module for the adapter modules
  • hono-adapters-quarkus in directory adapters/base-quarkus, containing dependencies and build profiles, used as parent of the actual adapter modules.

Renaming hono-adapters-quarkus to hono-adapters-parent then?

calohmn added a commit to bosch-io/hono that referenced this issue May 20, 2022
calohmn added a commit that referenced this issue May 20, 2022
@calohmn calohmn closed this as completed May 20, 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

No branches or pull requests

2 participants