Skip to content

Commit 3425748

Browse files
authored
Changes for 3GPP release 18 upgrade (#504)
* Changes for release 18 upgrade Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com> * Upgrade module version to `v2` Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com> * Address Copilot's comments Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com> * Address scorecard-analysis permission Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com> --------- Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>
1 parent 381b486 commit 3425748

29 files changed

Lines changed: 404 additions & 377 deletions

.github/dependabot.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ updates:
1515
time: "21:00"
1616
timezone: "America/Los_Angeles"
1717

18-
# - package-ecosystem: "gomod"
19-
# directory: "/"
20-
# schedule:
21-
# interval: "weekly"
22-
# day: "thursday"
23-
# time: "21:00"
24-
# timezone: "America/Los_Angeles"
25-
# groups:
26-
# omec-project:
27-
# patterns:
28-
# - "github.com/omec-project/*"
18+
- package-ecosystem: "gomod"
19+
directory: "/"
20+
schedule:
21+
interval: "weekly"
22+
day: "thursday"
23+
time: "21:00"
24+
timezone: "America/Los_Angeles"
25+
groups:
26+
omec-project:
27+
patterns:
28+
- "github.com/omec-project/*"
2929

3030
- package-ecosystem: github-actions
3131
directory: /

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ jobs:
114114
artifact-metadata: read
115115
attestations: read
116116
checks: read
117+
code-quality: read
117118
contents: read
118119
deployments: read
119120
discussions: read

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.4-dev
1+
3.0.0

backend/auth/routers.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ func addRoutes(group *gin.RouterGroup, routes Routes) {
2828
switch route.Method {
2929
case http.MethodGet:
3030
group.GET(route.Pattern, route.HandlerFunc)
31+
case http.MethodOptions:
32+
group.OPTIONS(route.Pattern, route.HandlerFunc)
3133
case http.MethodPost:
3234
group.POST(route.Pattern, route.HandlerFunc)
3335
case http.MethodPut:

backend/nfconfig/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"strconv"
1313
"strings"
1414

15-
"github.com/omec-project/openapi/nfConfigApi"
15+
"github.com/omec-project/openapi/v2/nfConfigApi"
1616
"github.com/omec-project/webconsole/backend/factory"
1717
"github.com/omec-project/webconsole/backend/logger"
1818
"github.com/omec-project/webconsole/configapi"

backend/nfconfig/config_access_and_mobility_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"reflect"
1010
"testing"
1111

12-
"github.com/omec-project/openapi/nfConfigApi"
12+
"github.com/omec-project/openapi/v2/nfConfigApi"
1313
"github.com/omec-project/webconsole/configmodels"
1414
)
1515

backend/nfconfig/config_imsi_qos_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"reflect"
88
"testing"
99

10-
"github.com/omec-project/openapi/nfConfigApi"
10+
"github.com/omec-project/openapi/v2/nfConfigApi"
1111
"github.com/omec-project/webconsole/configmodels"
1212
)
1313

backend/nfconfig/config_plmn_snssai_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"reflect"
99
"testing"
1010

11-
"github.com/omec-project/openapi/nfConfigApi"
11+
"github.com/omec-project/openapi/v2/nfConfigApi"
1212
"github.com/omec-project/webconsole/configmodels"
1313
)
1414

backend/nfconfig/config_plmn_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"reflect"
99
"testing"
1010

11-
"github.com/omec-project/openapi/nfConfigApi"
11+
"github.com/omec-project/openapi/v2/nfConfigApi"
1212
"github.com/omec-project/webconsole/configmodels"
1313
)
1414

backend/nfconfig/config_policy_control_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"reflect"
99
"testing"
1010

11-
"github.com/omec-project/openapi/nfConfigApi"
11+
"github.com/omec-project/openapi/v2/nfConfigApi"
1212
"github.com/omec-project/webconsole/configmodels"
1313
)
1414

0 commit comments

Comments
 (0)