citysciencelab / urban-model-platform

This repository contains a prototype for a urban model platform. It is written in Python and implements the OGC API Processes Standard as an execution management service.
GNU General Public License v3.0
8 stars 1 forks source link

Fix/authentification #13

Closed herzogrh closed 1 month ago

herzogrh commented 1 month ago

Bug #6 fixed and providers.yaml structure updated. It is now of this structure:

modelserver-1:
    url: "http://localhost:5005"
    name: "CSL Test Modelserver"
    authentication:
      type: "BasicAuth"
      user: "user"
      password: "password"
    timeout:  60
    processes:
      - process-1:
        - geoserver: True
      - process-2
        - exclude: True
StefanSchuhart commented 1 month ago

Hi Rico, das sieht gut aus. Nur eine Kleinigkeit: Ich habe in den changes noch nicht gesehen, dass FETCH_JOB_RESULT_INTERVAL verwendet wird. Habe ich das übersehen?

herzogrh commented 1 month ago

Hi Stefan, FETCH_JOB_RESULT_INTERVAL wird in die config.py geladen und dann in der process.py mit time.sleep(config.fetch_job_results_interval) aufgerufen, s. dieser commit: https://github.com/citysciencelab/urban-model-platform/pull/13/commits/bdb5d30b6a848b38f0a8590565b30441ebcf67d7