com/pylog.git
2 days agoRIC:1060: Change in PTL 31/12831/1 master
Abdulwahid W [Tue, 30 Apr 2024 13:21:36 +0000 (18:51 +0530)]
RIC:1060: Change in PTL

Change-Id: Ic43bb4d840268d9bda43894417e6b0609257d995
Signed-off-by: Abdulwahid W <abdulwahid.w@nokia.com>
3 weeks agoCI: Migrate tox verify from Jenkins to GHA 19/12719/1
Jessica Wagantall [Wed, 10 Apr 2024 21:45:22 +0000 (14:45 -0700)]
CI: Migrate tox verify from Jenkins to GHA

Change-Id: I273aa57b08d4a36fb405c06ebf7e78b202efbe64
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
3 weeks agoFix: Remove tox run in merge workflow 61/12661/1
Jessica Wagantall [Thu, 4 Apr 2024 18:35:06 +0000 (11:35 -0700)]
Fix: Remove tox run in merge workflow

Tox does not produces any artifacts, no need to run tox
before running Sonar.

Change-Id: I0b88565339c22f5f295b9adb4bb1b2091c177dbd
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 weeks agoFix: Remove typo ARGS in sonar cloud call 57/12657/1
Jessica Wagantall [Thu, 4 Apr 2024 03:00:21 +0000 (20:00 -0700)]
Fix: Remove typo ARGS in sonar cloud call

Change-Id: I7d66c70c7f409cea290b50868b1f2391cba38405
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 weeks agoFix: Fix matrix environments 56/12656/1
Jessica Wagantall [Thu, 4 Apr 2024 02:52:07 +0000 (19:52 -0700)]
Fix: Fix matrix environments

Change-Id: I559af43ac0408d837229ca5116454b7672db1861
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 weeks agoFix: Add matrix of tox envs 55/12655/2
Jessica Wagantall [Thu, 4 Apr 2024 02:43:42 +0000 (19:43 -0700)]
Fix: Add matrix of tox envs

Change-Id: I40fdc9626d1c878aa37fa38cfb536b0265151ea3
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 weeks agoFix: Update tox envs to the available ones 54/12654/1
Jessica Wagantall [Thu, 4 Apr 2024 02:32:00 +0000 (19:32 -0700)]
Fix: Update tox envs to the available ones

Change-Id: I5f254e71670ddd14ef7022ed0ad4e48683f3a2a5
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 weeks agoRevert "Fix: Checked out code should be present in tox verify" 53/12653/1
Jessica Wagantall [Thu, 4 Apr 2024 02:20:26 +0000 (19:20 -0700)]
Revert "Fix: Checked out code should be present in tox verify"

This reverts commit 19b97e96b8ca718443970d5f7fdefb4470aae9f6.

Change-Id: I386dd2811bb59f701a4e36e9b28605313bfd8d91
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 weeks agoFix: Checked out code should be present in tox verify 52/12652/1
Jessica Wagantall [Thu, 4 Apr 2024 02:16:21 +0000 (19:16 -0700)]
Fix: Checked out code should be present in tox verify

Change-Id: I77a4e51d97733a656dd5ae1917186af2c3066513
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 weeks agoFix: Call the right tox workflow 51/12651/1
Jessica Wagantall [Thu, 4 Apr 2024 02:10:10 +0000 (19:10 -0700)]
Fix: Call the right tox workflow

Was accidentally calling the maven one

Change-Id: Ic933c19f26fbfaabce460aa8be9703bda6472cd3
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 weeks agoFix: Update typo in action dependency 50/12650/1
Jessica Wagantall [Thu, 4 Apr 2024 02:05:39 +0000 (19:05 -0700)]
Fix: Update typo in action dependency

Change-Id: I102542da3bf4d9654de289cfbf8029b97b9d7e51
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 weeks agoFix: Remove duplicate arguments in Sonar action 49/12649/1
Jessica Wagantall [Thu, 4 Apr 2024 02:03:15 +0000 (19:03 -0700)]
Fix: Remove duplicate arguments in Sonar action

Change-Id: I9de01b793cc1f1988d8f954684d6e991689be398
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 weeks agoFix: Call tox verify action and not workflow 48/12648/1
Jessica Wagantall [Thu, 4 Apr 2024 02:00:05 +0000 (19:00 -0700)]
Fix: Call tox verify action and not workflow

- We can't call workflows in steps

Change-Id: I309ca2bf14f56f2078ccab3bb82c7a8122d23372
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 weeks agoFix: Call Sonar action directly 47/12647/1
Jessica Wagantall [Thu, 4 Apr 2024 01:52:16 +0000 (18:52 -0700)]
Fix: Call Sonar action directly

This workflow will require less calls and simpler code

