├── .clang-format ├── .clang-tidy ├── .clang-tidy.light ├── .cmake-format.yaml ├── .codechecker.clang-tidy.args ├── .codechecker.skipfile ├── .codechecker.yaml ├── .gitattributes ├── .github ├── codeql │ └── codeql-config.yml └── workflows │ └── main.yml ├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── CPPLINT.cfg ├── LICENSE ├── README.md ├── atframework └── Repository.cmake ├── binding └── c │ ├── CMakeLists.txt │ └── atframe │ ├── libatapp_c.cpp │ └── libatapp_c.h ├── ci ├── do_ci.ps1 ├── do_ci.sh ├── format.sh └── requirements.txt ├── cmake_dev.sh ├── include ├── atframe │ ├── atapp.h │ ├── atapp_conf.h │ ├── atapp_conf.proto │ ├── atapp_conf_rapidjson.h │ ├── atapp_config.h.in │ ├── atapp_log_sink_maker.h │ ├── atapp_module_impl.h │ ├── connectors │ │ ├── atapp_connector_atbus.h │ │ ├── atapp_connector_impl.h │ │ ├── atapp_connector_loopback.h │ │ └── atapp_endpoint.h │ ├── etcdcli │ │ ├── etcd_cluster.h │ │ ├── etcd_def.h │ │ ├── etcd_discovery.h │ │ ├── etcd_keepalive.h │ │ ├── etcd_packer.h │ │ └── etcd_watcher.h │ └── modules │ │ ├── etcd_module.h │ │ ├── worker_context.h │ │ └── worker_pool_module.h └── include.macro.cmake ├── libatapp-config.cmake.in ├── project └── cmake │ ├── FetchDependeny.cmake │ └── ProjectBuildOption.cmake ├── sample ├── CMakeLists.txt ├── sample.custom-macro.cmake ├── sample_echo_svr.cpp └── sample_etc │ ├── sample_echo_svr.conf │ ├── sample_echo_svr.start.sh │ └── sample_echo_svr.yaml ├── src ├── CMakeLists.txt └── atframe │ ├── atapp.cpp │ ├── atapp_conf.cpp │ ├── atapp_conf_rapidjson.cpp │ ├── atapp_log_sink_maker.cpp │ ├── atapp_module_impl.cpp │ ├── connectors │ ├── atapp_connector_atbus.cpp │ ├── atapp_connector_impl.cpp │ ├── atapp_connector_loopback.cpp │ └── atapp_endpoint.cpp │ ├── etcdcli │ ├── etcd_cluster.cpp │ ├── etcd_discovery.cpp │ ├── etcd_keepalive.cpp │ ├── etcd_packer.cpp │ └── etcd_watcher.cpp │ └── modules │ ├── etcd_module.cpp │ └── worker_pool_module.cpp ├── test ├── CMakeLists.txt └── case │ ├── atapp_configure_loader_test.conf │ ├── atapp_configure_loader_test.cpp │ ├── atapp_configure_loader_test.env.txt │ ├── atapp_configure_loader_test.yaml │ ├── atapp_configure_loader_test_app_keys.txt │ ├── atapp_configure_loader_test_log_keys.txt │ ├── atapp_connector_test.cpp │ ├── atapp_discovery_test.cpp │ ├── atapp_message_test.cpp │ ├── atapp_setup_test.cpp │ ├── atapp_test_0.yaml │ ├── atapp_test_1.yaml │ ├── atapp_test_2.yaml │ ├── atapp_test_one_worker.yaml │ └── atapp_worker_pool_test.cpp ├── third_party ├── .clang-tidy └── Repository.cmake └── tools ├── CMakeLists.txt └── atappctl.cpp /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/.clang-format -------------------------------------------------------------------------------- /.clang-tidy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/.clang-tidy -------------------------------------------------------------------------------- /.clang-tidy.light: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/.clang-tidy.light -------------------------------------------------------------------------------- /.cmake-format.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/.cmake-format.yaml -------------------------------------------------------------------------------- /.codechecker.clang-tidy.args: -------------------------------------------------------------------------------- 1 | --allow-no-checks 2 | -------------------------------------------------------------------------------- /.codechecker.skipfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/.codechecker.skipfile -------------------------------------------------------------------------------- /.codechecker.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/.codechecker.yaml -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/codeql/codeql-config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/.github/codeql/codeql-config.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /CPPLINT.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/CPPLINT.cfg -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/README.md -------------------------------------------------------------------------------- /atframework/Repository.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/atframework/Repository.cmake -------------------------------------------------------------------------------- /binding/c/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/binding/c/CMakeLists.txt -------------------------------------------------------------------------------- /binding/c/atframe/libatapp_c.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/binding/c/atframe/libatapp_c.cpp -------------------------------------------------------------------------------- /binding/c/atframe/libatapp_c.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/binding/c/atframe/libatapp_c.h -------------------------------------------------------------------------------- /ci/do_ci.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/ci/do_ci.ps1 -------------------------------------------------------------------------------- /ci/do_ci.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/ci/do_ci.sh -------------------------------------------------------------------------------- /ci/format.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/ci/format.sh -------------------------------------------------------------------------------- /ci/requirements.txt: -------------------------------------------------------------------------------- 1 | cmake-format>=0.6.13 2 | PyYAML>=5.4.1 3 | -------------------------------------------------------------------------------- /cmake_dev.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/cmake_dev.sh -------------------------------------------------------------------------------- /include/atframe/atapp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/atapp.h -------------------------------------------------------------------------------- /include/atframe/atapp_conf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/atapp_conf.h -------------------------------------------------------------------------------- /include/atframe/atapp_conf.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/atapp_conf.proto -------------------------------------------------------------------------------- /include/atframe/atapp_conf_rapidjson.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/atapp_conf_rapidjson.h -------------------------------------------------------------------------------- /include/atframe/atapp_config.h.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/atapp_config.h.in -------------------------------------------------------------------------------- /include/atframe/atapp_log_sink_maker.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/atapp_log_sink_maker.h -------------------------------------------------------------------------------- /include/atframe/atapp_module_impl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/atapp_module_impl.h -------------------------------------------------------------------------------- /include/atframe/connectors/atapp_connector_atbus.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/connectors/atapp_connector_atbus.h -------------------------------------------------------------------------------- /include/atframe/connectors/atapp_connector_impl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/connectors/atapp_connector_impl.h -------------------------------------------------------------------------------- /include/atframe/connectors/atapp_connector_loopback.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/connectors/atapp_connector_loopback.h -------------------------------------------------------------------------------- /include/atframe/connectors/atapp_endpoint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/connectors/atapp_endpoint.h -------------------------------------------------------------------------------- /include/atframe/etcdcli/etcd_cluster.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/etcdcli/etcd_cluster.h -------------------------------------------------------------------------------- /include/atframe/etcdcli/etcd_def.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/etcdcli/etcd_def.h -------------------------------------------------------------------------------- /include/atframe/etcdcli/etcd_discovery.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/etcdcli/etcd_discovery.h -------------------------------------------------------------------------------- /include/atframe/etcdcli/etcd_keepalive.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/etcdcli/etcd_keepalive.h -------------------------------------------------------------------------------- /include/atframe/etcdcli/etcd_packer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/etcdcli/etcd_packer.h -------------------------------------------------------------------------------- /include/atframe/etcdcli/etcd_watcher.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/etcdcli/etcd_watcher.h -------------------------------------------------------------------------------- /include/atframe/modules/etcd_module.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/modules/etcd_module.h -------------------------------------------------------------------------------- /include/atframe/modules/worker_context.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/modules/worker_context.h -------------------------------------------------------------------------------- /include/atframe/modules/worker_pool_module.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/atframe/modules/worker_pool_module.h -------------------------------------------------------------------------------- /include/include.macro.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/include/include.macro.cmake -------------------------------------------------------------------------------- /libatapp-config.cmake.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/libatapp-config.cmake.in -------------------------------------------------------------------------------- /project/cmake/FetchDependeny.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/project/cmake/FetchDependeny.cmake -------------------------------------------------------------------------------- /project/cmake/ProjectBuildOption.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/project/cmake/ProjectBuildOption.cmake -------------------------------------------------------------------------------- /sample/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/sample/CMakeLists.txt -------------------------------------------------------------------------------- /sample/sample.custom-macro.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/sample/sample.custom-macro.cmake -------------------------------------------------------------------------------- /sample/sample_echo_svr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/sample/sample_echo_svr.cpp -------------------------------------------------------------------------------- /sample/sample_etc/sample_echo_svr.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/sample/sample_etc/sample_echo_svr.conf -------------------------------------------------------------------------------- /sample/sample_etc/sample_echo_svr.start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/sample/sample_etc/sample_echo_svr.start.sh -------------------------------------------------------------------------------- /sample/sample_etc/sample_echo_svr.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/sample/sample_etc/sample_echo_svr.yaml -------------------------------------------------------------------------------- /src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/src/CMakeLists.txt -------------------------------------------------------------------------------- /src/atframe/atapp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/src/atframe/atapp.cpp -------------------------------------------------------------------------------- /src/atframe/atapp_conf.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/src/atframe/atapp_conf.cpp -------------------------------------------------------------------------------- /src/atframe/atapp_conf_rapidjson.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/src/atframe/atapp_conf_rapidjson.cpp -------------------------------------------------------------------------------- /src/atframe/atapp_log_sink_maker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/src/atframe/atapp_log_sink_maker.cpp -------------------------------------------------------------------------------- /src/atframe/atapp_module_impl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/src/atframe/atapp_module_impl.cpp -------------------------------------------------------------------------------- /src/atframe/connectors/atapp_connector_atbus.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/src/atframe/connectors/atapp_connector_atbus.cpp -------------------------------------------------------------------------------- /src/atframe/connectors/atapp_connector_impl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/src/atframe/connectors/atapp_connector_impl.cpp -------------------------------------------------------------------------------- /src/atframe/connectors/atapp_connector_loopback.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/src/atframe/connectors/atapp_connector_loopback.cpp -------------------------------------------------------------------------------- /src/atframe/connectors/atapp_endpoint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/src/atframe/connectors/atapp_endpoint.cpp -------------------------------------------------------------------------------- /src/atframe/etcdcli/etcd_cluster.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/src/atframe/etcdcli/etcd_cluster.cpp -------------------------------------------------------------------------------- /src/atframe/etcdcli/etcd_discovery.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/src/atframe/etcdcli/etcd_discovery.cpp -------------------------------------------------------------------------------- /src/atframe/etcdcli/etcd_keepalive.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/src/atframe/etcdcli/etcd_keepalive.cpp -------------------------------------------------------------------------------- /src/atframe/etcdcli/etcd_packer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/src/atframe/etcdcli/etcd_packer.cpp -------------------------------------------------------------------------------- /src/atframe/etcdcli/etcd_watcher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/src/atframe/etcdcli/etcd_watcher.cpp -------------------------------------------------------------------------------- /src/atframe/modules/etcd_module.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/src/atframe/modules/etcd_module.cpp -------------------------------------------------------------------------------- /src/atframe/modules/worker_pool_module.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/src/atframe/modules/worker_pool_module.cpp -------------------------------------------------------------------------------- /test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/test/CMakeLists.txt -------------------------------------------------------------------------------- /test/case/atapp_configure_loader_test.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/test/case/atapp_configure_loader_test.conf -------------------------------------------------------------------------------- /test/case/atapp_configure_loader_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/test/case/atapp_configure_loader_test.cpp -------------------------------------------------------------------------------- /test/case/atapp_configure_loader_test.env.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/test/case/atapp_configure_loader_test.env.txt -------------------------------------------------------------------------------- /test/case/atapp_configure_loader_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/test/case/atapp_configure_loader_test.yaml -------------------------------------------------------------------------------- /test/case/atapp_configure_loader_test_app_keys.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/test/case/atapp_configure_loader_test_app_keys.txt -------------------------------------------------------------------------------- /test/case/atapp_configure_loader_test_log_keys.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/test/case/atapp_configure_loader_test_log_keys.txt -------------------------------------------------------------------------------- /test/case/atapp_connector_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/test/case/atapp_connector_test.cpp -------------------------------------------------------------------------------- /test/case/atapp_discovery_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/test/case/atapp_discovery_test.cpp -------------------------------------------------------------------------------- /test/case/atapp_message_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/test/case/atapp_message_test.cpp -------------------------------------------------------------------------------- /test/case/atapp_setup_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/test/case/atapp_setup_test.cpp -------------------------------------------------------------------------------- /test/case/atapp_test_0.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/test/case/atapp_test_0.yaml -------------------------------------------------------------------------------- /test/case/atapp_test_1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/test/case/atapp_test_1.yaml -------------------------------------------------------------------------------- /test/case/atapp_test_2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/test/case/atapp_test_2.yaml -------------------------------------------------------------------------------- /test/case/atapp_test_one_worker.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/test/case/atapp_test_one_worker.yaml -------------------------------------------------------------------------------- /test/case/atapp_worker_pool_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/test/case/atapp_worker_pool_test.cpp -------------------------------------------------------------------------------- /third_party/.clang-tidy: -------------------------------------------------------------------------------- 1 | Checks: "-*" 2 | -------------------------------------------------------------------------------- /third_party/Repository.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/third_party/Repository.cmake -------------------------------------------------------------------------------- /tools/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/tools/CMakeLists.txt -------------------------------------------------------------------------------- /tools/atappctl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/owent/libatapp/HEAD/tools/atappctl.cpp --------------------------------------------------------------------------------