mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2025-09-10 02:39:45 +02:00
Restructure external-sop tests into flexible test suite
This commit is contained in:
parent
0c8f6baf98
commit
0b96a5314f
15 changed files with 398 additions and 539 deletions
|
@ -2,5 +2,4 @@
|
|||
#
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
backend.local.properties
|
||||
backend.env
|
||||
config.json
|
|
@ -1,7 +0,0 @@
|
|||
# SPDX-FileCopyrightText: 2023 Paul Schaub <info@pgpainless.org>
|
||||
#
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
## Do not change this file. To overwrite the SOP backend used during testing,
|
||||
## simply create a file 'backend.local.properties' in this directory and override sop.backend in there.
|
||||
sop.backend=/path/to/backend
|
17
external-sop/src/main/resources/sop/external/config.json.example
vendored
Normal file
17
external-sop/src/main/resources/sop/external/config.json.example
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"backends": [
|
||||
{
|
||||
"name": "Example-SOP",
|
||||
"sop": "/usr/bin/example-sop"
|
||||
},
|
||||
{
|
||||
"name": "Awesome-SOP",
|
||||
"sop": "/usr/local/bin/awesome-sop",
|
||||
"env": [
|
||||
{
|
||||
"key": "myEnvironmentVariable", "value": "FooBar"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue