Skip to content

microservices-annotator.toml support #1

@linux-china

Description

@linux-china

Lots of Java developer likes to use interface to proxy remote request, for example:

interface UserService {
    User findUserById(Integer id);
}

UserService interface will be proxied to remote call, and it should be marked as REQUEST, STREAMING or other types.

Is it possible to load microservices-annotator.toml from project root directory and annotate these API call?

[[STREAMING]]
name = "RSocket Stream"
methods = ["io.rsocket.RSocket.requestStream"]

[[REQUEST]]
name = "RSocket"
classes = ["io.rsocket.RSocket", "org.springframework.messaging.rsocket.RSocketRequester"]

If possible, could the plugin try to find META-INF/microservices-annotator.toml in the jars?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions