e5d2f3f1139be5f8f571401948ae4f826f8ec81b
[policy/engine.git] / docs / release-notes.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2
3 Policy Release Notes
4 ====================
5
6 .. note
7 ..      * This Release Notes must be updated each time the team decides to Release new artifacts.
8 ..      * The scope of these Release Notes are for ONAP POLICY. In other words, each ONAP component has its Release Notes.  
9 ..      * This Release Notes is cumulative, the most recently Released artifact is made visible in the top of 
10 ..      * this Release Notes.
11 ..      * Except the date and the version number, all the other sections are optional but there must be at least 
12 ..      * one section describing the purpose of this new release.  
13 ..      * This note must be removed after content has been added.
14
15
16 ..      ==========================
17 ..      * * *   CASABLANCA   * * *
18 ..      ==========================
19
20
21 Version: 3.0.1
22 --------------
23
24 :Release Date: 2019-01-31 (Casablanca Maintenance Release)
25
26 The following items were deployed with the Casablanca Maintenance Release:
27
28 **New Features**
29
30     * [POLICY-1221] - Policy distribution application to support HTTPS communication
31     * [POLICY-1222] - Apex policy PDP to support HTTPS Communication
32
33 **Bug Fixes** 
34
35     * `[POLICY-1282] <https://jira.onap.org/browse/POLICY-1282>`_ - Policy format with some problems
36     * `[POLICY-1395] <https://jira.onap.org/browse/POLICY-1395>`_ - Apex PDP does not preserve context on model upgrade
37
38
39 Version: 3.0.0
40 --------------
41
42 :Release Date: 2018-11-30 (Casablanca Release)
43
44 **New Features**
45
46 The Casablanca release for POLICY delivered the following Epics. For a full list of stories and tasks delivered in the Casablanca release, refer to `JiraPolicyCasablanca`_ (Note: Jira details can also be viewed from this link).
47
48     * [POLICY-701] - This epic covers the work to integrate Policy into the SDC Service Distribution 
49     
50     The policy team introduced a new application into the framework that provides integration of the Service Distribution Notifications from SDC to Policy.
51         
52     * [POLICY-719] - This epic covers the work to build the Policy Lifecycle API
53     * [POLICY-726] - This epic covers the work to distribute policy from the PAP to the PDPs into the ONAP platform
54     * [POLICY-876] - This epics covers the work to re-build how the PAP organizes the PDP's into groups.
55     
56     The policy team did some forward looking spike work towards re-building the Software Architecture.
57
58     * [POLICY-809] - Maintain and implement performance
59     * [POLICY-814] - 72 hour stability testing (component and platform)
60     
61     The policy team made enhancements to the Drools PDP to further support S3P Performance.
62     For the new Policy SDC Distribution application and the newly ingested Apex PDP the team established S3P
63     performance standard and performed 72 hour stability tests.
64     
65     * [POLICY-824] - maintain and implement security
66     
67     The policy team established AAF Root Certificate for HTTPS communication and CADI/AAF integration into the
68     MVP applications. In addition, many java dependencies were upgraded to clear CLM security issues.
69     
70     * [POLICY-840] - Flexible control loop coordination facility. 
71
72     Work towards a POC for control loop coordination policies were implemented.
73
74     * [POLICY-841] - Covers the work required to support HPA
75
76     Enhancements were made to support the HPA use case through the use of the new Policy SDC Service Distribution application.
77
78     * [POLICY-842] - This epic covers the work to support the Auto Scale Out functional requirements
79     
80     Enhancements were made to support Scale Out Use Case to enforce new guard policies and updated SO and A&AI APIs.
81
82     * [POLICY-851] - This epic covers the work to bring in the Apex PDP code
83     
84     A new Apex PDP engine was ingested into the platform and work was done to ensure code cleared CLM security issues,
85     sonar issues, and checkstyle.
86     
87     * [POLICY-1081] - This epic covers the contribution for the 5G OOF PCI Optimization use case.
88
89     Policy templates changes were submitted that supported the 5G OOF PCI optimization use case.
90
91     * [POLICY-1182] - Covers the work to support CCVPN use case
92
93     Policy templates changes were submitted that supported the CCVPN use case.
94
95 **Bug Fixes**
96
97 The following bug fixes have been deployed with this release:
98
99     * `[POLICY-799] <https://jira.onap.org/browse/POLICY-799>`_ - Policy API Validation Does Not Validate Required Parent Attributes in the Model
100     * `[POLICY-869] <https://jira.onap.org/browse/POLICY-869>`_ - Control Loop Drools Rules should not have exceptions as well as die upon an exception
101     * `[POLICY-872] <https://jira.onap.org/browse/POLICY-872>`_ - investigate potential race conditions during rules version upgrades during call loads
102     * `[POLICY-878] <https://jira.onap.org/browse/POLICY-878>`_ - pdp-d: feature-pooling disables policy-controllers preventing processing of onset events
103     * `[POLICY-909] <https://jira.onap.org/browse/POLICY-909>`_ - get_ZoneDictionaryDataByName class type error
104     * `[POLICY-920] <https://jira.onap.org/browse/POLICY-920>`_ - Hard-coded path in junit test
105     * `[POLICY-921] <https://jira.onap.org/browse/POLICY-921>`_ - XACML Junit test cannot find property file
106     * `[POLICY-1083] <https://jira.onap.org/browse/POLICY-1083>`_ - Mismatch in action cases between Policy and APPC
107
108
109 **Security Notes**
110
111 POLICY code has been formally scanned during build time using NexusIQ and all Critical vulnerabilities have been addressed, items that remain open have been assessed for risk and determined to be false positive. The POLICY open Critical security vulnerabilities and their risk assessment have been documented as part of the `project (Casablanca Release) <https://wiki.onap.org/pages/viewpage.action?pageId=45300864>`_.
112
113 Quick Links:
114     - `POLICY project page <https://wiki.onap.org/display/DW/Policy+Framework+Project>`_
115
116     - `Passing Badge information for POLICY <https://bestpractices.coreinfrastructure.org/en/projects/1614>`_
117
118     - `Project Vulnerability Review Table for POLICY (Casablanca Release) <https://wiki.onap.org/pages/viewpage.action?pageId=45300864>`_
119
120 **Known Issues**
121  
122     * `[POLICY-1277] <https://jira.onap.org/browse/POLICY-1277>`_ - policy config takes too long time to become retrievable in PDP
123     * `[POLICY-1282] <https://jira.onap.org/browse/POLICY-1282>`_ - Policy format with some problems
124
125
126
127 ..      =======================
128 ..      * * *   BEIJING   * * *
129 ..      =======================
130
131 Version: 2.0.0
132 --------------
133
134 :Release Date: 2018-06-07 (Beijing Release)
135
136 **New Features**
137
138 The Beijing release for POLICY delivered the following Epics. For a full list of stories and tasks delivered in the Beijing release, refer to `JiraPolicyBeijing`_.
139
140     * [POLICY-390] - This epic covers the work to harden the Policy platform software base (incl 50% JUnit coverage)
141         - POLICY-238    policy/drools-applications: clean up maven structure
142         - POLICY-336    Address Technical Debt
143         - POLICY-338    Address JUnit Code Coverage
144         - POLICY-377    Policy Create API should validate input matches DCAE microservice template
145         - POLICY-389    Cleanup Jenkin's CI/CD process's
146         - POLICY-449    Policy API + Console : Common Policy Validation
147         - POLICY-568    Integration with org.onap AAF project
148         - POLICY-610    Support vDNS scale out for multiple times in Beijing release
149
150     * [POLICY-391] - This epic covers the work to support Release Planning activities
151         - POLICY-552    ONAP Licensing Scan - Use Restrictions
152
153     * [POLICY-392] - Platform Maturity Requirements - Performance Level 1
154         - POLICY-529    Platform Maturity Performance - Drools PDP
155         - POLICY-567    Platform Maturity Performance - PDP-X
156
157     * [POLICY-394] - This epic covers the work required to support a Policy developer environment in which Policy Developers can create, update policy templates/rules separate from the policy Platform runtime platform.
158         - POLICY-488    pap should not add rules to official template provided in drools applications
159
160     * [POLICY-398] - This epic covers the body of work involved in supporting policy that is platform specific.
161         - POLICY-434    need PDP /getConfig to return an indicator of where to find the config data - in config.content versus config field
162
163     * [POLICY-399] - This epic covers the work required to policy enable Hardware Platform Enablement
164         - POLICY-622    Integrate OOF Policy Model into Policy Platform
165
166     * [POLICY-512] - This epic covers the work to support Platform Maturity Requirements - Stability Level 1
167         - POLICY-525    Platform Maturity Stability - Drools PDP
168         - POLICY-526    Platform Maturity Stability - XACML PDP
169
170     * [POLICY-513] - Platform Maturity Requirements - Resiliency Level 2
171         - POLICY-527    Platform Maturity Resiliency - Policy Engine GUI and PAP
172         - POLICY-528    Platform Maturity Resiliency - Drools PDP
173         - POLICY-569    Platform Maturity Resiliency - BRMS Gateway
174         - POLICY-585    Platform Maturity Resiliency - XACML PDP
175         - POLICY-586    Platform Maturity Resiliency - Planning
176         - POLICY-681    Regression Test Use Cases
177
178     * [POLICY-514] - This epic covers the work to support Platform Maturity Requirements - Security Level 1
179         - POLICY-523    Platform Maturity Security - CII Badging - Project Website
180
181     * [POLICY-515] - This epic covers the work to support Platform Maturity Requirements - Escalability Level 1
182         - POLICY-531    Platform Maturity Scalability - XACML PDP
183         - POLICY-532    Platform Maturity Scalability - Drools PDP
184         - POLICY-623    Docker image re-design
185
186     * [POLICY-516] - This epic covers the work to support Platform Maturity Requirements - Manageability Level 1
187         - POLICY-533    Platform Maturity Manageability L1 - Logging
188         - POLICY-534    Platform Maturity Manageability - Instantiation < 1 hour
189
190     * [POLICY-517] - This epic covers the work to support Platform Maturity Requirements - Usability Level 1
191         - POLICY-535    Platform Maturity Usability - User Guide
192         - POLICY-536    Platform Maturity Usability - Deployment Documentation
193         - POLICY-537    Platform Maturity Usability - API Documentation
194
195     * [POLICY-546] - R2 Beijing - Various enhancements requested by clients to the way we handle TOSCA models.
196
197
198 **Bug Fixes**
199
200 The following bug fixes have been deployed with this release:
201
202     * `[POLICY-484] <https://jira.onap.org/browse/POLICY-484>`_ - Extend election handler run window and clean up error messages
203     * `[POLICY-494] <https://jira.onap.org/browse/POLICY-494>`_ - POLICY EELF Audit.log not in ECOMP Standards Compliance
204     * `[POLICY-501] <https://jira.onap.org/browse/POLICY-501>`_ - Fix issues blocking election handler and add directed interface for opstate
205     * `[POLICY-509] <https://jira.onap.org/browse/POLICY-509>`_ - Add IntelliJ file to .gitingore
206     * `[POLICY-510] <https://jira.onap.org/browse/POLICY-510>`_ - Do not enforce hostname validation
207     * `[POLICY-518] <https://jira.onap.org/browse/POLICY-518>`_ - StateManagement creation of EntityManagers.
208     * `[POLICY-519] <https://jira.onap.org/browse/POLICY-519>`_ - Correctly initialize the value of allSeemsWell in DroolsPdpsElectionHandler
209     * `[POLICY-629] <https://jira.onap.org/browse/POLICY-629>`_ - Fixed a bug on editor screen
210     * `[POLICY-684] <https://jira.onap.org/browse/POLICY-684>`_ - Fix regex for brmsgw dependency handling
211     * `[POLICY-707] <https://jira.onap.org/browse/POLICY-707>`_ - ONAO-PAP-REST unit tests fail on first build on clean checkout 
212     * `[POLICY-717] <https://jira.onap.org/browse/POLICY-717>`_ - Fix a bug in checking required fields if the object has include function
213     * `[POLICY-734] <https://jira.onap.org/browse/POLICY-734>`_ - Fix Fortify Header Manipulation Issue
214     * `[POLICY-743] <https://jira.onap.org/browse/POLICY-743>`_ - Fixed data name since its name was changed on server side
215     * `[POLICY-753] <https://jira.onap.org/browse/POLICY-753>`_ - Policy Health Check failed with multi-node cluster
216     * `[POLICY-765] <https://jira.onap.org/browse/POLICY-765>`_ - junit test for guard fails intermittently
217
218
219 **Security Notes**
220
221 POLICY code has been formally scanned during build time using NexusIQ and all Critical vulnerabilities have been addressed, items that remain open have been assessed for risk and determined to be false positive. The POLICY open Critical security vulnerabilities and their risk assessment have been documented as part of the `project <https://wiki.onap.org/pages/viewpage.action?pageId=25437092>`_.
222
223 Quick Links:
224         - `POLICY project page <https://wiki.onap.org/display/DW/Policy+Framework+Project>`_
225
226         - `Passing Badge information for POLICY <https://bestpractices.coreinfrastructure.org/en/projects/1614>`_
227
228         - `Project Vulnerability Review Table for POLICY <https://wiki.onap.org/pages/viewpage.action?pageId=25437092>`_
229
230 **Known Issues**
231
232 The following known issues will be addressed in a future release:
233
234     * `[POLICY-522] <https://jira.onap.org/browse/POLICY-522>`_ - PAP REST APIs undesired HTTP response body for 500 responses
235     * `[POLICY-608] <https://jira.onap.org/browse/POLICY-608>`_ - xacml components : remove hardcoded secret key from source code
236     * `[POLICY-764] <https://jira.onap.org/browse/POLICY-764>`_ - Policy Engine PIP Configuration JUnit Test fails intermittently
237     * `[POLICY-776] <https://jira.onap.org/browse/POLICY-776>`_ - OOF Policy TOSCA models are not correctly rendered
238     * `[POLICY-799] <https://jira.onap.org/browse/POLICY-799>`_ - Policy API Validation Does Not Validate Required Parent Attributes in the Model
239     * `[POLICY-801] <https://jira.onap.org/browse/POLICY-801>`_ - fields mismatch for OOF flavorFeatures between implementation and wiki
240     * `[POLICY-869] <https://jira.onap.org/browse/POLICY-869>`_  - Control Loop Drools Rules should not have exceptions as well as die upon an exception
241     * `[POLICY-872] <https://jira.onap.org/browse/POLICY-872>`_  - investigate potential race conditions during rules version upgrades during call loads
242
243
244
245
246 Version: 1.0.2
247 --------------
248
249 :Release Date: 2018-01-18 (Amsterdam Maintenance Release)
250
251 **Bug Fixes**
252
253 The following fixes were deployed with the Amsterdam Maintenance Release:
254
255     * `[POLICY-486] <https://jira.onap.org/browse/POLICY-486>`_ - pdp-x api pushPolicy fails to push latest version
256
257
258 Version: 1.0.1
259 --------------
260
261 :Release Date: 2017-11-16 (Amsterdam Release)
262
263 **New Features**
264
265 The Amsterdam release continued evolving the design driven architecture of and functionality for POLICY.  The following is a list of Epics delivered with the release. For a full list of stories and tasks delivered in the Amsterdam release, refer to `JiraPolicyAmsterdam`_.
266
267     * [POLICY-31] - Stabilization of Seed Code
268         - POLICY-25  Replace any remaining openecomp reference by onap
269         - POLICY-32  JUnit test code coverage
270         - POLICY-66  PDP-D Feature mechanism enhancements
271         - POLICY-67  Rainy Day Decision Policy
272         - POLICY-93  Notification API
273         - POLICY-158  policy/engine: SQL injection Mitigation
274         - POLICY-269  Policy API Support for Rainy Day Decision Policy and Dictionaries  
275
276     * [POLICY-33] - This epic covers the body of work involved in deploying the Policy Platform components
277         - POLICY-40  MSB Integration  
278         - POLICY-124  Integration with oparent  
279         - POLICY-41  OOM Integration  
280         - POLICY-119  PDP-D: noop sinks  
281
282     * [POLICY-34] - This epic covers the work required to support a Policy developer environment in which Policy Developers can create, update policy templates/rules separate from the policy Platform runtime platform.
283         - POLICY-57  VF-C Actor code development  
284         - POLICY-43  Amsterdam Use Case Template  
285         - POLICY-173  Deployment of Operational Policies Documentation  
286
287     * [POLICY-35] - This epic covers the body of work involved in supporting policy that is platform specific.
288         - POLICY-68  TOSCA Parsing for nested objects for Microservice Policies  
289
290     * [POLICY-36] - This epic covers the work required to capture policy during VNF on-boarding.
291
292     * [POLICY-37] - This epic covers the work required to capture, update, extend Policy(s) during Service Design.
293         - POLICY-64  CLAMP Configuration and Operation Policies for vFW Use Case  
294         - POLICY-65  CLAMP Configuration and Operation Policies for vDNS Use Case  
295         - POLICY-48  CLAMP Configuration and Operation Policies for vCPE Use Case 
296         - POLICY-63  CLAMP Configuration and Operation Policies for VOLTE Use Case  
297
298     * [POLICY-38] - This epic covers the work required to support service distribution by SDC.
299
300     * [POLICY-39] - This epic covers the work required to support the Policy Platform during runtime.
301         - POLICY-61  vFW Use Case - Runtime  
302         - POLICY-62  vDNS Use Case - Runtime  
303         - POLICY-59  vCPE Use Case - Runtime  
304         - POLICY-60  VOLTE Use Case - Runtime  
305         - POLICY-51  Runtime Policy Update Support  
306         - POLICY-328  vDNS Use Case - Runtime Testing  
307         - POLICY-324  vFW Use Case - Runtime Testing  
308         - POLICY-320  VOLTE Use Case - Runtime Testing  
309         - POLICY-316  vCPE Use Case - Runtime Testing  
310
311     * [POLICY-76] - This epic covers the body of work involved in supporting R1 Amsterdam Milestone Release Planning Milestone Tasks.
312         - POLICY-77  Functional Test case definition for Control Loops  
313         - POLICY-387  Deliver the released policy artifacts  
314
315
316 **Bug Fixes**
317     - This is technically the first release of POLICY, previous release was the seed code contribution. As such, the defects fixed in this release were raised during the course of the release. Anything not closed is captured below under Known Issues. For a list of defects fixed in the Amsterdam release, refer to `JiraPolicyAmsterdam`_.
318
319
320 **Known Issues**
321     - The operational policy template has been tested with the vFW, vCPE, vDNS and VOLTE use cases.  Additional development may/may not be required for other scenarios.
322
323     - For vLBS Use Case, the following steps are required to setup the service instance:
324         -  Create a Service Instance via VID.
325         -  Create a VNF Instance via VID.
326         -  Preload SDNC with topology data used for the actual VNF instantiation (both base and DNS scaling modules). NOTE: you may want to set “vlb_name_0” in the base VF module data to something unique. This is the vLB server name that DCAE will pass to Policy during closed loop. If the same name is used multiple times, the Policy name-query to AAI will show multiple entries, one for each occurrence of that vLB VM name in the OpenStack zone. Note that this is not a limitation, typically server names in a domain are supposed to be unique.
327         -  Instantiate the base VF module (vLB, vPacketGen, and one vDNS) via VID. NOTE: The name of the VF module MUST start with ``Vfmodule_``. The same name MUST appear in the SDNC preload of the base VF module topology. We’ll relax this naming requirement for Beijing Release.
328         -  Run heatbridge from the Robot VM using ``Vfmodule_`` … as stack name (it is the actual stack name in OpenStack)
329         -  Populate AAI with a dummy VF module for vDNS scaling.
330
331 **Security Issues**
332     - None at this time
333
334 **Other**
335     - None at this time
336
337
338 .. Links to jira release notes
339
340 .. _JiraPolicyCasablanca: https://jira.onap.org/secure/ReleaseNote.jspa?projectId=10106&version=10446
341 .. _JiraPolicyBeijing: https://jira.onap.org/secure/ReleaseNote.jspa?projectId=10106&version=10349
342 .. _JiraPolicyAmsterdam: https://jira.onap.org/secure/ReleaseNote.jspa?projectId=10106&version=10300
343
344
345 .. note
346 ..      CHANGE  HISTORY
347 ..      01/17/2019 - Updated for Casablanca Maintenance Release.
348 ..      11/19/2018 - Updated for Casablanca.  Also, fixed bugs is a list of bugs where the "Affected Version" is Beijing.
349 ..              Changed version number to use ONAP versions.
350 ..      10/08/2018 - Initial document for Casablanca release.
351 ..              Per Jorge, POLICY-785 did not get done in Casablanca (removed).  
352 ..      05/29/2018 - Information for Beijing release.
353 ..      03/22/2018 - Initial document for Beijing release.
354 ..      01/15/2018 - Added change for version 1.1.3 to the Amsterdam branch.  Also corrected prior version (1.2.0) to (1.1.1)
355 ..              Also, Set up initial information for Beijing.
356 ..              Excluded POLICY-454 from bug list since it doesn't apply to Beijing per Jorge.
357  
358
359 End of Release Notes
360
361 .. How to notes for SS 
362 ..      For initial document: list epic and user stories for each, list user stories with no epics.  
363 ..      For Bugs section, list bugs that are not tied to an epic.  Remove all items with "Won't Do" resolution.
364 ..      For Known issues, list bugs that are slotted for a future release.
365
366