Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-3531

okio needs to be upgraded for azure provisioner

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.5.54
    • 2.5.52
    • None
    • None

    Description

      We'd like to get some form of it set up as soon as we can (even if implemented in a way that will need to change using the new framework), as our other process for getting users the access they need via Azure groups takes longer than we would like.
      I have the loader/changelog consumer properties set up, but when I try to test the connection in gsh (by calling "new GraphApiClient(config.propertyValueStringRequired(propname), ...)"), I get the error "java.lang.NoClassDefFoundError: Could not initialize class okhttp3.OkHttpClient". If I try to evaluate the class in gsh, I get an error:
      groovy:000> okhttp3.OkHttpClient.class
      ERROR java.lang.NoClassDefFoundError:
      okio/Options
      at okhttp3.internal.Util.<clinit> (Util.java:73)
      at okhttp3.OkHttpClient.<clinit> (OkHttpClient.java:124)
      I found if I replaced the okio-1.3.0.jar with okio-1.17.5.jar, it works, and I can instantiate a GraphApiClient, get a token and make queries using its methods.

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Chad Redman (unc.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: