diff --git a/apiserver/es_factory.py b/apiserver/es_factory.py index a713347..d18a992 100644 --- a/apiserver/es_factory.py +++ b/apiserver/es_factory.py @@ -67,7 +67,7 @@ class MissingPasswordForElasticUser(Exception): class ESFactory: @classmethod - def connect(cls, cluster_name): + def connect(cls, cluster_name) -> Elasticsearch: """ Returns the es client for the cluster. Connects to the cluster if did not connect previously diff --git a/apiserver/schema/services/reports.conf b/apiserver/schema/services/reports.conf index dec5254..f549bf6 100644 --- a/apiserver/schema/services/reports.conf +++ b/apiserver/schema/services/reports.conf @@ -151,7 +151,7 @@ create { } } } - "999.0": ${create."2.23"} { + "2.24": ${create."2.23"} { request.properties.report_assets { description: "List of the external report assets" type: array @@ -193,7 +193,7 @@ update { } response: ${_definitions.update_response} } - "999.0": ${update."2.23"} { + "2.24": ${update."2.23"} { request.properties.report_assets { description: "List of the external report assets" type: array diff --git a/apiserver/service_repo/service_repo.py b/apiserver/service_repo/service_repo.py index 9bf0898..2166a52 100644 --- a/apiserver/service_repo/service_repo.py +++ b/apiserver/service_repo/service_repo.py @@ -39,7 +39,7 @@ class ServiceRepo(object): """If the check is set, parsing will fail for endpoint request with the version that is grater than the current maximum """ - _max_version = PartialVersion("2.23") + _max_version = PartialVersion("2.24") """ Maximum version number (the highest min_version value across all endpoints) """ _endpoint_exp = (