Skip to content
Snippets Groups Projects
Commit 003bab0e authored by Marc Burnie [AWS]'s avatar Marc Burnie [AWS]
Browse files

Merge branch 'aws_enableExtendedRange' into 'master'

Enable feature flag 'validation.spatial.longitude.enableExtendedRange' for AWS

See merge request !639
parents b79621be 75345bf6
No related branches found
No related tags found
1 merge request!639Enable feature flag 'validation.spatial.longitude.enableExtendedRange' for AWS
Pipeline #258257 failed
......@@ -150,7 +150,7 @@ You should see in the logs that pop up what url and port it runs on. By default
* Prior to running tests, scripts must be executed locally to generate pipeline env vars
```bash
testing/search-test-aws/build-aws/prepare-dist.sh
testing/integration-tests/search-test-aws/build-aws/prepare-dist.sh
#Set Neccessary ENV Vars here as defined in run-tests.sh
......
......@@ -68,7 +68,7 @@ service.policy.id=osdu.partition["%s"].search
policy.cache.timeout=${POLICY_CACHE_TIMEOUT}
PARTITION_API=${PARTITION_BASE_URL}/api/partition/v1
validation.spatial.longitude.enableExtendedRange=true
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration
......
......@@ -134,9 +134,9 @@ Feature: Search with different queries
Examples:
| kind | query | field | latitude | longitude | distance | response_code | reponse_type | response_message | errors |
| "tenant1:search<timestamp>:*:*" | "OFFICE - 2" | "data.Location" | -45 | -200 | 1000 | 400 | "Bad Request" | "Invalid parameters were given on search request" | "'longitude' value is out of the range [-180, 180]" |
| "tenant1:search<timestamp>:*:*" | "OFFICE - 2" | "data.Location" | -45 | -400 | 1000 | 400 | "Bad Request" | "Invalid parameters were given on search request" | "'longitude' value is out of the range [-360, 360]" |
| "tenant1:search<timestamp>:*:*" | "TEXAS OR USA" | "data.Location" | -95 | -100 | 1000 | 400 | "Bad Request" | "Invalid parameters were given on search request" | "'latitude' value is out of the range [-90, 90]" |
| "tenant1:search<timestamp>:*:*" | "Harris" | "ZipCode" | -45 | -200 | 1000 | 400 | "Bad Request" | "Invalid parameters were given on search request" | "'longitude' value is out of the range [-180, 180]" |
| "tenant1:search<timestamp>:*:*" | "Harris" | "ZipCode" | -45 | -400 | 1000 | 400 | "Bad Request" | "Invalid parameters were given on search request" | "'longitude' value is out of the range [-360, 360]" |
| "tenant1:search<timestamp>:*:*" | "Harris" | "ZipCode" | 4 | 2 | 0 | 400 | "Bad Request" | "Invalid parameters were given on search request" | "'distance' must be greater than 0" |
Scenario Outline: Search data across the kinds
......@@ -275,7 +275,7 @@ Feature: Search with different queries
And I set autocomplete phrase to <autocomplete_phrase>
And I send request to tenant <tenant>
Then I should get in response <count> records with <returned_fields>
And I should get following autocomplete suggesstions <suggestions>
And I should get following autocomplete suggestions <suggestions>
Examples:
| tenant | kind | query | limit | offset | returned_fields | count | autocomplete_phrase | suggestions |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment