Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
SOL012
Commits
6bd4c41d
Commit
6bd4c41d
authored
Aug 09, 2022
by
Giacomo Bernini
Browse files
fix update
parent
966fa997
Pipeline
#12461
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/SOL012/PolicyManagementNotification/PolicyManagementNotification.yaml
View file @
6bd4c41d
...
...
@@ -52,19 +52,19 @@ paths:
"
204"
:
$ref
:
'
#/components/responses/PolicyChangeNotification.Post.204'
"
400"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/400
$ref
:
../
response
s/SOL012_resp.yaml#/responses/400
"
401"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/401
$ref
:
../
response
s/SOL012_resp.yaml#/responses/401
"
403"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/403
$ref
:
../
response
s/SOL012_resp.yaml#/responses/403
"
405"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/405
$ref
:
../
response
s/SOL012_resp.yaml#/responses/405
"
406"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/406
$ref
:
../
response
s/SOL012_resp.yaml#/responses/406
"
500"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/500
$ref
:
../
response
s/SOL012_resp.yaml#/responses/500
"
503"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/503
$ref
:
../
response
s/SOL012_resp.yaml#/responses/503
get
:
description
:
>-
...
...
@@ -76,19 +76,19 @@ paths:
"
204"
:
$ref
:
'
#/components/responses/PolicyChangeNotification.Get.204'
"
400"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/400
$ref
:
../
response
s/SOL012_resp.yaml#/responses/400
"
401"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/401
$ref
:
../
response
s/SOL012_resp.yaml#/responses/401
"
403"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/403
$ref
:
../
response
s/SOL012_resp.yaml#/responses/403
"
405"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/405
$ref
:
../
response
s/SOL012_resp.yaml#/responses/405
"
406"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/406
$ref
:
../
response
s/SOL012_resp.yaml#/responses/406
"
500"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/500
$ref
:
../
response
s/SOL012_resp.yaml#/responses/500
"
503"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/503
$ref
:
../
response
s/SOL012_resp.yaml#/responses/503
/URI_is_provided_by_the_API_consumer_when_creating_the_subscription_PolicyConflictNotification
:
description
:
>-
...
...
@@ -116,19 +116,19 @@ paths:
"
204"
:
$ref
:
'
#/components/responses/PolicyConflictNotification.Post.204'
"
400"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/400
$ref
:
../
response
s/SOL012_resp.yaml#/responses/400
"
401"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/401
$ref
:
../
response
s/SOL012_resp.yaml#/responses/401
"
403"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/403
$ref
:
../
response
s/SOL012_resp.yaml#/responses/403
"
405"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/405
$ref
:
../
response
s/SOL012_resp.yaml#/responses/405
"
406"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/406
$ref
:
../
response
s/SOL012_resp.yaml#/responses/406
"
500"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/500
$ref
:
../
response
s/SOL012_resp.yaml#/responses/500
"
503"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/503
$ref
:
../
response
s/SOL012_resp.yaml#/responses/503
get
:
description
:
>-
...
...
@@ -140,181 +140,21 @@ paths:
"
204"
:
$ref
:
'
#/components/responses/PolicyConflictNotification.Get.204'
"
400"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/400
$ref
:
../
response
s/SOL012_resp.yaml#/responses/400
"
401"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/401
$ref
:
../
response
s/SOL012_resp.yaml#/responses/401
"
403"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/403
$ref
:
../
response
s/SOL012_resp.yaml#/responses/403
"
405"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/405
$ref
:
../
response
s/SOL012_resp.yaml#/responses/405
"
406"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/406
$ref
:
../
response
s/SOL012_resp.yaml#/responses/406
"
500"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/500
$ref
:
../
response
s/SOL012_resp.yaml#/responses/500
"
503"
:
$ref
:
../
component
s/SOL012_resp.yaml#/
components/
responses/503
$ref
:
../
response
s/SOL012_resp.yaml#/responses/503
components
:
schemas
:
PolicyChangeNotification
:
description
:
>
This type represents a notification about policy change. It shall comply with the provisions
defined in table 5.6.2.7-1.
This notification shall be triggered by the API producer when a policy has been changed as
the result of an operation of creating, transferring, deleting or modifying a policy.
type
:
object
properties
:
id
:
description
:
>
Identifier of this notification. If a notification is sent multiple times due to multiple
subscriptions, the "id" attribute of all these notifications shall have the same value.
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/Identifier"
notificationType
:
description
:
>
Discriminator for the different notification types. Shall be set to "PolicyChangeNotification"
for this notification type.
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/String"
subscriptionId
:
description
:
>
Identifier of the subscription that this notification relates to.
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/Identifier"
timeStamp
:
description
:
>
Date and time of the generation of the notification.
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/DateTime"
policyId
:
description
:
>
Identifier of the policy.
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/Identifier"
affectedVersion
:
description
:
>
Affected version of the policy.
The value is the version identifier in the URI when a particular version of the policy
is transferred or deleted, or the selected version of the policy when the policy is
activated/deactivated/modified.
Shall be present when a particular version of the policy is impacted by the policy
management operation.
Shall be absent otherwise.
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/Version"
previousSelectedVersion
:
description
:
>
The previous selected version of the policy.
Shall be present when another version of the policy has been selected.
Shall be absent otherwise.
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/Version"
policyModifications
:
description
:
>
Information about the modifications of the policy. Shall be present when the changeType
equals to "MODIFY_POLICY". Shall be absent otherwise.
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/PolicyModifications"
changeType
:
description
:
>
Policy management operation that cause the change of the policy.
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/PolicyOperationType"
_links
:
description
:
>
Links to resources related to this notification.
type
:
object
properties
:
subscription
:
description
:
>
Link to the related subscription.
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/NotificationLink"
objectInstance
:
description
:
>
Link to the resource representing the policies to which the notified change applies.
Shall be present if the policy is accessible as a resource.
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/NotificationLink"
required
:
-
subscription
required
:
-
id
-
notificationType
-
subscriptionId
-
timeStamp
-
policyId
-
changeType
-
_links
PolicyConflictNotification
:
description
:
>
This type represents a notification about policy conflict. It shall comply with the provisions
defined in table 5.6.2.8-1.
This notification shall be triggered by the API producer when a policy conflict is detected,
and any of the policies specified in an associated notification subscription is impacted
by the conflict.
type
:
object
properties
:
id
:
description
:
>
Identifier of this notification. If a notification is sent multiple times due to multiple
subscriptions, the "id" attribute of all these notifications shall have the same value.
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/Identifier"
notificationType
:
description
:
>
Discriminator for the different notification types. Shall be set to "PolicyConflictNotification"
for this notification type.
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/String"
subscriptionId
:
description
:
>
Identifier of the subscription that this notification relates to.
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/Identifier"
timeStamp
:
description
:
>
Date and time of the generation of the notification.
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/DateTime"
policyIds
:
description
:
>
Identifiers of the conflicting policies.
The policy identifier and the corresponding selected version are mapped by the order
in the array.
type
:
array
items
:
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/Identifier"
minItems
:
2
selectedVersions
:
description
:
>
Selected versions of the conflicting policies.
The policy identifier and the corresponding selected version are mapped by the order
in the array.
type
:
array
items
:
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/Version"
minItems
:
2
conflictDescription
:
description
:
>
Description of the detected policy conflicts, e.g. conflicting events, conditions
or actions among the policies
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/String"
_links
:
description
:
>
Links to resources related to this notification.
type
:
object
properties
:
subscription
:
description
:
>
Link to the related subscription.
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/NotificationLink"
objectInstances
:
description
:
>
Link to the resources representing the policies to which the notified conflict applies.
type
:
array
items
:
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/NotificationLink"
minItems
:
2
required
:
-
subscription
-
objectInstances
required
:
-
id
-
notificationType
-
subscriptionId
-
timeStamp
-
policyIds
-
selectedVersions
-
conflictDescription
-
_links
responses
:
PolicyChangeNotification.Post.204
:
description
:
>
...
...
@@ -397,7 +237,7 @@ components:
content
:
application/json
:
schema
:
$ref
:
"
#/component
s/schemas/PolicyChangeNotification"
$ref
:
"
definitions/PolicyManagementNotification_def.yaml#/definition
s/schemas/PolicyChangeNotification"
required
:
true
PolicyConflictNotification
:
...
...
@@ -406,5 +246,5 @@ components:
content
:
application/json
:
schema
:
$ref
:
"
#/component
s/schemas/PolicyConflictNotification"
$ref
:
"
definitions/PolicyManagementNotification_def.yaml#/definition
s/schemas/PolicyConflictNotification"
required
:
true
src/SOL012/PolicyManagementNotification/definitions/PolicyManagementNotification_def.yaml
0 → 100644
View file @
6bd4c41d
definitions
:
schemas
:
PolicyChangeNotification
:
description
:
>
This type represents a notification about policy change. It shall comply with the provisions
defined in table 5.6.2.7-1.
This notification shall be triggered by the API producer when a policy has been changed as
the result of an operation of creating, transferring, deleting or modifying a policy.
type
:
object
properties
:
id
:
description
:
>
Identifier of this notification. If a notification is sent multiple times due to multiple
subscriptions, the "id" attribute of all these notifications shall have the same value.
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/Identifier"
notificationType
:
description
:
>
Discriminator for the different notification types. Shall be set to "PolicyChangeNotification"
for this notification type.
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/String"
subscriptionId
:
description
:
>
Identifier of the subscription that this notification relates to.
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/Identifier"
timeStamp
:
description
:
>
Date and time of the generation of the notification.
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/DateTime"
policyId
:
description
:
>
Identifier of the policy.
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/Identifier"
affectedVersion
:
description
:
>
Affected version of the policy.
The value is the version identifier in the URI when a particular version of the policy
is transferred or deleted, or the selected version of the policy when the policy is
activated/deactivated/modified.
Shall be present when a particular version of the policy is impacted by the policy
management operation.
Shall be absent otherwise.
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/Version"
previousSelectedVersion
:
description
:
>
The previous selected version of the policy.
Shall be present when another version of the policy has been selected.
Shall be absent otherwise.
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/Version"
policyModifications
:
description
:
>
Information about the modifications of the policy. Shall be present when the changeType
equals to "MODIFY_POLICY". Shall be absent otherwise.
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/PolicyModifications"
changeType
:
description
:
>
Policy management operation that cause the change of the policy.
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/PolicyOperationType"
_links
:
description
:
>
Links to resources related to this notification.
type
:
object
properties
:
subscription
:
description
:
>
Link to the related subscription.
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/NotificationLink"
objectInstance
:
description
:
>
Link to the resource representing the policies to which the notified change applies.
Shall be present if the policy is accessible as a resource.
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/NotificationLink"
required
:
-
subscription
required
:
-
id
-
notificationType
-
subscriptionId
-
timeStamp
-
policyId
-
changeType
-
_links
PolicyConflictNotification
:
description
:
>
This type represents a notification about policy conflict. It shall comply with the provisions
defined in table 5.6.2.8-1.
This notification shall be triggered by the API producer when a policy conflict is detected,
and any of the policies specified in an associated notification subscription is impacted
by the conflict.
type
:
object
properties
:
id
:
description
:
>
Identifier of this notification. If a notification is sent multiple times due to multiple
subscriptions, the "id" attribute of all these notifications shall have the same value.
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/Identifier"
notificationType
:
description
:
>
Discriminator for the different notification types. Shall be set to "PolicyConflictNotification"
for this notification type.
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/String"
subscriptionId
:
description
:
>
Identifier of the subscription that this notification relates to.
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/Identifier"
timeStamp
:
description
:
>
Date and time of the generation of the notification.
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/DateTime"
policyIds
:
description
:
>
Identifiers of the conflicting policies.
The policy identifier and the corresponding selected version are mapped by the order
in the array.
type
:
array
items
:
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/Identifier"
minItems
:
2
selectedVersions
:
description
:
>
Selected versions of the conflicting policies.
The policy identifier and the corresponding selected version are mapped by the order
in the array.
type
:
array
items
:
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/Version"
minItems
:
2
conflictDescription
:
description
:
>
Description of the detected policy conflicts, e.g. conflicting events, conditions
or actions among the policies
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/String"
_links
:
description
:
>
Links to resources related to this notification.
type
:
object
properties
:
subscription
:
description
:
>
Link to the related subscription.
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/NotificationLink"
objectInstances
:
description
:
>
Link to the resources representing the policies to which the notified conflict applies.
type
:
array
items
:
$ref
:
"
../../definitions/SOL012_def.yaml#/definitions/schemas/NotificationLink"
minItems
:
2
required
:
-
subscription
-
objectInstances
required
:
-
id
-
notificationType
-
subscriptionId
-
timeStamp
-
policyIds
-
selectedVersions
-
conflictDescription
-
_links
\ No newline at end of file
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment