Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-3503

Document the setting of the CORS allow_origin property

    Details

    • Type: Story
    • Status: Done
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.3 M1
    • Component/s: REST
    • Labels:
      None

      Description

      We do set a default value in: xd/lib/spring-xd-dirt-1.2.1.RELEASE.jar/application.yml

      ...
      xd:
        data:
          home: file:${XD_HOME}/data
        config:
          home: file:${XD_HOME}/config
        module:
          home: file:${XD_HOME}/modules
        customModule:
          home: file:${XD_HOME}/custom-modules
        ui:
          home: file:${XD_HOME}/spring-xd-ui/dist/
          allow_origin: http://localhost:9889
      ...
      

      We need to document how this property can be used to allow for external services to use the XD Rest API and how you can customize it using *servers.yml*

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hillert Gunnar Hillert
                Reporter:
                hillert Gunnar Hillert
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: