Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Ide32d2287d4d760534edb41e2cf8201bb6e87d82
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-3297
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
|
|
Change-Id: I8defdd65093d19d4255427a8c7961cf5249007b8
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-2952
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
|
|
Change-Id: I66e61d1c8c75efd4838a588cc0f5c1bb1ce36d8f
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-3268
|
|
Change-Id: I9eefe4d34ae226bbd5a6f80422f89baeeaeb3471
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Issue-ID: DCAEGEN2-2837
|
|
also fix up some copyright & license block lines
Change-Id: Ifb628e2ef1e5f13fed0a29964eec387d3982d605
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Issue-ID: DCAEGEN2-2995
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
|
|
Writing log to a single file from multiple processes is not supported
by python logging. It causes making fragmented log files at log
rotation and logs are mixed up.
This change is to use different log files for each sub-process
to help developers check log for a specific process easily.
This change does not affect to pod log (stdout log).
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Issue-ID: DCAEGEN2-2941
Change-Id: If8bcb2308863d1395a2c547d2e7b746301665fb0
|
|
fetch_json_file() function is called from two processes, misshtbtd
and cbs_polling. When they call the func at the same time, both procs
try to remove download.json, so `No such file or directory` error
occurs on one of them and the process stop working by the error.
This change adds an exception handling to ignore the error.
Issue-ID: DCAEGEN2-2872
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Change-Id: I4f9f0a4522badcdef51392f4bbccfd6aa42fd9d0
|
|
Current heartbeat service assumes lastEpochMicrosec timestamp
in VES notification is represented as milli-seconds,
but some devices sends micro-sec timestamp in the field.
In that case, the heartbeat notification was not working
due to timestamp comparison was not done properly.
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Issue-ID: DCAEGEN2-2940
Change-Id: Id7c9241de70cb3ff7ee59cf1e2c60089ff96a42b
|
|
cbs polling process sometimes failed to start by `relation
"hb_common" does not exist` error.
The polling process tries to read hb_common table on startup,
but the process is created before the parent process creates
hb_common table. So the error may occur in race condition.
cbs_polling process must be started after `hb_common` table populated.
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Issue-ID: DCAEGEN2-2944
Change-Id: Iee682b62a385dfaf2ec1355e781cda9c3def23c0
|
|
The original implementation used Popen but its stdout pipe became
clogged because the captured output was not processed properly.
As a result, readiness check failed due to health-check server
not responding and the pod became unready state.
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Issue-ID: DCAEGEN2-2832
Change-Id: I98259e25fe40d5374a2c4236fc20bd631673f15e
|
|
config_notif.py is not referenced from main code and not used at all.
Also tests/HB_Array.json is not used by any test.
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Issue-ID: DCAEGEN2-2939
Change-Id: I6d462a406e2d36d0243f4a72b7faac2f79e353d9
|
|
Change-Id: Id4569bf141dc7c48e15eed5d624042e498dde4ea
Signed-off-by: vv770d <vv770d@att.com>
Issue-ID: DCAEGEN2-2852
Signed-off-by: vv770d <vv770d@att.com>
|
|
Removed obsolete volume mapping which is causing
deployment error on later/newer version of containerd install
Change-Id: Ifde48ff3ea86417938efa9507ffb58dde02a57ac
Signed-off-by: vv770d <vv770d@att.com>
Issue-ID: DCAEGEN2-2864
|
|
Current date format is ambiguous (mm/dd/yyyy or dd/mm/yyyy),
so let's change to use yyyy/mm/dd in Changelog.
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Issue-ID: DCAEGEN2-2850
Change-Id: Id005e22567fc5fa09f1fa8f5b455b1645651e254
|
|
Test "tests.test_binding.test_resolve_all" (in test_binding.py)
fails if proxy environment variable http_proxy is set.
httpretty mock is ignored and an actual request is sent to
non-existing address.
By this change proxy variable is unset during the test.
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Issue-ID: DCAEGEN2-2834
Change-Id: Ie0d4bc41f6f83d7cfdd3abaa3266ff8ac5a91c2e
|
|
Removed unnecessary parentheses from code.
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Issue-ID: DCAEGEN2-2837
Change-Id: I9a5f43a4bd894f44d0fc27c0841535faa79a39ac
|
|
Constructing SQL statement by python % formatting operator is
dangerous. Use psycopg2 placeholder to escape special characters.
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Issue-ID: DCAEGEN2-2836
Change-Id: I5ac804bc3e280c3eae14a5e224ca5fc7c7faccb7
|
|
Just remove unused code
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Issue-ID: DCAEGEN2-2833
Change-Id: If81a5fcb918a2683e261807d6a3da5a8648e505d
|
|
Use 4 spaces for indentation and put spaces for better readability.
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Issue-ID: DCAEGEN2-2833
Change-Id: I99aa4df83a32b077e2a3f336d17b6b64184c3c12
|
|
target/ directory is created during local build.
Add it to .gitignore not to be added in commit.
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Issue-ID: DCAEGEN2-2833
Change-Id: I0832154d43027d630518f8477737c201a1bf2119
|
|
Remove unused import statements from script.
Bumped up version to 2.3.0.
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Issue-ID: DCAEGEN2-2833
Change-Id: I015e89f1b56ca12483e432bf67123f33140d722c
|
|
Moved setting PYTHONPATH and PATH to Dockerfile as thats where python
version is defined (baseOS image)
Switched hardcoded python3.8 to python3.
psycopg is recommended to be built from source for production use, yet
CI environment does not have the dependencies to build it.
To circumvent that, requirements were split into:
- requirements-common.txt that should be included for each environment
- requirements-docker.txt that force building of psycopg in docker
- requirements.txt that use psycopg-binary for ci purposes
Benefits from switching over:
* minimal {java11,python} images maintained by integration team
* using currently "blessed by seccom" versions (:latest tag used)
* should limit spread of legal issues across layers
* integration images will be the first to have automated compliance
documentation
* should limit spread of base layers (contributing to deployment
footprint - more base layers = more to download, more to store etc...)
Issue-ID: INT-1864
Issue-ID: DCAEGEN2-2420
Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com>
Change-Id: I77be2fd9dd53613a1a6ad26f8f0b506073f1cca6
|
|
Issue-ID: DCAEGEN2-2557
Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com>
Change-Id: Ieb04496cec562ea9a044c803fa5a0fe818ca2f8a
|
|
Heartbeat service monitors missing HB notification
Issue-ID: DCAEGEN2-267
Change-Id: I21f36056e9509a167bff476231a6bbd661aca1b9
Signed-off-by: SrikanthNaidu <sn8492@att.com>
|
|
Issue-ID: DCAEGEN2-275
Change-Id: I2a2def9aef7664b58c6c3b74318343699fbf6c22
Signed-Off-by: Gokul Singaraju <gs244f@att.com>
|