Change-Id: Ice0a05fb50dbb470e38ac7f4d25936febd81160d
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 weeks agoCI: Add silent merge GHA workflow 46/12646/1
Jessica Wagantall [Thu, 4 Apr 2024 01:21:41 +0000 (18:21 -0700)]
CI: Add silent merge GHA workflow

This workflow runs tox verify and sonar cloud scan

Change-Id: I03c3059ac9d47c3d473ebb437e6bdc9611d21568
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 weeks agoFix: Update tox env to verify to match Jenkins 45/12645/1
Jessica Wagantall [Thu, 4 Apr 2024 01:09:48 +0000 (18:09 -0700)]
Fix: Update tox env to verify to match Jenkins

Change-Id: Id421d70032697b875fb0e375a9862d87bc1bba36
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2 months agoCI: Add non voting tox verify GHA workflow call 33/12533/1
Jessica Wagantall [Wed, 14 Feb 2024 18:11:00 +0000 (10:11 -0800)]
CI: Add non voting tox verify GHA workflow call

This GitHub Action workflow call will replace tox-verify in
Jenkins.
This is added as a non-voting workflow for now until we confirm
it works as expected.

Change-Id: I2c01cf7bd7155c3fb082c77af422a75962c4fb58
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
8 months agoRemoving deprecated functions from readthedocs 51/11751/3 i-release
czichy [Fri, 1 Sep 2023 06:24:00 +0000 (09:24 +0300)]
Removing deprecated functions from readthedocs

Change-Id: I6f416bffcb6993bbaa5628b75a4d7379237b8923
Signed-off-by: czichy <thoralf.czichy@nokia.com>
2 years agoRelease mdclogpy 1.1.4 93/6293/3 dawn e-release f-release g-release h-release 1.1.4
wahidw [Thu, 10 Jun 2021 18:28:26 +0000 (18:28 +0000)]
Release mdclogpy 1.1.4

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Ia8cc7c505a43e57fb5399244406079a73cd0e5ab

2 years agoFixing version issues while releasing - retry 2 86/6286/2
wahidw [Thu, 10 Jun 2021 07:29:58 +0000 (07:29 +0000)]
Fixing version issues while releasing - retry 2

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Ide052cd1afdae7115a08fe3fa576ec556a09a490

2 years agoFixing version issues while releasing 76/6276/2
wahidw [Wed, 9 Jun 2021 13:32:44 +0000 (13:32 +0000)]
Fixing version issues while releasing

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: I40ec1ec9f44e8890ad61c4bb818be6006f1f9c6d

2 years agoPreparations to push new release 09/6209/1
wahidw [Thu, 3 Jun 2021 08:20:59 +0000 (08:20 +0000)]
Preparations to push new release

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Ia2e03ac5f7df3fa02d51d74c68d203d2527bee8b

2 years agoAdding Unit Test case 07/6207/1 1.1.3
wahidw [Thu, 3 Jun 2021 06:50:04 +0000 (06:50 +0000)]
Adding Unit Test case

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Ifeb47d837ae257d607a4e191ab4490889014f793

3 years agoRelease mdclogpy 1.1.2 package 21/5321/1 cherry 1.1.2
wahidw [Fri, 11 Dec 2020 14:26:31 +0000 (14:26 +0000)]
Release mdclogpy 1.1.2 package

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: I5d8c1713c3dfad27f48c1cd42317c9f244a88b98

3 years agoUpdating the pylog version in release notes 17/5317/2
wahidw [Fri, 11 Dec 2020 13:27:35 +0000 (13:27 +0000)]
Updating the pylog version in release notes

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: I2cd72fffc838334c49b4af614359b5216c8a718f

3 years agoImproving UT coverage 96/5296/1
wahidw [Thu, 10 Dec 2020 12:50:33 +0000 (12:50 +0000)]
Improving UT coverage

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Iaa3eaf61600243320c93625573e53d08a9276ce9

3 years agoadded dynamic log level, reflecting from config map 27/5227/1
rangajal [Thu, 3 Dec 2020 08:32:23 +0000 (08:32 +0000)]
added dynamic log level, reflecting from config map

Change-Id: Ie31dbf4b4e7d2810457634e80b6d7bde585be7fd
Signed-off-by: rangajal <ranjit.angajala@nokia.com>
3 years agoAdding Documentation to pylog 88/5188/1
wahidw [Fri, 27 Nov 2020 18:31:21 +0000 (18:31 +0000)]
Adding Documentation to pylog

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Ifc8d61e919d1f722bb9802e32f623777d68f5170

3 years agoProcess ID missing in MDC Log format 51/5151/1
wahidw [Wed, 25 Nov 2020 07:57:48 +0000 (07:57 +0000)]
Process ID missing in MDC Log format

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Id895eebcc05b29bc9c6eff9773678f0317f3573c

