Uploaded image for project: 'mod-aes'
  1. mod-aes
  2. MODAES-6

Upgrade mod-aes to the latest Vert.x

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: TBD
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.0.2
    • Labels:
      None
    • Template:

      Description

      The current release of mod-aes is using Vert.x 3.5.4. There have been many improvements in Vert.x since that release and several around the Kafka client, including fixing at least one security vulnerability.

      We should update Vert.x, which will require code changes as well as features we use are now deprecated.

      As part of this refactor, we should also switch to Log4j2 and away from the soon to be internal only Vert.x logging framework. This way we can take advantage of the garbage free logger as well as being able to isolate potentially costly logging code, like this, into a lambda.

      This:

          JsonObject data = collectData(ctx);
          String msg = data.encodePrettily();
          logger.trace(msg);
      

      becomes something like:

          JsonObject data = collectData(ctx);
          logger.trace(() -> data.encodePrettily());
      

        TestRail: Results

          Attachments

            Activity

              People

              Assignee:
              mreno Mathew Reno
              Reporter:
              mreno Mathew Reno
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  TestRail: Runs

                    TestRail: Cases