Commit 382d81d1 authored by fabian serin's avatar fabian serin
Browse files

Removing alpha route

parent 76bbe825
Pipeline #58315 passed with stages
in 17 minutes and 41 seconds
......@@ -60,6 +60,7 @@ def update_query_with_names_based_search(names: str = None, user_query: str = No
def escape_forbidden_characters_for_search(input_str: str) -> str:
# Reserved character are listed here https://community.opengroup.org/osdu/documentation/-/blob/master/platform/tutorials/core-services/SearchService.md
# ? and * are allowed for wildcard search
reserved_char_list = ['+', '-', '=', '>', '<', '!', '(', ')', '{', '}', '[', ']', '^', '"', '~',
':', '\\', '/']
......
......@@ -200,8 +200,8 @@ for v3_api, tag in ddms_v3_routes_groups:
wdms_app.include_router(search.router, prefix='/ddms', tags=['search'], dependencies=basic_dependencies)
wdms_app.include_router(fast_search.router, prefix='/ddms', tags=['fast-search'], dependencies=basic_dependencies)
wdms_app.include_router(search_v3.router, prefix=ALPHA_APIS_PREFIX + DDMS_V3_PATH, tags=['search v3'], dependencies=basic_dependencies)
wdms_app.include_router(fast_search_v3.router, prefix=ALPHA_APIS_PREFIX + DDMS_V3_PATH, tags=['fast-search v3'],
wdms_app.include_router(search_v3.router, prefix=DDMS_V3_PATH, tags=['search v3'], dependencies=basic_dependencies)
wdms_app.include_router(fast_search_v3.router, prefix=DDMS_V3_PATH, tags=['fast-search v3'],
dependencies=basic_dependencies)
alpha_tags = ['ALPHA feature: bulk data chunking']
......
This diff is collapsed.
......@@ -51,7 +51,7 @@ def build_request_search_markersets_by_wellbore_id() -> RequestRunner:
rq_proto = Request(
name='search markersets by wellbore id',
method='POST',
url='{{base_url}}/alpha/ddms/v3/{{search_query_type}}/wellbores/{{setup_search_osdu_wellbore_id}}/wellboremarkersets',
url='{{base_url}}/ddms/v3/{{search_query_type}}/wellbores/{{setup_search_osdu_wellbore_id}}/wellboremarkersets',
headers={
'accept': 'application/json',
'data-partition-id': '{{data_partition}}',
......@@ -103,7 +103,7 @@ def build_request_search_osdu_wellbores_by_geo_polygon() -> RequestRunner:
rq_proto = Request(
name='search wellbores by geo polygon',
method='POST',
url='{{base_url}}/alpha/ddms/v3/{{search_query_type}}/wellbores/bygeopolygon',
url='{{base_url}}/ddms/v3/{{search_query_type}}/wellbores/bygeopolygon',
headers={
'accept': 'application/json',
'data-partition-id': '{{data_partition}}',
......@@ -176,7 +176,7 @@ def build_request_search_welllogs_by_wellbores_attribute() -> RequestRunner:
rq_proto = Request(
name='search logset by wellbores attribute',
method='POST',
url='{{base_url}}/alpha/ddms/v3/{{search_query_type}}/wellbore/data.DefaultVerticalMeasurementID:"KB"/welllogs',
url='{{base_url}}/ddms/v3/{{search_query_type}}/wellbore/data.DefaultVerticalMeasurementID:"KB"/welllogs',
headers={
'accept': 'application/json',
'data-partition-id': '{{data_partition}}',
......@@ -224,7 +224,7 @@ def build_request_search_osdu_wellbores_by_bounding_box() -> RequestRunner:
rq_proto = Request(
name='search wellbores by bounding box',
method='POST',
url='{{base_url}}/alpha/ddms/v3/{{search_query_type}}/wellbores/byboundingbox?latitude_top_left=-20&longitude_top_left=71&latitude_bottom_right=-22&longitude_bottom_right=73',
url='{{base_url}}/ddms/v3/{{search_query_type}}/wellbores/byboundingbox?latitude_top_left=-20&longitude_top_left=71&latitude_bottom_right=-22&longitude_bottom_right=73',
headers={
'accept': 'application/json',
'data-partition-id': '{{data_partition}}',
......@@ -256,7 +256,7 @@ def build_request_search_osdu_wellbores_by_distance() -> RequestRunner:
rq_proto = Request(
name='search wellbores by distance',
method='POST',
url='{{base_url}}/alpha/ddms/v3/{{search_query_type}}/wellbores/bydistance?latitude=-21.5399&longitude=72.4635&distance=100',
url='{{base_url}}/ddms/v3/{{search_query_type}}/wellbores/bydistance?latitude=-21.5399&longitude=72.4635&distance=100',
headers={
'accept': 'application/json',
'data-partition-id': '{{data_partition}}',
......@@ -304,7 +304,7 @@ def build_request_search_welllogs_by_wellbore_id() -> RequestRunner:
rq_proto = Request(
name='search logset by wellbore id',
method='POST',
url='{{base_url}}/alpha/ddms/v3/{{search_query_type}}/wellbores/{{setup_search_osdu_wellbore_id}}/welllogs',
url='{{base_url}}/ddms/v3/{{search_query_type}}/wellbores/{{setup_search_osdu_wellbore_id}}/welllogs',
headers={
'accept': 'application/json',
'data-partition-id': '{{data_partition}}',
......@@ -353,7 +353,7 @@ def build_request_search_wellbore_by_name() -> RequestRunner:
rq_proto = Request(
name='search wellbore by name',
method='POST',
url='{{base_url}}/alpha/ddms/v3/{{search_query_type}}/wellbores/byname?names=wdms_e2e_search_refs_v%2A',
url='{{base_url}}/ddms/v3/{{search_query_type}}/wellbores/byname?names=wdms_e2e_search_refs_v%2A',
headers={
'accept': 'application/json',
'data-partition-id': '{{data_partition}}',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment