Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
capif
Manage
Activity
Members
Labels
Plan
Issues
25
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
OCF
capif
Commits
5cc4ed81
Commit
5cc4ed81
authored
3 weeks ago
by
Jorge Moratinos
Browse files
Options
Downloads
Patches
Plain Diff
Fix on publish service
parent
2b5d318f
Branches
Branches containing commit
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
services/TS29222_CAPIF_Publish_Service_API/published_apis/core/serviceapidescriptions.py
+1
-1
1 addition, 1 deletion
...Service_API/published_apis/core/serviceapidescriptions.py
with
1 addition
and
1 deletion
services/TS29222_CAPIF_Publish_Service_API/published_apis/core/serviceapidescriptions.py
+
1
−
1
View file @
5cc4ed81
...
@@ -343,7 +343,7 @@ class PublishServiceOperations(Resource):
...
@@ -343,7 +343,7 @@ class PublishServiceOperations(Resource):
def
service_api_availability_event
(
self
,
service_api_description
):
def
service_api_availability_event
(
self
,
service_api_description
):
service_api_status
=
""
service_api_status
=
""
if
ServiceAPIDescription
.
return_supp_feat_dict
(
service_api_description
.
supported_features
)[
"
ApiStatusMonitoring
"
]:
if
ServiceAPIDescription
.
return_supp_feat_dict
(
service_api_description
.
get
(
"
supported_features
"
,
None
)
)[
"
ApiStatusMonitoring
"
]:
if
service_api_description
.
api_status
is
None
or
len
(
service_api_description
.
api_status
.
aef_ids
)
>
0
:
if
service_api_description
.
api_status
is
None
or
len
(
service_api_description
.
api_status
.
aef_ids
)
>
0
:
current_app
.
logger
.
info
(
current_app
.
logger
.
info
(
"
Service available, at least one AEF is available
"
)
"
Service available, at least one AEF is available
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment