X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=a1%2Fdata.py;h=ca0acb37fb1c3a46c31053aa072cc54c0072160b;hb=fe30c1726c397b1ee100cd3d3795758e7d21b6bf;hp=dfe9dd26002689562bd8976d836281c52e149682;hpb=14d016e5551fdc203770dd8f4eac4724152e4848;p=ric-plt%2Fa1.git diff --git a/a1/data.py b/a1/data.py index dfe9dd2..ca0acb3 100644 --- a/a1/data.py +++ b/a1/data.py @@ -1,6 +1,3 @@ -""" -Represents A1s database and database access functions. -""" # ================================================================================== # Copyright (c) 2019-2020 Nokia # Copyright (c) 2018-2020 AT&T Intellectual Property. @@ -17,6 +14,9 @@ Represents A1s database and database access functions. # See the License for the specific language governing permissions and # limitations under the License. # ================================================================================== +""" +Represents A1s database and database access functions. +""" import os import time from threading import Thread @@ -24,7 +24,6 @@ from mdclogpy import Logger from ricxappframe.xapp_sdl import SDLWrapper from a1.exceptions import PolicyTypeNotFound, PolicyInstanceNotFound, PolicyTypeAlreadyExists, CantDeleteNonEmptyType - # constants INSTANCE_DELETE_NO_RESP_TTL = int(os.environ.get("INSTANCE_DELETE_NO_RESP_TTL", 5)) INSTANCE_DELETE_RESP_TTL = int(os.environ.get("INSTANCE_DELETE_RESP_TTL", 5))