Skip to content

Commit

Permalink
add bootstrap prop for hybrid
Browse files Browse the repository at this point in the history
  • Loading branch information
CaroMac committed May 8, 2024
1 parent f70a0e6 commit 69e9647
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/markdown-pages/docs/writing-own-tests/running-test-modes.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ When you run a test locally, but using shared configuration, the Galasa bootstra

![running in local mode with shared configuration:](hybridrunmode.svg)

To run tests in hybrid mode, add the following properties into your local `bootstrap.properties` file:

```
framework.config.store=galasacps://my.ecosystem.url/api
framework.extra.bundles=dev.galasa.cps.rest
```

where: <br>
- `galasacps://my.ecosystem.url/api` tells Galasa that `https://my.ecosystem.url/api` is the location of the Ecosystem REST API and <br>
- `framework.extra.bundles` indicates that the Galasa framework should load the `dev.galasa.cps.rest` extension. This extension tells the Galasa framework how to handle URLs that start with `galasacps` as the *scheme* part of the URL. <br>


After configuring authentication, you can run a test in hybrid mode by setting your bootstrap to refer to the Ecosystem in which the shared configuration is stored, and using the `runs submit local` <a href="https://github.com/galasa-dev/cli/blob/main/docs/generated/galasactl_runs_submit_local.md" target="_blank"> Galasa CLI</a> command.

### <a name="whenremote"></a>When to run a test in the Galasa Ecosystem
Expand Down

0 comments on commit 69e9647

Please sign in to comment.