summaryrefslogtreecommitdiffstats
path: root/components/pm-subscription-handler/tests
AgeCommit message (Collapse)AuthorFilesLines
2022-03-17[PMSH] Bug fix for Create MG2.2.2-pmshegernug2-5/+5
Object parse error in save_measurement_group DB Commit missing Issue-ID: DCAEGEN2-3118 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: I47362d5233cca3fef01e2e069f5ea68781e9ac7d
2022-03-09[PMSH] Create Measurement Group APIegernug2-26/+62
Creates Measurement Group for an associated Subscription POST: /subscription/{subscription_name}/measurementGroups/{measurement_group_name} Measurement Group structure: { "measurementGroup": { "measurementGroupName": "string", "fileBasedGP": 0, "fileLocation": "string", "administrativeState": "LOCKED", "measurementTypes": [ { "measurementType": "string" } ], "managedObjectDNsBasic": [ { "DN": "string" } ] } } Returns: Success: 201 Invalid Data: 400 when measurement_group_name in URI and body do not match Not Found: 404 when subscription does not exist to associate measurement group to Duplicate Data: Measurement group with that name already exists Error raised for any server failure Issue-ID: DCAEGEN2-2920 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: I812c5a891e9bed5433000f5da24e2667bf9a5d65
2022-03-03[PMSH] Cleaning up old App Config, subscription handler and it's subsequent ↵raviteja.karumuri17-1085/+135
calls Issue-ID: DCAEGEN2-3085 Signed-off-by: Raviteja, Karumuri <raviteja.karumuri@est.tech> Change-Id: I7b862648eebf59844aaa9d09697b7f2a693c9d94
2022-03-02[PMSH] Update Filter APISagarS5-10/+320
Issue-ID: DCAEGEN2-2922 Change-Id: Ibf0ef167642027429b3ba91daea60228cf5fa4c6 Signed-off-by: SagarS <sagar.shetty@est.tech>
2022-02-22[PMSH] Fixes for Flask, MarkupSafe versions + toxegernug2-4/+5
Fixes due to version issues and minor fixes for tox and unit test Patch 3+4: Version bump Issue-ID: DCAEGEN2-3086 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: Ibbb83bb50f96737ad127c4c2463957500f7581db
2022-02-16[PMSH] Delete Measurement Group APIegernug1-4/+46
API to delete MG when admin status allows Issue-ID: DCAEGEN2-2921 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: I4116d0096baf2f803e965385eaeac11da97ac65e
2022-02-15[PMSH] Exit Handler Updateraviteja.karumuri1-13/+9
Issue-ID: DCAEGEN2-3084 Signed-off-by: Raviteja, Karumuri <raviteja.karumuri@est.tech> Change-Id: Iecda19e7dbac2c612ec72a1ec34f72fdd7ba143b
2022-02-07[DCAEGEN2] Update Administrative status for measurement group2.0.0-pmshSagarS3-16/+256
Issue-ID: DCAEGEN2-2820 Change-Id: I290693edc5061c21bab6e0706eda02acb52e38e1 Signed-off-by: SagarS <sagar.shetty@est.tech>
2022-01-14[PMSH] Delete subscription API by Nameraviteja.karumuri1-2/+52
Issue-ID: DCAEGEN2-2821 Signed-off-by: Raviteja, Karumuri <raviteja.karumuri@est.tech> Change-Id: I22eb00c74e40b5428c3c7bd2b0546175cd6f30ed
2022-01-10[DCAEGEN2] PMSH Lazy loading error fixSagarS2-2/+6
Issue-ID: DCAEGEN2-3029 Change-Id: I06937d2268a1dbbacec7618d6b135ab2eba9cc5f Signed-off-by: SagarS <sagar.shetty@est.tech>
2021-12-14[PMSH] Read NFS associated with MG by using MGName and subNameraviteja.karumuri2-5/+59
Issue-ID: DCAEGEN2-2993 Signed-off-by: Raviteja, Karumuri <raviteja.karumuri@est.tech> Change-Id: I651a687ab7480fc0d42bf976c3d1b34f00e73e98
2021-12-09[DCAEGEN2] PMSH AAI changes with new subscription formatSagarS4-20/+108
Issue-ID: DCAEGEN2-2912 Change-Id: Ibd21f8f7a01a31bd7db19a39af010d6805b41622 Signed-off-by: SagarS <sagar.shetty@est.tech>
2021-12-09[PMSH] Add NF list to the Read by Subname callegernug2-1/+5
Issue-ID: DCAEGEN2-2992 Add the list of NFs when a request is made for a subscription. This will assist with testing and visibility for the user. Change-Id: I6061f1dd1cbc6c579e98605c1d7bcbcea3c4e77b Signed-off-by: egernug <gerard.nugent@est.tech>
2021-12-02[DCAEGEN2] PMSH Response Event Handler IntegrationSagarS3-57/+140
Issue-ID: DCAEGEN2-2915 Change-Id: I95b34a7b5b011760ae30c1485925dc19fde5e6c8 Signed-off-by: SagarS <sagar.shetty@est.tech>
2021-11-29[PMSH] Read all subscriptions APIraviteja.karumuri3-11/+91
Issue-ID: DCAEGEN2-2847 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: I6a2cbc127e12f2f6b051ed5f58fd2fa584a71908
2021-11-23[PMSH] Read subscription API by Nameraviteja.karumuri3-29/+52
Issue-ID: DCAEGEN2-2818 Signed-off-by: Raviteja, Karumuri <raviteja.karumuri@est.tech> Change-Id: Ie6925b4f4111e6f50c3b7dcd8eba670b89e63de3
2021-11-05[PMSH] Operational policy and control loop updatesraviteja.karumuri9-25/+43
Issue-ID: DCAEGEN2-2913 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: Ie64383aa55b07ef4387e9b1e8a2414f37901f0da
2021-10-18[DCAEGEN2] PMSH Create Subscription public APISagarS7-10/+701
Issue-ID: DCAEGEN2-2819 Change-Id: I80636be25dc4f7b1c5ce7470c7a38c010cb339a1 Signed-off-by: SagarS <sagar.shetty@est.tech>
2021-10-04[DCAEGEN2] PMSH AppConfig Updateajay_dp0012-1/+98
- Simplified existing PMSH Appconfig - Major version bump for J release Issue-ID: DCAEGEN2-2814 Signed-off-by: ajay_dp001 <ajay.deep.singh@est.tech> Change-Id: I8ed572ccc7385cfdf91e51a126622821c113c53d
2021-08-26Subscription API DB changes with IPV4, IPV6 updates1.3.2-pmshSagarS4-8/+29
Issue-ID: DCAEGEN2-2823 Change-Id: Ie455b1016ae1372934fa874667226ca9972b8d7f Signed-off-by: SagarS <sagar.shetty@est.tech>
2021-06-22Revert "[PMSH] Update filter"Gerard Nugent3-59/+15
This reverts commit 1ac9847eb66a074b5413264c788152f7c3ffc28d. Reason for revert: Premature merge Issue-ID: DCAEGEN2-2531 Change-Id: I7f1f236b860105b3d7b0db10bcc5b908c236db1f Signed-off-by: egernug <gerard.nugent@est.tech>
2021-06-21[PMSH] Update filteregernug3-15/+59
User can edit/update the nfFilter to include/exclude selected NFs Changelog and version update Issue-ID: DCAEGEN2-2531 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: I61388775a711687525b12087e9b533bee1c6b039
2021-04-21[DCAEGEN2] PMSH Update to Support Helm Transformation1.3.1-pmshajay_dp0012-133/+133
- Update Config-key for PMSH Monitoring Policy - Version bump Issue-ID: DCAEGEN2-2713 Signed-off-by: ajay_dp001 <ajay.deep.singh@est.tech> Change-Id: I70138795e5aa46e7c133415b02ba8a2a0f6ac0ba
2021-03-22[PMSH] Update to package version and url for Postgresegernug1-1/+1
Issue-ID: INT-1865 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: I0e0f72a1eb416269be462e67d3d221e49fe63120
2021-03-12[DCAEGEN-2] Added Junit for nfFilter schema validationajay_dp0011-0/+38
Issue-ID: DCAEGEN2-2637 Signed-off-by: ajay_dp001 <ajay.deep.singh@est.tech> Change-Id: I52192460e4f68f6ef7661e81487dcdd9fc286562
2021-02-09[PMSH] Validate schema of PMSH monitoring policyshivasubedi5-3/+206
Change-Id: I42b002f855a03b39ab85cfcb20d7857d30447e40 Signed-off-by: shivasubedi <shiva.subedi@est.tech> Issue-ID: DCAEGEN2-2152
2021-01-26[PMSH] Update sub object on activateefiacor2-28/+22
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Id9418301e0cb4d373339b9b3e3476f7db5770f3e Issue-ID: DCAEGEN2-2152
2021-01-12[PMSH] Add retry mech for DELETE_FAILED NFsefiacor3-33/+87
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I3980f0bb43c67e192828172dafe4e7be102dcc98 Issue-ID: DCAEGEN2-2152
2020-11-19[PMSH] Add Resource Name to filter optionsegernug5-8/+94
Issue-ID: DCAEGEN2-2402 Change-Id: I2242d36ca34e0b8ac085ce790b19b7ad51352c63 Signed-off-by: egernug <gerard.nugent@est.tech>
2020-10-19[PMSH] Bug fix to include ip in event1.1.2-pmshefiacor4-18/+10
# Add fix for DB cleardown on exit Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I6630f74258d072f683b5b5e42f0da2e63ea1b3c2 Issue-ID: DCAEGEN2-2486
2020-10-14[PMSH] Bug fix for missing sdnc params in DELETE eventefiacor1-9/+10
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I051cf6fd727ad99451c3c8386f604501b2eef8e0 Issue-ID: DCAEGEN2-2483
2020-09-10[PMSSH] Add sdnc model info to event publish1.1.1-pmshefiacor17-383/+442
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I89e25e99a2d541a29cf4a8dde986fab5b1812c9e Issue-ID: DCAEGEN2-2405
2020-09-08[PMSH] Enhance Filtering Mechanismegernug6-20/+287
Issue-ID: DCAEGEN2-2151 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: Ib6c207ac08a54dea06346596ff11c980fa4cf5e8
2020-08-13Refactor and bug fixesefiacor6-135/+163
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I8fe91bfdd2f1a2c8a6ca914e52d82dce04bffc0e Issue-ID: DCAEGEN2-2146
2020-07-06[PMSH] Add enable_tls boolean flag to config1.1.0efiacor9-89/+25
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I19f71b690f743980eaa149c9b2c76fecb98a0120 Issue-ID: DCAEGEN2-2146
2020-06-30[PMSH] Improve Failure HandlingERIMROB3-12/+6
Signed-off-by: ERIMROB <robertas.rimkus@est.tech> Change-Id: I15d338321957a293e9f444a10cf3bb06f4212f3e Issue-ID: DCAEGEN2-2157
2020-06-17[PMSH] Improve CBS data handlingefiacor9-202/+244
# AppConfog object fetch priodically # AAI client to only fetch AAI data Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I78315f141c3bb7e8b0d9efa818d294415fa79918 Issue-ID: DCAEGEN2-2146
2020-06-05[PMSH] Replace own logging implementation with pylogERIMROB7-15/+51
Signed-off-by: ERIMROB <robertas.rimkus@est.tech> Issue-ID: DCAEGEN2-2155 Change-Id: I670c4fff8029a73075b651c2afe6237c08cf907c
2020-05-25[PMSH] Adding 'subscriptions' api endpointefiacor5-47/+91
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I837045b3b618a98d4aabe190359d0ad47f27ca9f Issue-ID: DCAEGEN2-2154
2020-04-22[PMSH] Adding cbs module supportefiacor3-116/+14
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ie711995a3c7a2111f6cb872952507f511c0de6dd Issue-ID: DCAEGEN2-2156
2020-04-02[PMSH] Fix bug of deactivation during undeploy1.0.3ERIMROB1-0/+17
Signed-off-by: ERIMROB <robertas.rimkus@est.tech> Issue-ID: DCAEGEN2-2175 Change-Id: I70998a0d643b899c1b4d3ba86346297271a9b276
2020-03-27Fix bug where PMSH pushes config to non-active pnfemartin2-5/+6
Issue-ID: DCAEGEN2-2173 Signed-off-by: emartin <ephraim.martin@est.tech> Change-Id: Ib93a71e825f621721b5acda059cadcb7824f997d
2020-03-25Handle graceful exit of PMSH1.0.2emartin2-14/+91
Issue-ID: DCAEGEN2-1832 Change-Id: If0362e1927f7013d25f0cf23ade5ce9d2bdea8e3 Signed-off-by: emartin <ephraim.martin@est.tech>
2020-03-23[PMSH] Refactor subscription processor and policy response handlerERIMROB6-185/+242
Signed-off-by: ERIMROB <robertas.rimkus@est.tech> Change-Id: I91964848df8f7455169650b138b46d8dfc326b6f Issue-ID: DCAEGEN2-1820
2020-02-28Update PM subscription event for PMSHemartin7-12/+83
* Add control loop name * Remove invariant id reference Issue-ID: DCAEGEN2-2100 Signed-off-by: emartin <ephraim.martin@est.tech> Change-Id: I6bbb757e07f3d930ecd28bd3106df307a264ff65
2020-02-26Handle AAI Update and Delete events for PMSHemartin5-11/+83
Change-Id: I7f84e4429011bbaea4de23077ce23629b897fd7d Issue-ID: DCAEGEN2-1846 Signed-off-by: emartin <ephraim.martin@est.tech>
2020-02-21Add basic healthcheck for PMSHAndyWalshe1-0/+27
Signed-off-by: AndyWalshe <andy.walshe@est.tech> Issue-ID: DCAEGEN2-1842 Change-Id: Idef8542e9b063f457e402c25fdf369d885548674
2020-02-20Add Support for Activation and DeactivationERIMROB7-40/+293
* Add support for reconfiguration of the administrativeState field * Add support for policy feedback handling * Fix network function filter applying to non active network functions Signed-off-by: ERIMROB <robertas.rimkus@est.tech> Change-Id: Ic1cfc3207b2495c1d8d10acd0ed1c40114cf4643 Issue-ID: DCAEGEN2-1830
2020-02-13Fix PMHS logs dir setupefiacor2-6/+16
# Refactoring test|prod init Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ib073cb762a7750fca7bdf415cf5080d04f7bda51 Issue-ID: DCAEGEN2-2078
2020-02-10Adding DB Init and setupefiacor7-38/+179
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ie32efcf007c9b6fa25b0072019f4a91a841d9d0c Issue-ID: DCAEGEN2-1828