3 years agoAdd log formatting option and dynamic Log-Level change Implement MDC Log entry format... 69/4969/2
wahidw [Tue, 3 Nov 2020 06:08:24 +0000 (06:08 +0000)]
Add log formatting option and dynamic Log-Level change Implement MDC Log entry formatting options via environment variables and implement dynamic Log-Level change what makes possible to change the log level of a running process in a Docker container.

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Ia8efeb03ff8ac8a58ff2aacfd95f181f2b2f3555

3 years agoDocumentation for pylog 53/4653/1
wahidw [Mon, 31 Aug 2020 17:47:05 +0000 (23:17 +0530)]
Documentation for pylog

Change-Id: I43f8fb04298a1e1936378496978f721aca630750
Signed-off-by: wahidw <abdulwahid.w@nokia.com>
3 years agoreplacing committers 04/4304/1
czichy [Fri, 3 Jul 2020 05:50:24 +0000 (08:50 +0300)]
replacing committers

Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: I0cbf80d31a3bc47b290448a74abdcee4f888144d

4 years agoMerge "Add new license claim" bronze
Roni Riska [Thu, 28 Nov 2019 06:42:21 +0000 (06:42 +0000)]
Merge "Add new license claim"

4 years agoAdd new license claim 00/1800/1
Roni Riska [Wed, 27 Nov 2019 08:40:37 +0000 (10:40 +0200)]
Add new license claim

Adding extra line that src files are part of RIC platform project.

Change-Id: I746145b9f1f359740d983ff18f18fb3a575c27b0
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoMerge "Automation adds INFO.yaml" Amber
Roni Riska [Thu, 14 Nov 2019 08:22:04 +0000 (08:22 +0000)]
Merge "Automation adds INFO.yaml"

4 years agoAdd docs building support 43/1543/1
Roni Riska [Wed, 13 Nov 2019 06:26:35 +0000 (08:26 +0200)]
Add docs building support

Change-Id: I8f20615f69f0beaa0864407435b35e38c3d40e56
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoAutomation adds INFO.yaml 24/1424/2
Aric Gardner [Fri, 8 Nov 2019 15:54:10 +0000 (15:54 +0000)]
Automation adds INFO.yaml

Change-Id: I5c37f6e782326e7d83a6f3d4dfda6080add193f5
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
4 years agoMove python sources to a subdir 79/1379/4
Roni Riska [Wed, 6 Nov 2019 13:37:27 +0000 (15:37 +0200)]
Move python sources to a subdir

To better support CI process, all python code
including tox.ini and setup.py are moved to
mdclogpy subdir.

Now changes to release dir and mdclogpy dir will
trigger different ci jobs.

Change-Id: I15d2414a68dcca51d01a4187050b4140ff872abf
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoAdd releases yaml file 64/1364/3 1.1.1
Roni Riska [Tue, 5 Nov 2019 14:20:46 +0000 (16:20 +0200)]
Add releases yaml file

The yaml file for automatic package releasing to Pypi.

Change-Id: I103e17694cc701192018323d94640cabc07026b6
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoAdd CI support 98/1298/4
Roni Riska [Thu, 31 Oct 2019 13:45:07 +0000 (15:45 +0200)]
Add CI support

Add tox.ini which runs the unit tests and coverage for
the Python code.

Change-Id: I3e851fe09119257beae93cc8c9b7d4d73545993b
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoBump module version 29/629/1
Roni Riska [Mon, 5 Aug 2019 07:46:40 +0000 (10:46 +0300)]
Bump module version

Update the version from 1.0 to 1.1

Change-Id: I16ecdbc367dbba41c2856a905fe8cf721ddeff13
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoFix level enum checking 01/601/1
Roni Riska [Wed, 31 Jul 2019 11:10:16 +0000 (14:10 +0300)]
Fix level enum checking

In Python 3.8 checks with non-Enum causes TypeError exception.
https://docs.python.org/3/whatsnew/3.7.html#enum

So, if the library user would call mdclog.set_level(123)
it would crash the process with Python 3.8. With 3.7 it would
just cause an error print and with older nothing would happen.

Now we try to convert the set_level argument to a Level object
and if it does not succeed then ignore the setting, like
it has worked with older Python versions.

Change-Id: Ib99d5feb8eea919ffc9cd12405aac6da892f6d14
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoFirst release version 65/465/2
Roni Riska [Thu, 4 Jul 2019 09:28:47 +0000 (12:28 +0300)]
First release version

Change-Id: I1c868f6927754884cae2d2280580b84452a5cb65
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoInitial empty repository
Jessica Wagantall [Tue, 14 May 2019 17:56:23 +0000 (17:56 +0000)]
Initial empty repository