-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
and prepare for being disabled by default (most view tests assume basic auth currently) introduce AggregatorBackendConfig for reuse between real config and test-specific config
- Loading branch information
Showing
7 changed files
with
80 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,9 @@ | ||
from openeo_driver.config import OpenEoBackendConfig | ||
from openeo_driver.server import build_backend_deploy_metadata | ||
from openeo_aggregator.config import AggregatorBackendConfig | ||
|
||
import openeo_aggregator | ||
|
||
deploy_metadata = build_backend_deploy_metadata( | ||
packages=["openeo", "openeo_driver", "openeo_aggregator"], | ||
) | ||
|
||
# TODO #112 Merge with `AggregatorConfig` | ||
config = OpenEoBackendConfig( | ||
config = AggregatorBackendConfig( | ||
# TODO: eliminate hardcoded openEO Platform references. | ||
id="aggregator", | ||
capabilities_title="openEO Platform", | ||
capabilities_description="openEO Platform, provided through openEO Aggregator Driver", | ||
capabilities_backend_version=openeo_aggregator.about.__version__, | ||
capabilities_deploy_metadata=deploy_metadata, | ||
enable_basic_auth=False, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from openeo_aggregator.config import AggregatorBackendConfig | ||
|
||
config = AggregatorBackendConfig( | ||
id="aggregator-dummy", | ||
capabilities_title="openEO Aggregator Test Dummy", | ||
capabilities_description="openEO Aggregator Test Dummy", | ||
enable_basic_auth=True, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters