Skip to content

Commit 92a3afa

Browse files
committed
[NRL-1658] Remove passthroughBehaviour from /metadata endpoint. Re-instate capability statement smoke tests
1 parent 5ed3882 commit 92a3afa

File tree

3 files changed

+0
-13
lines changed

3 files changed

+0
-13
lines changed

api/consumer/swagger.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,6 @@ paths:
404404
responseTemplates:
405405
# prettier-ignore
406406
application/json: '${capability_statement_json}'
407-
passthroughBehavior: when_no_match
408407

409408
/_status:
410409
get:

api/producer/swagger.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,6 @@ paths:
937937
responseTemplates:
938938
# prettier-ignore
939939
application/json: '${capability_statement_json}'
940-
passthroughBehavior: when_no_match
941940

942941
/_status:
943942
get:

tests/smoke/scenarios/api_capability_statement_lookup.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
1-
import os
2-
3-
import pytest
4-
51
from tests.utilities.api_clients import ConsumerTestClient, ProducerTestClient
62

73

8-
def is_public_url():
9-
return os.environ.get("TEST_CONNECT_MODE") == "public"
10-
11-
12-
@pytest.mark.skip(
13-
reason="Capability statements only work via APIGEE in persistent environments",
14-
)
154
def test_read_api_capability_statements(
165
consumer_client: ConsumerTestClient, producer_client: ProducerTestClient
176
):

0 commit comments

Comments
 (0)