Changes for 3GPP release 18 upgrade#504
Merged
Merged
Conversation
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>
There was a problem hiding this comment.
Pull request overview
This PR upgrades the project for a 3GPP Release 18-related dependency/API update by bumping the WebConsole version and migrating OMEC OpenAPI usage from openapi v1 to openapi/v2, updating the impacted subscriber/slice/NF config flows and their tests accordingly.
Changes:
- Bump project version to
3.0.0and update Go module dependencies togithub.com/omec-project/openapi/v2 v2.0.0(plus related indirect deps). - Update subscriber/slice provisioning logic and tests to use OpenAPI v2 models (new nullable/pointer patterns and renamed enums/types).
- Enable Dependabot updates for
gomoddependencies (grouped forgithub.com/omec-project/*).
Reviewed changes
Copilot reviewed 25 out of 26 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| VERSION | Bumps application version to 3.0.0. |
| go.mod | Switches to github.com/omec-project/openapi/v2 and adds an indirect dependency. |
| go.sum | Updates checksums for the OpenAPI v2 module and new indirect deps. |
| dbadapter/db_adapter.go | Updates MongoDB transaction support error messaging. |
| configmodels/model_subs_data.go | Updates OpenAPI models import path to v2. |
| configapi/subscriber_helpers.go | Updates OpenAPI models import path to v2. |
| configapi/subscriber_helpers_test.go | Updates tests for OpenAPI v2 model/nullable API. |
| configapi/slice_operations_test.go | Adds OpenAPI v2 imports and a new unit test for SM doc building. |
| configapi/slice_helpers.go | Updates slice provisioning logic for OpenAPI v2 and refactors SM provisioned data document creation. |
| configapi/device_group_helpers.go | Updates OpenAPI v2 imports and Snssai SD pointer handling. |
| configapi/api_subscriber_config.go | Updates sample JSON and subscriber CRUD to OpenAPI v2 field/enum shapes. |
| configapi/api_subscriber_config_test.go | Updates subscriber API tests and mocks to OpenAPI v2 shapes/nullable behavior. |
| backend/webui_service/webui_init.go | Removes a non-TLS startup log line. |
| backend/webui_context/context.go | Updates NF profile/types/enums to OpenAPI v2 (NFProfile, NFType, URI schemes, etc.). |
| backend/nfconfig/test_common.go | Updates nfConfigApi import path to OpenAPI v2. |
| backend/nfconfig/service_test.go | Updates nfConfigApi import path to OpenAPI v2. |
| backend/nfconfig/handlers.go | Updates nfConfigApi import path to OpenAPI v2. |
| backend/nfconfig/handlers_test.go | Updates nfConfigApi import path to OpenAPI v2. |
| backend/nfconfig/config.go | Updates nfConfigApi import path to OpenAPI v2. |
| backend/nfconfig/config_session_management_test.go | Updates nfConfigApi import path to OpenAPI v2. |
| backend/nfconfig/config_policy_control_test.go | Updates nfConfigApi import path to OpenAPI v2. |
| backend/nfconfig/config_plmn_test.go | Updates nfConfigApi import path to OpenAPI v2. |
| backend/nfconfig/config_plmn_snssai_test.go | Updates nfConfigApi import path to OpenAPI v2. |
| backend/nfconfig/config_imsi_qos_test.go | Updates nfConfigApi import path to OpenAPI v2. |
| backend/nfconfig/config_access_and_mobility_test.go | Updates nfConfigApi import path to OpenAPI v2. |
| .github/dependabot.yml | Enables weekly Dependabot updates for Go modules (grouped for OMEC packages). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.