Correct release dates for maintenance releases
[policy/parent.git] / docs / release-notes.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2
3 .. DO NOT CHANGE THIS LABEL FOR RELEASE NOTES - EVEN THOUGH IT GIVES A WARNING
4 .. _release_notes:
5
6 Policy Release Notes
7 ====================
8
9 .. note
10 ..      * This Release Notes must be updated each time the team decides to Release new artifacts.
11 ..      * The scope of these Release Notes are for ONAP POLICY. In other words, each ONAP component has its Release Notes.
12 ..      * This Release Notes is cumulative, the most recently Released artifact is made visible in the top of
13 ..      * this Release Notes.
14 ..      * Except the date and the version number, all the other sections are optional but there must be at least
15 ..      * one section describing the purpose of this new release.
16 ..      * This note must be removed after content has been added.
17
18 ..      ===========================
19 ..      * * *    FRANKFURT    * * *
20 ..      ===========================
21
22
23 Version: 6.0.1
24 --------------
25
26 :Release Date: 2020-08-21 (Frankfurt Maintenance Release #1)
27
28 **Artifacts**
29
30 Artifacts released:
31
32 .. csv-table::
33    :header: "Repository", "Java Artifact", "Docker Image (if applicable)"
34    :widths: 15,10,10
35
36    "policy/drools-applications", "1.6.4", "onap/policy-pdpd-cl:1.6.4"
37
38
39 **Bug Fixes**
40
41
42     * `[POLICY-2704] <https://jira.onap.org/browse/POLICY-2704>`_ - Legacy PDP-X and PAP stuck in PodIntializing
43
44
45 **Security Notes**
46
47 *Fixed Security Issues*
48
49
50     * `[POLICY-2678] <https://jira.onap.org/browse/POLICY-2678>`_ - policy/engine tomcat upgrade for CVE-2020-11996
51
52
53 Version: 6.0.0
54 --------------
55
56 :Release Date: 2020-06-04 (Frankfurt Release)
57
58 New features
59 ------------
60
61 Artifacts released:
62
63 .. csv-table::
64    :header: "Repository", "Java Artifact", "Docker Image (if applicable)"
65    :widths: 15,10,10
66
67    "policy/parent", "3.1.3", ""
68    "policy/common", "1.6.5", ""
69    "policy/models", "2.2.6", ""
70    "policy/api", "2.2.4", "onap/policy-api:2.2.4"
71    "policy/pap", "2.2.3", "onap/policy-pap:2.2.3"
72    "policy/drools-pdp", "1.6.3", "onap/policy-drools:1.6.3"
73    "policy/apex-pdp", "2.3.2", "onap/policy-apex-pdp:2.3.2"
74    "policy/xacml-pdp", "2.2.2", "onap/policy-xacml-pdp:2.2.2"
75    "policy/drools-applications", "1.6.4", "onap/policy-pdpd-cl:1.6.4"
76    "policy/engine", "1.6.4", "onap/policy-pe:1.6.4"
77    "policy/distribution", "2.3.2", "onap/policy-distribution:2.3.2"
78    "policy/docker", "2.0.1", "onap/policy-jdk-alpine:2.0.1, onap/policy-jre-alpine:2.0.1, onap/policy-jdk-debian:2.0.1, onap/policy-jre-debian:2.0.1"
79
80 Summary
81 =======
82
83 New features include policy update notifications, native policy support, streamlined health check for the Policy Administration Point (PAP),
84 configurable pre-loading/pre-deployment of policies, new APIs (e.g. to create one or more Policies with a single call), new experimental PDP monitoring GUI, and enhancements to all three PDPs: XACML, Drools, APEX.
85
86 Common changes in all policy components
87 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 * Upgraded all policy components to Java 11.
89 * Logback file can be now loaded using OOM configmap.
90   - If needed, logback file can be loaded as a configmap during the OOM deployment. For this, just put the logback.xml file in corresponding config directory in OOM charts.
91
92 * TOSCA changes:
93   - “tosca_definitions_version” is now “tosca_simple_yaml_1_1_0”
94   - typeVersion→ type_version, int→integer, bool→boolean, String→string, Map→map, List→list
95 * SupportedPolicyTypes now removed from pdp status message.
96   - All PDPs now send PdpGroup to which they belong to in the registration message.
97   - SupportedPolicyTypes are not sent anymore.
98
99 * Native Policy Support
100   - Each PDP engine has its own native policy language. A new Policy Type **onap.policies.Native** was created and supported for each PDP
101   engine to support native policy types.
102
103
104 POLICY-PAP
105 ~~~~~~~~~~
106 * Policy Update Notifications
107   - PAP now generates notifications  via the DMaaP Message Router when policies are successfully or unsuccessfully deployed (or undeployed) from all relevant PDPs.
108
109 * PAP API to fetch Policy deployment status
110   - Clients will be able to poll the PAP API to find out when policies have been successfully or unsuccessfully deployed to the PDP's.
111
112 * Removing supportedPolicyTypes from PdpStatus
113   - PDPs are assigned to a PdpGroup based on what group is mentioned in the heartbeat. Earlier this was done based on the supportedPolicyTypes.
114
115 * Support policy types with wild-cards, Preload wildcard supported type in PAP
116
117 * PAP should NOT make a PDP passive if it cannot deploy a policy.
118   - If a PDP fails to deploy one or more policies specified in a PDP-UPDATE message, PAP will undeploy those policies that failed to deploy to the PDP.  This entails removing the policies from the Pdp Group(s), issuing new PDP-UPDATE requests, and updating the notification tracking data.
119   - Also, re-register pdp if not found in the DB during heartbeat processing.
120
121 * Consolidated health check in PAP
122   - PAP can report the health check for ALL the policy components now. The PDP’s health is tracked based on heartbeats, and other component’s REST API is used for healthcheck.
123   - “healthCheckRestClientParameters” (REST parameters for API and Distribution healthcheck) are added to the startup config file in PAP.
124
125 * PDP statistics from PAP
126  - All PDPs send statistics data as part of the heartbeat. PAP reads this and saves this data to the database, and this statistics data can be accessed from the monitoring GUI.
127
128 * PAP API for Create or Update PdpGroups
129  - A new API is now available just for creating/updating PDP Groups. Policies cannot be added/updated during PDP Group create/update operations. There is another API for this. So, if provided in the create/update group request, they are ignored. Supported policy types are defined during PDP Group creation. They cannot be updated once they are created. Refer to this for details: https://github.com/onap/policy-parent/blob/master/docs/pap/pap.rst#id8
130
131 * PAP API to deploy policies to PdpGroups
132  - A new API is introduced to deploy policies on specific PDPGroups. Each subgroup includes an "action" property, which is used to indicate that the policies are being added (POST) to the subgroup, deleted (DELETE) from the subgroup, or that the subgroup's entire set of policies is being replaced (PATCH) by a new set of policies.
133
134 POLICY-API
135 ~~~~~~~~~~
136
137 * A new simplified API to create one or more policies in one call.
138   - This simplified API doesn’t require policy type id & policy type version to be part of the URL.
139   - The simple URI “policy/api/v1/policies” with a POST input body takes in a ToscaServiceTemplate with the policies in it.
140
141 * List of Preloaded policy types are made configurable
142   - Until El Alto, the list of pre-loaded policy types are hardcoded in the code. Now, this is made configurable, and the list can be specified in the startup config file for the API component under “preloadPolicyTypes”. The list is ignored if the DB already contains one or more policy types.
143
144 * Preload default policies for ONAP components
145   - The ability to configure the preloading of initial default policies into the system upon startup.
146
147 * A lot of improvements to the API code and validations corresponding to the changes in policy-models.
148   - Creating same policyType/policy repeatedly without any change in request body will always be successful with 200 response
149   - If there is any change in the request body, then that should be a new version. If any change is posted without a version change, then 406 error response is returned.
150
151 * Known versioning issues are there in Policy Types handling.
152   - https://jira.onap.org/browse/POLICY-2377 covers the versioning issues in Policy. Basically, multiple versions of a Policy Type cannot be handled in TOSCA. So, in Frankfurt, the latest version of the policy type is examined. This will be further looked into in Guilin.
153
154 * Cascaded GET of PolicyTypes and Policies
155   - Fetching/GET PolicyType now returns all of the referenced/parent policyTypes and dataTypes as well.
156   - Fetching/GET Policy allows specifying mode now.
157   - By default the mode is “BARE”, which returns only the requested Policy in response. If mode is specified as “REFERENCED”, all of the referenced/parent policyTypes and dataTypes are returned as well.
158
159 * The /deployed API is removed from policy/api
160   - This run time administration job to see the deployment status of a policy is now possible via PAP.
161
162 * Changes related to design and support of TOSCA Compliant Policy Types for the operational and guard policy models.
163
164 POLICY-DISTRIBUTION
165 ~~~~~~~~~~~~~~~~~~~
166
167 * From Frankfurt release, policy-distribution component uses APIs provided by Policy-API and Policy-PAP for creation of policy types and policies, and deployment of policies.
168   - Note: If “deployPolicies” field in the startup config file is true, then only the policies are deployed using PAP endpoint.
169
170 * Policy/engine & apex-pdp dependencies are removed from policy-distribution.
171
172
173 APEX-PDP
174 ~~~~~~~~
175
176 * Changed the JavaScript executor from Nashorn to Rhino as part of Java 11 upgrade.
177   - There are minor changes in the JavaScript task logic files associated with this Rhino migration. An example for this change can be seen here: https://gerrit.onap.org/r/c/policy/apex-pdp/+/103546/2/examples/examples-onap-bbs/src/main/resources/logic/SdncResourceUpdateTask.js
178
179   - There is a known issue in Rhino javascript related to the usage of JSON.stringify. This is captured in this JIRA https://jira.onap.org/browse/POLICY-2463.
180
181 * APEX supports multiple policy deployment in Frankfurt.
182   - Up through El Alto APEX-PDP had the capability to take in only a single ToscaPolicy. When PAP sends a list of Tosca Policies in PdpUpdate, only the first one is taken and only that single Policy is deployed in APEX. This is fixed in Frankfurt. Now, APEX can deploy a list of Tosca Policies altogether into the engine.
183
184   - Note: There shouldn’t be any duplicates in the deployed policies (for e.g. same input/output parameter names, or same event/task names etc).
185
186   - For example, when 3 policies are deployed and one has duplicates, say same input/task or any such concept is used in the 2nd and 3rd policy, then APEX-PDP ignores the 3rd policy and executes only the 1st and 2nd policies. APEX-PDP also respond back to PAP with the message saying that “only Policy 1 and 2 are deployed. Others failed due to duplicate concept”.
187
188 * Context retainment during policy upgrade.
189   - In APEX-PDP, context is referred by the apex concept ‘contextAlbum’. When there is no major version change in the upgraded policy to be deployed, the existing context of the currently running policy is retained. When the upgraded policy starts running, it will have access to this context as well.
190
191   - For example, Policy A v1.1 is currently deployed to APEX. It has a contextAlbum named HeartbeatContext and heartbeats are currently added to the HeartbeatContext based on events coming in to the policy execution. Now, when Policy A v1.2 (with some other changes and same HeartbeatContext) is deployed, Policy Av1.1 is replaced by Policy A1.2 in the APEX engine, but the content in HeartbeatContext is retained for Policy A1.2.
192
193 * APEX-PDP now specifies which PdpGroup it belongs to.
194   - Up through El Alto, PAP assigned each PDP to a PDP group based on the supportedPolicyTypes it sends in the heartbeat. But in Frankfurt, each PDP comes up saying which PdpGroup they belong to, and this is sent to PAP in the heartbeat. PAP then registers the PDP the PdpGroup specified by the PDP. If no group name is specified like this, then PAP assigns the PDP to defaultGroup by default. SupportedPolicyTypes are not sent to PAP by the PDP now.
195
196   - In APEX-PDP, this can be specified in the startup config file(OnapPfConfig.json). "pdpGroup": "<groupName>" is added under “pdpStatusParameters” in the config file.
197
198 * APEX-PDP now sends PdpStatistics data in heartbeat.
199   - Apex now sends the PdpStatistics data in every heartbeat sent to PAP. PAP saves this data to the database, and this statistics data can be accessed from the monitoring GUI.
200
201 * Removed “content” section from ToscaPolicy properties in APEX.
202   - Up through El Alto, APEX specific policy information was placed under properties|content in ToscaPolicy. Avoid placing under "content" and keep the information directly under properties. So, the ToscaPolicy structure will have apex specific policy information in properties|engineServiceParameters, properties|eventInputParameters, properties|eventOutputParameters.
203
204 * Passing parameters from ApexConfig to policy logic.
205   - TaskParameters can be used to pass parameters from ApexConfig to the policy logic. Consider a scenario where from CLAMP, serviceId or closedLoopId has to be passed to the policy, and this should be available to perform some logic or action within the policy. In the CLAMP UI, while configuring the APEX Policy, specifying taskParameters with these will enable this.
206
207   - More information about the usage of Task Parameters can be found here: https://onap.readthedocs.io/en/latest/submodules/policy/parent.git/docs/apex/APEX-User-Manual.html#configure-task-parameters
208
209   - In the taskLogic, taskParameters can be accessed as  executor.parameters.get("ParameterKey1"))
210
211   - More information can be found here: https://onap.readthedocs.io/en/latest/submodules/policy/parent.git/docs/apex/APEX-Policy-Guide.html#accessing-taskparameters
212
213 * GRPC support for APEX-CDS interaction.
214   - APEX-PDP now supports interaction with CDS over gRPC. Up through El Alto, CDS interaction was possible over REST only. A new plugin was developed in APEX for this feature. Refer the link for more details. https://onap.readthedocs.io/en/latest/submodules/policy/parent.git/docs/apex/APEX-User-Manual.html#grpc-io
215
216 POLICY-XACML
217 ~~~~~~~~~~~~
218
219 * Added optional Decision API param to Decision API for monitor decisions that returns abbreviated results.
220   - Return only an abbreviated list of policies (e.g. metadata Policy Id and Version) without the actual contents of the policies (e.g. the Properties).
221
222 * XACML PDP now support PASSIVE_MODE.
223 * Added support to return status and error if pdp-x failed to load a policy.
224 * Changed optimization Decision API application to support "closest matches" algorithm.
225 * Changed Xacml-pdp to report the pdp group defined in XacmlPdpParameters config file as part of heartbeat. Also, removed supportedPolicyType from pdpStatus message.
226 * Design the TOSCA policy model for SDNC naming policies and implement an application that translates it to a working policy and is available for decision API.
227 * XACML pdp support for Control Loop Coordination
228   - Added policies for SON and PCI to support each blocking the other, with test cases and appropriate requests
229
230 * Extend PDP-X capabilities so that it can load in and enforce the native XACML policies deployed from PAP.
231
232 POLICY-DROOLS-PDP
233 ~~~~~~~~~~~~~~~~~
234
235 * Support for PDP-D in offline mode to support locked deployments.   This is the default ONAP installation.
236 * Parameterize maven repository URLs for easier CI/CD integration.
237 * Support for Tosca Compliant Operational Policies.
238 * Support for TOSCA Compliant Native Policies that allows creation and deployment of new drools-applications.
239 * Validation of Operational and Native Policies against their policy type.
240 * Support for a generic Drools-PDP docker image to host any type of application.
241 * Experimental Server Pool feature that supports multiple active Drools PDP hosts.
242
243 POLICY-DROOLS-APPLICATIONS
244 ~~~~~~~~~~~~~~~~~~~~~~~~~~
245
246 * Removal of DCAE ONSET alarm duplicates (with different request IDs).
247 * Support of a new controller (frankfurt) that supports the ONAP use cases under the new actor architecture.
248 * Deprecated the "usecases" controller supporting the use cases under the legacy actor architecture.
249 * Deleted the unsupported "amsterdam" controller related projects.
250
251 Known Limitations, Issues and Workarounds
252 =========================================
253
254 System Limitations
255 ------------------
256
257 The policy API component requires a fresh new database when migrating to the frankfurt release.
258 Therefore, upgrades require a fresh new database installation.
259 Please see the
260 `Installing or Upgrading Policy <https://onap.readthedocs.io/en/frankfurt/submodules/policy/parent.git/docs/installation/oom.html#installing-or-upgrading-policy>`__ section for appropriate procedures.
261
262 Known Vulnerabilities
263 ---------------------
264
265 * `POLICY-2463 <https://jira.onap.org/browse/POLICY-2463>`_ - In APEX Policy javascript task logic, JSON.stringify causing stackoverflow exceptions
266 * `POLICY-2487 <https://jira.onap.org/browse/POLICY-2487>`_ - policy/api hangs in loop if preload policy does not exist
267
268 Workarounds
269 -----------
270 * `POLICY-2463 <https://jira.onap.org/browse/POLICY-2463>`_ - Parse incoming object using JSON.Parse() or cast the object to a String
271
272 Security Notes
273 --------------
274
275 * `POLICY-2221 <https://jira.onap.org/browse/POLICY-2221>`_ - Password removal from helm charts
276 * `POLICY-2064 <https://jira.onap.org/browse/POLICY-2064>`_ - Allow overriding of keystore and truststore in policy helm charts
277 * `POLICY-2381 <https://jira.onap.org/browse/POLICY-2381>`_ - Dependency upgrades
278     - Upgrade drools 7.33.0
279     - Upgrade jquery to 3.4.1 in jquery-ui
280     - Upgrade snakeyaml to 1.26
281     - Upgrade org.infinispan infinispan-core 10.1.5.Final
282     - upgrade io.netty 4.1.48.Final
283     - exclude org.glassfish.jersey.media jersey-media-jaxb artifact
284     - Upgrade com.fasterxml.jackson.core 2.10.0.pr3
285     - Upgrade org.org.jgroups 4.1.5.Final
286     - Upgrade commons-codec 20041127.091804
287     - Upgrade com.github.ben-manes.caffeine 2.8.0
288
289
290 References
291 ==========
292
293 For more information on the ONAP Frankfurt release, please see:
294
295 #. `ONAP Home Page`_
296 #. `ONAP Documentation`_
297 #. `ONAP Release Downloads`_
298 #. `ONAP Wiki Page`_
299
300
301 .. _`ONAP Home Page`: https://www.onap.org
302 .. _`ONAP Wiki Page`: https://wiki.onap.org
303 .. _`ONAP Documentation`: https://docs.onap.org
304 .. _`ONAP Release Downloads`: https://git.onap.org
305
306 Quick Links:
307     - `POLICY project page`_
308     - `Passing Badge information for POLICY`_
309
310 ..      ==========================
311 ..      * * *     EL ALTO    * * *
312 ..      ==========================
313
314 Version: 5.0.2
315 --------------
316
317 :Release Date: 2020-08-24 (El Alto Maintenance Release #1)
318
319 **New Features**
320
321 Artifacts released:
322
323 .. csv-table::
324    :header: "Repository", "Java Artifact", "Docker Image (if applicable)"
325    :widths: 15,10,10
326
327    "policy/api", "2.1.3", "onap/policy-api:2.1.3"
328    "policy/pap", "2.1.3", "onap/policy-pap:2.1.3"
329    "policy/drools-pdp", "1.5.3", "onap/policy-drools:1.5.3"
330    "policy/apex-pdp", "2.2.3", "onap/policy-apex-pdp:2.2.3"
331    "policy/xacml-pdp", "2.1.3", "onap/policy-xacml-pdp:2.1.3"
332    "policy/drools-applications", "1.5.4", "onap/policy-pdpd-cl:1.5.4"
333    "policy/engine", "1.5.3", "onap/policy-pe:1.5.3"
334    "policy/distribution", "2.2.2", "onap/policy-distribution:2.2.2"
335    "policy/docker", "1.4.0", "onap/policy-common-alpine:1.4.0, onap/policy/base-alpine:1.4.0"
336
337
338 **Bug Fixes**
339
340
341     * `[PORTAL-760]  <https://jira.onap.org/browse/PORTAL-760>`_  - Access to Policy portal is impossible
342     * `[POLICY-2107] <https://jira.onap.org/browse/POLICY-2107>`_ - policy/distribution license issue in resource needs to be removed
343     * `[POLICY-2169] <https://jira.onap.org/browse/POLICY-2169>`_ - SDC client interface change caused compile error in policy distribution
344     * `[POLICY-2171] <https://jira.onap.org/browse/POLICY-2171>`_ - Upgrade elalto branch models and drools-applications
345     * `[POLICY-1509] <https://jira.onap.org/browse/POLICY-1509>`_ - Investigate Apex org.python.jython-standalone.2.7.1
346     * `[POLICY-2062] <https://jira.onap.org/browse/POLICY-2062>`_ - APEX PDP logs > 4G filled local storage
347
348
349 **Security Notes**
350
351 *Fixed Security Issues*
352
353
354     * `[POLICY-2475] <https://jira.onap.org/browse/POLICY-2475>`_ - Update El Alto component certificates
355
356 Version: 5.0.1
357 --------------
358
359 :Release Date: 2019-10-24 (El Alto Release)
360
361 **New Features**
362
363 Artifacts released:
364
365 .. csv-table::
366    :header: "Repository", "Java Artifact", "Docker Image (if applicable)"
367    :widths: 15,10,10
368
369    "policy/parent", "3.0.1", ""
370    "policy/common", "1.5.2", ""
371    "policy/models", "2.1.4", ""
372    "policy/api", "2.1.2", "onap/policy-api:2.1.2"
373    "policy/pap", "2.1.2", "onap/policy-pap:2.1.2"
374    "policy/drools-pdp", "1.5.2", "onap/policy-drools:1.5.2"
375    "policy/apex-pdp", "2.2.1", "onap/policy-apex-pdp:2.2.1"
376    "policy/xacml-pdp", "2.1.2", "onap/policy-xacml-pdp:2.1.2"
377    "policy/drools-applications", "1.5.3", "onap/policy-pdpd-cl:1.5.3"
378    "policy/engine", "1.5.2", "onap/policy-pe:1.5.2"
379    "policy/distribution", "2.2.1", "onap/policy-distribution:2.2.1"
380    "policy/docker", "1.4.0", "onap/policy-common-alpine:1.4.0 onap/policy/base-alpine:1.4.0"
381
382 The El Alto release for POLICY delivered the following Epics. For a full list of stories and tasks delivered in the El Alto release, refer to `JiraPolicyElAlto`_.
383
384     * [POLICY-1727] - This epic covers technical debt left over from Dublin
385     - POLICY-969    Docker improvement in policy framwork modules
386     - POLICY-1074   Fix checkstyle warnings in every repository
387     - POLICY-1121   RPM build for Apex
388     - POLICY-1223   CII Silver Badging Requirements
389     - POLICY-1600   Clean up hash code equality checks, cloning and copying in policy-models
390     - POLICY-1646   Replace uses of getCanonicalName() with getName()
391     - POLICY-1652   Move PapRestServer to policy/common
392     - POLICY-1732   Enable maven-checkstyle-plugin in apex-pdp
393     - POLICY-1737   Upgrade oParent 2.0.0 - change daily jobs to staging jobs
394     - POLICY-1742   Make HTTP return code handling configurable in APEX
395     - POLICY-1743   Make URL configurable in REST Requestor and REST Client
396     - POLICY-1744   Remove topic.properties and incorporate into overall properties
397     - POLICY-1770   PAP REST API for PDPGroup Healthcheck
398     - POLICY-1771   Boost policy/api JUnit code coverage
399     - POLICY-1772   Boost policy/xacml-pdp JUnit code coverage
400     - POLICY-1773   Enhance the policy/xacml-pdp S3P Stability and Performance tests
401     - POLICY-1784   Better Handling of "version" field value with clients
402     - POLICY-1785   Deploy same policy with a new version simply adds to the list
403     - POLICY-1786   Create a simple way to populate the guard database for testing
404     - POLICY-1791   Address Sonar issues in new policy repos
405     - POLICY-1795   PAP: bounced apex and xacml pdps show deleted instance in pdp status through APIs.
406     - POLICY-1800   API|PAP components use different version formats
407     - POLICY-1805   Build up stability test for api component to follow S3P requirements
408     - POLICY-1806   Build up S3P performance test for api component
409     - POLICY-1847   Add control loop coordination as a preloaded policy type
410     - POLICY-1871   Change policy/distribution to support ToscaPolicyType & ToscaPolicy
411     - POLICY-1881   Upgrade policy/distribution to latest SDC artifacts
412     - POLICY-1885   Apex-pdp: Extend CLIEditor to generate policy in ToscaServiceTemplate format
413     - POLICY-1898   Move apex-pdp & distribution documents to policy/parent
414     - POLICY-1942   Boost policy/apex-pdp JUnit code coverage
415     - POLICY-1953   Create addTopic taking BusTopicParams instead of Properties in policy/endpoints
416
417     * Additional items delivered with the release.
418     - POLICY-1637   Remove "version" from PdpGroup
419     - POLICY-1653   Remove isNullVersion() method
420     - POLICY-1966   Fix more sonar issues in policy drools
421     - POLICY-1988   Generate El Alto AAF Certificates
422
423     * [POLICY-1823] - This epic covers the work to develop features that will be deployed dark in El Alto.
424     - POLICY-1762   Create CDS API model implementation
425     - POLICY-1763   Create CDS Actor
426     - POLICY-1899   Update optimization xacml application to support more flexible Decision API
427     - POLICY-1911   XACML PDP must be able to retrieve Policy Type from API
428
429
430 **Bug Fixes**
431
432 The following bug fixes have been deployed with this release:
433
434     * `[POLICY-1671] <https://jira.onap.org/browse/POLICY-1671>`_ - policy/engine JUnit tests now take over 30 minutes to run
435     * `[POLICY-1725] <https://jira.onap.org/browse/POLICY-1725>`_ - XACML PDP returns 500 vs 400 for bad syntax JSON
436     * `[POLICY-1793] <https://jira.onap.org/browse/POLICY-1793>`_ - API|MODELS: Retrieving Legacy Operational Policy as a Tosca Policy with wrong version
437     * `[POLICY-1795] <https://jira.onap.org/browse/POLICY-1795>`_ - PAP: bounced apex and xacml pdps show deleted instance in pdp status through APIs.
438     * `[POLICY-1800] <https://jira.onap.org/browse/POLICY-1800>`_ - API|PAP components use different version formats
439     * `[POLICY-1802] <https://jira.onap.org/browse/POLICY-1802>`_ - Apex-pdp: context album is mandatory for policy model to compile
440     * `[POLICY-1803] <https://jira.onap.org/browse/POLICY-1803>`_ - PAP should undeploy policies when subgroup is deleted
441     * `[POLICY-1807] <https://jira.onap.org/browse/POLICY-1807>`_ - Latest version is always returned when using the endpoint to retrieve all versions of a particular policy
442     * `[POLICY-1808] <https://jira.onap.org/browse/POLICY-1808>`_ - API|PAP|PDP-X [new] should publish docker images with the following tag X.Y-SNAPSHOT-latest
443     * `[POLICY-1810] <https://jira.onap.org/browse/POLICY-1810>`_ - API: support "../deployed" REST API (URLs) for legacy policies
444     * `[POLICY-1811] <https://jira.onap.org/browse/POLICY-1811>`_ - The endpoint of retrieving the latest version of TOSCA policy does not return the latest one, especially when there are double-digit versions
445     * `[POLICY-1818] <https://jira.onap.org/browse/POLICY-1818>`_ - APEX does not allow arbitrary Kafka parameters to be specified
446     * `[POLICY-1838] <https://jira.onap.org/browse/POLICY-1838>`_ - Drools-pdp error log is missing data in ErrorDescription field
447     * `[POLICY-1839] <https://jira.onap.org/browse/POLICY-1839>`_ - Policy Model  currently needs to be escaped
448     * `[POLICY-1843] <https://jira.onap.org/browse/POLICY-1843>`_ - Decision API not returning monitoring policies when calling api with policy-type
449     * `[POLICY-1844] <https://jira.onap.org/browse/POLICY-1844>`_ - XACML PDP does not update policy statistics
450     * `[POLICY-1858] <https://jira.onap.org/browse/POLICY-1858>`_ - Usecase DRL - named query should not be invoked
451     * `[POLICY-1859] <https://jira.onap.org/browse/POLICY-1859>`_ - Drools rules should not timeout when given timeout=0 - should be treated as infinite
452     * `[POLICY-1872] <https://jira.onap.org/browse/POLICY-1872>`_ - brmsgw fails building a jar - trafficgenerator dependency does not exist
453     * `[POLICY-2047] <https://jira.onap.org/browse/POLICY-2047>`_ - TOSCA Policy Types should be map not a list
454     * `[POLICY-2060] <https://jira.onap.org/browse/POLICY-2060>`_ - ToscaProperties object is missing metadata field
455     * `[POLICY-2156] <https://jira.onap.org/browse/POLICY-2156>`_ - missing field in create VF module request to SO
456
457
458 **Security Notes**
459
460 *Fixed Security Issues*
461
462
463     * `[POLICY-2115] <https://jira.onap.org/browse/POLICY-2115>`_ - Upgrade org.jgroups : jgroups : 4.0.12.Final
464     * `[POLICY-2084] <https://jira.onap.org/browse/POLICY-2084>`_ - Investigate pip (py2.py3-none-any) 9.0.1 (.whl) in apex-pdp
465     * `[POLICY-2072] <https://jira.onap.org/browse/POLICY-2072>`_ - Upgrade io.netty : netty-codec-http2 and netty-common to 4.1.39.Final
466     * `[POLICY-2005] <https://jira.onap.org/browse/POLICY-2005>`_ - Upgrade elastic search to 6.8.2
467     * `[POLICY-2001] <https://jira.onap.org/browse/POLICY-2001>`_ - Upgrade com.thoughtworks.xstream to 1.4.11.1
468     * `[POLICY-2000] <https://jira.onap.org/browse/POLICY-2000>`_ - Upgrade oparent 2.1.0-SNAPSHOT - to pull in jetty server to 9.4.20.v20190813
469     * `[POLICY-1999] <https://jira.onap.org/browse/POLICY-1999>`_ - Upgrade to httpcomponents httpclient 4.5.9
470     * `[POLICY-1598] <https://jira.onap.org/browse/POLICY-1598>`_ - mariadb container is outdated
471     * `[POLICY-1597] <https://jira.onap.org/browse/POLICY-1597>`_ - nexus container is outdated
472
473 *Known Security Issues*
474
475 *Known Vulnerabilities in Used Modules*
476
477 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 (El Alto Release) <https://wiki.onap.org/pages/viewpage.action?pageId=68541992>`_.
478
479 Quick Links:
480     - `POLICY project page`_
481     - `Passing Badge information for POLICY`_
482     - `Project Vulnerability Review Table for POLICY (El Alto Release) <https://wiki.onap.org/pages/viewpage.action?pageId=68541992>`_
483
484 **Known Issues**
485
486 The following known issues will be addressed in a future release:
487
488     * `[POLICY-1276] <https://jira.onap.org/browse/POLICY-1276>`_ - JRuby interpreter shutdown fails on second and subsequent runs
489     * `[POLICY-1291] <https://jira.onap.org/browse/POLICY-1291>`_ - Maven Error when building Apex documentation in Windows
490     * `[POLICY-1578] <https://jira.onap.org/browse/POLICY-1578>`_ - PAP pushPolicies.sh in startup fails due to race condition in some environments
491     * `[POLICY-1832] <https://jira.onap.org/browse/POLICY-1832>`_ - API|PAP: data race condition seem to appear sometimes when creating and deploying policy
492     * `[POLICY-2103] <https://jira.onap.org/browse/POLICY-2103>`_ - policy/distribution may need to re-synch if SDC gets reinstalled
493     * `[POLICY-2062] <https://jira.onap.org/browse/POLICY-2062>`_ - APEX PDP logs > 4G filled local storage
494     * `[POLICY-2080] <https://jira.onap.org/browse/POLICY-2080>`_ - drools-pdp JUnit fails intermittently in feature-active-standby-management
495     * `[POLICY-2111] <https://jira.onap.org/browse/POLICY-2111>`_ - PDP-D APPS: AAF Cadi conflicts with Aether libraries
496     * `[POLICY-2158] <https://jira.onap.org/browse/POLICY-2158>`_ - PAP loses synchronization with PDPs
497     * `[POLICY-2159] <https://jira.onap.org/browse/POLICY-2159>`_ - PAP console (legacy): cannot edit policies with GUI
498
499
500 ..      ==========================
501 ..      * * *      DUBLIN    * * *
502 ..      ==========================
503
504 Version: 4.0.0
505 --------------
506
507 :Release Date: 2019-06-26 (Dublin Release)
508
509 **New Features**
510
511 Artifacts released:
512
513 .. csv-table::
514    :header: "Repository", "Java Artifact", "Docker Image (if applicable)"
515    :widths: 15,10,10
516
517    "policy/parent", "2.1.0", ""
518    "policy/common", "1.4.0", ""
519    "policy/models", "2.0.2", ""
520    "policy/api", "2.0.1", "onap/policy-api:2.0.1"
521    "policy/pap", "2.0.1", "onap/policy-pap:2.0.1"
522    "policy/drools-pdp", "1.4.0", "onap/policy-drools:1.4.0"
523    "policy/apex-pdp", "2.1.0", "onap/policy-apex-pdp:2.1.0"
524    "policy/xacml-pdp", "2.1.0", "onap/policy-xacml-pdp:2.1.0"
525    "policy/drools-applications", "1.4.2", "onap/policy-pdpd-cl:1.4.2"
526    "policy/engine", "1.4.1", "onap/policy-pe:1.4.1"
527    "policy/distribution", "2.1.0", "onap/policy-distribution:2.1.0"
528    "policy/docker", "1.4.0", "onap/policy-common-alpine:1.4.0 onap/policy/base-alpine:1.4.0"
529
530 The Dublin release for POLICY delivered the following Epics. For a full list of stories and tasks delivered in the Dublin release, refer to `JiraPolicyDublin`_.
531
532     * [POLICY-1068] - This epic covers the work to cleanup, enhance, fix, etc. any Control Loop based code base.
533         - POLICY-1195   Separate model code from drools-applications into other repositories
534         - POLICY-1367   Spike - Experimentation for management of Drools templates and Operational Policies
535         - POLICY-1397   PDP-D: NOOP Endpoints Support to test Operational Policies.
536         - POLICY-1459   PDP-D [Control Loop] : Create a Control Loop flavored PDP-D image
537
538     * [POLICY-1069] - This epic covers the work to harden the codebase for the Policy Framework project.
539         - POLICY-1007   Remove Jackson from policy framework components
540         - POLICY-1202   policy-engine & apex-pdp are using different version of eclipselink
541         - POLICY-1250   Fix issues reported by sonar in policy modules
542         - POLICY-1368   Remove hibernate from policy repos
543         - POLICY-1457   Use Alpine in base docker images
544
545     * [POLICY-1072] - This epic covers the work to support S3P Performance criteria.
546         - S3P Performance related items
547
548     * [POLICY-1171] - Enhance CLC Facility
549         - POLICY-1173   High-level specification of coordination directives
550
551     * [POLICY-1220] - This epic covers the work to support S3P Security criteria
552         - POLICY-1538   Upgrade Elasticsearch to 6.4.x to clear security issue
553
554     * [POLICY-1269] - R4 Dublin - ReBuild Policy Infrastructure
555         - POLICY-1270   Policy Lifecycle API RESTful HealthCheck/Statistics Main Entry Point
556         - POLICY-1271   PAP RESTful HealthCheck/Statistics Main Entry Point
557         - POLICY-1272   Create the S3P JMeter tests for API, PAP, XACML (2nd Gen)
558         - POLICY-1273   Policy Type Application Design Requirements
559         - POLICY-1436   XACML PDP RESTful HealthCheck/Statistics Main Entry Point
560         - POLICY-1440   XACML PDP RESTful Decision API Main Entry Point
561         - POLICY-1441   Policy Lifecycle API RESTful Create/Read Main Entry Point for Policy Types
562         - POLICY-1442   Policy Lifecycle API RESTful Create/Read Main Entry Point for Concrete Policies
563         - POLICY-1443   PAP Dmaap PDP Register/UnRegister Main Entry Point
564         - POLICY-1444   PAP Dmaap Policy Deploy/Undeploy Policies Main Entry Point
565         - POLICY-1445   XACML PDP upgrade to xacml 2.0.0
566         - POLICY-1446   Policy Lifecycle API RESTful Delete Main Entry Point for Policy Types
567         - POLICY-1447   Policy Lifecycle API RESTful Delete Main Entry Point for Concrete Policies
568         - POLICY-1449   XACML PDP Dmaap Register/UnRegister Functionality
569         - POLICY-1451   XACML PDP Dmaap Deploy/UnDeploy Functionality
570         - POLICY-1452   Apex PDP Dmaap Register/UnRegister Functionality
571         - POLICY-1453   Apex PDP Dmaap Deploy/UnDeploy Functionality
572         - POLICY-1454   Drools PDP Dmaap Register/UnRegister Functionality
573         - POLICY-1455   Drools PDP Dmaap Deploy/UnDeploy Functionality
574         - POLICY-1456   Policy Architecture and Roadmap Documentation
575         - POLICY-1458   Create S3P JMeter Tests for Policy API
576         - POLICY-1460   Create S3P JMeter Tests for PAP
577         - POLICY-1461   Create S3P JMeter Tests for Policy XACML Engine (2nd Generation)
578         - POLICY-1462   Create S3P JMeter Tests for Policy SDC Distribution
579         - POLICY-1471   Policy Application Designer - Develop Guard and Control Loop Coordination Policy Type application
580         - POLICY-1474   Modifications of Control Loop Operational Policy to support new Policy Lifecycle API
581         - POLICY-1515   Prototype Policy Lifecycle API Swagger Entry Points
582         - POLICY-1516   Prototype the Policy Decision API
583         - POLICY-1541   PAP REST API for PDPGroup Query, Statistics & Delete
584         - POLICY-1542   PAP REST API for PDPGroup Deployment, State Management & Health Check
585
586     * [POLICY-1399] - This epic covers the work to support model drive control loop design as defined by the Control Loop Subcommittee
587         - Model drive control loop related items
588
589     * [POLICY-1404] - This epic covers the work to support the CCVPN Use Case for Dublin
590         - POLICY-1405   Develop SDNC API for trigger bandwidth
591
592     * [POLICY-1408] - This epic covers the work done with the Casablanca release
593         - POLICY-1410   List Policy API
594         - POLICY-1413   Dashboard enhancements
595         - POLICY-1414   Push Policy and DeletePolicy API enhancement
596         - POLICY-1416   Model enhancements to support CLAMP
597         - POLICY-1417   Resiliency improvements
598         - POLICY-1418   PDP APIs - make ClientAuth optional
599         - POLICY-1419   Better multi-role support
600         - POLICY-1420   Model enhancement to support embedded JSON
601         - POLICY-1421   New audit data for push/delete
602         - POLICY-1422   Enhanced encryption
603         - POLICY-1423   Save original model file
604         - POLICY-1427   Controller Logging Feature
605         - POLICY-1489   PDP-D: Nested JSON Event Filtering support with JsonPath
606         - POLICY-1499   Mdc Filter Feature
607
608     * [POLICY-1438] - This epic covers the work to support 5G OOF PCI Use Case
609         - POLICY-1463   Functional code changes in Policy for OOF SON use case
610         - POLICY-1464   Config related aspects for OOF SON use case
611
612     * [POLICY-1450] - This epic covers the work to support the Scale Out Use Case.
613         - POLICY-1278   AAI named-queries are being deprecated and should be replaced with custom-queries
614         - POLICY-1545   E2E Automation - Parse the newly added model ids from operation policy
615
616     * Additional items delivered with the release.
617         - POLICY-1159   Move expectException to policy-common/utils-test
618         - POLICY-1176   Work on technical debt introduced by CLC POC
619         - POLICY-1266   A&AI Modularity
620         - POLICY-1274   further improvement in PSSD S3P test
621         - POLICY-1401   Build onap.policies.Monitoring TOSCA Policy Template
622         - POLICY-1465   Support configurable Heap Memory Settings for JVM processes
623
624
625 **Bug Fixes**
626
627 The following bug fixes have been deployed with this release:
628
629     * `[POLICY-1241] <https://jira.onap.org/browse/POLICY-1241>`_ - Test failure in drools-pdp if JAVA_HOME is not set
630     * `[POLICY-1289] <https://jira.onap.org/browse/POLICY-1289>`_ - Apex only considers 200 response codes as successful result codes
631     * `[POLICY-1437] <https://jira.onap.org/browse/POLICY-1437>`_ - Fix issues in FileSystemReceptionHandler of policy-distribution component
632     * `[POLICY-1501] <https://jira.onap.org/browse/POLICY-1501>`_ - policy-engine JUnit tests are not independent
633     * `[POLICY-1627] <https://jira.onap.org/browse/POLICY-1627>`_ - APEX does not support specification of a partitioner class for Kafka
634
635 **Security Notes**
636
637 *Fixed Security Issues*
638
639     * `[OJSI-117] <https://jira.onap.org/browse/OJSI-117>`_ - In default deployment POLICY (nexus) exposes HTTP port 30236 outside of cluster.
640     * `[OJSI-157] <https://jira.onap.org/browse/OJSI-157>`_ - In default deployment POLICY (policy-api) exposes HTTP port 30240 outside of cluster.
641     * `[OJSI-118] <https://jira.onap.org/browse/OJSI-118>`_ - In default deployment POLICY (policy-apex-pdp) exposes HTTP port 30237 outside of cluster.
642     * `[OJSI-184] <https://jira.onap.org/browse/OJSI-184>`_ - In default deployment POLICY (brmsgw) exposes HTTP port 30216 outside of cluster.
643
644 *Known Security Issues*
645
646 *Known Vulnerabilities in Used Modules*
647
648 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 (Dublin Release) <https://wiki.onap.org/pages/viewpage.action?pageId=54723253>`_.
649
650 Quick Links:
651     - `POLICY project page`_
652     - `Passing Badge information for POLICY`_
653     - `Project Vulnerability Review Table for POLICY (Dublin Release) <https://wiki.onap.org/pages/viewpage.action?pageId=54723253>`_
654
655
656 **Known Issues**
657
658 The following known issues will be addressed in a future release:
659
660     * `[POLICY-1795] - <https://jira.onap.org/browse/POLICY-1795>`_ PAP: bounced apex and xacml pdps show deleted instance in pdp status through APIs.
661     * `[POLICY-1810] - <https://jira.onap.org/browse/POLICY-1810>`_ API: ensure that the REST APISs (URLs) are supported and consistent regardless the type of policy: operational, guard, tosca-compliant.
662     * `[POLICY-1277] - <https://jira.onap.org/browse/POLICY-1277>`_ policy config takes too long time to become retrievable in PDP
663     * `[POLICY-1378] - <https://jira.onap.org/browse/POLICY-1378>`_ add support to append value into policyScope while one policy could be used by several services
664     * `[POLICY-1650] - <https://jira.onap.org/browse/POLICY-1650>`_ Policy UI doesn't show left menu or any content
665     * `[POLICY-1671] - <https://jira.onap.org/browse/POLICY-1671>`_ policy/engine JUnit tests now take over 30 minutes to run
666     * `[POLICY-1725] - <https://jira.onap.org/browse/POLICY-1725>`_ XACML PDP returns 500 vs 400 for bad syntax JSON
667     * `[POLICY-1793] - <https://jira.onap.org/browse/POLICY-1793>`_ API|MODELS: Retrieving Legacy Operational Policy as a Tosca Policy with wrong version
668     * `[POLICY-1800] - <https://jira.onap.org/browse/POLICY-1800>`_ API|PAP components use different version formats
669     * `[POLICY-1802] - <https://jira.onap.org/browse/POLICY-1802>`_ Apex-pdp: context album is mandatory for policy model to compile
670     * `[POLICY-1808] - <https://jira.onap.org/browse/POLICY-1808>`_ API|PAP|PDP-X [new] should publish docker images with the following tag X.Y-SNAPSHOT-latest
671     * `[POLICY-1818] - <https://jira.onap.org/browse/POLICY-1818>`_ APEX does not allow arbitrary Kafka parameters to be specified
672     * `[POLICY-1276] - <https://jira.onap.org/browse/POLICY-1276>`_ JRuby interpreter shutdown fails on second and subsequent runs
673     * `[POLICY-1803] - <https://jira.onap.org/browse/POLICY-1803>`_ PAP should undeploy policies when subgroup is deleted
674     * `[POLICY-1291] - <https://jira.onap.org/browse/POLICY-1291>`_ Maven Error when building Apex documentation in Windows
675     * `[POLICY-1872] - <https://jira.onap.org/browse/POLICY-1872>`_ brmsgw fails building a jar - trafficgenerator dependency does not exist
676
677
678 ..      ==========================
679 ..      * * *   CASABLANCA   * * *
680 ..      ==========================
681
682 Version: 3.0.2
683 --------------
684
685 :Release Date: 2019-03-31 (Casablanca Maintenance Release #2)
686
687 The following items were deployed with the Casablanca Maintenance Release:
688
689 **Bug Fixes**
690
691     * [POLICY-1522] - Policy doesn't send "payload" field to APPC
692
693 **Security Fixes**
694
695     * [POLICY-1538] - Upgrade Elasticsearch to 6.4.x to clear security issue
696
697 **License Issues**
698
699     * [POLICY-1433] - Remove proprietary licenses in PSSD test CSAR
700
701 **Known Issues**
702
703 The following known issue will be addressed in a future release.
704
705     * `[POLICY-1650] <https://jira.onap.org/browse/POLICY-1277>`_ - Policy UI doesn't show left menu or any content
706
707 A workaround for this issue consists in bypassing the Portal UI when accessing the Policy UI.   See `PAP recipes <https://docs.onap.org/en/casablanca/submodules/policy/engine.git/docs/platform/cookbook.html?highlight=policy%20cookbook#id23>`_ for the specific procedure.
708
709
710 Version: 3.0.1
711 --------------
712
713 :Release Date: 2019-01-31 (Casablanca Maintenance Release)
714
715 The following items were deployed with the Casablanca Maintenance Release:
716
717 **New Features**
718
719     * [POLICY-1221] - Policy distribution application to support HTTPS communication
720     * [POLICY-1222] - Apex policy PDP to support HTTPS Communication
721
722 **Bug Fixes**
723
724     * `[POLICY-1282] <https://jira.onap.org/browse/POLICY-1282>`_ - Policy format with some problems
725     * `[POLICY-1395] <https://jira.onap.org/browse/POLICY-1395>`_ - Apex PDP does not preserve context on model upgrade
726
727
728 Version: 3.0.0
729 --------------
730
731 :Release Date: 2018-11-30 (Casablanca Release)
732
733 **New Features**
734
735 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).
736
737     * [POLICY-701] - This epic covers the work to integrate Policy into the SDC Service Distribution
738
739     The policy team introduced a new application into the framework that provides integration of the Service Distribution Notifications from SDC to Policy.
740
741     * [POLICY-719] - This epic covers the work to build the Policy Lifecycle API
742     * [POLICY-726] - This epic covers the work to distribute policy from the PAP to the PDPs into the ONAP platform
743     * [POLICY-876] - This epics covers the work to re-build how the PAP organizes the PDP's into groups.
744
745     The policy team did some forward looking spike work towards re-building the Software Architecture.
746
747     * [POLICY-809] - Maintain and implement performance
748     * [POLICY-814] - 72 hour stability testing (component and platform)
749
750     The policy team made enhancements to the Drools PDP to further support S3P Performance.
751     For the new Policy SDC Distribution application and the newly ingested Apex PDP the team established S3P
752     performance standard and performed 72 hour stability tests.
753
754     * [POLICY-824] - maintain and implement security
755
756     The policy team established AAF Root Certificate for HTTPS communication and CADI/AAF integration into the
757     MVP applications. In addition, many java dependencies were upgraded to clear CLM security issues.
758
759     * [POLICY-840] - Flexible control loop coordination facility.
760
761     Work towards a POC for control loop coordination policies were implemented.
762
763     * [POLICY-841] - Covers the work required to support HPA
764
765     Enhancements were made to support the HPA use case through the use of the new Policy SDC Service Distribution application.
766
767     * [POLICY-842] - This epic covers the work to support the Auto Scale Out functional requirements
768
769     Enhancements were made to support Scale Out Use Case to enforce new guard policies and updated SO and A&AI APIs.
770
771     * [POLICY-851] - This epic covers the work to bring in the Apex PDP code
772
773     A new Apex PDP engine was ingested into the platform and work was done to ensure code cleared CLM security issues,
774     sonar issues, and checkstyle.
775
776     * [POLICY-1081] - This epic covers the contribution for the 5G OOF PCI Optimization use case.
777
778     Policy templates changes were submitted that supported the 5G OOF PCI optimization use case.
779
780     * [POLICY-1182] - Covers the work to support CCVPN use case
781
782     Policy templates changes were submitted that supported the CCVPN use case.
783
784 **Bug Fixes**
785
786 The following bug fixes have been deployed with this release:
787
788     * `[POLICY-799] <https://jira.onap.org/browse/POLICY-799>`_ - Policy API Validation Does Not Validate Required Parent Attributes in the Model
789     * `[POLICY-869] <https://jira.onap.org/browse/POLICY-869>`_ - Control Loop Drools Rules should not have exceptions as well as die upon an exception
790     * `[POLICY-872] <https://jira.onap.org/browse/POLICY-872>`_ - investigate potential race conditions during rules version upgrades during call loads
791     * `[POLICY-878] <https://jira.onap.org/browse/POLICY-878>`_ - pdp-d: feature-pooling disables policy-controllers preventing processing of onset events
792     * `[POLICY-909] <https://jira.onap.org/browse/POLICY-909>`_ - get_ZoneDictionaryDataByName class type error
793     * `[POLICY-920] <https://jira.onap.org/browse/POLICY-920>`_ - Hard-coded path in junit test
794     * `[POLICY-921] <https://jira.onap.org/browse/POLICY-921>`_ - XACML Junit test cannot find property file
795     * `[POLICY-1083] <https://jira.onap.org/browse/POLICY-1083>`_ - Mismatch in action cases between Policy and APPC
796
797
798 **Security Notes**
799
800 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>`_.
801
802 Quick Links:
803     - `POLICY project page`_
804     - `Passing Badge information for POLICY`_
805     - `Project Vulnerability Review Table for POLICY (Casablanca Release) <https://wiki.onap.org/pages/viewpage.action?pageId=45300864>`_
806
807 **Known Issues**
808
809     * `[POLICY-1277] <https://jira.onap.org/browse/POLICY-1277>`_ - policy config takes too long time to become retrievable in PDP
810     * `[POLICY-1282] <https://jira.onap.org/browse/POLICY-1282>`_ - Policy format with some problems
811
812
813
814 ..      =======================
815 ..      * * *   BEIJING   * * *
816 ..      =======================
817
818 Version: 2.0.0
819 --------------
820
821 :Release Date: 2018-06-07 (Beijing Release)
822
823 **New Features**
824
825 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`_.
826
827     * [POLICY-390] - This epic covers the work to harden the Policy platform software base (incl 50% JUnit coverage)
828         - POLICY-238    policy/drools-applications: clean up maven structure
829         - POLICY-336    Address Technical Debt
830         - POLICY-338    Address JUnit Code Coverage
831         - POLICY-377    Policy Create API should validate input matches DCAE microservice template
832         - POLICY-389    Cleanup Jenkin's CI/CD process's
833         - POLICY-449    Policy API + Console : Common Policy Validation
834         - POLICY-568    Integration with org.onap AAF project
835         - POLICY-610    Support vDNS scale out for multiple times in Beijing release
836
837     * [POLICY-391] - This epic covers the work to support Release Planning activities
838         - POLICY-552    ONAP Licensing Scan - Use Restrictions
839
840     * [POLICY-392] - Platform Maturity Requirements - Performance Level 1
841         - POLICY-529    Platform Maturity Performance - Drools PDP
842         - POLICY-567    Platform Maturity Performance - PDP-X
843
844     * [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.
845         - POLICY-488    pap should not add rules to official template provided in drools applications
846
847     * [POLICY-398] - This epic covers the body of work involved in supporting policy that is platform specific.
848         - POLICY-434    need PDP /getConfig to return an indicator of where to find the config data - in config.content versus config field
849
850     * [POLICY-399] - This epic covers the work required to policy enable Hardware Platform Enablement
851         - POLICY-622    Integrate OOF Policy Model into Policy Platform
852
853     * [POLICY-512] - This epic covers the work to support Platform Maturity Requirements - Stability Level 1
854         - POLICY-525    Platform Maturity Stability - Drools PDP
855         - POLICY-526    Platform Maturity Stability - XACML PDP
856
857     * [POLICY-513] - Platform Maturity Requirements - Resiliency Level 2
858         - POLICY-527    Platform Maturity Resiliency - Policy Engine GUI and PAP
859         - POLICY-528    Platform Maturity Resiliency - Drools PDP
860         - POLICY-569    Platform Maturity Resiliency - BRMS Gateway
861         - POLICY-585    Platform Maturity Resiliency - XACML PDP
862         - POLICY-586    Platform Maturity Resiliency - Planning
863         - POLICY-681    Regression Test Use Cases
864
865     * [POLICY-514] - This epic covers the work to support Platform Maturity Requirements - Security Level 1
866         - POLICY-523    Platform Maturity Security - CII Badging - Project Website
867
868     * [POLICY-515] - This epic covers the work to support Platform Maturity Requirements - Escalability Level 1
869         - POLICY-531    Platform Maturity Scalability - XACML PDP
870         - POLICY-532    Platform Maturity Scalability - Drools PDP
871         - POLICY-623    Docker image re-design
872
873     * [POLICY-516] - This epic covers the work to support Platform Maturity Requirements - Manageability Level 1
874         - POLICY-533    Platform Maturity Manageability L1 - Logging
875         - POLICY-534    Platform Maturity Manageability - Instantiation < 1 hour
876
877     * [POLICY-517] - This epic covers the work to support Platform Maturity Requirements - Usability Level 1
878         - POLICY-535    Platform Maturity Usability - User Guide
879         - POLICY-536    Platform Maturity Usability - Deployment Documentation
880         - POLICY-537    Platform Maturity Usability - API Documentation
881
882     * [POLICY-546] - R2 Beijing - Various enhancements requested by clients to the way we handle TOSCA models.
883
884
885 **Bug Fixes**
886
887 The following bug fixes have been deployed with this release:
888
889     * `[POLICY-484] <https://jira.onap.org/browse/POLICY-484>`_ - Extend election handler run window and clean up error messages
890     * `[POLICY-494] <https://jira.onap.org/browse/POLICY-494>`_ - POLICY EELF Audit.log not in ECOMP Standards Compliance
891     * `[POLICY-501] <https://jira.onap.org/browse/POLICY-501>`_ - Fix issues blocking election handler and add directed interface for opstate
892     * `[POLICY-509] <https://jira.onap.org/browse/POLICY-509>`_ - Add IntelliJ file to .gitingore
893     * `[POLICY-510] <https://jira.onap.org/browse/POLICY-510>`_ - Do not enforce hostname validation
894     * `[POLICY-518] <https://jira.onap.org/browse/POLICY-518>`_ - StateManagement creation of EntityManagers.
895     * `[POLICY-519] <https://jira.onap.org/browse/POLICY-519>`_ - Correctly initialize the value of allSeemsWell in DroolsPdpsElectionHandler
896     * `[POLICY-629] <https://jira.onap.org/browse/POLICY-629>`_ - Fixed a bug on editor screen
897     * `[POLICY-684] <https://jira.onap.org/browse/POLICY-684>`_ - Fix regex for brmsgw dependency handling
898     * `[POLICY-707] <https://jira.onap.org/browse/POLICY-707>`_ - ONAO-PAP-REST unit tests fail on first build on clean checkout
899     * `[POLICY-717] <https://jira.onap.org/browse/POLICY-717>`_ - Fix a bug in checking required fields if the object has include function
900     * `[POLICY-734] <https://jira.onap.org/browse/POLICY-734>`_ - Fix Fortify Header Manipulation Issue
901     * `[POLICY-743] <https://jira.onap.org/browse/POLICY-743>`_ - Fixed data name since its name was changed on server side
902     * `[POLICY-753] <https://jira.onap.org/browse/POLICY-753>`_ - Policy Health Check failed with multi-node cluster
903     * `[POLICY-765] <https://jira.onap.org/browse/POLICY-765>`_ - junit test for guard fails intermittently
904
905
906 **Security Notes**
907
908 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>`_.
909
910 Quick Links:
911     - `POLICY project page`_
912     - `Passing Badge information for POLICY`_
913     - `Project Vulnerability Review Table for POLICY <https://wiki.onap.org/pages/viewpage.action?pageId=25437092>`_
914
915 **Known Issues**
916
917 The following known issues will be addressed in a future release:
918
919     * `[POLICY-522] <https://jira.onap.org/browse/POLICY-522>`_ - PAP REST APIs undesired HTTP response body for 500 responses
920     * `[POLICY-608] <https://jira.onap.org/browse/POLICY-608>`_ - xacml components : remove hardcoded secret key from source code
921     * `[POLICY-764] <https://jira.onap.org/browse/POLICY-764>`_ - Policy Engine PIP Configuration JUnit Test fails intermittently
922     * `[POLICY-776] <https://jira.onap.org/browse/POLICY-776>`_ - OOF Policy TOSCA models are not correctly rendered
923     * `[POLICY-799] <https://jira.onap.org/browse/POLICY-799>`_ - Policy API Validation Does Not Validate Required Parent Attributes in the Model
924     * `[POLICY-801] <https://jira.onap.org/browse/POLICY-801>`_ - fields mismatch for OOF flavorFeatures between implementation and wiki
925     * `[POLICY-869] <https://jira.onap.org/browse/POLICY-869>`_  - Control Loop Drools Rules should not have exceptions as well as die upon an exception
926     * `[POLICY-872] <https://jira.onap.org/browse/POLICY-872>`_  - investigate potential race conditions during rules version upgrades during call loads
927
928
929
930
931 Version: 1.0.2
932 --------------
933
934 :Release Date: 2018-01-18 (Amsterdam Maintenance Release)
935
936 **Bug Fixes**
937
938 The following fixes were deployed with the Amsterdam Maintenance Release:
939
940     * `[POLICY-486] <https://jira.onap.org/browse/POLICY-486>`_ - pdp-x api pushPolicy fails to push latest version
941
942
943 Version: 1.0.1
944 --------------
945
946 :Release Date: 2017-11-16 (Amsterdam Release)
947
948 **New Features**
949
950 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`_.
951
952     * [POLICY-31] - Stabilization of Seed Code
953         - POLICY-25  Replace any remaining openecomp reference by onap
954         - POLICY-32  JUnit test code coverage
955         - POLICY-66  PDP-D Feature mechanism enhancements
956         - POLICY-67  Rainy Day Decision Policy
957         - POLICY-93  Notification API
958         - POLICY-158  policy/engine: SQL injection Mitigation
959         - POLICY-269  Policy API Support for Rainy Day Decision Policy and Dictionaries
960
961     * [POLICY-33] - This epic covers the body of work involved in deploying the Policy Platform components
962         - POLICY-40  MSB Integration
963         - POLICY-124  Integration with oparent
964         - POLICY-41  OOM Integration
965         - POLICY-119  PDP-D: noop sinks
966
967     * [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.
968         - POLICY-57  VF-C Actor code development
969         - POLICY-43  Amsterdam Use Case Template
970         - POLICY-173  Deployment of Operational Policies Documentation
971
972     * [POLICY-35] - This epic covers the body of work involved in supporting policy that is platform specific.
973         - POLICY-68  TOSCA Parsing for nested objects for Microservice Policies
974
975     * [POLICY-36] - This epic covers the work required to capture policy during VNF on-boarding.
976
977     * [POLICY-37] - This epic covers the work required to capture, update, extend Policy(s) during Service Design.
978         - POLICY-64  CLAMP Configuration and Operation Policies for vFW Use Case
979         - POLICY-65  CLAMP Configuration and Operation Policies for vDNS Use Case
980         - POLICY-48  CLAMP Configuration and Operation Policies for vCPE Use Case
981         - POLICY-63  CLAMP Configuration and Operation Policies for VOLTE Use Case
982
983     * [POLICY-38] - This epic covers the work required to support service distribution by SDC.
984
985     * [POLICY-39] - This epic covers the work required to support the Policy Platform during runtime.
986         - POLICY-61  vFW Use Case - Runtime
987         - POLICY-62  vDNS Use Case - Runtime
988         - POLICY-59  vCPE Use Case - Runtime
989         - POLICY-60  VOLTE Use Case - Runtime
990         - POLICY-51  Runtime Policy Update Support
991         - POLICY-328  vDNS Use Case - Runtime Testing
992         - POLICY-324  vFW Use Case - Runtime Testing
993         - POLICY-320  VOLTE Use Case - Runtime Testing
994         - POLICY-316  vCPE Use Case - Runtime Testing
995
996     * [POLICY-76] - This epic covers the body of work involved in supporting R1 Amsterdam Milestone Release Planning Milestone Tasks.
997         - POLICY-77  Functional Test case definition for Control Loops
998         - POLICY-387  Deliver the released policy artifacts
999
1000
1001 **Bug Fixes**
1002     - 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`_.
1003
1004
1005 **Known Issues**
1006     - 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.
1007
1008     - For vLBS Use Case, the following steps are required to setup the service instance:
1009         -  Create a Service Instance via VID.
1010         -  Create a VNF Instance via VID.
1011         -  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.
1012         -  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.
1013         -  Run heatbridge from the Robot VM using ``Vfmodule_`` _ as stack name (it is the actual stack name in OpenStack)
1014         -  Populate AAI with a dummy VF module for vDNS scaling.
1015
1016 **Security Issues**
1017     - None at this time
1018
1019 **Other**
1020     - None at this time
1021
1022
1023 .. Links to jira release notes
1024
1025 .. _JiraPolicyElAlto: https://jira.onap.org/secure/ReleaseNote.jspa?projectId=10106&version=10728
1026 .. _JiraPolicyDublin: https://jira.onap.org/secure/ReleaseNote.jspa?projectId=10106&version=10464
1027 .. _JiraPolicyCasablanca: https://jira.onap.org/secure/ReleaseNote.jspa?projectId=10106&version=10446
1028 .. _JiraPolicyBeijing: https://jira.onap.org/secure/ReleaseNote.jspa?projectId=10106&version=10349
1029 .. _JiraPolicyAmsterdam: https://jira.onap.org/secure/ReleaseNote.jspa?projectId=10106&version=10300
1030
1031 .. Links to Project related pages
1032
1033 .. _POLICY project page: https://wiki.onap.org/display/DW/Policy+Framework+Project
1034 .. _Passing Badge information for POLICY: https://bestpractices.coreinfrastructure.org/en/projects/1614
1035
1036
1037 .. note
1038 ..      CHANGE  HISTORY
1039 ..  09/19/2019 - Updated for El Alto Release.
1040 ..  05/16/2019 - Updated for Dublin Release.
1041 ..      01/17/2019 - Updated for Casablanca Maintenance Release.
1042 ..      11/19/2018 - Updated for Casablanca.  Also, fixed bugs is a list of bugs where the "Affected Version" is Beijing.
1043 ..      Changed version number to use ONAP versions.
1044 ..      10/08/2018 - Initial document for Casablanca release.
1045 ..  05/29/2018 - Information for Beijing release.
1046 ..      03/22/2018 - Initial document for Beijing release.
1047 ..      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)
1048 ..      Also, Set up initial information for Beijing.
1049 ..      Excluded POLICY-454 from bug list since it doesn't apply to Beijing per Jorge.
1050
1051
1052 End of Release Notes
1053
1054 .. How to notes for SS
1055 ..  For initial document: list epic and user stories for each, list user stories with no epics.
1056 ..      For Bugs section, list bugs where Affected Version is a prior release (Casablanca, Beijing etc), Fixed Version is the current release (Dublin), Resolution is done.
1057 ..      For Known issues, list bugs that are slotted for a future release.