DImuthuUpe opened a new issue, #490:
URL: https://github.com/apache/airavata-custos/issues/490

   Given now there are several connectors for Custos, it is better to have 
every configuration for connectors aggregated into one config file. Here is the 
proposed template to capture all configurations. 
   
   ```
   core:
     database:
       url: 
"postgresql://custos_user:password@localhost:5432/custos_db?sslmode=disable"
     api:
       port: 8080
     log_level: "info"
   
   connectors:
     slurm-mapper:
       type: "slurm-association-mapper"
       enabled: true
       slurm_api:
         url: "https://slurm-api.example.com";
         version: "0.0.38"
         username: "slurm_admin"
         token: "${SLURM_TOKEN}" # Reference to environment variable
   
     slurm-usage-monitor:
       type: "slurm-usage-monitor"
       enabled: true
       slurm_api:
         url: "https://slurm-api.example.com";
         version: "0.0.38"
         username: "slurm_admin"
         token: "${SLURM_TOKEN}" # Reference to environment variable
       cluster_id: "slurm-cluster"
   
     comanage-provisioner:
       type: "comanage-identity-provisioner"
       enabled: true
       registry:
         url: "https://comanage.example.org";
         co_id: 1
         api_user: "comanage_api_user"
         api_key: "${COMANAGE_API_KEY}" # Reference to environment variable
       unix_cluster:
         id: 10
         person_id_type: "eppn" # Educational Person Principal Name
       provisioning:
         custos_cluster_id: "cluster-001"
         default_shell: "/bin/bash"
         homedir_prefix: "/home/"
         http_timeout: "30s"
   
     amie-processor:
       type: "amie-processor"
       enabled: true
       credentials:
         base_url: "https://amie.xsede.org";
         site_code: "XSEDE"
         api_key: "${AMIE_API_KEY}" # Reference to environment variable
       cluster:
         id: "cluster-001" # Must match a cluster registered in Custos
       polling:
         poll_interval: "30s"
         worker_interval: "5s"
         poller_enabled: true
       timeouts:
         connect_timeout: "5s"
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to