From 8385ee530ecf9653b8ea933dd17c90212d03fec3 Mon Sep 17 00:00:00 2001 From: "RamaPrasad Amaranarayana (ra5425)" Date: Wed, 19 Sep 2018 18:18:55 -0400 Subject: Change Management Schedule Optimization Adding CMSO Service Template Files for Change Management Schedule Optimization Change-Id: I11a6987d0bba7c6f0a0cf8842ba20be9fce8fba8 Issue-ID: OPTFRA-353 Signed-off-by: RamaPrasad Amaranarayana (ra5425) --- .../data/templates/tm/CancelChangeRecord.yaml | 36 +++++++++++++++++++ .../data/templates/tm/CloseCancelChangeRecord.yaml | 38 ++++++++++++++++++++ .../data/templates/tm/CreateChangeTicket.yaml | 41 ++++++++++++++++++++++ .../tm/DefaultChangeTicketProperties.yaml | 37 +++++++++++++++++++ .../data/templates/tm/GetChangeRecord.yaml | 32 +++++++++++++++++ .../data/templates/tm/UpdateChangeRecord.yaml | 34 ++++++++++++++++++ 6 files changed, 218 insertions(+) create mode 100644 cmso-service/data/templates/tm/CancelChangeRecord.yaml create mode 100644 cmso-service/data/templates/tm/CloseCancelChangeRecord.yaml create mode 100644 cmso-service/data/templates/tm/CreateChangeTicket.yaml create mode 100644 cmso-service/data/templates/tm/DefaultChangeTicketProperties.yaml create mode 100644 cmso-service/data/templates/tm/GetChangeRecord.yaml create mode 100644 cmso-service/data/templates/tm/UpdateChangeRecord.yaml diff --git a/cmso-service/data/templates/tm/CancelChangeRecord.yaml b/cmso-service/data/templates/tm/CancelChangeRecord.yaml new file mode 100644 index 0000000..e8d0410 --- /dev/null +++ b/cmso-service/data/templates/tm/CancelChangeRecord.yaml @@ -0,0 +1,36 @@ +### +# Copyright © 2017-2018 AT&T Intellectual Property. +# Modifications Copyright © 2018 IBM. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# +# Unless otherwise specified, all documentation contained herein is licensed +# under the Creative Commons License, Attribution 4.0 Intl. (the â€Å"License”); +# you may not use this documentation except in compliance with the License. +# You may obtain a copy of the License at +# +# https://creativecommons.org/licenses/by/4.0/ +# +# Unless required by applicable law or agreed to in writing, documentation +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +### + +changeId : ${changeId} +status : Closed +changeClosedBy : ${requesterId} +closureCode : Cancelled +closingComments: Cancel requested by user diff --git a/cmso-service/data/templates/tm/CloseCancelChangeRecord.yaml b/cmso-service/data/templates/tm/CloseCancelChangeRecord.yaml new file mode 100644 index 0000000..be929c8 --- /dev/null +++ b/cmso-service/data/templates/tm/CloseCancelChangeRecord.yaml @@ -0,0 +1,38 @@ +### +# Copyright © 2017-2018 AT&T Intellectual Property. +# Modifications Copyright © 2018 IBM. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# +# Unless otherwise specified, all documentation contained herein is licensed +# under the Creative Commons License, Attribution 4.0 Intl. (the â€Å"License”); +# you may not use this documentation except in compliance with the License. +# You may obtain a copy of the License at +# +# https://creativecommons.org/licenses/by/4.0/ +# +# Unless required by applicable law or agreed to in writing, documentation +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +### + +changeId : ${changeId} +status : ${status} +changeClosedBy : ${requesterId} +closureCode : ${closureCode} +closingComments : "${closingComments}" +actualStartDate : ${actualStartDate} +actualEndDate : ${actualEndDate} diff --git a/cmso-service/data/templates/tm/CreateChangeTicket.yaml b/cmso-service/data/templates/tm/CreateChangeTicket.yaml new file mode 100644 index 0000000..5f1ba9b --- /dev/null +++ b/cmso-service/data/templates/tm/CreateChangeTicket.yaml @@ -0,0 +1,41 @@ +### +# Copyright © 2017-2018 AT&T Intellectual Property. +# Modifications Copyright © 2018 IBM. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# +# Unless otherwise specified, all documentation contained herein is licensed +# under the Creative Commons License, Attribution 4.0 Intl. (the â€Å"License”); +# you may not use this documentation except in compliance with the License. +# You may obtain a copy of the License at +# +# https://creativecommons.org/licenses/by/4.0/ +# +# Unless required by applicable law or agreed to in writing, documentation +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +### + +category : "${dd.category}" +type : "${dd.type}" +VNF: ${vnfName} +summary: ${dd.summary} +description : ${dd.description} +requesterId : ${requesterId} +plannedStartDate : ${plannedStartDate} +plannedEndDate : ${plannedEndDate} +reason : ${dd.reason} +assetList : ${vnfList} diff --git a/cmso-service/data/templates/tm/DefaultChangeTicketProperties.yaml b/cmso-service/data/templates/tm/DefaultChangeTicketProperties.yaml new file mode 100644 index 0000000..74fa12e --- /dev/null +++ b/cmso-service/data/templates/tm/DefaultChangeTicketProperties.yaml @@ -0,0 +1,37 @@ +### +# Copyright © 2017-2018 AT&T Intellectual Property. +# Modifications Copyright © 2018 IBM. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# +# Unless otherwise specified, all documentation contained herein is licensed +# under the Creative Commons License, Attribution 4.0 Intl. (the â€Å"License”); +# you may not use this documentation except in compliance with the License. +# You may obtain a copy of the License at +# +# https://creativecommons.org/licenses/by/4.0/ +# +# Unless required by applicable law or agreed to in writing, documentation +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +### + +category : Virtual Network Change +type : Maintenance +summary: +reason: +description: Execute workflow ${dd.WorkflowName} for VNF(s) + diff --git a/cmso-service/data/templates/tm/GetChangeRecord.yaml b/cmso-service/data/templates/tm/GetChangeRecord.yaml new file mode 100644 index 0000000..3b65882 --- /dev/null +++ b/cmso-service/data/templates/tm/GetChangeRecord.yaml @@ -0,0 +1,32 @@ +### +# Copyright © 2017-2018 AT&T Intellectual Property. +# Modifications Copyright © 2018 IBM. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# +# Unless otherwise specified, all documentation contained herein is licensed +# under the Creative Commons License, Attribution 4.0 Intl. (the â€Å"License”); +# you may not use this documentation except in compliance with the License. +# You may obtain a copy of the License at +# +# https://creativecommons.org/licenses/by/4.0/ +# +# Unless required by applicable law or agreed to in writing, documentation +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +### + +changeId : ${changeId} diff --git a/cmso-service/data/templates/tm/UpdateChangeRecord.yaml b/cmso-service/data/templates/tm/UpdateChangeRecord.yaml new file mode 100644 index 0000000..efc1f09 --- /dev/null +++ b/cmso-service/data/templates/tm/UpdateChangeRecord.yaml @@ -0,0 +1,34 @@ +### +# Copyright © 2017-2018 AT&T Intellectual Property. +# Modifications Copyright © 2018 IBM. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# +# Unless otherwise specified, all documentation contained herein is licensed +# under the Creative Commons License, Attribution 4.0 Intl. (the â€Å"License”); +# you may not use this documentation except in compliance with the License. +# You may obtain a copy of the License at +# +# https://creativecommons.org/licenses/by/4.0/ +# +# Unless required by applicable law or agreed to in writing, documentation +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +### + +changeId : ${changeId} +status : WorkInProgress +requesterId : ${requesterId} -- cgit 1.2.3-korg