galasa-dev / projectmanagement

Project Management repo for Issues and ZenHub
7 stars 3 forks source link

/bootstrap URL to return configuration to support remote CPS access #1841

Open techcobweb opened 2 months ago

techcobweb commented 2 months ago

Story

As a tester using galasa, I want to point my GALASA_BOOTSTRAP environment variable at an ecosystem, and have the ability to run a local test which uses the CPS store from the remote ecosystem, as it's simpler than setting 2 magical parameters into my local bootstrap.properties file and referring to that.

Background

To get the remote CPS used by the local ecosystem, you currently set these properties into your local bootstrap.properties file:

#Galasa Bootstrap Properties
#Fri Apr 05 09:13:36 UTC 2024
framework.config.store=galasacps://my.ecosystem.url/api
framework.extra.bundles=dev.galasa.cps.rest

The /bootstrap URL of any ecosystem doesn't currently return any properties.

We want it to return those properties, so that the only thing you need to do to run a local test is set the GALASA_BOOTSTRAP environment variable to refer to your local ecosysyem, and set GALASA_TOKEN properly, then you can get this hybrid behaviour with less configuration.

This work is related to #1813

Tasks