feat: implement PUT for inventory UPF #224
main.yml
on: pull_request
build
16s
build-ui
12s
docker-build
54s
staticcheck
42s
lint
20s
hadolint
8s
license-check
8s
fossa-check
13s
unit-tests
13s
Annotations
51 errors and 8 warnings
build-ui:
configapi/api_inventory.go#L45
undefined: gnbDataColl
|
build-ui:
configapi/api_inventory.go#L131
undefined: gnbDataColl
|
build-ui:
configapi/api_inventory.go#L199
undefined: upfDataColl
|
build-ui:
configapi/api_inventory.go#L316
cannot use configmodels.UpfDataColl (constant "webconsoleData.snapshots.upfData" of type string) as context.Context value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext: string does not implement context.Context (missing method Deadline)
|
build-ui:
configapi/api_inventory.go#L316
cannot use filter (variable of type primitive.M) as string value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext
|
build-ui:
configapi/api_inventory.go#L316
cannot use []interface{}{…} (value of type []interface{}) as primitive.M value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext
|
build-ui:
configapi/api_inventory.go#L316
cannot use sc (variable of type mongo.SessionContext) as []interface{} value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext
|
build-ui:
configapi/api_inventory.go#L322
cannot use configmodels.UpfDataColl (constant "webconsoleData.snapshots.upfData" of type string) as context.Context value in argument to dbadapter.CommonDBClient.RestfulAPIPutOneWithContext: string does not implement context.Context (missing method Deadline)
|
build-ui:
configapi/api_inventory.go#L322
cannot use filter (variable of type primitive.M) as string value in argument to dbadapter.CommonDBClient.RestfulAPIPutOneWithContext
|
build-ui:
configapi/api_inventory.go#L322
cannot use sc (variable of type mongo.SessionContext) as map[string]interface{} value in argument to dbadapter.CommonDBClient.RestfulAPIPutOneWithContext
|
unit-tests:
configapi/api_inventory.go#L45
undefined: gnbDataColl
|
unit-tests:
configapi/api_inventory.go#L131
undefined: gnbDataColl
|
unit-tests:
configapi/api_inventory.go#L199
undefined: upfDataColl
|
unit-tests:
configapi/api_inventory.go#L316
cannot use configmodels.UpfDataColl (constant "webconsoleData.snapshots.upfData" of type string) as context.Context value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext: string does not implement context.Context (missing method Deadline)
|
unit-tests:
configapi/api_inventory.go#L316
cannot use filter (variable of type primitive.M) as string value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext
|
unit-tests:
configapi/api_inventory.go#L316
cannot use []interface{}{…} (value of type []interface{}) as primitive.M value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext
|
unit-tests:
configapi/api_inventory.go#L316
cannot use sc (variable of type mongo.SessionContext) as []interface{} value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext
|
unit-tests:
configapi/api_inventory.go#L322
cannot use configmodels.UpfDataColl (constant "webconsoleData.snapshots.upfData" of type string) as context.Context value in argument to dbadapter.CommonDBClient.RestfulAPIPutOneWithContext: string does not implement context.Context (missing method Deadline)
|
unit-tests:
configapi/api_inventory.go#L322
cannot use filter (variable of type primitive.M) as string value in argument to dbadapter.CommonDBClient.RestfulAPIPutOneWithContext
|
unit-tests:
configapi/api_inventory.go#L322
cannot use sc (variable of type mongo.SessionContext) as map[string]interface{} value in argument to dbadapter.CommonDBClient.RestfulAPIPutOneWithContext
|
build:
configapi/api_inventory.go#L45
undefined: gnbDataColl
|
build:
configapi/api_inventory.go#L131
undefined: gnbDataColl
|
build:
configapi/api_inventory.go#L199
undefined: upfDataColl
|
build:
configapi/api_inventory.go#L316
cannot use configmodels.UpfDataColl (constant "webconsoleData.snapshots.upfData" of type string) as context.Context value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext: string does not implement context.Context (missing method Deadline)
|
build:
configapi/api_inventory.go#L316
cannot use filter (variable of type primitive.M) as string value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext
|
build:
configapi/api_inventory.go#L316
cannot use []interface{}{…} (value of type []interface{}) as primitive.M value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext
|
build:
configapi/api_inventory.go#L316
cannot use sc (variable of type mongo.SessionContext) as []interface{} value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext
|
build:
configapi/api_inventory.go#L322
cannot use configmodels.UpfDataColl (constant "webconsoleData.snapshots.upfData" of type string) as context.Context value in argument to dbadapter.CommonDBClient.RestfulAPIPutOneWithContext: string does not implement context.Context (missing method Deadline)
|
build:
configapi/api_inventory.go#L322
cannot use filter (variable of type primitive.M) as string value in argument to dbadapter.CommonDBClient.RestfulAPIPutOneWithContext
|
build:
configapi/api_inventory.go#L322
cannot use sc (variable of type mongo.SessionContext) as map[string]interface{} value in argument to dbadapter.CommonDBClient.RestfulAPIPutOneWithContext
|
lint:
backend/webui_service/webui_init.go#L31
could not import github.com/omec-project/webconsole/configapi (-: # github.com/omec-project/webconsole/configapi
|
lint:
configapi/api_inventory.go#L45
undefined: gnbDataColl
|
lint:
configapi/api_inventory.go#L131
undefined: gnbDataColl
|
lint:
configapi/api_inventory.go#L199
undefined: upfDataColl
|
lint:
configapi/api_inventory.go#L316
cannot use configmodels.UpfDataColl (constant "webconsoleData.snapshots.upfData" of type string) as context.Context value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext: string does not implement context.Context (missing method Deadline)
|
lint:
configapi/api_inventory.go#L316
cannot use filter (variable of type primitive.M) as string value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext
|
lint:
configapi/api_inventory.go#L316
cannot use []interface{}{…} (value of type []interface{}) as primitive.M value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext
|
lint:
configapi/api_inventory.go#L316
cannot use sc (variable of type mongo.SessionContext) as []interface{} value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext
|
lint:
configapi/api_inventory.go#L322
cannot use configmodels.UpfDataColl (constant "webconsoleData.snapshots.upfData" of type string) as context.Context value in argument to dbadapter.CommonDBClient.RestfulAPIPutOneWithContext: string does not implement context.Context (missing method Deadline)
|
lint:
configapi/api_inventory.go#L322
cannot use filter (variable of type primitive.M) as string value in argument to dbadapter.CommonDBClient.RestfulAPIPutOneWithContext
|
staticcheck:
configapi/api_inventory.go#L45
undefined: gnbDataColl
|
staticcheck:
configapi/api_inventory.go#L131
undefined: gnbDataColl
|
staticcheck:
configapi/api_inventory.go#L199
undefined: upfDataColl
|
staticcheck:
configapi/api_inventory.go#L316
cannot use configmodels.UpfDataColl (constant "webconsoleData.snapshots.upfData" of type string) as context.Context value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext: string does not implement context.Context (missing method Deadline)
|
staticcheck:
configapi/api_inventory.go#L316
cannot use filter (variable of type primitive.M) as string value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext
|
staticcheck:
configapi/api_inventory.go#L316
cannot use []interface{}{…} (value of type []interface{}) as primitive.M value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext
|
staticcheck:
configapi/api_inventory.go#L316
cannot use sc (variable of type mongo.SessionContext) as []interface{} value in argument to dbadapter.CommonDBClient.RestfulAPIPostManyWithContext
|
staticcheck:
configapi/api_inventory.go#L322
cannot use configmodels.UpfDataColl (constant "webconsoleData.snapshots.upfData" of type string) as context.Context value in argument to dbadapter.CommonDBClient.RestfulAPIPutOneWithContext: string does not implement context.Context (missing method Deadline)
|
staticcheck:
configapi/api_inventory.go#L322
cannot use filter (variable of type primitive.M) as string value in argument to dbadapter.CommonDBClient.RestfulAPIPutOneWithContext
|
staticcheck:
configapi/api_inventory.go#L322
cannot use sc (variable of type mongo.SessionContext) as map[string]interface{} value in argument to dbadapter.CommonDBClient.RestfulAPIPutOneWithContext
|
docker-build
Process completed with exit code 2.
|
license-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
hadolint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
fossa-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build-ui
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
unit-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
docker-build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|