Apply new initial source code of docker-launcher 23/283223/2 accepted/tizen/unified/20221101.090301
authorKiwoong Ha <kw1981.ha@samsung.com>
Thu, 20 Oct 2022 10:24:29 +0000 (19:24 +0900)
committerKiwoong Ha <kw1981.ha@samsung.com>
Thu, 20 Oct 2022 10:33:57 +0000 (19:33 +0900)
commit7ad403e7eb03d3bf9a47775176c7c041d1b77006
treef9fc5107ab79eac6aa8c62714fdb08317cd30e2b
parent1cdf6edc1d76d77690c7e777b20147d1f253ccc6
Apply new initial source code of docker-launcher

Change-Id: I165ae1d0fae3c0df1a1fa7c668363a3d651881c1
Signed-off-by: Kiwoong Ha <kw1981.ha@samsung.com>
282 files changed:
CMakeLists.txt
LICENSE [moved from LICENSE.APLv2 with 92% similarity]
README.md [changed mode: 0755->0644]
data/config/dockerd/dockerd_start.json [deleted file]
data/config/init/factory_init.json [deleted file]
include/dockzen_types.h [deleted file]
packaging/docker-launcher-client.manifest [deleted file]
packaging/docker-launcher.manifest
packaging/docker-launcher.service [changed mode: 0755->0644]
packaging/docker-launcher.spec
scripts/crash-forwarder.py [new file with mode: 0755]
src/CMakeLists.txt
src/Config/Config.cpp [new file with mode: 0644]
src/Config/Config.h [new file with mode: 0644]
src/ContainerLifecycleManager.cpp [new file with mode: 0644]
src/ContainerLifecycleManager.h [new file with mode: 0644]
src/ContainerManager.cpp [new file with mode: 0644]
src/ContainerManager.h [new file with mode: 0644]
src/Controller/ContainerController.cpp [new file with mode: 0644]
src/Controller/ContainerController.h [new file with mode: 0644]
src/Controller/CurlRestInterface.cpp [new file with mode: 0644]
src/Controller/CurlRestInterface.h [new file with mode: 0644]
src/Controller/DockerController.cpp [new file with mode: 0644]
src/Controller/DockerController.h [new file with mode: 0644]
src/Controller/RestInterface.h [new file with mode: 0644]
src/DockerLauncher.cpp [new file with mode: 0644]
src/DockerLauncher.h [new file with mode: 0644]
src/Extension/CrashForward.cpp [new file with mode: 0644]
src/Extension/CrashForward.h [new file with mode: 0644]
src/Extension/Extension.cpp [new file with mode: 0644]
src/Extension/Extension.h [new file with mode: 0644]
src/Extension/Presets.cpp [new file with mode: 0644]
src/Extension/Presets.h [new file with mode: 0644]
src/Extension/Tizen.cpp [new file with mode: 0644]
src/Extension/Tizen.h [new file with mode: 0644]
src/Volumes/BlockDevice.cpp [new file with mode: 0644]
src/Volumes/BlockDevice.h [new file with mode: 0644]
src/Volumes/LoopDevice.cpp [new file with mode: 0644]
src/Volumes/LoopDevice.h [new file with mode: 0644]
src/Volumes/VolumeDriver.h [new file with mode: 0644]
src/Volumes/VolumeManager.cpp [new file with mode: 0644]
src/Volumes/VolumeManager.h [new file with mode: 0644]
src/Volumes/Volumes.cpp [new file with mode: 0644]
src/Volumes/Volumes.h [new file with mode: 0644]
src/docker-launcher.cpp [new file with mode: 0644]
src/dzl_device.c [deleted file]
src/dzl_device.h [deleted file]
src/dzl_dockercomm.c [deleted file]
src/dzl_dockercomm.h [deleted file]
src/dzl_dockerctl.c [deleted file]
src/dzl_dockerctl.h [deleted file]
src/dzl_dockerform.c [deleted file]
src/dzl_dockerform.h [deleted file]
src/dzl_interface.c [deleted file]
src/dzl_interface.h [deleted file]
src/dzl_launcher.c [deleted file]
src/dzl_lifecycle.c [deleted file]
src/dzl_lifecycle.h [deleted file]
src/dzl_server.c [deleted file]
src/dzl_server.h [deleted file]
src/dzl_setting.c [deleted file]
src/dzl_setting.h [deleted file]
src/include/Container.h [new file with mode: 0644]
src/include/Image.h [new file with mode: 0644]
src/include/Volume.h [new file with mode: 0644]
src/include/dzl_internal_types.h [deleted file]
src/include/internal_macros.h [new file with mode: 0644]
src/include/internal_types.h [new file with mode: 0644]
src/lib/CMakeLists.txt [deleted file]
src/lib/build.sh [deleted file]
src/lib/install/amd64/lib/libdockzen.a [deleted file]
src/lib/install/amd64/lib/libjson-c.a [deleted file]
src/lib/install/amd64/lib/libjson-c.la [deleted file]
src/lib/install/amd64/lib/libjson-c.so [deleted symlink]
src/lib/install/amd64/lib/libjson-c.so.2 [deleted symlink]
src/lib/install/amd64/lib/libjson-c.so.2.0.2 [deleted file]
src/lib/install/arm/include/curl/curl.h [deleted file]
src/lib/install/arm/include/curl/curlbuild.h [deleted file]
src/lib/install/arm/include/curl/curlrules.h [deleted file]
src/lib/install/arm/include/curl/curlver.h [deleted file]
src/lib/install/arm/include/curl/easy.h [deleted file]
src/lib/install/arm/include/curl/mprintf.h [deleted file]
src/lib/install/arm/include/curl/multi.h [deleted file]
src/lib/install/arm/include/curl/stdcheaders.h [deleted file]
src/lib/install/arm/include/curl/system.h [deleted file]
src/lib/install/arm/include/curl/typecheck-gcc.h [deleted file]
src/lib/install/arm/lib/libcurl.a [deleted file]
src/lib/install/arm/lib/libcurl.la [deleted file]
src/lib/install/arm/lib/libcurl.so [deleted file]
src/lib/install/arm/lib/libcurl.so.4 [deleted file]
src/lib/install/arm/lib/libcurl.so.4.4.0 [deleted file]
src/lib/install/arm/lib/libdockzen.a [deleted file]
src/lib/install/arm/lib/libgmock.a [deleted file]
src/lib/install/arm/lib/libgmock_main.a [deleted file]
src/lib/install/arm/lib/libjson-c.a [deleted file]
src/lib/install/arm/lib/libjson-c.la [deleted file]
src/lib/install/arm/lib/libjson-c.so [deleted symlink]
src/lib/install/arm/lib/libjson-c.so.2 [deleted symlink]
src/lib/install/arm/lib/libjson-c.so.2.0.2 [deleted file]
src/lib/install/arm/lib/libyaml.a [deleted file]
src/lib/install/include/gmock/gmock-actions.h [deleted file]
src/lib/install/include/gmock/gmock-cardinalities.h [deleted file]
src/lib/install/include/gmock/gmock-generated-actions.h [deleted file]
src/lib/install/include/gmock/gmock-generated-actions.h.pump [deleted file]
src/lib/install/include/gmock/gmock-generated-function-mockers.h [deleted file]
src/lib/install/include/gmock/gmock-generated-function-mockers.h.pump [deleted file]
src/lib/install/include/gmock/gmock-generated-matchers.h [deleted file]
src/lib/install/include/gmock/gmock-generated-matchers.h.pump [deleted file]
src/lib/install/include/gmock/gmock-generated-nice-strict.h [deleted file]
src/lib/install/include/gmock/gmock-generated-nice-strict.h.pump [deleted file]
src/lib/install/include/gmock/gmock-matchers.h [deleted file]
src/lib/install/include/gmock/gmock-more-actions.h [deleted file]
src/lib/install/include/gmock/gmock-more-matchers.h [deleted file]
src/lib/install/include/gmock/gmock-spec-builders.h [deleted file]
src/lib/install/include/gmock/gmock.h [deleted file]
src/lib/install/include/gmock/internal/custom/gmock-generated-actions.h [deleted file]
src/lib/install/include/gmock/internal/custom/gmock-generated-actions.h.pump [deleted file]
src/lib/install/include/gmock/internal/custom/gmock-matchers.h [deleted file]
src/lib/install/include/gmock/internal/custom/gmock-port.h [deleted file]
src/lib/install/include/gmock/internal/gmock-generated-internal-utils.h [deleted file]
src/lib/install/include/gmock/internal/gmock-generated-internal-utils.h.pump [deleted file]
src/lib/install/include/gmock/internal/gmock-internal-utils.h [deleted file]
src/lib/install/include/gmock/internal/gmock-port.h [deleted file]
src/lib/install/include/gtest/gtest-death-test.h [deleted file]
src/lib/install/include/gtest/gtest-message.h [deleted file]
src/lib/install/include/gtest/gtest-param-test.h [deleted file]
src/lib/install/include/gtest/gtest-param-test.h.pump [deleted file]
src/lib/install/include/gtest/gtest-printers.h [deleted file]
src/lib/install/include/gtest/gtest-spi.h [deleted file]
src/lib/install/include/gtest/gtest-test-part.h [deleted file]
src/lib/install/include/gtest/gtest-typed-test.h [deleted file]
src/lib/install/include/gtest/gtest.h [deleted file]
src/lib/install/include/gtest/gtest_pred_impl.h [deleted file]
src/lib/install/include/gtest/gtest_prod.h [deleted file]
src/lib/install/include/gtest/internal/custom/gtest-port.h [deleted file]
src/lib/install/include/gtest/internal/custom/gtest-printers.h [deleted file]
src/lib/install/include/gtest/internal/custom/gtest.h [deleted file]
src/lib/install/include/gtest/internal/gtest-death-test-internal.h [deleted file]
src/lib/install/include/gtest/internal/gtest-filepath.h [deleted file]
src/lib/install/include/gtest/internal/gtest-internal.h [deleted file]
src/lib/install/include/gtest/internal/gtest-linked_ptr.h [deleted file]
src/lib/install/include/gtest/internal/gtest-param-util-generated.h [deleted file]
src/lib/install/include/gtest/internal/gtest-param-util-generated.h.pump [deleted file]
src/lib/install/include/gtest/internal/gtest-param-util.h [deleted file]
src/lib/install/include/gtest/internal/gtest-port-arch.h [deleted file]
src/lib/install/include/gtest/internal/gtest-port.h [deleted file]
src/lib/install/include/gtest/internal/gtest-string.h [deleted file]
src/lib/install/include/gtest/internal/gtest-tuple.h [deleted file]
src/lib/install/include/gtest/internal/gtest-tuple.h.pump [deleted file]
src/lib/install/include/gtest/internal/gtest-type-util.h [deleted file]
src/lib/install/include/gtest/internal/gtest-type-util.h.pump [deleted file]
src/lib/install/include/json-c/arraylist.h [deleted file]
src/lib/install/include/json-c/bits.h [deleted file]
src/lib/install/include/json-c/debug.h [deleted file]
src/lib/install/include/json-c/json.h [deleted file]
src/lib/install/include/json-c/json_c_version.h [deleted file]
src/lib/install/include/json-c/json_config.h [deleted file]
src/lib/install/include/json-c/json_inttypes.h [deleted file]
src/lib/install/include/json-c/json_object.h [deleted file]
src/lib/install/include/json-c/json_object_iterator.h [deleted file]
src/lib/install/include/json-c/json_object_private.h [deleted file]
src/lib/install/include/json-c/json_tokener.h [deleted file]
src/lib/install/include/json-c/json_util.h [deleted file]
src/lib/install/include/json-c/linkhash.h [deleted file]
src/lib/install/include/json-c/printbuf.h [deleted file]
src/lib/install/include/json-c/random_seed.h [deleted file]
src/lib/install/include/yaml/yaml.h [deleted file]
src/lib/ipc.c [deleted file]
src/lib/ipc.h [deleted file]
src/lib/ipc_client.c [deleted file]
src/lib/ipc_client.h [deleted file]
src/lib/ipc_config.h [deleted file]
src/lib/json_util.c [deleted file]
src/lib/json_util.h [deleted file]
src/lib/test/CMakeLists.txt [deleted file]
src/lib/test/build.sh [deleted file]
src/lib/test/client.c [deleted file]
src/lib/test/server.c [deleted file]
src/lib/test/server_cb.c [deleted file]
src/lib/test/test [deleted file]
src/lib/test/test-arm [deleted file]
src/lib/yaml_util.c [deleted file]
src/lib/yaml_util.h [deleted file]
src/unittest/CMakeLists.txt [deleted file]
src/unittest/beluga_launcher_test.c [deleted file]
src/util/JsonTools.h [new file with mode: 0644]
src/util/JsonTools/Transform.hpp [new file with mode: 0644]
src/util/blkid.h [new file with mode: 0644]
src/util/error.h [new file with mode: 0644]
src/util/log.h [new file with mode: 0644]
src/util/system.cpp [new file with mode: 0644]
src/util/system.h [new file with mode: 0644]
src/util/util.h [new file with mode: 0644]
sysctl.d/99-docker-launcher.conf.in [new file with mode: 0644]
test/CMakeLists.txt [new file with mode: 0644]
test/Controller/CMakeLists.txt [new file with mode: 0644]
test/Controller/MockRestInterface.h [new file with mode: 0644]
test/Controller/container-controller-test.cpp [new file with mode: 0644]
test/Controller/curl-rest-interface-test.cpp [new file with mode: 0644]
test/Controller/docker-controller-test.DockerControllerTest.__generate_container_create_dataTest.approved.txt [new file with mode: 0644]
test/Controller/docker-controller-test.DockerControllerTest.__generate_image_build_dataTest.approved.txt [new file with mode: 0644]
test/Controller/docker-controller-test.cpp [new file with mode: 0644]
test/Controller/rest-interface-test.cpp [new file with mode: 0644]
test/Extension/CMakeLists.txt [new file with mode: 0644]
test/Extension/crash-forward-test.cpp [new file with mode: 0644]
test/Extension/extension-test.cpp [new file with mode: 0644]
test/Extension/presets-test.cpp [new file with mode: 0644]
test/Extension/tizen-test.cpp [new file with mode: 0644]
test/Volumes/CMakeLists.txt [new file with mode: 0644]
test/Volumes/MockVolume.h [new file with mode: 0644]
test/Volumes/blockdevice-test.cpp [new file with mode: 0644]
test/Volumes/loopdevice-test.cpp [new file with mode: 0644]
test/Volumes/volume-manager-test.cpp [new file with mode: 0644]
test/Volumes/volumes-ext-test.cpp [new file with mode: 0644]
test/container-lifecycle-manager-test.cpp [new file with mode: 0644]
test/container-manager-test.cpp [new file with mode: 0644]
test/docker-launcher-test.cpp [new file with mode: 0644]
test/googletest_approval_main.cpp [new file with mode: 0644]
test/lib/ApprovalTests.hpp [new file with mode: 0644]
test/lib/ApprovalTests.v.10.12.1.hpp [new file with mode: 0644]
test/lib/CMakeLists.txt [new file with mode: 0644]
test/run_test.sh [new file with mode: 0755]
test/testfiles/empty.json [new file with mode: 0644]
test/testfiles/invalid.json [new file with mode: 0644]
test/testfiles/lodev.img [new file with mode: 0644]
test/testfiles/prepare.sh [new file with mode: 0755]
test/testfiles/rpi4/hal/etc/docker/devices.json [new file with mode: 0644]
test/testfiles/rpi4/opt/data/container/list/config-tizen-headed.json [new file with mode: 0644]
test/testfiles/rpi4/opt/data/container/tizen-headed/configs/seccomp-tizen.json [new file with mode: 0644]
test/testfiles/rpi4/opt/data/container/tizen-headed/configs/tizen-headed.json [new file with mode: 0644]
test/testfiles/rpi4/opt/data/container/tizen-headed/images/ramdisk.img [new file with mode: 0644]
test/testfiles/rpi4/opt/data/container/tizen-headed/tizen-init.tar [moved from unittest/pre/beluga/setup-adaptor/images/beluga-agent.tar with 55% similarity, mode: 0644]
test/testfiles/system.testfile [new file with mode: 0644]
test/testfiles/testfile.txt [new file with mode: 0644]
test/testfiles/volume-test.json [new file with mode: 0644]
test/util/CMakeLists.txt [new file with mode: 0644]
test/util/blkid-test.cpp [new file with mode: 0644]
test/util/error-test.cpp [new file with mode: 0644]
test/util/jsontools-test.JsonToolsTest.parseFromFileTests.approved.txt [new file with mode: 0644]
test/util/jsontools-test.JsonToolsTest.parseFromStringTests.approved.txt [new file with mode: 0644]
test/util/jsontools-test.JsonToolsTest.writeToStringTests.approved.txt [new file with mode: 0644]
test/util/jsontools-test.cpp [new file with mode: 0644]
test/util/system-test.cpp [new file with mode: 0644]
test/util/system-test.systemTestSubProcess.executeTest.approved.txt [new file with mode: 0644]
test/util/system-test.systemTestSubProcess.pipeTest.approved.txt [new file with mode: 0644]
test/util/util-test.cpp [new file with mode: 0644]
tool/CMakeLists.txt
tool/DockerLauncherCli.cpp [new file with mode: 0644]
tool/dockzen_launcher_cli.c [deleted file]
tool/dockzen_launcher_json.c [deleted file]
unit-test.sh [deleted file]
unittest/CMakeLists.txt [deleted file]
unittest/beluga-launcher_dzl_dockerctl.cpp [deleted file]
unittest/beluga-launcher_dzl_dockerform.cpp [deleted file]
unittest/beluga-launcher_dzl_interface.cpp [deleted file]
unittest/beluga-launcher_dzl_lifecycle.cpp [deleted file]
unittest/beluga-launcher_dzl_setting.cpp [deleted file]
unittest/beluga-launcher_main.cpp [deleted file]
unittest/dockzen_api/CMakeLists.txt [deleted file]
unittest/dockzen_api/dzl_interface.cpp [deleted file]
unittest/gtest-beluga-launcher [deleted file]
unittest/pre/beluga/setup-adaptor/cert/SRnD+Web+Proxy.crt [deleted file]
unittest/pre/beluga/setup-adaptor/config/config.json [deleted file]
unittest/pre/beluga/setup-adaptor/config/set_eth_config.sh [deleted file]
unittest/pre/beluga/setup-adaptor/config/set_wifi_config.sh [deleted file]
unittest/pre/beluga/setup-adaptor/container/config-agent.yml [deleted file]
unittest/pre/beluga/setup-adaptor/container/config-service.yml [deleted file]
unittest/pre/beluga/setup-adaptor/images/pharos-node-artik530.tar [deleted file]
unittest/pre/beluga/system/docker/dockerd_start.json [deleted file]
unittest/pre/beluga/system/env/environment [deleted file]
unittest/pre/beluga/system/env/factory_init.json [deleted file]
unittest/pre/beluga/system/release/beluga-release [deleted file]
unittest/pre/beluga/system/tools/agent_config.sh [deleted file]
unittest/pre/beluga/system/tools/agent_reset.sh [deleted file]
unittest/pre/beluga/system/tools/availables-dockerd/dockerd_start-default.json [deleted file]
unittest/pre/beluga/system/tools/dockerd_start.json [deleted file]
unittest/pre/beluga/system/tools/dockzen_agent-default.json [deleted file]
unittest/pre/beluga/system/tools/dockzen_agent-headed-iiot.json [deleted file]
unittest/pre/beluga/system/tools/dockzen_agent-headed.json [deleted file]
unittest/pre/beluga/system/tools/dockzen_agent-headless-iiot.json [deleted file]
unittest/pre/beluga/system/tools/dockzen_agent-headless.json [deleted file]
unittest/pre/test_condition.sh [deleted file]