Class GitLabOutboundClient

java.lang.Object
io.agentscope.extensions.channel.gitlab.GitLabOutboundClient

public final class GitLabOutboundClient extends Object
GitLab outbound HTTP client. Posts a note via POST /api/v4/projects/{id}/{issues|merge_requests}/{iid}/notes where id is the URL-encoded path_with_namespace.

OutboundAddress.to() format: "<channelId>:thread:<path_with_namespace>#<iid>:<Issue|MergeRequest>".

  • Constructor Details

    • GitLabOutboundClient

      public GitLabOutboundClient(String apiBase, String token)
  • Method Details

    • send

      public reactor.core.publisher.Mono<Void> send(io.agentscope.harness.agent.gateway.channel.OutboundAddress address, List<io.agentscope.core.message.Msg> messages)
      Sends each message as a separate note on the resolved thread.