• Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Quarkus
    • None
    • False
    • False
    • Undefined

      We need a rule to replace the annotation on the service consumer class

      When critera: javaclass references="io.quarkus.grpc.runtime.annotations.GrpcService"
      location:annotation

      Category: mandatory
      SP: 1
      Title: The io.quarkus.grpc.runtime.annotations.GrpcService annotation was renamed to io.quarkus.grpc.GrpcClient
      Message: Furthermore, the @GrpcClient.value() is optional and the service name can be derived from the annotated element.
      Quarkus - Migration Guide 2.0

      -------------------------------------------------------------------------------------------------
      I think the second aspect to this is the implementation of the service

      Files with name
      src/main/proto/*.proto

      Category: potential
      SP:1
      Title: If a class implements a gPRC service then replace the annotation javax.inject.Singleton with io.quarkus.grpc.GrpcService
      Message: gRPC service classes now have to be annotated with @io.quarkus.grpc.GrpcService instead of @javax.inject.Singleton.
      Quarkus - Migration Guide 2.0

              Unassigned Unassigned
              pcattana Philip Cattanach
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: