Configure sql-interface client in our MMS AdminAPI

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • N/A
    • Affects Version/s: None
    • Component/s: Atlas SQL Interface
    • Atlas SQL
    • Not Needed

      Need to double-check but currently my guess of what we need to do is:

      • Our system must list mms-api-meshonly as its consumer.
      • Have the gRPC client extend AbstractGrpcClient with DualAuthHeaderCallCredentials (apparently important)
      •  Add client. {service-name}.grpc.address per environment to the monolith conf files (like server/conf/conf-local.properties for example)
      • Bind the client as @Singleton, inject and call from the Admin API endpoint (like the MeterAdminClient is doing)

      There might be a few more things to configure.
      Check the existing code base and reach out to our CNCP champion as you start working on this ticket.

            Assignee:
            Oliver Bucaojit
            Reporter:
            Natacha Bagnard
            Ethan Hardy, Jamel Charouel, Jonathan Powell, Natacha Bagnard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: