Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-232

JobScheduler URL mapping for the JOC web services

    XMLWordPrintable

Details

    Description

      Current Situation

      • In almost all cases a JobScheduler Master has a URL in the form http(s)://[jobSchedulerHost]:[jobSchedulerHTTP(S)Port].
      • JOC Cockpit web services know this URL because the JobScheduler Master stores this information to the Reporting Database.
      • If the JobScheduler Master is running in a docker container or behind a reverse proxy then the URL can be different and the JobScheduler Master cannot know by which URL it is accessible.
        In this case the JOC Cockpit web services use a non-working URL for requests to the JobScheduler Master and a URL mapping is required.

      Desired Behavior

      • A URL mapping is introduced for JOC's web services with the configuration file
        ./jetty_base/resources/joc/joc.configuration.properties.
        • This file is not created by the installer as it is exclusively required to specify optional configuration items.
        • A sample file joc.configuration.properties-example is available that you can rename as a starting point for your version of the file.
      • A setting in this property file has the form
        jobscheduler_url_myJobSchedulerHost1_myJobschedulerHTTPPort1 = url1
        jobscheduler_url_myJobSchedulerHost2_myJobschedulerHTTPPort2 = url2
        
      • all entries have a prefix jobscheduler_url_
      • Please note that the key has to be in lowercase and contains always the HTTP port even if the URL uses the HTTPS protocol
      • Each mapping is added to a new line.

      Attachments

        Activity

          People

            oh Oliver Haufe
            oh Oliver Haufe
            Santiago Aucejo Petzoldt Santiago Aucejo Petzoldt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified