crc-pulp-service-client 20250821.3__tar.gz → 20250825.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of crc-pulp-service-client might be problematic. Click here for more details.
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/PKG-INFO +1 -1
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/README.md +8 -8
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/api/__init__.py +1 -1
- crc_pulp_service_client-20250821.3/crc-pulp_service-client/api/vuln_report_api.py → crc_pulp_service_client-20250825.1/crc-pulp_service-client/api/vuln_report_service_api.py +3 -3
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/api_client.py +1 -1
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/configuration.py +3 -3
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/paginated_task_response_list.py +0 -10
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/paginatedrpm_package_response_list.py +0 -10
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/paginatedservice_feature_content_guard_response_list.py +0 -10
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/paginatedservice_vulnerability_report_response_list.py +0 -10
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/rpm_package_response.py +14 -30
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/task_response.py +0 -8
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc_pulp_service_client.egg-info/PKG-INFO +1 -1
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc_pulp_service_client.egg-info/SOURCES.txt +2 -2
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/pyproject.toml +1 -1
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/setup.py +1 -1
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_paginatedrpm_package_response_list.py +2 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_rpm_package_response.py +1 -0
- crc_pulp_service_client-20250821.3/test/test_vuln_report_api.py → crc_pulp_service_client-20250825.1/test/test_vuln_report_service_api.py +4 -4
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/__init__.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/api/api_create_domain_api.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/api/api_debug_auth_header_api.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/api/api_test_random_lock_tasks_api.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/api/api_test_tasks_api.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/api/content_rpmpackages_api.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/api/contentguards_feature_api.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/api/tasks_api.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/api_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/exceptions.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/__init__.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/async_operation_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/domain.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/domain_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/my_permissions_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/nested_role.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/nested_role_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/object_roles_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/patchedservice_feature_content_guard.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/progress_report_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/service_feature_content_guard.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/service_feature_content_guard_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/service_vulnerability_report_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/set_label.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/set_label_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/storage_class_enum.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/unset_label.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/models/unset_label_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/py.typed +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc-pulp_service-client/rest.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc_pulp_service_client.egg-info/dependency_links.txt +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc_pulp_service_client.egg-info/requires.txt +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/crc_pulp_service_client.egg-info/top_level.txt +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/setup.cfg +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_api_create_domain_api.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_api_debug_auth_header_api.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_api_test_random_lock_tasks_api.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_api_test_tasks_api.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_async_operation_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_content_rpmpackages_api.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_contentguards_feature_api.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_domain.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_domain_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_my_permissions_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_nested_role.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_nested_role_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_object_roles_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_paginated_task_response_list.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_paginatedservice_feature_content_guard_response_list.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_paginatedservice_vulnerability_report_response_list.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_patchedservice_feature_content_guard.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_progress_report_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_service_feature_content_guard.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_service_feature_content_guard_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_service_vulnerability_report_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_set_label.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_set_label_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_storage_class_enum.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_task_response.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_tasks_api.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_unset_label.py +0 -0
- {crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_unset_label_response.py +0 -0
|
@@ -4,7 +4,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
4
4
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
5
|
|
|
6
6
|
- API version: v3
|
|
7
|
-
- Package version:
|
|
7
|
+
- Package version: 20250825.1
|
|
8
8
|
- Generator version: 7.10.0
|
|
9
9
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
10
10
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -56,10 +56,10 @@ import crc-pulp_service-client
|
|
|
56
56
|
from crc-pulp_service-client.rest import ApiException
|
|
57
57
|
from pprint import pprint
|
|
58
58
|
|
|
59
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
59
|
+
# Defining the host is optional and defaults to https://env-ephemeral-dtgdod.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
60
60
|
# See configuration.py for a list of all supported configuration parameters.
|
|
61
61
|
configuration = crc-pulp_service-client.Configuration(
|
|
62
|
-
host = "https://env-ephemeral-
|
|
62
|
+
host = "https://env-ephemeral-dtgdod.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
63
63
|
)
|
|
64
64
|
|
|
65
65
|
# The client must configure the authentication and authorization parameters
|
|
@@ -101,7 +101,7 @@ with crc-pulp_service-client.ApiClient(configuration) as api_client:
|
|
|
101
101
|
|
|
102
102
|
## Documentation for API Endpoints
|
|
103
103
|
|
|
104
|
-
All URIs are relative to *https://env-ephemeral-
|
|
104
|
+
All URIs are relative to *https://env-ephemeral-dtgdod.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
105
105
|
|
|
106
106
|
Class | Method | HTTP request | Description
|
|
107
107
|
------------ | ------------- | ------------- | -------------
|
|
@@ -125,10 +125,10 @@ Class | Method | HTTP request | Description
|
|
|
125
125
|
*ContentguardsFeatureApi* | [**remove_role**](docs/ContentguardsFeatureApi.md#remove_role) | **POST** {service_feature_content_guard_href}remove_role/ | Remove a role
|
|
126
126
|
*ContentguardsFeatureApi* | [**update**](docs/ContentguardsFeatureApi.md#update) | **PUT** {service_feature_content_guard_href} | Update a feature content guard
|
|
127
127
|
*TasksApi* | [**admin_tasks**](docs/TasksApi.md#admin_tasks) | **GET** /api/pulp/admin/tasks/ |
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
128
|
+
*VulnReportServiceApi* | [**create**](docs/VulnReportServiceApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/vuln_report_service/ | Generate vulnerability report
|
|
129
|
+
*VulnReportServiceApi* | [**delete**](docs/VulnReportServiceApi.md#delete) | **DELETE** {service_vulnerability_report_href} | Delete a vulnerability report
|
|
130
|
+
*VulnReportServiceApi* | [**list**](docs/VulnReportServiceApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/vuln_report_service/ | List vulnerability reports
|
|
131
|
+
*VulnReportServiceApi* | [**read**](docs/VulnReportServiceApi.md#read) | **GET** {service_vulnerability_report_href} | Inspect a vulnerability report
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
## Documentation For Models
|
|
@@ -8,5 +8,5 @@ from crc-pulp_service-client.api.api_test_tasks_api import ApiTestTasksApi
|
|
|
8
8
|
from crc-pulp_service-client.api.content_rpmpackages_api import ContentRpmpackagesApi
|
|
9
9
|
from crc-pulp_service-client.api.contentguards_feature_api import ContentguardsFeatureApi
|
|
10
10
|
from crc-pulp_service-client.api.tasks_api import TasksApi
|
|
11
|
-
from crc-pulp_service-client.api.
|
|
11
|
+
from crc-pulp_service-client.api.vuln_report_service_api import VulnReportServiceApi
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ from crc-pulp_service-client.api_response import ApiResponse
|
|
|
29
29
|
from crc-pulp_service-client.rest import RESTResponseType
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
class
|
|
32
|
+
class VulnReportServiceApi:
|
|
33
33
|
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
34
34
|
Ref: https://openapi-generator.tech
|
|
35
35
|
|
|
@@ -349,7 +349,7 @@ class VulnReportApi:
|
|
|
349
349
|
|
|
350
350
|
return self.api_client.param_serialize(
|
|
351
351
|
method='POST',
|
|
352
|
-
resource_path='/api/pulp/{pulp_domain}/api/v3/
|
|
352
|
+
resource_path='/api/pulp/{pulp_domain}/api/v3/vuln_report_service/',
|
|
353
353
|
path_params=_path_params,
|
|
354
354
|
query_params=_query_params,
|
|
355
355
|
header_params=_header_params,
|
|
@@ -970,7 +970,7 @@ class VulnReportApi:
|
|
|
970
970
|
|
|
971
971
|
return self.api_client.param_serialize(
|
|
972
972
|
method='GET',
|
|
973
|
-
resource_path='/api/pulp/{pulp_domain}/api/v3/
|
|
973
|
+
resource_path='/api/pulp/{pulp_domain}/api/v3/vuln_report_service/',
|
|
974
974
|
path_params=_path_params,
|
|
975
975
|
query_params=_query_params,
|
|
976
976
|
header_params=_header_params,
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/20250825.1/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -225,7 +225,7 @@ conf = crc-pulp_service-client.Configuration(
|
|
|
225
225
|
) -> None:
|
|
226
226
|
"""Constructor
|
|
227
227
|
"""
|
|
228
|
-
self._base_path = "https://env-ephemeral-
|
|
228
|
+
self._base_path = "https://env-ephemeral-dtgdod.apps.crc-eph.r9lp.p1.openshiftapps.com" if host is None else host
|
|
229
229
|
"""Default Base url
|
|
230
230
|
"""
|
|
231
231
|
self.server_index = 0 if server_index is None and host is None else server_index
|
|
@@ -557,7 +557,7 @@ conf = crc-pulp_service-client.Configuration(
|
|
|
557
557
|
"OS: {env}\n"\
|
|
558
558
|
"Python Version: {pyversion}\n"\
|
|
559
559
|
"Version of the API: v3\n"\
|
|
560
|
-
"SDK Package Version:
|
|
560
|
+
"SDK Package Version: 20250825.1".\
|
|
561
561
|
format(env=sys.platform, pyversion=sys.version)
|
|
562
562
|
|
|
563
563
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -567,7 +567,7 @@ conf = crc-pulp_service-client.Configuration(
|
|
|
567
567
|
"""
|
|
568
568
|
return [
|
|
569
569
|
{
|
|
570
|
-
'url': "https://env-ephemeral-
|
|
570
|
+
'url': "https://env-ephemeral-dtgdod.apps.crc-eph.r9lp.p1.openshiftapps.com",
|
|
571
571
|
'description': "No description provided",
|
|
572
572
|
}
|
|
573
573
|
]
|
|
@@ -80,16 +80,6 @@ class PaginatedTaskResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
-
# set to None if next (nullable) is None
|
|
84
|
-
# and model_fields_set contains the field
|
|
85
|
-
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
-
_dict['next'] = None
|
|
87
|
-
|
|
88
|
-
# set to None if previous (nullable) is None
|
|
89
|
-
# and model_fields_set contains the field
|
|
90
|
-
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
-
_dict['previous'] = None
|
|
92
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedrpmPackageResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
-
# set to None if next (nullable) is None
|
|
84
|
-
# and model_fields_set contains the field
|
|
85
|
-
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
-
_dict['next'] = None
|
|
87
|
-
|
|
88
|
-
# set to None if previous (nullable) is None
|
|
89
|
-
# and model_fields_set contains the field
|
|
90
|
-
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
-
_dict['previous'] = None
|
|
92
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedserviceFeatureContentGuardResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
-
# set to None if next (nullable) is None
|
|
84
|
-
# and model_fields_set contains the field
|
|
85
|
-
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
-
_dict['next'] = None
|
|
87
|
-
|
|
88
|
-
# set to None if previous (nullable) is None
|
|
89
|
-
# and model_fields_set contains the field
|
|
90
|
-
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
-
_dict['previous'] = None
|
|
92
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -80,16 +80,6 @@ class PaginatedserviceVulnerabilityReportResponseList(BaseModel):
|
|
|
80
80
|
if _item_results:
|
|
81
81
|
_items.append(_item_results.to_dict())
|
|
82
82
|
_dict['results'] = _items
|
|
83
|
-
# set to None if next (nullable) is None
|
|
84
|
-
# and model_fields_set contains the field
|
|
85
|
-
if self.next is None and "next" in self.model_fields_set:
|
|
86
|
-
_dict['next'] = None
|
|
87
|
-
|
|
88
|
-
# set to None if previous (nullable) is None
|
|
89
|
-
# and model_fields_set contains the field
|
|
90
|
-
if self.previous is None and "previous" in self.model_fields_set:
|
|
91
|
-
_dict['previous'] = None
|
|
92
|
-
|
|
93
83
|
return _dict
|
|
94
84
|
|
|
95
85
|
@classmethod
|
|
@@ -39,6 +39,7 @@ class RpmPackageResponse(BaseModel):
|
|
|
39
39
|
sha384: Optional[StrictStr] = Field(default=None, description="The SHA-384 checksum if available.")
|
|
40
40
|
sha512: Optional[StrictStr] = Field(default=None, description="The SHA-512 checksum if available.")
|
|
41
41
|
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = Field(default=None, description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")
|
|
42
|
+
vuln_report: Optional[StrictStr] = None
|
|
42
43
|
artifact: Optional[StrictStr] = Field(default=None, description="Artifact file representing the physical content")
|
|
43
44
|
name: Optional[StrictStr] = Field(default=None, description="Name of the package")
|
|
44
45
|
epoch: Optional[StrictStr] = Field(default=None, description="The package's epoch")
|
|
@@ -50,16 +51,16 @@ class RpmPackageResponse(BaseModel):
|
|
|
50
51
|
summary: Optional[StrictStr] = Field(default=None, description="Short description of the packaged software")
|
|
51
52
|
description: Optional[StrictStr] = Field(default=None, description="In-depth description of the packaged software")
|
|
52
53
|
url: Optional[StrictStr] = Field(default=None, description="URL with more information about the packaged software")
|
|
53
|
-
changelogs: Optional[Any] =
|
|
54
|
-
files: Optional[Any] =
|
|
55
|
-
requires: Optional[Any] =
|
|
56
|
-
provides: Optional[Any] =
|
|
57
|
-
conflicts: Optional[Any] =
|
|
58
|
-
obsoletes: Optional[Any] =
|
|
59
|
-
suggests: Optional[Any] =
|
|
60
|
-
enhances: Optional[Any] =
|
|
61
|
-
recommends: Optional[Any] =
|
|
62
|
-
supplements: Optional[Any] =
|
|
54
|
+
changelogs: Optional[Any] = None
|
|
55
|
+
files: Optional[Any] = None
|
|
56
|
+
requires: Optional[Any] = None
|
|
57
|
+
provides: Optional[Any] = None
|
|
58
|
+
conflicts: Optional[Any] = None
|
|
59
|
+
obsoletes: Optional[Any] = None
|
|
60
|
+
suggests: Optional[Any] = None
|
|
61
|
+
enhances: Optional[Any] = None
|
|
62
|
+
recommends: Optional[Any] = None
|
|
63
|
+
supplements: Optional[Any] = None
|
|
63
64
|
location_base: Optional[StrictStr] = Field(default=None, description="DEPRECATED: Base location of this package. This field will be removed in a future release of pulp_rpm.")
|
|
64
65
|
location_href: Optional[StrictStr] = Field(default=None, description="DEPRECATED: Relative location of package to the repodata. This field will be removed in a future release of pulp_rpm.")
|
|
65
66
|
rpm_buildhost: Optional[StrictStr] = Field(default=None, description="Hostname of the system that built the package")
|
|
@@ -76,7 +77,7 @@ class RpmPackageResponse(BaseModel):
|
|
|
76
77
|
size_package: Optional[StrictInt] = Field(default=None, description="Size, in bytes, of the package")
|
|
77
78
|
time_build: Optional[StrictInt] = Field(default=None, description="Time the package was built in seconds since the epoch")
|
|
78
79
|
time_file: Optional[StrictInt] = Field(default=None, description="The 'file' time attribute in the primary XML - file mtime in seconds since the epoch.")
|
|
79
|
-
__properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "md5", "sha1", "sha224", "sha256", "sha384", "sha512", "pulp_labels", "artifact", "name", "epoch", "version", "release", "arch", "pkgId", "checksum_type", "summary", "description", "url", "changelogs", "files", "requires", "provides", "conflicts", "obsoletes", "suggests", "enhances", "recommends", "supplements", "location_base", "location_href", "rpm_buildhost", "rpm_group", "rpm_license", "rpm_packager", "rpm_sourcerpm", "rpm_vendor", "rpm_header_start", "rpm_header_end", "is_modular", "size_archive", "size_installed", "size_package", "time_build", "time_file"]
|
|
80
|
+
__properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "md5", "sha1", "sha224", "sha256", "sha384", "sha512", "pulp_labels", "vuln_report", "artifact", "name", "epoch", "version", "release", "arch", "pkgId", "checksum_type", "summary", "description", "url", "changelogs", "files", "requires", "provides", "conflicts", "obsoletes", "suggests", "enhances", "recommends", "supplements", "location_base", "location_href", "rpm_buildhost", "rpm_group", "rpm_license", "rpm_packager", "rpm_sourcerpm", "rpm_vendor", "rpm_header_start", "rpm_header_end", "is_modular", "size_archive", "size_installed", "size_package", "time_build", "time_file"]
|
|
80
81
|
|
|
81
82
|
model_config = ConfigDict(
|
|
82
83
|
populate_by_name=True,
|
|
@@ -145,15 +146,6 @@ class RpmPackageResponse(BaseModel):
|
|
|
145
146
|
* OpenAPI `readOnly` fields are excluded.
|
|
146
147
|
* OpenAPI `readOnly` fields are excluded.
|
|
147
148
|
* OpenAPI `readOnly` fields are excluded.
|
|
148
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
149
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
150
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
151
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
152
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
153
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
154
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
155
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
156
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
157
149
|
"""
|
|
158
150
|
excluded_fields: Set[str] = set([
|
|
159
151
|
"pulp_href",
|
|
@@ -166,6 +158,7 @@ class RpmPackageResponse(BaseModel):
|
|
|
166
158
|
"sha256",
|
|
167
159
|
"sha384",
|
|
168
160
|
"sha512",
|
|
161
|
+
"vuln_report",
|
|
169
162
|
"name",
|
|
170
163
|
"epoch",
|
|
171
164
|
"version",
|
|
@@ -176,16 +169,6 @@ class RpmPackageResponse(BaseModel):
|
|
|
176
169
|
"summary",
|
|
177
170
|
"description",
|
|
178
171
|
"url",
|
|
179
|
-
"changelogs",
|
|
180
|
-
"files",
|
|
181
|
-
"requires",
|
|
182
|
-
"provides",
|
|
183
|
-
"conflicts",
|
|
184
|
-
"obsoletes",
|
|
185
|
-
"suggests",
|
|
186
|
-
"enhances",
|
|
187
|
-
"recommends",
|
|
188
|
-
"supplements",
|
|
189
172
|
"location_base",
|
|
190
173
|
"location_href",
|
|
191
174
|
"rpm_buildhost",
|
|
@@ -282,6 +265,7 @@ class RpmPackageResponse(BaseModel):
|
|
|
282
265
|
"sha384": obj.get("sha384"),
|
|
283
266
|
"sha512": obj.get("sha512"),
|
|
284
267
|
"pulp_labels": obj.get("pulp_labels"),
|
|
268
|
+
"vuln_report": obj.get("vuln_report"),
|
|
285
269
|
"artifact": obj.get("artifact"),
|
|
286
270
|
"name": obj.get("name"),
|
|
287
271
|
"epoch": obj.get("epoch"),
|
|
@@ -93,10 +93,6 @@ class TaskResponse(BaseModel):
|
|
|
93
93
|
* OpenAPI `readOnly` fields are excluded.
|
|
94
94
|
* OpenAPI `readOnly` fields are excluded.
|
|
95
95
|
* OpenAPI `readOnly` fields are excluded.
|
|
96
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
97
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
98
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
99
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
100
96
|
"""
|
|
101
97
|
excluded_fields: Set[str] = set([
|
|
102
98
|
"pulp_href",
|
|
@@ -111,11 +107,7 @@ class TaskResponse(BaseModel):
|
|
|
111
107
|
"error",
|
|
112
108
|
"worker",
|
|
113
109
|
"parent_task",
|
|
114
|
-
"child_tasks",
|
|
115
110
|
"task_group",
|
|
116
|
-
"progress_reports",
|
|
117
|
-
"created_resources",
|
|
118
|
-
"reserved_resources_record",
|
|
119
111
|
])
|
|
120
112
|
|
|
121
113
|
_dict = self.model_dump(
|
|
@@ -17,7 +17,7 @@ crc-pulp_service-client/api/api_test_tasks_api.py
|
|
|
17
17
|
crc-pulp_service-client/api/content_rpmpackages_api.py
|
|
18
18
|
crc-pulp_service-client/api/contentguards_feature_api.py
|
|
19
19
|
crc-pulp_service-client/api/tasks_api.py
|
|
20
|
-
crc-pulp_service-client/api/
|
|
20
|
+
crc-pulp_service-client/api/vuln_report_service_api.py
|
|
21
21
|
crc-pulp_service-client/models/__init__.py
|
|
22
22
|
crc-pulp_service-client/models/async_operation_response.py
|
|
23
23
|
crc-pulp_service-client/models/domain.py
|
|
@@ -77,4 +77,4 @@ test/test_task_response.py
|
|
|
77
77
|
test/test_tasks_api.py
|
|
78
78
|
test/test_unset_label.py
|
|
79
79
|
test/test_unset_label_response.py
|
|
80
|
-
test/
|
|
80
|
+
test/test_vuln_report_service_api.py
|
|
@@ -22,7 +22,7 @@ from setuptools import setup, find_packages # noqa: H301
|
|
|
22
22
|
# prerequisite: setuptools
|
|
23
23
|
# http://pypi.python.org/pypi/setuptools
|
|
24
24
|
NAME = "crc-pulp_service-client"
|
|
25
|
-
VERSION = "
|
|
25
|
+
VERSION = "20250825.1"
|
|
26
26
|
PYTHON_REQUIRES = ">= 3.8"
|
|
27
27
|
REQUIRES = [
|
|
28
28
|
"urllib3 >= 1.25.3, < 3.0.0",
|
|
@@ -54,6 +54,7 @@ class TestPaginatedrpmPackageResponseList(unittest.TestCase):
|
|
|
54
54
|
pulp_labels = {
|
|
55
55
|
'key' : ''
|
|
56
56
|
},
|
|
57
|
+
vuln_report = '',
|
|
57
58
|
artifact = '',
|
|
58
59
|
name = '',
|
|
59
60
|
epoch = '',
|
|
@@ -111,6 +112,7 @@ class TestPaginatedrpmPackageResponseList(unittest.TestCase):
|
|
|
111
112
|
pulp_labels = {
|
|
112
113
|
'key' : ''
|
|
113
114
|
},
|
|
115
|
+
vuln_report = '',
|
|
114
116
|
artifact = '',
|
|
115
117
|
name = '',
|
|
116
118
|
epoch = '',
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
|
|
16
16
|
import unittest
|
|
17
17
|
|
|
18
|
-
from crc-pulp_service-client.api.
|
|
18
|
+
from crc-pulp_service-client.api.vuln_report_service_api import VulnReportServiceApi
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
class
|
|
22
|
-
"""
|
|
21
|
+
class TestVulnReportServiceApi(unittest.TestCase):
|
|
22
|
+
"""VulnReportServiceApi unit test stubs"""
|
|
23
23
|
|
|
24
24
|
def setUp(self) -> None:
|
|
25
|
-
self.api =
|
|
25
|
+
self.api = VulnReportServiceApi()
|
|
26
26
|
|
|
27
27
|
def tearDown(self) -> None:
|
|
28
28
|
pass
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_domain.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_nested_role.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_set_label.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_task_response.py
RENAMED
|
File without changes
|
{crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_tasks_api.py
RENAMED
|
File without changes
|
{crc_pulp_service_client-20250821.3 → crc_pulp_service_client-20250825.1}/test/test_unset_label.py
RENAMED
|
File without changes
|
|
File without changes
|