From 63d8ad95a7dd089a4fe37130111a07d396d14fd9 Mon Sep 17 00:00:00 2001 From: GitLab Runner 1149 <netvs@scc.kit.edu> Date: Tue, 28 Jan 2025 09:04:30 +0000 Subject: [PATCH] Automated Save by CI Run --- ....generic_cidr.js => tmp.cidr_generator.js} | 2 +- 4.2/functions.json | 4 +- 4.2/golang/structs.go | 2 +- 4.2/objects.json | 60 +++++----- 4.2/openapi.yml | 104 +++++++++--------- 4.2/python/tmp.py | 4 +- 4.2/version_numeric | 2 +- latest_version | 2 +- 8 files changed, 90 insertions(+), 90 deletions(-) rename 4.2/es/{tmp.generic_cidr.js => tmp.cidr_generator.js} (95%) diff --git a/4.2/es/tmp.generic_cidr.js b/4.2/es/tmp.cidr_generator.js similarity index 95% rename from 4.2/es/tmp.generic_cidr.js rename to 4.2/es/tmp.cidr_generator.js index a586b09..d5b7b7a 100644 --- a/4.2/es/tmp.generic_cidr.js +++ b/4.2/es/tmp.cidr_generator.js @@ -18,7 +18,7 @@ export default { const cnf = {} Object.assign(cnf, (config || {}).netdb_axios_config) cnf.params = params - return Axios.get(`${NETVSConfig.NETDB_API_BASE_URL}/${NETVSConfig.NETDB_API_VERSION}/tmp/generic_cidr/list`, cnf) + return Axios.get(`${NETVSConfig.NETDB_API_BASE_URL}/${NETVSConfig.NETDB_API_VERSION}/tmp/cidr_generator/list`, cnf) // eslint-disable-next-line comma-dangle }, } diff --git a/4.2/functions.json b/4.2/functions.json index 14a8e43..be39b92 100644 --- a/4.2/functions.json +++ b/4.2/functions.json @@ -18925,7 +18925,7 @@ { "name": "list", "system": "tmp", - "fq_name": "tmp.generic_cidr.list", + "fq_name": "tmp.cidr_generator.list", "parameters": { "value_limit": { "old": { @@ -18985,7 +18985,7 @@ "is_deprecated": false } }, - "object_type": "generic_cidr", + "object_type": "cidr_generator", "is_returning": true, "is_executable": true, "is_data_manipulating": false diff --git a/4.2/golang/structs.go b/4.2/golang/structs.go index 6c7bf48..08f3033 100644 --- a/4.2/golang/structs.go +++ b/4.2/golang/structs.go @@ -1364,7 +1364,7 @@ type DnsFqdnStatistic struct { SubFqdnCount int64 `mapstructure:"sub_fqdn_count"` } -type TmpGenericCidr struct { +type TmpCidrGenerator struct { Value net.IPNet `mapstructure:"value"` BaseValue net.IPNet `mapstructure:"base_value"` } diff --git a/4.2/objects.json b/4.2/objects.json index e877436..efea49c 100644 --- a/4.2/objects.json +++ b/4.2/objects.json @@ -1169,6 +1169,36 @@ "do_activate_global_pk2obj": true, "object_type_grants_read_access": true }, + { + "name": "cidr_generator", + "system": "tmp", + "fq_name": "tmp.cidr_generator", + "attributes": { + "value": { + "is_core": true, + "data_type": "ip_network", + "is_nullable": false, + "is_deprecated": false + }, + "base_value": { + "is_core": true, + "data_type": "ip_network", + "is_nullable": false, + "is_deprecated": false + } + }, + "is_log_dst": false, + "is_log_src": false, + "constraints": {}, + "is_lang_dst": false, + "is_lang_src": false, + "referencing": {}, + "is_otattr_dst": false, + "is_otattr_src": false, + "referenceable": {}, + "do_activate_global_pk2obj": false, + "object_type_grants_read_access": true + }, { "name": "client", "system": "macauth", @@ -6417,36 +6447,6 @@ "do_activate_global_pk2obj": false, "object_type_grants_read_access": true }, - { - "name": "generic_cidr", - "system": "tmp", - "fq_name": "tmp.generic_cidr", - "attributes": { - "value": { - "is_core": true, - "data_type": "ip_network", - "is_nullable": false, - "is_deprecated": false - }, - "base_value": { - "is_core": true, - "data_type": "ip_network", - "is_nullable": false, - "is_deprecated": false - } - }, - "is_log_dst": false, - "is_log_src": false, - "constraints": {}, - "is_lang_dst": false, - "is_lang_src": false, - "referencing": {}, - "is_otattr_dst": false, - "is_otattr_src": false, - "referenceable": {}, - "do_activate_global_pk2obj": false, - "object_type_grants_read_access": true - }, { "name": "generic_object", "system": "tmp", diff --git a/4.2/openapi.yml b/4.2/openapi.yml index 5dea5e8..877d055 100644 --- a/4.2/openapi.yml +++ b/4.2/openapi.yml @@ -3726,6 +3726,16 @@ components: description: Kurzbezeichnung des OE-Typs type: string type: object + tmp.cidr_generator: + description: '' + properties: + base_value: + description: "Zugeh\xF6riger Basiswert des generierten CIDR-Objektes" + type: string + value: + description: CIDR-Notation des generierten CIDR-Objektes + type: string + type: object tmp.diag4gpk: description: '' properties: @@ -3740,16 +3750,6 @@ components: description: WebAPI-Systemname type: string type: object - tmp.generic_cidr: - description: '' - properties: - base_value: - description: "Zugeh\xF6riger Basiswert des generierten CIDR-Objektes" - type: string - value: - description: CIDR-Notation des generierten CIDR-Objektes - type: string - type: object tmp.generic_object: description: '' properties: @@ -4084,7 +4084,7 @@ info: \ nicht Bestandteil dieser Dokumentation, sondern \xFCber selbstdokumentierende\ \ Indexabfragen der WebAPI erreichbar." title: SCC NETDB-API - version: 4.2.3 + version: 4.2.27 openapi: 3.0.3 paths: /cntl/column/create: @@ -32392,46 +32392,7 @@ paths: - api_key: [] tags: - org - /tmp/diag4gpk/list: - get: - parameters: - - description: WebAPI-Systemname - in: query - name: system_name - required: false - schema: - nullable: false - type: string - - description: Name, unter dem die Tabelle incl. deren als WebAPI-Attribut gekennzeichneten - Spalten als Web-API-Objekttyp angesprochen werden kann. - in: query - name: object_type_name - required: false - schema: - nullable: false - type: string - responses: - 200: - content: - application/json: - schema: - items: - items: - $ref: '#/components/schemas/tmp.diag4gpk' - type: array - type: array - description: Request erfolgreich - 400: - description: Eingabefehler - 401: - description: Unautorisiert - 500: - description: Interner Serverfehler - security: - - api_key: [] - tags: - - tmp - /tmp/generic_cidr/list: + /tmp/cidr_generator/list: get: parameters: - description: "Maximale Anzahl der generierten CIDR-Objekte je Basiswert, die\ @@ -32514,7 +32475,46 @@ paths: schema: items: items: - $ref: '#/components/schemas/tmp.generic_cidr' + $ref: '#/components/schemas/tmp.cidr_generator' + type: array + type: array + description: Request erfolgreich + 400: + description: Eingabefehler + 401: + description: Unautorisiert + 500: + description: Interner Serverfehler + security: + - api_key: [] + tags: + - tmp + /tmp/diag4gpk/list: + get: + parameters: + - description: WebAPI-Systemname + in: query + name: system_name + required: false + schema: + nullable: false + type: string + - description: Name, unter dem die Tabelle incl. deren als WebAPI-Attribut gekennzeichneten + Spalten als Web-API-Objekttyp angesprochen werden kann. + in: query + name: object_type_name + required: false + schema: + nullable: false + type: string + responses: + 200: + content: + application/json: + schema: + items: + items: + $ref: '#/components/schemas/tmp.diag4gpk' type: array type: array description: Request erfolgreich diff --git a/4.2/python/tmp.py b/4.2/python/tmp.py index cca3420..9a9dcb6 100644 --- a/4.2/python/tmp.py +++ b/4.2/python/tmp.py @@ -111,7 +111,7 @@ class Diag4gpk(APIObject): return [cls(**s) for s in res.json()[0]] @dataclass() -class GenericCidr(APIObject): +class CidrGenerator(APIObject): value: str base_value: str @@ -138,7 +138,7 @@ class GenericCidr(APIObject): if masklen_summand_list_old is not None and not (isinstance(masklen_summand_list_old, list)): raise ValueError(f"'masklen_summand_list' of incorrect type. Expected list, got {type(masklen_summand_list_old)}") - return {'name': 'tmp.generic_cidr.list', 'new': _denullify_dict({}), 'old': _denullify_dict({'value_limit': value_limit_old, 'value_offset': value_offset_old, 'base_value_list': base_value_list_old, 'masklen_summand': masklen_summand_old, 'value_limit_list': value_limit_list_old, 'value_offset_list': value_offset_list_old, 'masklen_summand_list': masklen_summand_list_old})} + return {'name': 'tmp.cidr_generator.list', 'new': _denullify_dict({}), 'old': _denullify_dict({'value_limit': value_limit_old, 'value_offset': value_offset_old, 'base_value_list': base_value_list_old, 'masklen_summand': masklen_summand_old, 'value_limit_list': value_limit_list_old, 'value_offset_list': value_offset_list_old, 'masklen_summand_list': masklen_summand_list_old})} # TODO: Consider is_returning @classmethod diff --git a/4.2/version_numeric b/4.2/version_numeric index ec87108..d38b4cc 100644 --- a/4.2/version_numeric +++ b/4.2/version_numeric @@ -1 +1 @@ -4.2.3 \ No newline at end of file +4.2.27 \ No newline at end of file diff --git a/latest_version b/latest_version index ec87108..d38b4cc 100644 --- a/latest_version +++ b/latest_version @@ -1 +1 @@ -4.2.3 \ No newline at end of file +4.2.27 \ No newline at end of file -- GitLab