Uploaded image for project: 'Identity Gateway'
  1. Identity Gateway
  2. OPENIG-963

Add implicit imports in Groovy scripts

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sprint:
      OpenIG Sprint 80

      Description

      In order to write the Groovy script in a more concise and easy way, some imports should be added implicitly.

      Here are the most popular one that the user should not have to declare :

      • org.forgerock.http.Filter
      • org.forgerock.http.Handler
      • org.forgerock.http.protocol.Request
      • org.forgerock.http.protocol.Response
      • org.forgerock.http.protocol.Status
      • org.forgerock.util.AsyncFunction
      • org.forgerock.util.Function
      • org.forgerock.util.promise.NeverThrowsException
      • org.forgerock.util.promise.Promise
      • org.forgerock.services.context.Context

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                laurent.vaills Laurent Vaills
                Reporter:
                laurent.vaills Laurent Vaills
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: