Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9149

Future proof the Salesforce LoginToken class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.12.0
    • 2.16.0
    • None
    • None
    • Unknown

    Description

      Salesforce patch their instances once every quarter. So there's a good chance they might introduce a new JSON field in their OAuth response which might cause the login component to fall over.
      We can avoid that by adding a class level annotation which can suppress any failures that are caused due to 'new or unknown' fields.
      There's a pull request which fixes this along with a test case.
      https://github.com/apache/camel/pull/617

      Attachments

        Activity

          People

            Unassigned Unassigned
            devendra0008@yahoo.com Devendra Khanolkar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: