├── .gitignore ├── .travis.yml ├── Makefile ├── README.md ├── etc ├── urb.conf ├── urb.conf.template └── urb.executor_runner.conf ├── install ├── chronos │ ├── urb-chronos.conf │ ├── urb-chronos.dockerfile │ └── urb-chronos.yaml ├── inst_urb.sh ├── marathon │ ├── README.md │ ├── urb-marathon.conf │ ├── urb-marathon.dockerfile │ └── urb-marathon.yaml ├── singularity │ ├── urb-singularity.conf │ └── urb-singularity.yaml ├── spark │ ├── pv.yaml │ ├── pvc.yaml │ ├── spark.conf │ ├── urb-spark-driver.dockerfile │ ├── urb-spark-driver.yaml │ └── urb-spark-exec.dockerfile └── zeppelin │ ├── zeppelin-rc.yaml │ ├── zeppelin-service.yaml │ └── zeppelin.conf ├── python-executor-runner.dockerfile ├── python-framework.dockerfile ├── source ├── python │ ├── Makefile │ ├── README │ ├── k8s_adapter │ │ ├── k8s_adapter.py │ │ └── urb-executor-runner.yaml │ ├── setup.cfg │ ├── setup.py │ └── test │ │ ├── test_k8s_adapter.py │ │ └── urb.conf ├── urb-master.yaml └── urb-redis.dockerfile ├── test ├── chronos │ ├── README.md │ ├── urb-chronos.dockerfile │ └── urb-chronos.yaml ├── example-frameworks │ ├── cpp-framework.dockerfile │ ├── cpp-framework.yaml │ ├── pv.yaml │ ├── pvc.yaml │ ├── python-framework.yaml │ └── run.sh ├── marathon │ ├── README.md │ ├── kubernetes-zookeeper-master │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── src │ │ │ └── usr │ │ │ │ └── local │ │ │ │ └── sbin │ │ │ │ └── start.sh │ │ ├── zoo-rc.yaml │ │ └── zoo-service.yaml │ ├── marathon.dockerfile │ └── marathon.yaml ├── singularity │ └── urb-singularity.yaml ├── spark │ ├── pv.yaml │ ├── pvc.yaml │ ├── run.sh │ ├── scratch-pv.yaml │ ├── scratch-pvc.yaml │ ├── spark-driver.dockerfile │ ├── spark-driver.yaml │ ├── spark-exec.dockerfile │ ├── spark.dockerfile │ └── spark.yaml ├── urb-pv.yaml └── urb-pvc.yaml ├── tools ├── rebuild.sh └── vagrant_kube_conf.sh ├── urb-bin-base.dockerfile ├── urb-core ├── .gitignore ├── .travis.yml ├── Makefile ├── README.md ├── URBArch.png ├── etc │ ├── urb-executor-runner │ ├── urb.conf │ ├── urb.executor_runner.conf │ └── urb.sh ├── meson.build ├── source │ ├── Makefile │ ├── cpp │ │ ├── 3rdparty │ │ │ ├── .gitignore │ │ │ ├── Makefile │ │ │ ├── boost │ │ │ │ ├── LICENSE_1_0.txt │ │ │ │ └── boost-1.58.0.tar.gz │ │ │ ├── glog-0.3.3 │ │ │ │ ├── .gitignore │ │ │ │ ├── AUTHORS │ │ │ │ ├── COPYING │ │ │ │ ├── ChangeLog │ │ │ │ ├── INSTALL │ │ │ │ ├── Makefile.am │ │ │ │ ├── Makefile.in │ │ │ │ ├── NEWS │ │ │ │ ├── README │ │ │ │ ├── README.windows │ │ │ │ ├── aclocal.m4 │ │ │ │ ├── compile │ │ │ │ ├── config.guess │ │ │ │ ├── config.sub │ │ │ │ ├── configure │ │ │ │ ├── configure.ac │ │ │ │ ├── depcomp │ │ │ │ ├── doc │ │ │ │ │ ├── designstyle.css │ │ │ │ │ └── glog.html │ │ │ │ ├── google-glog.sln │ │ │ │ ├── install-sh │ │ │ │ ├── libglog.pc.in │ │ │ │ ├── ltmain.sh │ │ │ │ ├── m4 │ │ │ │ │ ├── ac_have_attribute.m4 │ │ │ │ │ ├── ac_have_builtin_expect.m4 │ │ │ │ │ ├── ac_have_sync_val_compare_and_swap.m4 │ │ │ │ │ ├── ac_rwlock.m4 │ │ │ │ │ ├── acx_pthread.m4 │ │ │ │ │ ├── google_namespace.m4 │ │ │ │ │ ├── libtool.m4 │ │ │ │ │ ├── ltoptions.m4 │ │ │ │ │ ├── ltsugar.m4 │ │ │ │ │ ├── ltversion.m4 │ │ │ │ │ ├── lt~obsolete.m4 │ │ │ │ │ ├── namespaces.m4 │ │ │ │ │ ├── pc_from_ucontext.m4 │ │ │ │ │ ├── stl_namespace.m4 │ │ │ │ │ └── using_operator.m4 │ │ │ │ ├── missing │ │ │ │ ├── mkinstalldirs │ │ │ │ ├── packages │ │ │ │ │ ├── deb.sh │ │ │ │ │ ├── deb │ │ │ │ │ │ ├── README │ │ │ │ │ │ ├── changelog │ │ │ │ │ │ ├── compat │ │ │ │ │ │ ├── control │ │ │ │ │ │ ├── copyright │ │ │ │ │ │ ├── docs │ │ │ │ │ │ ├── libgoogle-glog-dev.dirs │ │ │ │ │ │ ├── libgoogle-glog-dev.install │ │ │ │ │ │ ├── libgoogle-glog0.dirs │ │ │ │ │ │ ├── libgoogle-glog0.install │ │ │ │ │ │ └── rules │ │ │ │ │ ├── rpm.sh │ │ │ │ │ └── rpm │ │ │ │ │ │ └── rpm.spec │ │ │ │ ├── src │ │ │ │ │ ├── base │ │ │ │ │ │ ├── commandlineflags.h │ │ │ │ │ │ ├── googleinit.h │ │ │ │ │ │ └── mutex.h │ │ │ │ │ ├── config.h.in │ │ │ │ │ ├── config_for_unittests.h │ │ │ │ │ ├── demangle.cc │ │ │ │ │ ├── demangle.h │ │ │ │ │ ├── demangle_unittest.cc │ │ │ │ │ ├── demangle_unittest.sh │ │ │ │ │ ├── demangle_unittest.txt │ │ │ │ │ ├── glog │ │ │ │ │ │ ├── log_severity.h │ │ │ │ │ │ ├── logging.h.in │ │ │ │ │ │ ├── raw_logging.h.in │ │ │ │ │ │ ├── stl_logging.h.in │ │ │ │ │ │ └── vlog_is_on.h.in │ │ │ │ │ ├── googletest.h │ │ │ │ │ ├── logging.cc │ │ │ │ │ ├── logging_striplog_test.sh │ │ │ │ │ ├── logging_striptest10.cc │ │ │ │ │ ├── logging_striptest2.cc │ │ │ │ │ ├── logging_striptest_main.cc │ │ │ │ │ ├── logging_unittest.cc │ │ │ │ │ ├── logging_unittest.err │ │ │ │ │ ├── mock-log.h │ │ │ │ │ ├── mock-log_test.cc │ │ │ │ │ ├── raw_logging.cc │ │ │ │ │ ├── signalhandler.cc │ │ │ │ │ ├── signalhandler_unittest.cc │ │ │ │ │ ├── signalhandler_unittest.sh │ │ │ │ │ ├── stacktrace.h │ │ │ │ │ ├── stacktrace_generic-inl.h │ │ │ │ │ ├── stacktrace_libunwind-inl.h │ │ │ │ │ ├── stacktrace_powerpc-inl.h │ │ │ │ │ ├── stacktrace_unittest.cc │ │ │ │ │ ├── stacktrace_x86-inl.h │ │ │ │ │ ├── stacktrace_x86_64-inl.h │ │ │ │ │ ├── stl_logging_unittest.cc │ │ │ │ │ ├── symbolize.cc │ │ │ │ │ ├── symbolize.h │ │ │ │ │ ├── symbolize_unittest.cc │ │ │ │ │ ├── utilities.cc │ │ │ │ │ ├── utilities.h │ │ │ │ │ ├── utilities_unittest.cc │ │ │ │ │ ├── vlog_is_on.cc │ │ │ │ │ └── windows │ │ │ │ │ │ ├── config.h │ │ │ │ │ │ ├── glog │ │ │ │ │ │ ├── log_severity.h │ │ │ │ │ │ ├── logging.h │ │ │ │ │ │ ├── raw_logging.h │ │ │ │ │ │ ├── stl_logging.h │ │ │ │ │ │ └── vlog_is_on.h │ │ │ │ │ │ ├── port.cc │ │ │ │ │ │ ├── port.h │ │ │ │ │ │ └── preprocess.sh │ │ │ │ └── vsprojects │ │ │ │ │ ├── libglog │ │ │ │ │ └── libglog.vcproj │ │ │ │ │ ├── libglog_static │ │ │ │ │ └── libglog_static.vcproj │ │ │ │ │ ├── logging_unittest │ │ │ │ │ └── logging_unittest.vcproj │ │ │ │ │ └── logging_unittest_static │ │ │ │ │ └── logging_unittest_static.vcproj │ │ │ ├── googletest │ │ │ │ └── googletest-release-1.8.0.tar.gz │ │ │ ├── jsoncpp-1.8.3 │ │ │ │ ├── .clang-format │ │ │ │ ├── .gitattributes │ │ │ │ ├── .gitignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── AUTHORS │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── amalgamate.py │ │ │ │ ├── appveyor.yml │ │ │ │ ├── dev.makefile │ │ │ │ ├── devtools │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── agent_vmw7.json │ │ │ │ │ ├── agent_vmxp.json │ │ │ │ │ ├── antglob.py │ │ │ │ │ ├── batchbuild.py │ │ │ │ │ ├── fixeol.py │ │ │ │ │ ├── licenseupdater.py │ │ │ │ │ └── tarball.py │ │ │ │ ├── doc │ │ │ │ │ ├── doxyfile.in │ │ │ │ │ ├── footer.html │ │ │ │ │ ├── header.html │ │ │ │ │ ├── jsoncpp.dox │ │ │ │ │ ├── readme.txt │ │ │ │ │ ├── roadmap.dox │ │ │ │ │ └── web_doxyfile.in │ │ │ │ ├── doxybuild.py │ │ │ │ ├── include │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ └── json │ │ │ │ │ │ ├── allocator.h │ │ │ │ │ │ ├── assertions.h │ │ │ │ │ │ ├── autolink.h │ │ │ │ │ │ ├── config.h │ │ │ │ │ │ ├── features.h │ │ │ │ │ │ ├── forwards.h │ │ │ │ │ │ ├── json.h │ │ │ │ │ │ ├── reader.h │ │ │ │ │ │ ├── value.h │ │ │ │ │ │ ├── version.h │ │ │ │ │ │ └── writer.h │ │ │ │ ├── jsoncpp.o │ │ │ │ ├── makefiles │ │ │ │ │ └── vs71 │ │ │ │ │ │ ├── jsontest.vcproj │ │ │ │ │ │ ├── lib_json.vcproj │ │ │ │ │ │ └── test_lib_json.vcproj │ │ │ │ ├── makerelease.py │ │ │ │ ├── meson.build │ │ │ │ ├── pkg-config │ │ │ │ │ └── jsoncpp.pc.in │ │ │ │ ├── src │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── jsontestrunner │ │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ │ └── main.cpp │ │ │ │ │ ├── lib_json │ │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ │ ├── json_reader.cpp │ │ │ │ │ │ ├── json_tool.h │ │ │ │ │ │ ├── json_value.cpp │ │ │ │ │ │ ├── json_valueiterator.inl │ │ │ │ │ │ ├── json_writer.cpp │ │ │ │ │ │ └── version.h.in │ │ │ │ │ └── test_lib_json │ │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ │ ├── jsontest.cpp │ │ │ │ │ │ ├── jsontest.h │ │ │ │ │ │ └── main.cpp │ │ │ │ ├── test │ │ │ │ │ ├── cleantests.py │ │ │ │ │ ├── data │ │ │ │ │ │ ├── fail_test_array_01.json │ │ │ │ │ │ ├── fail_test_stack_limit.json │ │ │ │ │ │ ├── test_array_01.expected │ │ │ │ │ │ ├── test_array_01.json │ │ │ │ │ │ ├── test_array_02.expected │ │ │ │ │ │ ├── test_array_02.json │ │ │ │ │ │ ├── test_array_03.expected │ │ │ │ │ │ ├── test_array_03.json │ │ │ │ │ │ ├── test_array_04.expected │ │ │ │ │ │ ├── test_array_04.json │ │ │ │ │ │ ├── test_array_05.expected │ │ │ │ │ │ ├── test_array_05.json │ │ │ │ │ │ ├── test_array_06.expected │ │ │ │ │ │ ├── test_array_06.json │ │ │ │ │ │ ├── test_array_07.expected │ │ │ │ │ │ ├── test_array_07.json │ │ │ │ │ │ ├── test_basic_01.expected │ │ │ │ │ │ ├── test_basic_01.json │ │ │ │ │ │ ├── test_basic_02.expected │ │ │ │ │ │ ├── test_basic_02.json │ │ │ │ │ │ ├── test_basic_03.expected │ │ │ │ │ │ ├── test_basic_03.json │ │ │ │ │ │ ├── test_basic_04.expected │ │ │ │ │ │ ├── test_basic_04.json │ │ │ │ │ │ ├── test_basic_05.expected │ │ │ │ │ │ ├── test_basic_05.json │ │ │ │ │ │ ├── test_basic_06.expected │ │ │ │ │ │ ├── test_basic_06.json │ │ │ │ │ │ ├── test_basic_07.expected │ │ │ │ │ │ ├── test_basic_07.json │ │ │ │ │ │ ├── test_basic_08.expected │ │ │ │ │ │ ├── test_basic_08.json │ │ │ │ │ │ ├── test_basic_09.expected │ │ │ │ │ │ ├── test_basic_09.json │ │ │ │ │ │ ├── test_comment_00.expected │ │ │ │ │ │ ├── test_comment_00.json │ │ │ │ │ │ ├── test_comment_01.expected │ │ │ │ │ │ ├── test_comment_01.json │ │ │ │ │ │ ├── test_comment_02.expected │ │ │ │ │ │ ├── test_comment_02.json │ │ │ │ │ │ ├── test_complex_01.expected │ │ │ │ │ │ ├── test_complex_01.json │ │ │ │ │ │ ├── test_integer_01.expected │ │ │ │ │ │ ├── test_integer_01.json │ │ │ │ │ │ ├── test_integer_02.expected │ │ │ │ │ │ ├── test_integer_02.json │ │ │ │ │ │ ├── test_integer_03.expected │ │ │ │ │ │ ├── test_integer_03.json │ │ │ │ │ │ ├── test_integer_04.expected │ │ │ │ │ │ ├── test_integer_04.json │ │ │ │ │ │ ├── test_integer_05.expected │ │ │ │ │ │ ├── test_integer_05.json │ │ │ │ │ │ ├── test_integer_06_64bits.expected │ │ │ │ │ │ ├── test_integer_06_64bits.json │ │ │ │ │ │ ├── test_integer_07_64bits.expected │ │ │ │ │ │ ├── test_integer_07_64bits.json │ │ │ │ │ │ ├── test_integer_08_64bits.expected │ │ │ │ │ │ ├── test_integer_08_64bits.json │ │ │ │ │ │ ├── test_large_01.expected │ │ │ │ │ │ ├── test_large_01.json │ │ │ │ │ │ ├── test_object_01.expected │ │ │ │ │ │ ├── test_object_01.json │ │ │ │ │ │ ├── test_object_02.expected │ │ │ │ │ │ ├── test_object_02.json │ │ │ │ │ │ ├── test_object_03.expected │ │ │ │ │ │ ├── test_object_03.json │ │ │ │ │ │ ├── test_object_04.expected │ │ │ │ │ │ ├── test_object_04.json │ │ │ │ │ │ ├── test_preserve_comment_01.expected │ │ │ │ │ │ ├── test_preserve_comment_01.json │ │ │ │ │ │ ├── test_real_01.expected │ │ │ │ │ │ ├── test_real_01.json │ │ │ │ │ │ ├── test_real_02.expected │ │ │ │ │ │ ├── test_real_02.json │ │ │ │ │ │ ├── test_real_03.expected │ │ │ │ │ │ ├── test_real_03.json │ │ │ │ │ │ ├── test_real_04.expected │ │ │ │ │ │ ├── test_real_04.json │ │ │ │ │ │ ├── test_real_05.expected │ │ │ │ │ │ ├── test_real_05.json │ │ │ │ │ │ ├── test_real_06.expected │ │ │ │ │ │ ├── test_real_06.json │ │ │ │ │ │ ├── test_real_07.expected │ │ │ │ │ │ ├── test_real_07.json │ │ │ │ │ │ ├── test_real_08.expected │ │ │ │ │ │ ├── test_real_08.json │ │ │ │ │ │ ├── test_real_09.expected │ │ │ │ │ │ ├── test_real_09.json │ │ │ │ │ │ ├── test_real_10.expected │ │ │ │ │ │ ├── test_real_10.json │ │ │ │ │ │ ├── test_real_11.expected │ │ │ │ │ │ ├── test_real_11.json │ │ │ │ │ │ ├── test_real_12.expected │ │ │ │ │ │ ├── test_real_12.json │ │ │ │ │ │ ├── test_string_01.expected │ │ │ │ │ │ ├── test_string_01.json │ │ │ │ │ │ ├── test_string_02.expected │ │ │ │ │ │ ├── test_string_02.json │ │ │ │ │ │ ├── test_string_03.expected │ │ │ │ │ │ ├── test_string_03.json │ │ │ │ │ │ ├── test_string_04.expected │ │ │ │ │ │ ├── test_string_04.json │ │ │ │ │ │ ├── test_string_05.expected │ │ │ │ │ │ ├── test_string_05.json │ │ │ │ │ │ ├── test_string_unicode_01.expected │ │ │ │ │ │ ├── test_string_unicode_01.json │ │ │ │ │ │ ├── test_string_unicode_02.expected │ │ │ │ │ │ ├── test_string_unicode_02.json │ │ │ │ │ │ ├── test_string_unicode_03.expected │ │ │ │ │ │ ├── test_string_unicode_03.json │ │ │ │ │ │ ├── test_string_unicode_04.expected │ │ │ │ │ │ ├── test_string_unicode_04.json │ │ │ │ │ │ ├── test_string_unicode_05.expected │ │ │ │ │ │ └── test_string_unicode_05.json │ │ │ │ │ ├── generate_expected.py │ │ │ │ │ ├── jsonchecker │ │ │ │ │ │ ├── fail1.json │ │ │ │ │ │ ├── fail10.json │ │ │ │ │ │ ├── fail11.json │ │ │ │ │ │ ├── fail12.json │ │ │ │ │ │ ├── fail13.json │ │ │ │ │ │ ├── fail14.json │ │ │ │ │ │ ├── fail15.json │ │ │ │ │ │ ├── fail16.json │ │ │ │ │ │ ├── fail17.json │ │ │ │ │ │ ├── fail18.json │ │ │ │ │ │ ├── fail19.json │ │ │ │ │ │ ├── fail2.json │ │ │ │ │ │ ├── fail20.json │ │ │ │ │ │ ├── fail21.json │ │ │ │ │ │ ├── fail22.json │ │ │ │ │ │ ├── fail23.json │ │ │ │ │ │ ├── fail24.json │ │ │ │ │ │ ├── fail25.json │ │ │ │ │ │ ├── fail26.json │ │ │ │ │ │ ├── fail27.json │ │ │ │ │ │ ├── fail28.json │ │ │ │ │ │ ├── fail29.json │ │ │ │ │ │ ├── fail3.json │ │ │ │ │ │ ├── fail30.json │ │ │ │ │ │ ├── fail31.json │ │ │ │ │ │ ├── fail32.json │ │ │ │ │ │ ├── fail33.json │ │ │ │ │ │ ├── fail4.json │ │ │ │ │ │ ├── fail5.json │ │ │ │ │ │ ├── fail6.json │ │ │ │ │ │ ├── fail7.json │ │ │ │ │ │ ├── fail8.json │ │ │ │ │ │ ├── fail9.json │ │ │ │ │ │ ├── pass1.json │ │ │ │ │ │ ├── pass2.json │ │ │ │ │ │ ├── pass3.json │ │ │ │ │ │ └── readme.txt │ │ │ │ │ ├── pyjsontestrunner.py │ │ │ │ │ ├── runjsontests.py │ │ │ │ │ └── rununittests.py │ │ │ │ ├── travis.sh │ │ │ │ ├── version │ │ │ │ └── version.in │ │ │ ├── libb64-1.2.1 │ │ │ │ ├── .gitignore │ │ │ │ ├── AUTHORS │ │ │ │ ├── BENCHMARKS │ │ │ │ ├── CHANGELOG │ │ │ │ ├── INSTALL │ │ │ │ ├── LICENSE │ │ │ │ ├── Makefile │ │ │ │ ├── README │ │ │ │ ├── TODO │ │ │ │ ├── base64 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── VisualStudioProject │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ ├── base64.sln │ │ │ │ │ │ ├── base64.vcxproj │ │ │ │ │ │ └── base64.vcxproj.filters │ │ │ │ │ ├── base64.cc │ │ │ │ │ └── depend │ │ │ │ ├── examples │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── c-example1.c │ │ │ │ │ ├── c-example2.c │ │ │ │ │ ├── depend │ │ │ │ │ └── loremgibson.txt │ │ │ │ ├── include │ │ │ │ │ └── b64 │ │ │ │ │ │ ├── cdecode.h │ │ │ │ │ │ ├── cencode.h │ │ │ │ │ │ ├── decode.h │ │ │ │ │ │ └── encode.h │ │ │ │ └── src │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── cdecode.c │ │ │ │ │ ├── cencode.c │ │ │ │ │ └── depend │ │ │ ├── libprocess │ │ │ │ ├── LICENSE │ │ │ │ ├── URB_README.txt │ │ │ │ └── include │ │ │ │ │ ├── Makefile.am │ │ │ │ │ ├── Makefile.in │ │ │ │ │ └── process │ │ │ │ │ ├── address.hpp │ │ │ │ │ ├── after.hpp │ │ │ │ │ ├── async.hpp │ │ │ │ │ ├── authenticator.hpp │ │ │ │ │ ├── check.hpp │ │ │ │ │ ├── clock.hpp │ │ │ │ │ ├── collect.hpp │ │ │ │ │ ├── count_down_latch.hpp │ │ │ │ │ ├── defer.hpp │ │ │ │ │ ├── deferred.hpp │ │ │ │ │ ├── delay.hpp │ │ │ │ │ ├── dispatch.hpp │ │ │ │ │ ├── event.hpp │ │ │ │ │ ├── executor.hpp │ │ │ │ │ ├── filter.hpp │ │ │ │ │ ├── firewall.hpp │ │ │ │ │ ├── future.hpp │ │ │ │ │ ├── gmock.hpp │ │ │ │ │ ├── grpc.hpp │ │ │ │ │ ├── gtest.hpp │ │ │ │ │ ├── help.hpp │ │ │ │ │ ├── http.hpp │ │ │ │ │ ├── id.hpp │ │ │ │ │ ├── io.hpp │ │ │ │ │ ├── jwt.hpp │ │ │ │ │ ├── latch.hpp │ │ │ │ │ ├── limiter.hpp │ │ │ │ │ ├── logging.hpp │ │ │ │ │ ├── loop.hpp │ │ │ │ │ ├── message.hpp │ │ │ │ │ ├── metrics │ │ │ │ │ ├── counter.hpp │ │ │ │ │ ├── gauge.hpp │ │ │ │ │ ├── metric.hpp │ │ │ │ │ ├── metrics.hpp │ │ │ │ │ └── timer.hpp │ │ │ │ │ ├── mime.hpp │ │ │ │ │ ├── mutex.hpp │ │ │ │ │ ├── network.hpp │ │ │ │ │ ├── once.hpp │ │ │ │ │ ├── owned.hpp │ │ │ │ │ ├── pid.hpp │ │ │ │ │ ├── process.hpp │ │ │ │ │ ├── profiler.hpp │ │ │ │ │ ├── protobuf.hpp │ │ │ │ │ ├── queue.hpp │ │ │ │ │ ├── reap.hpp │ │ │ │ │ ├── run.hpp │ │ │ │ │ ├── sequence.hpp │ │ │ │ │ ├── shared.hpp │ │ │ │ │ ├── socket.hpp │ │ │ │ │ ├── ssl │ │ │ │ │ ├── flags.hpp │ │ │ │ │ ├── gtest.hpp │ │ │ │ │ └── utilities.hpp │ │ │ │ │ ├── statistics.hpp │ │ │ │ │ ├── subprocess.hpp │ │ │ │ │ ├── system.hpp │ │ │ │ │ ├── time.hpp │ │ │ │ │ ├── timeout.hpp │ │ │ │ │ ├── timer.hpp │ │ │ │ │ └── timeseries.hpp │ │ │ ├── makefile-boost.mk │ │ │ ├── makefile-glog.mk │ │ │ ├── makefile-googletest.mk │ │ │ ├── makefile-jsoncpp.mk │ │ │ ├── makefile-libb64.mk │ │ │ ├── makefile-picojson.mk │ │ │ ├── makefile-protobuf-to-jsoncpp.mk │ │ │ ├── makefile-protobuf.mk │ │ │ ├── makefile-redis.mk │ │ │ ├── makefile-redis3m.mk │ │ │ ├── meson.build │ │ │ ├── picojson │ │ │ │ └── picojson-1.3.0.tar.gz │ │ │ ├── protobuf-3.3.0 │ │ │ │ ├── Makefile │ │ │ │ └── protobuf-3.3.0.tar.gz │ │ │ ├── protobuf-to-jsoncpp-r11 │ │ │ │ ├── .gitignore │ │ │ │ ├── AUTHORS │ │ │ │ ├── LICENSE │ │ │ │ ├── Makefile │ │ │ │ ├── README │ │ │ │ ├── README.google │ │ │ │ ├── README.univa │ │ │ │ ├── check_json_protobuf.cpp │ │ │ │ ├── json_protobuf.cpp │ │ │ │ └── json_protobuf.h │ │ │ ├── redis │ │ │ │ ├── .gitignore │ │ │ │ ├── Makefile │ │ │ │ └── redis-4.0.2.tar.gz │ │ │ ├── redis3m │ │ │ │ ├── .gitignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Doxyfile │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── Redis3M-VisualStudio │ │ │ │ │ ├── Examples │ │ │ │ │ │ ├── Examples.vcxproj │ │ │ │ │ │ └── Examples.vcxproj.filters │ │ │ │ │ ├── Redis3M-VisualStudio.sln │ │ │ │ │ └── Redis3M-VisualStudio │ │ │ │ │ │ ├── Redis3M-VisualStudio.vcxproj │ │ │ │ │ │ ├── Redis3M-VisualStudio.vcxproj.filters │ │ │ │ │ │ ├── stdafx.h │ │ │ │ │ │ └── targetver.h │ │ │ │ ├── TODO.md │ │ │ │ ├── data │ │ │ │ │ └── lua │ │ │ │ │ │ ├── delete.lua │ │ │ │ │ │ ├── save.lua │ │ │ │ │ │ └── scheduler.lua │ │ │ │ ├── examples │ │ │ │ │ ├── ha_pool.cpp │ │ │ │ │ ├── publisher.cpp │ │ │ │ │ ├── script.cpp │ │ │ │ │ ├── simple.cpp │ │ │ │ │ ├── simple_pool.cpp │ │ │ │ │ └── subscriber.cpp │ │ │ │ ├── include │ │ │ │ │ └── redis3m │ │ │ │ │ │ ├── async_connection.h │ │ │ │ │ │ ├── async_connection_pool.h │ │ │ │ │ │ ├── cluster_pool.h │ │ │ │ │ │ ├── command.h │ │ │ │ │ │ ├── connection.h │ │ │ │ │ │ ├── connection_pool.h │ │ │ │ │ │ ├── patterns │ │ │ │ │ │ ├── median_filter.h │ │ │ │ │ │ ├── model.h │ │ │ │ │ │ ├── orm.h │ │ │ │ │ │ ├── patterns.hpp │ │ │ │ │ │ ├── scheduler.h │ │ │ │ │ │ ├── script_exec.h │ │ │ │ │ │ └── simple_obj_store.h │ │ │ │ │ │ ├── redis3m.hpp │ │ │ │ │ │ ├── reply.h │ │ │ │ │ │ ├── simple_pool.h │ │ │ │ │ │ └── utils │ │ │ │ │ │ ├── crc16.h │ │ │ │ │ │ ├── datetime.h │ │ │ │ │ │ ├── exception.h │ │ │ │ │ │ ├── file.h │ │ │ │ │ │ ├── logging.h │ │ │ │ │ │ ├── noncopyable.h │ │ │ │ │ │ ├── pool.h │ │ │ │ │ │ ├── resolv.h │ │ │ │ │ │ └── sha1.h │ │ │ │ ├── redis3m.pc.in │ │ │ │ ├── run-tests.sh │ │ │ │ ├── src │ │ │ │ │ ├── async_connection.cpp │ │ │ │ │ ├── async_connection_pool.cpp │ │ │ │ │ ├── cluster_pool.cpp │ │ │ │ │ ├── connection.cpp │ │ │ │ │ ├── connection_pool.cpp │ │ │ │ │ ├── patterns │ │ │ │ │ │ ├── median_filter.cpp │ │ │ │ │ │ ├── scheduler.cpp │ │ │ │ │ │ └── script_exec.cpp │ │ │ │ │ ├── reply.cpp │ │ │ │ │ ├── simple_pool.cpp │ │ │ │ │ └── utils │ │ │ │ │ │ ├── crc16.cpp │ │ │ │ │ │ ├── datadir.cpp.in │ │ │ │ │ │ ├── datetime.cpp │ │ │ │ │ │ ├── file.cpp │ │ │ │ │ │ ├── logging.cpp │ │ │ │ │ │ ├── resolv.cpp │ │ │ │ │ │ └── sha1.cpp │ │ │ │ └── tests │ │ │ │ │ ├── cluster_pool.cpp │ │ │ │ │ ├── connection.cpp │ │ │ │ │ ├── connection_pool.cpp │ │ │ │ │ ├── patterns.cpp │ │ │ │ │ ├── redis-sentinel-26379.conf │ │ │ │ │ ├── redis-sentinel-26380.conf │ │ │ │ │ └── redis-sentinel-26381.conf │ │ │ ├── stout │ │ │ │ ├── LICENSE │ │ │ │ ├── abort.hpp │ │ │ │ ├── adaptor.hpp │ │ │ │ ├── assert.hpp │ │ │ │ ├── attributes.hpp │ │ │ │ ├── base64.hpp │ │ │ │ ├── bits.hpp │ │ │ │ ├── boundedhashmap.hpp │ │ │ │ ├── bytes.hpp │ │ │ │ ├── cache.hpp │ │ │ │ ├── check.hpp │ │ │ │ ├── duration.hpp │ │ │ │ ├── dynamiclibrary.hpp │ │ │ │ ├── elf.hpp │ │ │ │ ├── error.hpp │ │ │ │ ├── errorbase.hpp │ │ │ │ ├── exit.hpp │ │ │ │ ├── flags.hpp │ │ │ │ ├── flags │ │ │ │ │ ├── fetch.hpp │ │ │ │ │ ├── flag.hpp │ │ │ │ │ ├── flags.hpp │ │ │ │ │ └── parse.hpp │ │ │ │ ├── foreach.hpp │ │ │ │ ├── format.hpp │ │ │ │ ├── fs.hpp │ │ │ │ ├── gtest.hpp │ │ │ │ ├── gzip.hpp │ │ │ │ ├── hashmap.hpp │ │ │ │ ├── hashset.hpp │ │ │ │ ├── internal │ │ │ │ │ └── windows │ │ │ │ │ │ ├── attributes.hpp │ │ │ │ │ │ ├── grp.hpp │ │ │ │ │ │ ├── longpath.hpp │ │ │ │ │ │ ├── pwd.hpp │ │ │ │ │ │ ├── reparsepoint.hpp │ │ │ │ │ │ └── symlink.hpp │ │ │ │ ├── interval.hpp │ │ │ │ ├── ip.hpp │ │ │ │ ├── json.hpp │ │ │ │ ├── jsonify.hpp │ │ │ │ ├── lambda.hpp │ │ │ │ ├── linkedhashmap.hpp │ │ │ │ ├── mac.hpp │ │ │ │ ├── multihashmap.hpp │ │ │ │ ├── multimap.hpp │ │ │ │ ├── net.hpp │ │ │ │ ├── none.hpp │ │ │ │ ├── nothing.hpp │ │ │ │ ├── numify.hpp │ │ │ │ ├── option.hpp │ │ │ │ ├── os.hpp │ │ │ │ ├── os │ │ │ │ │ ├── access.hpp │ │ │ │ │ ├── bootid.hpp │ │ │ │ │ ├── chdir.hpp │ │ │ │ │ ├── chroot.hpp │ │ │ │ │ ├── close.hpp │ │ │ │ │ ├── constants.hpp │ │ │ │ │ ├── dup.hpp │ │ │ │ │ ├── environment.hpp │ │ │ │ │ ├── exists.hpp │ │ │ │ │ ├── fcntl.hpp │ │ │ │ │ ├── find.hpp │ │ │ │ │ ├── fork.hpp │ │ │ │ │ ├── freebsd.hpp │ │ │ │ │ ├── fsync.hpp │ │ │ │ │ ├── ftruncate.hpp │ │ │ │ │ ├── getcwd.hpp │ │ │ │ │ ├── getenv.hpp │ │ │ │ │ ├── int_fd.hpp │ │ │ │ │ ├── kill.hpp │ │ │ │ │ ├── killtree.hpp │ │ │ │ │ ├── linux.hpp │ │ │ │ │ ├── ls.hpp │ │ │ │ │ ├── lseek.hpp │ │ │ │ │ ├── mkdir.hpp │ │ │ │ │ ├── mkdtemp.hpp │ │ │ │ │ ├── mktemp.hpp │ │ │ │ │ ├── open.hpp │ │ │ │ │ ├── os.hpp │ │ │ │ │ ├── osx.hpp │ │ │ │ │ ├── pagesize.hpp │ │ │ │ │ ├── permissions.hpp │ │ │ │ │ ├── pipe.hpp │ │ │ │ │ ├── posix │ │ │ │ │ │ ├── bootid.hpp │ │ │ │ │ │ ├── chdir.hpp │ │ │ │ │ │ ├── chown.hpp │ │ │ │ │ │ ├── chroot.hpp │ │ │ │ │ │ ├── close.hpp │ │ │ │ │ │ ├── dup.hpp │ │ │ │ │ │ ├── environment.hpp │ │ │ │ │ │ ├── exists.hpp │ │ │ │ │ │ ├── fcntl.hpp │ │ │ │ │ │ ├── fork.hpp │ │ │ │ │ │ ├── fsync.hpp │ │ │ │ │ │ ├── ftruncate.hpp │ │ │ │ │ │ ├── getcwd.hpp │ │ │ │ │ │ ├── getenv.hpp │ │ │ │ │ │ ├── kill.hpp │ │ │ │ │ │ ├── killtree.hpp │ │ │ │ │ │ ├── ls.hpp │ │ │ │ │ │ ├── mkdir.hpp │ │ │ │ │ │ ├── mkdtemp.hpp │ │ │ │ │ │ ├── mktemp.hpp │ │ │ │ │ │ ├── pagesize.hpp │ │ │ │ │ │ ├── pipe.hpp │ │ │ │ │ │ ├── read.hpp │ │ │ │ │ │ ├── realpath.hpp │ │ │ │ │ │ ├── rename.hpp │ │ │ │ │ │ ├── rm.hpp │ │ │ │ │ │ ├── rmdir.hpp │ │ │ │ │ │ ├── sendfile.hpp │ │ │ │ │ │ ├── shell.hpp │ │ │ │ │ │ ├── signals.hpp │ │ │ │ │ │ ├── socket.hpp │ │ │ │ │ │ ├── stat.hpp │ │ │ │ │ │ ├── su.hpp │ │ │ │ │ │ ├── temp.hpp │ │ │ │ │ │ ├── write.hpp │ │ │ │ │ │ └── xattr.hpp │ │ │ │ │ ├── process.hpp │ │ │ │ │ ├── pstree.hpp │ │ │ │ │ ├── raw │ │ │ │ │ │ ├── argv.hpp │ │ │ │ │ │ └── environment.hpp │ │ │ │ │ ├── read.hpp │ │ │ │ │ ├── realpath.hpp │ │ │ │ │ ├── rename.hpp │ │ │ │ │ ├── rm.hpp │ │ │ │ │ ├── rmdir.hpp │ │ │ │ │ ├── sendfile.hpp │ │ │ │ │ ├── shell.hpp │ │ │ │ │ ├── signals.hpp │ │ │ │ │ ├── socket.hpp │ │ │ │ │ ├── stat.hpp │ │ │ │ │ ├── strerror.hpp │ │ │ │ │ ├── su.hpp │ │ │ │ │ ├── sysctl.hpp │ │ │ │ │ ├── temp.hpp │ │ │ │ │ ├── touch.hpp │ │ │ │ │ ├── utime.hpp │ │ │ │ │ ├── wait.hpp │ │ │ │ │ ├── windows │ │ │ │ │ │ ├── bootid.hpp │ │ │ │ │ │ ├── chdir.hpp │ │ │ │ │ │ ├── chroot.hpp │ │ │ │ │ │ ├── close.hpp │ │ │ │ │ │ ├── dup.hpp │ │ │ │ │ │ ├── environment.hpp │ │ │ │ │ │ ├── exists.hpp │ │ │ │ │ │ ├── fcntl.hpp │ │ │ │ │ │ ├── fd.hpp │ │ │ │ │ │ ├── fork.hpp │ │ │ │ │ │ ├── fsync.hpp │ │ │ │ │ │ ├── ftruncate.hpp │ │ │ │ │ │ ├── getcwd.hpp │ │ │ │ │ │ ├── getenv.hpp │ │ │ │ │ │ ├── kill.hpp │ │ │ │ │ │ ├── killtree.hpp │ │ │ │ │ │ ├── ls.hpp │ │ │ │ │ │ ├── mkdir.hpp │ │ │ │ │ │ ├── mkdtemp.hpp │ │ │ │ │ │ ├── mktemp.hpp │ │ │ │ │ │ ├── pagesize.hpp │ │ │ │ │ │ ├── pipe.hpp │ │ │ │ │ │ ├── read.hpp │ │ │ │ │ │ ├── realpath.hpp │ │ │ │ │ │ ├── rename.hpp │ │ │ │ │ │ ├── rm.hpp │ │ │ │ │ │ ├── rmdir.hpp │ │ │ │ │ │ ├── sendfile.hpp │ │ │ │ │ │ ├── shell.hpp │ │ │ │ │ │ ├── signals.hpp │ │ │ │ │ │ ├── socket.hpp │ │ │ │ │ │ ├── stat.hpp │ │ │ │ │ │ ├── su.hpp │ │ │ │ │ │ ├── temp.hpp │ │ │ │ │ │ ├── write.hpp │ │ │ │ │ │ └── xattr.hpp │ │ │ │ │ ├── write.hpp │ │ │ │ │ └── xattr.hpp │ │ │ │ ├── overload.hpp │ │ │ │ ├── path.hpp │ │ │ │ ├── posix │ │ │ │ │ ├── dynamiclibrary.hpp │ │ │ │ │ ├── fs.hpp │ │ │ │ │ ├── ip.hpp │ │ │ │ │ ├── mac.hpp │ │ │ │ │ ├── net.hpp │ │ │ │ │ └── os.hpp │ │ │ │ ├── preprocessor.hpp │ │ │ │ ├── proc.hpp │ │ │ │ ├── protobuf.hpp │ │ │ │ ├── recordio.hpp │ │ │ │ ├── representation.hpp │ │ │ │ ├── result.hpp │ │ │ │ ├── result_of.hpp │ │ │ │ ├── set.hpp │ │ │ │ ├── some.hpp │ │ │ │ ├── stopwatch.hpp │ │ │ │ ├── stringify.hpp │ │ │ │ ├── strings.hpp │ │ │ │ ├── subcommand.hpp │ │ │ │ ├── svn.hpp │ │ │ │ ├── synchronized.hpp │ │ │ │ ├── tests │ │ │ │ │ ├── environment.hpp │ │ │ │ │ └── utils.hpp │ │ │ │ ├── traits.hpp │ │ │ │ ├── try.hpp │ │ │ │ ├── unimplemented.hpp │ │ │ │ ├── unreachable.hpp │ │ │ │ ├── utils.hpp │ │ │ │ ├── uuid.hpp │ │ │ │ ├── variant.hpp │ │ │ │ ├── version.hpp │ │ │ │ ├── windows.hpp │ │ │ │ └── windows │ │ │ │ │ ├── dynamiclibrary.hpp │ │ │ │ │ ├── error.hpp │ │ │ │ │ ├── format.hpp │ │ │ │ │ ├── fs.hpp │ │ │ │ │ ├── ip.hpp │ │ │ │ │ ├── mac.hpp │ │ │ │ │ ├── net.hpp │ │ │ │ │ └── os.hpp │ │ │ └── template.mk │ │ ├── Makefile │ │ ├── liburb │ │ │ ├── .gitignore │ │ │ ├── Makefile │ │ │ ├── meson.build │ │ │ ├── mesos │ │ │ │ ├── LICENSE │ │ │ │ ├── NOTICE │ │ │ │ ├── README.md │ │ │ │ ├── fetcher.cpp │ │ │ │ └── include │ │ │ │ │ ├── common │ │ │ │ │ ├── lock.hpp │ │ │ │ │ └── resources_utils.hpp │ │ │ │ │ ├── hdfs │ │ │ │ │ └── hdfs.hpp │ │ │ │ │ ├── jvm │ │ │ │ │ ├── java │ │ │ │ │ │ ├── io.hpp │ │ │ │ │ │ ├── lang.hpp │ │ │ │ │ │ └── net.hpp │ │ │ │ │ └── jvm.hpp │ │ │ │ │ ├── logging │ │ │ │ │ ├── flags.cpp │ │ │ │ │ ├── flags.hpp │ │ │ │ │ ├── logging.cpp │ │ │ │ │ └── logging.hpp │ │ │ │ │ ├── mesos │ │ │ │ │ ├── attributes.hpp │ │ │ │ │ ├── authentication.proto │ │ │ │ │ ├── authentication │ │ │ │ │ │ ├── authenticatee.hpp │ │ │ │ │ │ ├── authentication.hpp │ │ │ │ │ │ └── authenticator.hpp │ │ │ │ │ ├── executor.hpp │ │ │ │ │ ├── fetcher │ │ │ │ │ │ ├── fetcher.hpp │ │ │ │ │ │ └── fetcher.proto │ │ │ │ │ ├── mesos.hpp │ │ │ │ │ ├── mesos.proto │ │ │ │ │ ├── messages.proto │ │ │ │ │ ├── messages │ │ │ │ │ │ └── messages.hpp │ │ │ │ │ ├── resource_provider.proto │ │ │ │ │ ├── resources.hpp │ │ │ │ │ ├── roles.hpp │ │ │ │ │ ├── scheduler.hpp │ │ │ │ │ ├── scheduler.proto │ │ │ │ │ ├── scheduler │ │ │ │ │ │ └── scheduler.hpp │ │ │ │ │ ├── type_utils.hpp │ │ │ │ │ ├── v1 │ │ │ │ │ │ ├── agent │ │ │ │ │ │ │ ├── agent.hpp │ │ │ │ │ │ │ └── agent.proto │ │ │ │ │ │ ├── allocator │ │ │ │ │ │ │ └── allocator.proto │ │ │ │ │ │ ├── attributes.hpp │ │ │ │ │ │ ├── executor.hpp │ │ │ │ │ │ ├── executor.proto │ │ │ │ │ │ ├── executor │ │ │ │ │ │ │ └── executor.hpp │ │ │ │ │ │ ├── maintenance │ │ │ │ │ │ │ ├── maintenance.hpp │ │ │ │ │ │ │ └── maintenance.proto │ │ │ │ │ │ ├── master │ │ │ │ │ │ │ ├── master.hpp │ │ │ │ │ │ │ └── master.proto │ │ │ │ │ │ ├── mesos.hpp │ │ │ │ │ │ ├── mesos.proto │ │ │ │ │ │ ├── quota │ │ │ │ │ │ │ └── quota.proto │ │ │ │ │ │ ├── resource_provider.hpp │ │ │ │ │ │ ├── resource_provider │ │ │ │ │ │ │ ├── resource_provider.hpp │ │ │ │ │ │ │ └── resource_provider.proto │ │ │ │ │ │ ├── resources.hpp │ │ │ │ │ │ ├── scheduler.hpp │ │ │ │ │ │ ├── scheduler.proto │ │ │ │ │ │ ├── scheduler │ │ │ │ │ │ │ └── scheduler.hpp │ │ │ │ │ │ └── values.hpp │ │ │ │ │ ├── values.hpp │ │ │ │ │ └── version.hpp │ │ │ │ │ └── slave │ │ │ │ │ └── containerizer │ │ │ │ │ ├── fetcher.cpp │ │ │ │ │ └── fetcher.hpp │ │ │ ├── python-bindings │ │ │ │ ├── .gitignore │ │ │ │ ├── Makefile │ │ │ │ ├── executor │ │ │ │ │ ├── ext_modules.py │ │ │ │ │ ├── setup.py │ │ │ │ │ └── src │ │ │ │ │ │ └── mesos │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ └── executor │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ ├── mesos_executor_driver_impl.cpp │ │ │ │ │ │ ├── mesos_executor_driver_impl.hpp │ │ │ │ │ │ ├── module.cpp │ │ │ │ │ │ ├── proxy_executor.cpp │ │ │ │ │ │ └── proxy_executor.hpp │ │ │ │ ├── interface │ │ │ │ │ ├── setup.py │ │ │ │ │ └── src │ │ │ │ │ │ └── mesos │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ └── interface │ │ │ │ │ │ └── __init__.py │ │ │ │ ├── native │ │ │ │ │ ├── setup.py │ │ │ │ │ └── src │ │ │ │ │ │ └── mesos │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ └── native │ │ │ │ │ │ └── __init__.py │ │ │ │ ├── native_common │ │ │ │ │ ├── common.hpp │ │ │ │ │ └── ext_modules.py │ │ │ │ ├── scheduler │ │ │ │ │ ├── ext_modules.py │ │ │ │ │ ├── setup.py │ │ │ │ │ └── src │ │ │ │ │ │ └── mesos │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ └── scheduler │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ ├── mesos_scheduler_driver_impl.cpp │ │ │ │ │ │ ├── mesos_scheduler_driver_impl.hpp │ │ │ │ │ │ ├── module.cpp │ │ │ │ │ │ ├── proxy_scheduler.cpp │ │ │ │ │ │ └── proxy_scheduler.hpp │ │ │ │ ├── setup.py │ │ │ │ ├── src │ │ │ │ │ └── mesos │ │ │ │ │ │ └── __init__.py │ │ │ │ └── test │ │ │ │ │ ├── test_executor.py │ │ │ │ │ ├── test_executor_wrapper.sh │ │ │ │ │ └── test_framework.py │ │ │ ├── source │ │ │ │ ├── attributes.cpp │ │ │ │ ├── concurrent_queue.hpp │ │ │ │ ├── construct.cpp │ │ │ │ ├── construct.hpp │ │ │ │ ├── convert.cpp │ │ │ │ ├── convert.hpp │ │ │ │ ├── evhelper.cpp │ │ │ │ ├── evhelper.hpp │ │ │ │ ├── exec.cpp │ │ │ │ ├── executor_process.cpp │ │ │ │ ├── executor_process.hpp │ │ │ │ ├── lock.cpp │ │ │ │ ├── message_broker.cpp │ │ │ │ ├── message_broker.hpp │ │ │ │ ├── message_broker_redis.cpp │ │ │ │ ├── message_broker_redis.hpp │ │ │ │ ├── messages.cpp │ │ │ │ ├── org_apache_mesos_MesosExecutorDriver.cpp │ │ │ │ ├── org_apache_mesos_MesosExecutorDriver.h │ │ │ │ ├── org_apache_mesos_MesosNativeLibrary.cpp │ │ │ │ ├── org_apache_mesos_MesosSchedulerDriver.cpp │ │ │ │ ├── org_apache_mesos_MesosSchedulerDriver.h │ │ │ │ ├── resources.cpp │ │ │ │ ├── resources_utils.cpp │ │ │ │ ├── roles.cpp │ │ │ │ ├── sched.cpp │ │ │ │ ├── scheduler_process.cpp │ │ │ │ ├── scheduler_process.hpp │ │ │ │ ├── timer.hpp │ │ │ │ ├── type_utils.cpp │ │ │ │ ├── url.hpp │ │ │ │ └── values.cpp │ │ │ └── test │ │ │ │ ├── command_executor.cpp │ │ │ │ ├── command_executor.py │ │ │ │ ├── docker_no_executor_framework.cpp │ │ │ │ ├── example_executor.cpp │ │ │ │ ├── example_framework.cpp │ │ │ │ ├── example_framework_command.cpp │ │ │ │ ├── example_framework_multi.cpp │ │ │ │ ├── executor_runner.py │ │ │ │ ├── ext │ │ │ │ ├── test_http_executor.cpp │ │ │ │ └── test_http_framework.cpp │ │ │ │ ├── http_framework.py │ │ │ │ ├── long_lived_executor.cpp │ │ │ │ ├── long_lived_framework.cpp │ │ │ │ ├── manual_test_message_broker_ha.cpp │ │ │ │ ├── manual_test_redis_sentinel.cpp │ │ │ │ ├── test_executor_messages.cpp │ │ │ │ ├── test_message_broker.cpp │ │ │ │ ├── test_messages.cpp │ │ │ │ ├── test_prog.cpp │ │ │ │ ├── test_redis_async.cpp │ │ │ │ ├── test_timer.cpp │ │ │ │ └── test_url.cpp │ │ └── meson.build │ ├── meson.build │ └── python │ │ ├── .gitignore │ │ ├── 3rdparty │ │ ├── Flask-0.12.2.tar.gz │ │ ├── Jinja2-2.10-py2.py3-none-any.whl │ │ ├── Makefile │ │ ├── MarkupSafe-1.0.tar.gz │ │ ├── Werkzeug-0.14.1-py2.py3-none-any.whl │ │ ├── argparse-1.4.0.tar.gz │ │ ├── click-6.7-py2.py3-none-any.whl │ │ ├── gevent-1.1.2.tar.gz │ │ ├── gevent_inotifyx-0.1.1.patch │ │ ├── gevent_inotifyx-0.1.1.tar.gz │ │ ├── google-common-0.0.1.tar.gz │ │ ├── greenlet-0.4.10.zip │ │ ├── inotifyx-0.2.2.patch │ │ ├── inotifyx-0.2.2.tar.gz │ │ ├── itsdangerous-0.24.tar.gz │ │ ├── protobuf-3.0.0.tar.gz │ │ ├── protobuf-3.5.0.tar.gz │ │ ├── pymongo-3.5.1.tar.gz │ │ ├── redis-2.10.6.tar.gz │ │ ├── six-1.11.0-py2.py3-none-any.whl │ │ ├── sortedcontainers-1.5.7.tar.gz │ │ ├── virtualenv-15.1.0.tar.gz │ │ └── xmltodict-0.11.0.tar.gz │ │ ├── Makefile │ │ ├── README │ │ ├── ext_test │ │ ├── test_http_mesos_handler.py │ │ ├── test_mesos_handler.py │ │ ├── test_service_monitor_handler.py │ │ └── test_urb_service.py │ │ ├── setup.cfg │ │ ├── setup.py │ │ ├── test │ │ ├── common_utils.py │ │ ├── test_adapter_manager.py │ │ ├── test_channel.py │ │ ├── test_channel_factory.py │ │ ├── test_config_manager.py │ │ ├── test_log_manager.py │ │ ├── test_redis_message_broker.py │ │ └── urb.conf │ │ └── urb │ │ ├── .gitignore │ │ ├── adapters │ │ ├── __init__.py │ │ ├── adapter_interface.py │ │ ├── adapter_manager.py │ │ └── localhost_adapter.py │ │ ├── config │ │ ├── __init__.py │ │ └── config_manager.py │ │ ├── constants │ │ ├── __init__.py │ │ ├── internal_messages.py │ │ ├── liburb.py │ │ ├── mesos_messages.py │ │ └── urb_status.py │ │ ├── db │ │ ├── __init__.py │ │ ├── db_manager.py │ │ ├── event_db_interface.py │ │ ├── framework_db_interface.py │ │ └── urb_mongo_client.py │ │ ├── exceptions │ │ ├── __init__.py │ │ ├── completed_job.py │ │ ├── configuration_error.py │ │ ├── db_error.py │ │ ├── invalid_command.py │ │ ├── pending_job.py │ │ ├── registration_error.py │ │ ├── unknown_job.py │ │ └── urb_exception.py │ │ ├── executor │ │ ├── __init__.py │ │ ├── executor_handler.py │ │ └── executor_runner.py │ │ ├── log │ │ ├── __init__.py │ │ ├── log_manager.py │ │ ├── logger_factory.py │ │ ├── stream_log_handler.py │ │ ├── timed_rotating_file_log_handler.py │ │ ├── trace_log_record.py │ │ └── trace_logger.py │ │ ├── messaging │ │ ├── __init__.py │ │ ├── channel.py │ │ ├── channel_factory.py │ │ ├── heartbeat_message.py │ │ ├── mesos │ │ │ ├── __init__.py │ │ │ ├── executor_registered_message.py │ │ │ ├── executor_reregistered_message.py │ │ │ ├── executor_to_framework_message.py │ │ │ ├── framework_registered_message.py │ │ │ ├── framework_reregistered_message.py │ │ │ ├── framework_to_executor_message.py │ │ │ ├── kill_task_message.py │ │ │ ├── launch_tasks_message.py │ │ │ ├── reconcile_tasks_message.py │ │ │ ├── register_executor_message.py │ │ │ ├── register_executor_runner_message.py │ │ │ ├── register_framework_message.py │ │ │ ├── reregister_executor_message.py │ │ │ ├── reregister_framework_message.py │ │ │ ├── rescind_resource_offer_message.py │ │ │ ├── resource_offers_message.py │ │ │ ├── revive_offers_message.py │ │ │ ├── run_task_message.py │ │ │ ├── shutdown_executor_message.py │ │ │ ├── status_update_acknowledgement_message.py │ │ │ ├── status_update_message.py │ │ │ └── unregister_framework_message.py │ │ ├── message.py │ │ ├── message_handler.py │ │ ├── messaging_utility.py │ │ ├── redis_message_broker.py │ │ ├── redis_sentinel_message_broker.py │ │ ├── service_disconnected_message.py │ │ ├── service_shutdown_message.py │ │ └── slave_shutdown_message.py │ │ ├── service │ │ ├── __init__.py │ │ ├── channel_monitor.py │ │ ├── job_monitor.py │ │ ├── master_elector.py │ │ ├── mesos_handler.py │ │ ├── mesos_http.py │ │ ├── retry_manager.py │ │ ├── service_monitor_handler.py │ │ ├── slave_http.py │ │ ├── urb_service.py │ │ └── urb_service_controller.py │ │ └── utility │ │ ├── __init__.py │ │ ├── channel_tracker.py │ │ ├── choppyrange.py │ │ ├── executor_tracker.py │ │ ├── framework_tracker.py │ │ ├── job_tracker.py │ │ ├── naming_utility.py │ │ ├── object_tracker.py │ │ ├── port_range_utility.py │ │ ├── resource_tracker.py │ │ ├── task_tracker.py │ │ ├── utils.py │ │ └── value_utility.py ├── tools │ ├── venv.sh │ └── whatos.py ├── util │ ├── Makefile.env │ ├── include.mk │ ├── params.mk │ └── platform.mk └── vagrant │ ├── Dockerfile │ ├── Makefile │ ├── README.md │ ├── Vagrantfile │ └── puppet │ ├── default.pp │ └── hiera.yaml ├── urb-executor-runner.dockerfile ├── urb-marathon.dockerfile ├── urb-python-base.dockerfile ├── urb-service.dockerfile └── urb-zeppelin.dockerfile /.gitignore: -------------------------------------------------------------------------------- 1 | **/.directory 2 | dist/ 3 | build/ 4 | **/*~ 5 | **/*.egg-info/ 6 | **/*.pyc 7 | **/*.rdb 8 | **/*.orig 9 | **/.vagrant 10 | **/.coverage -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: python 2 | - "2.7" 3 | 4 | before_install: 5 | 6 | install: 7 | - sudo pip install setuptools nose nosexcover mock==1.0.1 gevent pymongo sortedcontainers xmltodict redis 8 | - sudo apt-get install g++ cmake openjdk-8-jdk-headless python-pip libev-dev uuid-dev zlib1g-dev 9 | 10 | script: 11 | - make 12 | - make dist 13 | -------------------------------------------------------------------------------- /install/chronos/urb-chronos.conf: -------------------------------------------------------------------------------- 1 | # Chronos 2 | [chronosFrameworkConfig] 3 | send_task_lost = False 4 | scale_count = 0 5 | resource_mapping = cpu;mem 6 | -------------------------------------------------------------------------------- /install/chronos/urb-chronos.dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Univa Corporation 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | FROM local/urb-bin-base 16 | RUN rpm -Uvh http://repos.mesosphere.io/el/7/noarch/RPMS/mesosphere-el-repo-7-1.noarch.rpm 17 | RUN yum update -y; yum install -y chronos; yum clean all 18 | EXPOSE 4040 19 | 20 | 21 | -------------------------------------------------------------------------------- /install/chronos/urb-chronos.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: urb-chronos 5 | spec: 6 | type: LoadBalancer 7 | ports: 8 | - port: 4040 9 | # targetPort: 4040 10 | selector: 11 | app: urb-chronos 12 | # clusterIP: None 13 | --- 14 | apiVersion: apps/v1beta1 15 | kind: Deployment 16 | metadata: 17 | name: urb-chronos 18 | spec: 19 | strategy: 20 | type: Recreate 21 | template: 22 | metadata: 23 | labels: 24 | app: urb-chronos 25 | spec: 26 | containers: 27 | - image: local/urb-chronos 28 | name: urb-chronos 29 | imagePullPolicy: IfNotPresent 30 | command: ["/bin/sh", "-c", "java -jar /usr/bin/chronos --master urb://urb-master:6379 --zk_hosts zoo-svc:2181 --http_port 4040"] 31 | env: 32 | - name: MESOS_NATIVE_JAVA_LIBRARY 33 | value: /urb/lib/liburb_big.so 34 | ports: 35 | - containerPort: 4040 36 | name: urb-chronos 37 | -------------------------------------------------------------------------------- /install/marathon/README.md: -------------------------------------------------------------------------------- 1 | Marathon docker image has to be built in the root of the project since it has direct URB bibary dependencies 2 | -------------------------------------------------------------------------------- /install/marathon/urb-marathon.conf: -------------------------------------------------------------------------------- 1 | # Marathon 2 | [marathonFrameworkConfig] 3 | send_task_lost = False 4 | scale_count = 0 5 | resource_mapping = cpu;mem 6 | -------------------------------------------------------------------------------- /install/marathon/urb-marathon.dockerfile: -------------------------------------------------------------------------------- 1 | ../../urb-marathon.dockerfile -------------------------------------------------------------------------------- /install/marathon/urb-marathon.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: marathonsvc 5 | spec: 6 | type: LoadBalancer 7 | ports: 8 | - port: 8080 9 | # targetPort: 8080 10 | selector: 11 | app: marathonsvc 12 | # clusterIP: None 13 | --- 14 | apiVersion: apps/v1beta1 15 | kind: Deployment 16 | metadata: 17 | name: marathonsvc 18 | spec: 19 | strategy: 20 | type: Recreate 21 | template: 22 | metadata: 23 | labels: 24 | app: marathonsvc 25 | spec: 26 | containers: 27 | - image: local/urb-marathon 28 | name: marathonsvc 29 | imagePullPolicy: IfNotPresent 30 | command: ["/bin/sh", "-c", "./bin/start --master urb://urb-master:6379 --zk zk://zoo-svc:2181/marathon"] 31 | ports: 32 | - containerPort: 8080 33 | name: marathonsvc 34 | -------------------------------------------------------------------------------- /install/singularity/urb-singularity.conf: -------------------------------------------------------------------------------- 1 | # Marathon 2 | [SingularityFrameworkConfig] 3 | send_task_lost = False 4 | scale_count = 0 5 | resource_mapping = cpu;mem 6 | -------------------------------------------------------------------------------- /install/singularity/urb-singularity.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: urb-singularity 5 | spec: 6 | type: LoadBalancer 7 | ports: 8 | - port: 7099 9 | # nodePort: 32099 10 | selector: 11 | app: urb-singularity 12 | # clusterIP: None 13 | --- 14 | apiVersion: apps/v1beta1 15 | kind: Deployment 16 | metadata: 17 | name: urb-singularity 18 | spec: 19 | strategy: 20 | type: Recreate 21 | template: 22 | metadata: 23 | labels: 24 | app: urb-singularity 25 | spec: 26 | containers: 27 | - image: hubspot/singularityservice:0.19.2 28 | name: urb-singularity 29 | imagePullPolicy: IfNotPresent 30 | env: 31 | - name: SINGULARITY_MESOS_MASTER 32 | value: urb-master:5060 33 | - name: SINGULARITY_ZK 34 | value: zoo-svc:2181 35 | ports: 36 | - containerPort: 7099 37 | name: urb-singularity 38 | -------------------------------------------------------------------------------- /install/spark/pv.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolume 2 | apiVersion: v1 3 | metadata: 4 | name: scratch-pv 5 | labels: 6 | type: gcePersistentDisk 7 | spec: 8 | capacity: 9 | storage: 2Gi 10 | accessModes: 11 | - ReadWriteMany 12 | pdName: scratch-disk 13 | fsType: ext4 14 | -------------------------------------------------------------------------------- /install/spark/pvc.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolumeClaim 2 | apiVersion: v1 3 | metadata: 4 | name: scratch-pvc 5 | spec: 6 | # next line seems to be workaround for a problem with minikube (https://github.com/kubernetes/minikube/issues/1239) 7 | #storageClassName: "" 8 | accessModes: 9 | - ReadWriteMany 10 | resources: 11 | requests: 12 | storage: 2Gi 13 | -------------------------------------------------------------------------------- /install/spark/spark.conf: -------------------------------------------------------------------------------- 1 | # pyspark shell 2 | [PySparkShellFrameworkConfig] 3 | mem = 12288 4 | cpus = 4 5 | send_task_lost = True 6 | executor_runner = local/urb-spark-exec 7 | #persistent_volume_claims = scratch-pvc:/scratch 8 | 9 | # Scala Spark shell 10 | [SparkshellFrameworkConfig] 11 | mem = 12288 12 | cpus = 4 13 | send_task_lost = True 14 | executor_runner = local/urb-spark-exec 15 | #persistent_volume_claims = scratch-pvc:/scratch 16 | 17 | [Spark*FrameworkConfig] 18 | mem = 12288 19 | cpus = 2 20 | send_task_lost = True 21 | executor_runner = local/urb-spark-exec 22 | 23 | -------------------------------------------------------------------------------- /install/spark/urb-spark-driver.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: batch/v1 2 | kind: Job 3 | metadata: 4 | name: spark-driver 5 | spec: 6 | template: 7 | metadata: 8 | name: spark-driver 9 | spec: 10 | # volumes: 11 | # - name: scratch-pv-storage 12 | # persistentVolumeClaim: 13 | # claimName: scratch-pvc 14 | containers: 15 | - name: spark 16 | image: local/urb-spark-driver 17 | imagePullPolicy: IfNotPresent 18 | command: [ "/bin/sh", "-c", "env; sleep infinity" ] 19 | # volumeMounts: 20 | # - mountPath: "/scratch" 21 | # name: scratch-pv-storage 22 | restartPolicy: Never 23 | -------------------------------------------------------------------------------- /install/zeppelin/zeppelin-rc.yaml: -------------------------------------------------------------------------------- 1 | kind: ReplicationController 2 | apiVersion: v1 3 | metadata: 4 | name: urb-zeppelin-rc 5 | spec: 6 | replicas: 1 7 | selector: 8 | component: urb-zeppelin 9 | template: 10 | metadata: 11 | labels: 12 | component: urb-zeppelin 13 | spec: 14 | containers: 15 | - name: urb-zeppelin 16 | image: local/urb-zeppelin 17 | imagePullPolicy: IfNotPresent 18 | env: 19 | - name: MASTER 20 | value: mesos://urb://urb-master:6379 21 | # env: 22 | # - name: SPARK_SUBMIT_OPTIONS 23 | # value: "--master mesos://urb://urb-master:6379 --conf spark.cores.max=6" 24 | # value: "--conf spark.cores.max=6" 25 | ports: 26 | - containerPort: 8080 27 | resources: 28 | requests: 29 | cpu: 100m 30 | -------------------------------------------------------------------------------- /install/zeppelin/zeppelin-service.yaml: -------------------------------------------------------------------------------- 1 | kind: Service 2 | apiVersion: v1 3 | metadata: 4 | name: urb-zeppelin 5 | spec: 6 | ports: 7 | - port: 8080 8 | # targetPort: 8080 9 | selector: 10 | component: urb-zeppelin 11 | # type: NodePort 12 | type: LoadBalancer 13 | -------------------------------------------------------------------------------- /install/zeppelin/zeppelin.conf: -------------------------------------------------------------------------------- 1 | # Zeppelin 2 | [ZeppelinFrameworkConfig] 3 | mem = 12288 4 | cpus = 4 5 | send_task_lost = True 6 | executor_runner = local/urb-spark-exec 7 | #persistent_volume_claims = scratch-pvc:/scratch 8 | -------------------------------------------------------------------------------- /python-executor-runner.dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Univa Corporation 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | # executor runner for python example framework requires custom executor 17 | # "test_executor.py" to be located on the same path (/urb/bin) as 18 | # python framework file "test_framework.py" in python-framework.dockerfile 19 | 20 | FROM local/urb-executor-runner 21 | 22 | RUN mkdir -p /urb/bin 23 | COPY urb-core/dist/urb-*/share/examples/frameworks/python/test_executor.py /urb/bin/ 24 | -------------------------------------------------------------------------------- /source/python/README: -------------------------------------------------------------------------------- 1 | Universal Resource Broker Adapter for Kubernetes 2 | ================================================ 3 | 4 | This directory contains source code and tests for python adapter for Kubernetes. 5 | -------------------------------------------------------------------------------- /source/python/k8s_adapter/urb-executor-runner.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: batch/v1 2 | kind: Job 3 | metadata: 4 | name: urb-exec 5 | spec: 6 | template: 7 | metadata: 8 | name: urb-exec 9 | spec: 10 | containers: 11 | - name: urb-executor-runner 12 | image: local/urb-executor-runner 13 | imagePullPolicy: IfNotPresent 14 | env: 15 | - name: JOB_ID 16 | valueFrom: 17 | fieldRef: 18 | fieldPath: metadata.name 19 | restartPolicy: Never 20 | -------------------------------------------------------------------------------- /source/python/setup.cfg: -------------------------------------------------------------------------------- 1 | [nosetests] 2 | verbosity=1 3 | detailed-errors=1 4 | with-coverage=1 5 | cover-package=k8s_adapter 6 | cover-xml=1 7 | cover-xml-file=build/coverage.xml 8 | cover-erase=1 9 | with-xunit=1 10 | xunit-file=build/nosetests.xml 11 | -------------------------------------------------------------------------------- /source/urb-redis.dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Univa Corporation 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | FROM centos:7 16 | RUN yum install -y http://dl.fedoraproject.org/pub/epel/epel-release-latest-$(awk '/^%rhel/ { print $2 }' /etc/rpm/macros.dist).noarch.rpm 17 | RUN yum update -y; yum install -y redis; yum clean all 18 | EXPOSE 6379 19 | ENTRYPOINT ["/usr/bin/redis-server", "--protected-mode", "no"] 20 | 21 | -------------------------------------------------------------------------------- /test/chronos/README.md: -------------------------------------------------------------------------------- 1 | Chronos framework scheduler requires "big" liburb_big.so library with additional Mesos symbols added to standerd liburb.so 2 | -------------------------------------------------------------------------------- /test/chronos/urb-chronos.dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Univa Corporation 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | FROM local/urb-bin-base 16 | RUN rpm -Uvh http://repos.mesosphere.io/el/7/noarch/RPMS/mesosphere-el-repo-7-1.noarch.rpm 17 | RUN yum update -y; yum install -y chronos; yum clean all 18 | EXPOSE 4040 19 | 20 | 21 | -------------------------------------------------------------------------------- /test/chronos/urb-chronos.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: urb-chronos 5 | spec: 6 | type: NodePort 7 | ports: 8 | - port: 4040 9 | nodePort: 32040 10 | selector: 11 | app: urb-chronos 12 | # clusterIP: None 13 | --- 14 | apiVersion: apps/v1beta1 15 | kind: Deployment 16 | metadata: 17 | name: urb-chronos 18 | spec: 19 | strategy: 20 | type: Recreate 21 | template: 22 | metadata: 23 | labels: 24 | app: urb-chronos 25 | spec: 26 | containers: 27 | - image: local/urb-chronos 28 | name: urb-chronos 29 | imagePullPolicy: IfNotPresent 30 | command: ["/bin/sh", "-c", "java -jar /usr/bin/chronos --master urb://urb-master:6379 --zk_hosts zoo-svc:2181 --http_port 4040"] 31 | env: 32 | - name: MESOS_NATIVE_JAVA_LIBRARY 33 | value: /urb/lib/liburb_big.so 34 | ports: 35 | - containerPort: 4040 36 | name: urb-chronos 37 | -------------------------------------------------------------------------------- /test/example-frameworks/cpp-framework.dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Univa Corporation 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | # C++ example framework is based on urb-bin-base image and relies on 17 | # framework (example_framework.test) and custom executor (example_executor.test) 18 | # executables to be located on persistent volume example-pv. 19 | # it only requires environment variable URB_MASTER to be set here 20 | 21 | FROM local/urb-bin-base 22 | 23 | ENV URB_MASTER=urb://urb-master:6379 24 | -------------------------------------------------------------------------------- /test/example-frameworks/cpp-framework.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: batch/v1 2 | kind: Job 3 | metadata: 4 | name: cpp-framework 5 | spec: 6 | template: 7 | metadata: 8 | name: cpp-framework 9 | spec: 10 | volumes: 11 | - name: example-pv-storage 12 | persistentVolumeClaim: 13 | claimName: example-pvc 14 | containers: 15 | - name: cpp-framework 16 | image: local/cpp-framework 17 | imagePullPolicy: IfNotPresent 18 | command: ["/opt/example/bin/example_framework.test"] 19 | # command: ["/urb/bin/example_framework.test", "50", "1", "1"] 20 | # command: ["/bin/sh", "-c", "env; sleep infinity"] 21 | volumeMounts: 22 | - mountPath: "/opt/example" 23 | name: example-pv-storage 24 | restartPolicy: Never 25 | -------------------------------------------------------------------------------- /test/example-frameworks/pv.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolume 2 | apiVersion: v1 3 | metadata: 4 | name: example-pv 5 | labels: 6 | type: local 7 | spec: 8 | capacity: 9 | storage: 1Gi 10 | accessModes: 11 | - ReadOnlyMany 12 | hostPath: 13 | path: "/example" 14 | -------------------------------------------------------------------------------- /test/example-frameworks/pvc.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolumeClaim 2 | apiVersion: v1 3 | metadata: 4 | name: example-pvc 5 | spec: 6 | # next line seems to be workaround for a problem with minikube (https://github.com/kubernetes/minikube/issues/1239) 7 | storageClassName: "" 8 | accessModes: 9 | - ReadOnlyMany 10 | resources: 11 | requests: 12 | storage: 1Gi 13 | -------------------------------------------------------------------------------- /test/example-frameworks/python-framework.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: batch/v1 2 | kind: Job 3 | metadata: 4 | name: python-framework 5 | spec: 6 | template: 7 | metadata: 8 | name: python-framework 9 | spec: 10 | containers: 11 | - name: python-framework 12 | image: local/python-framework 13 | imagePullPolicy: IfNotPresent 14 | restartPolicy: Never 15 | -------------------------------------------------------------------------------- /test/marathon/README.md: -------------------------------------------------------------------------------- 1 | In this example Marathon relies on liburb.so located in the persistent volume. 2 | -------------------------------------------------------------------------------- /test/marathon/kubernetes-zookeeper-master/zoo-rc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | labels: 5 | app: zoo 6 | component: zoo 7 | name: zoo 8 | spec: 9 | replicas: 1 10 | template: 11 | metadata: 12 | labels: 13 | app: zoo 14 | component: zoo 15 | spec: 16 | containers: 17 | - name: zoo 18 | image: taeminkwon/kubernetes-zookeeper:3.4.6 19 | ports: 20 | - containerPort: 2181 21 | env: 22 | - name: ZOOKEEPER_ID 23 | value: "1" 24 | - name: ZOOKEEPER_SERVER_1 25 | value: zoo-svc 26 | -------------------------------------------------------------------------------- /test/marathon/kubernetes-zookeeper-master/zoo-service.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: zoo-svc 5 | labels: 6 | app: zoo 7 | component: zoo 8 | spec: 9 | ports: 10 | - name: follower 11 | port: 2888 12 | protocol: TCP 13 | - name: leader 14 | port: 3888 15 | protocol: TCP 16 | type: NodePort 17 | ports: 18 | - name: client 19 | port: 2181 20 | # nodePort: 30181 21 | protocol: TCP 22 | selector: 23 | app: zoo 24 | component: zoo 25 | -------------------------------------------------------------------------------- /test/marathon/marathon.dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Univa Corporation 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | FROM mesosphere/marathon 16 | 17 | RUN apt-get update && apt-get install -y libev4 libuuid1 zlib1g && apt-get clean 18 | 19 | EXPOSE 8080 20 | -------------------------------------------------------------------------------- /test/singularity/urb-singularity.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: urb-singularity 5 | spec: 6 | type: NodePort 7 | ports: 8 | - port: 7099 9 | nodePort: 32099 10 | selector: 11 | app: urb-singularity 12 | # clusterIP: None 13 | --- 14 | apiVersion: apps/v1beta1 15 | kind: Deployment 16 | metadata: 17 | name: urb-singularity 18 | spec: 19 | strategy: 20 | type: Recreate 21 | template: 22 | metadata: 23 | labels: 24 | app: urb-singularity 25 | spec: 26 | containers: 27 | - image: hubspot/singularityservice 28 | name: urb-singularity 29 | imagePullPolicy: IfNotPresent 30 | env: 31 | - name: SINGULARITY_MESOS_MASTER 32 | value: urb-master:5060 33 | - name: SINGULARITY_ZK 34 | value: zoo-svc:2181 35 | ports: 36 | - containerPort: 7099 37 | name: urb-singularity 38 | -------------------------------------------------------------------------------- /test/spark/pv.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolume 2 | apiVersion: v1 3 | metadata: 4 | name: spark-pv 5 | labels: 6 | type: local 7 | spec: 8 | capacity: 9 | storage: 1Gi 10 | accessModes: 11 | - ReadOnlyMany 12 | hostPath: 13 | path: "/spark-2.1.0-bin-hadoop2.7" 14 | -------------------------------------------------------------------------------- /test/spark/pvc.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolumeClaim 2 | apiVersion: v1 3 | metadata: 4 | name: spark-pvc 5 | spec: 6 | # next line seems to be workaround for a problem with minikube (https://github.com/kubernetes/minikube/issues/1239) 7 | storageClassName: "" 8 | accessModes: 9 | - ReadOnlyMany 10 | resources: 11 | requests: 12 | storage: 1Gi 13 | 14 | -------------------------------------------------------------------------------- /test/spark/scratch-pv.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolume 2 | apiVersion: v1 3 | metadata: 4 | name: scratch-pv 5 | labels: 6 | type: local 7 | spec: 8 | capacity: 9 | storage: 1Gi 10 | accessModes: 11 | - ReadOnlyMany 12 | hostPath: 13 | path: "/scratch" 14 | -------------------------------------------------------------------------------- /test/spark/scratch-pvc.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolumeClaim 2 | apiVersion: v1 3 | metadata: 4 | name: scratch-pvc 5 | spec: 6 | # next line seems to be workaround for a problem with minikube (https://github.com/kubernetes/minikube/issues/1239) 7 | storageClassName: "" 8 | accessModes: 9 | - ReadOnlyMany 10 | resources: 11 | requests: 12 | storage: 1Gi 13 | 14 | -------------------------------------------------------------------------------- /test/spark/spark-driver.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: batch/v1 2 | kind: Job 3 | metadata: 4 | name: spark-driver 5 | spec: 6 | template: 7 | metadata: 8 | name: spark-driver 9 | spec: 10 | volumes: 11 | - name: scratch-pv-storage 12 | persistentVolumeClaim: 13 | claimName: scratch-pvc 14 | containers: 15 | - name: spark 16 | image: local/spark-driver 17 | imagePullPolicy: IfNotPresent 18 | command: [ "/bin/sh", "-c", "env; sleep infinity" ] 19 | volumeMounts: 20 | - mountPath: "/scratch" 21 | name: scratch-pv-storage 22 | restartPolicy: Never 23 | -------------------------------------------------------------------------------- /test/spark/spark.dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Univa Corporation 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | FROM local/urb-bin-base 16 | 17 | RUN yum update -y && yum install -y java-1.8.0-openjdk-headless && yum clean all 18 | 19 | ENV JAVA_HOME=/etc/alternatives/jre_openjdk 20 | ENV MESOS_NATIVE_JAVA_LIBRARY=$URB_ROOT/lib/liburb.so 21 | -------------------------------------------------------------------------------- /test/spark/spark.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: batch/v1 2 | kind: Job 3 | metadata: 4 | name: spark 5 | spec: 6 | template: 7 | metadata: 8 | name: spark 9 | spec: 10 | volumes: 11 | - name: spark-pv-storage 12 | persistentVolumeClaim: 13 | claimName: spark-pvc 14 | containers: 15 | - name: spark 16 | image: local/spark 17 | imagePullPolicy: IfNotPresent 18 | command: [ "/bin/sh", "-c", "env; sleep infinity" ] 19 | env: 20 | - name: SPARK_HOME 21 | value: /opt/spark-2.1.0-bin-hadoop2.7 22 | volumeMounts: 23 | - mountPath: "/opt/spark-2.1.0-bin-hadoop2.7" 24 | name: spark-pv-storage 25 | restartPolicy: Never 26 | -------------------------------------------------------------------------------- /test/urb-pv.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolume 2 | apiVersion: v1 3 | metadata: 4 | name: urb-pv 5 | labels: 6 | type: local 7 | spec: 8 | capacity: 9 | storage: 1Gi 10 | accessModes: 11 | - ReadOnlyMany 12 | hostPath: 13 | path: "/urb" 14 | -------------------------------------------------------------------------------- /test/urb-pvc.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolumeClaim 2 | apiVersion: v1 3 | metadata: 4 | name: urb-pvc 5 | spec: 6 | # next line seems to be workaround for a problem with minikube (https://github.com/kubernetes/minikube/issues/1239) 7 | storageClassName: "" 8 | accessModes: 9 | - ReadOnlyMany 10 | resources: 11 | requests: 12 | storage: 1Gi 13 | -------------------------------------------------------------------------------- /urb-core/.gitignore: -------------------------------------------------------------------------------- 1 | **/.directory 2 | .idea 3 | dist/ 4 | build/ 5 | **/*~ 6 | **/*.egg-info/ 7 | **/*.pyc 8 | **/*.rdb 9 | venv 10 | vagrant/.vagrant 11 | source/cpp/3rdparty/boost/boost-*.*.* 12 | source/cpp/3rdparty/picojson/picojson-*.*.* 13 | source/cpp/3rdparty/googletest/googletest-release-*.*.* 14 | mesos 15 | -------------------------------------------------------------------------------- /urb-core/.travis.yml: -------------------------------------------------------------------------------- 1 | language: python 2 | - "2.7" 3 | 4 | before_install: 5 | 6 | install: 7 | - sudo pip install setuptools nose nosexcover mock==1.0.1 gevent pymongo sortedcontainers xmltodict redis 8 | - sudo apt-get install g++ cmake openjdk-8-jdk-headless python-pip libev-dev uuid-dev zlib1g-dev 9 | 10 | script: 11 | - make 12 | - make test 13 | - make dist 14 | -------------------------------------------------------------------------------- /urb-core/URBArch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/URBArch.png -------------------------------------------------------------------------------- /urb-core/meson.build: -------------------------------------------------------------------------------- 1 | project('urb-core', ['cpp', 'java'], 2 | version : '3.1.0', 3 | default_options : [ 'warning_level=3', 'buildtype=debug', 'cpp_std=c++11' ] 4 | ) 5 | 6 | subdir('source') 7 | -------------------------------------------------------------------------------- /urb-core/source/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Univa Corporation 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | SUBDIRS=cpp python 16 | 17 | include ../util/include.mk 18 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/.gitignore: -------------------------------------------------------------------------------- 1 | *cache 2 | build/ 3 | dist/ -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/boost/boost-1.58.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/cpp/3rdparty/boost/boost-1.58.0.tar.gz -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/AUTHORS: -------------------------------------------------------------------------------- 1 | opensource@google.com 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/NEWS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/cpp/3rdparty/glog-0.3.3/NEWS -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/README: -------------------------------------------------------------------------------- 1 | This repository contains a C++ implementation of the Google logging 2 | module. Documentation for the implementation is in doc/. 3 | 4 | See INSTALL for (generic) installation instructions for C++: basically 5 | ./configure && make && make install 6 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/libglog.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: libglog 7 | Description: Google Log (glog) C++ logging framework 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -lglog 10 | Cflags: -I${includedir} 11 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/m4/ac_have_attribute.m4: -------------------------------------------------------------------------------- 1 | AC_DEFUN([AX_C___ATTRIBUTE__], [ 2 | AC_MSG_CHECKING(for __attribute__) 3 | AC_CACHE_VAL(ac_cv___attribute__, [ 4 | AC_TRY_COMPILE( 5 | [#include 6 | static void foo(void) __attribute__ ((unused)); 7 | void foo(void) { exit(1); }], 8 | [], 9 | ac_cv___attribute__=yes, 10 | ac_cv___attribute__=no 11 | )]) 12 | if test "$ac_cv___attribute__" = "yes"; then 13 | AC_DEFINE(HAVE___ATTRIBUTE__, 1, [define if your compiler has __attribute__]) 14 | fi 15 | AC_MSG_RESULT($ac_cv___attribute__) 16 | ]) 17 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/m4/ac_have_builtin_expect.m4: -------------------------------------------------------------------------------- 1 | AC_DEFUN([AX_C___BUILTIN_EXPECT], [ 2 | AC_MSG_CHECKING(for __builtin_expect) 3 | AC_CACHE_VAL(ac_cv___builtin_expect, [ 4 | AC_TRY_COMPILE( 5 | [int foo(void) { if (__builtin_expect(0, 0)) return 1; return 0; }], 6 | [], 7 | ac_cv___builtin_expect=yes, 8 | ac_cv___builtin_expect=no 9 | )]) 10 | if test "$ac_cv___builtin_expect" = "yes"; then 11 | AC_DEFINE(HAVE___BUILTIN_EXPECT, 1, [define if your compiler has __builtin_expect]) 12 | fi 13 | AC_MSG_RESULT($ac_cv___builtin_expect) 14 | ]) 15 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/m4/ac_have_sync_val_compare_and_swap.m4: -------------------------------------------------------------------------------- 1 | AC_DEFUN([AX_C___SYNC_VAL_COMPARE_AND_SWAP], [ 2 | AC_MSG_CHECKING(for __sync_val_compare_and_swap) 3 | AC_CACHE_VAL(ac_cv___sync_val_compare_and_swap, [ 4 | AC_TRY_LINK( 5 | [], 6 | [int a; if (__sync_val_compare_and_swap(&a, 0, 1)) return 1; return 0;], 7 | ac_cv___sync_val_compare_and_swap=yes, 8 | ac_cv___sync_val_compare_and_swap=no 9 | )]) 10 | if test "$ac_cv___sync_val_compare_and_swap" = "yes"; then 11 | AC_DEFINE(HAVE___SYNC_VAL_COMPARE_AND_SWAP, 1, [define if your compiler has __sync_val_compare_and_swap]) 12 | fi 13 | AC_MSG_RESULT($ac_cv___sync_val_compare_and_swap) 14 | ]) 15 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/m4/ltversion.m4: -------------------------------------------------------------------------------- 1 | # ltversion.m4 -- version numbers -*- Autoconf -*- 2 | # 3 | # Copyright (C) 2004 Free Software Foundation, Inc. 4 | # Written by Scott James Remnant, 2004 5 | # 6 | # This file is free software; the Free Software Foundation gives 7 | # unlimited permission to copy and/or distribute it, with or without 8 | # modifications, as long as this notice is preserved. 9 | 10 | # @configure_input@ 11 | 12 | # serial 3337 ltversion.m4 13 | # This file is part of GNU Libtool 14 | 15 | m4_define([LT_PACKAGE_VERSION], [2.4.2]) 16 | m4_define([LT_PACKAGE_REVISION], [1.3337]) 17 | 18 | AC_DEFUN([LTVERSION_VERSION], 19 | [macro_version='2.4.2' 20 | macro_revision='1.3337' 21 | _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) 22 | _LT_DECL(, macro_revision, 0) 23 | ]) 24 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/m4/namespaces.m4: -------------------------------------------------------------------------------- 1 | # Checks whether the compiler implements namespaces 2 | AC_DEFUN([AC_CXX_NAMESPACES], 3 | [AC_CACHE_CHECK(whether the compiler implements namespaces, 4 | ac_cv_cxx_namespaces, 5 | [AC_LANG_SAVE 6 | AC_LANG_CPLUSPLUS 7 | AC_TRY_COMPILE([namespace Outer { 8 | namespace Inner { int i = 0; }}], 9 | [using namespace Outer::Inner; return i;], 10 | ac_cv_cxx_namespaces=yes, 11 | ac_cv_cxx_namespaces=no) 12 | AC_LANG_RESTORE]) 13 | if test "$ac_cv_cxx_namespaces" = yes; then 14 | AC_DEFINE(HAVE_NAMESPACES, 1, [define if the compiler implements namespaces]) 15 | fi]) 16 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/m4/stl_namespace.m4: -------------------------------------------------------------------------------- 1 | # We check what namespace stl code like vector expects to be executed in 2 | 3 | AC_DEFUN([AC_CXX_STL_NAMESPACE], 4 | [AC_CACHE_CHECK( 5 | what namespace STL code is in, 6 | ac_cv_cxx_stl_namespace, 7 | [AC_REQUIRE([AC_CXX_NAMESPACES]) 8 | AC_LANG_SAVE 9 | AC_LANG_CPLUSPLUS 10 | AC_TRY_COMPILE([#include ], 11 | [vector t; return 0;], 12 | ac_cv_cxx_stl_namespace=none) 13 | AC_TRY_COMPILE([#include ], 14 | [std::vector t; return 0;], 15 | ac_cv_cxx_stl_namespace=std) 16 | AC_LANG_RESTORE]) 17 | if test "$ac_cv_cxx_stl_namespace" = none; then 18 | AC_DEFINE(STL_NAMESPACE,, 19 | [the namespace where STL code like vector<> is defined]) 20 | fi 21 | if test "$ac_cv_cxx_stl_namespace" = std; then 22 | AC_DEFINE(STL_NAMESPACE,std, 23 | [the namespace where STL code like vector<> is defined]) 24 | fi 25 | ]) 26 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/m4/using_operator.m4: -------------------------------------------------------------------------------- 1 | AC_DEFUN([AC_CXX_USING_OPERATOR], 2 | [AC_CACHE_CHECK( 3 | whether compiler supports using ::operator<<, 4 | ac_cv_cxx_using_operator, 5 | [AC_LANG_SAVE 6 | AC_LANG_CPLUSPLUS 7 | AC_TRY_COMPILE([#include 8 | std::ostream& operator<<(std::ostream&, struct s);], 9 | [using ::operator<<; return 0;], 10 | ac_cv_cxx_using_operator=1, 11 | ac_cv_cxx_using_operator=0) 12 | AC_LANG_RESTORE]) 13 | if test "$ac_cv_cxx_using_operator" = 1; then 14 | AC_DEFINE(HAVE_USING_OPERATOR, 1, [define if the compiler supports using expression for operator]) 15 | fi]) 16 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/packages/deb/README: -------------------------------------------------------------------------------- 1 | The list of files here isn't complete. For a step-by-step guide on 2 | how to set this package up correctly, check out 3 | http://www.debian.org/doc/maint-guide/ 4 | 5 | Most of the files that are in this directory are boilerplate. 6 | However, you may need to change the list of binary-arch dependencies 7 | in 'rules'. 8 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/packages/deb/compat: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/packages/deb/control: -------------------------------------------------------------------------------- 1 | Source: google-glog 2 | Priority: optional 3 | Maintainer: Google Inc. 4 | Build-Depends: debhelper (>= 4.0.0), binutils 5 | Standards-Version: 3.6.1 6 | 7 | Package: libgoogle-glog-dev 8 | Section: libdevel 9 | Architecture: any 10 | Depends: libgoogle-glog0 (= ${Source-Version}) 11 | Description: a library that implements application-level logging. 12 | This library provides logging APIs based on C++-style streams and 13 | various helper macros. The devel package contains static and debug 14 | libraries and header files for developing applications that use the 15 | google-glog package. 16 | 17 | Package: libgoogle-glog0 18 | Section: libs 19 | Architecture: any 20 | Depends: ${shlibs:Depends} 21 | Description: a library that implements application-level logging. 22 | This library provides logging APIs based on C++-style streams and 23 | various helper macros. 24 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/packages/deb/docs: -------------------------------------------------------------------------------- 1 | AUTHORS 2 | COPYING 3 | ChangeLog 4 | INSTALL 5 | NEWS 6 | README 7 | doc/designstyle.css 8 | doc/glog.html 9 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/packages/deb/libgoogle-glog-dev.dirs: -------------------------------------------------------------------------------- 1 | usr/lib 2 | usr/lib/pkgconfig 3 | usr/include 4 | usr/include/glog 5 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/packages/deb/libgoogle-glog-dev.install: -------------------------------------------------------------------------------- 1 | usr/include/glog/* 2 | usr/lib/lib*.so 3 | usr/lib/lib*.a 4 | usr/lib/*.la 5 | usr/lib/pkgconfig/* 6 | debian/tmp/usr/include/glog/* 7 | debian/tmp/usr/lib/lib*.so 8 | debian/tmp/usr/lib/lib*.a 9 | debian/tmp/usr/lib/*.la 10 | debian/tmp/usr/lib/pkgconfig/* 11 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/packages/deb/libgoogle-glog0.dirs: -------------------------------------------------------------------------------- 1 | usr/lib 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/glog-0.3.3/packages/deb/libgoogle-glog0.install: -------------------------------------------------------------------------------- 1 | usr/lib/lib*.so.* 2 | debian/tmp/usr/lib/lib*.so.* 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/googletest/googletest-release-1.8.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/cpp/3rdparty/googletest/googletest-release-1.8.0.tar.gz -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.h text 3 | *.cpp text 4 | *.json text 5 | *.in text 6 | *.sh eol=lf 7 | *.bat eol=crlf 8 | *.vcproj eol=crlf 9 | *.vcxproj eol=crlf 10 | *.sln eol=crlf 11 | devtools/agent_vm* eol=crlf 12 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/.gitignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | /build-*/ 3 | *.pyc 4 | *.swp 5 | *.actual 6 | *.actual-rewrite 7 | *.process-output 8 | *.rewrite 9 | /bin/ 10 | /libs/ 11 | /doc/doxyfile 12 | /dist/ 13 | #/version 14 | #/include/json/version.h 15 | 16 | # MSVC project files: 17 | *.sln 18 | *.vcxproj 19 | *.filters 20 | *.user 21 | *.sdf 22 | *.opensdf 23 | *.suo 24 | 25 | # MSVC build files: 26 | *.lib 27 | *.obj 28 | *.tlog/ 29 | *.pdb 30 | 31 | # CMake-generated files: 32 | CMakeFiles/ 33 | *.cmake 34 | /pkg-config/jsoncpp.pc 35 | jsoncpp_lib_static.dir/ 36 | 37 | # In case someone runs cmake in the root-dir: 38 | /CMakeCache.txt 39 | /Makefile 40 | /include/Makefile 41 | /src/Makefile 42 | /src/jsontestrunner/Makefile 43 | /src/jsontestrunner/jsontestrunner_exe 44 | /src/lib_json/Makefile 45 | /src/test_lib_json/Makefile 46 | /src/test_lib_json/jsoncpp_test 47 | *.a 48 | 49 | # eclipse project files 50 | .project 51 | .cproject 52 | /.settings/ 53 | 54 | # DS_Store 55 | .DS_Store 56 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/appveyor.yml: -------------------------------------------------------------------------------- 1 | clone_folder: c:\projects\jsoncpp 2 | 3 | environment: 4 | matrix: 5 | - CMAKE_GENERATOR: Visual Studio 12 2013 6 | - CMAKE_GENERATOR: Visual Studio 12 2013 Win64 7 | - CMAKE_GENERATOR: Visual Studio 14 2015 8 | - CMAKE_GENERATOR: Visual Studio 14 2015 Win64 9 | 10 | build_script: 11 | - cmake --version 12 | - cd c:\projects\jsoncpp 13 | - cmake -G "%CMAKE_GENERATOR%" -DCMAKE_INSTALL_PREFIX=%CD:\=/%/install -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON . 14 | - cmake --build . --config Release --target install 15 | 16 | deploy: 17 | provider: GitHub 18 | auth_token: 19 | secure: K2Tp1q8pIZ7rs0Ot24ZMWuwr12Ev6Tc6QkhMjGQxoQG3ng1pXtgPasiJ45IDXGdg 20 | on: 21 | branch: master 22 | appveyor_repo_tag: true 23 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/devtools/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2010 Baptiste Lepilleur and The JsonCpp Authors 2 | # Distributed under MIT license, or public domain if desired and 3 | # recognized in your jurisdiction. 4 | # See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | # module 7 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/devtools/agent_vmxp.json: -------------------------------------------------------------------------------- 1 | { 2 | "cmake_variants" : [ 3 | {"name": "generator", 4 | "generators": [ 5 | {"generator": [ 6 | "Visual Studio 6", 7 | "Visual Studio 7", 8 | "Visual Studio 8 2005" 9 | ] 10 | } 11 | ] 12 | }, 13 | {"name": "shared_dll", 14 | "variables": [ 15 | ["BUILD_SHARED_LIBS=true"], 16 | ["BUILD_SHARED_LIBS=false"] 17 | ] 18 | }, 19 | {"name": "build_type", 20 | "build_types": [ 21 | "debug", 22 | "release" 23 | ] 24 | } 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/doc/footer.html: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/doc/header.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | JsonCpp - JSON data format manipulation library 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 18 | 21 | 22 |
14 | 15 | JsonCpp project page 16 | 17 | 19 | JsonCpp home page 20 |
23 | 24 |
25 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/doc/readme.txt: -------------------------------------------------------------------------------- 1 | The documentation is generated using doxygen (http://www.doxygen.org). 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/doc/roadmap.dox: -------------------------------------------------------------------------------- 1 | /*! \page roadmap JsonCpp roadmap 2 | Moved to: https://github.com/open-source-parsers/jsoncpp/wiki/Roadmap 3 | */ 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/include/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | FILE(GLOB INCLUDE_FILES "json/*.h") 2 | INSTALL(FILES ${INCLUDE_FILES} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/json) 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/include/json/autolink.h: -------------------------------------------------------------------------------- 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors 2 | // Distributed under MIT license, or public domain if desired and 3 | // recognized in your jurisdiction. 4 | // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | #ifndef JSON_AUTOLINK_H_INCLUDED 7 | #define JSON_AUTOLINK_H_INCLUDED 8 | 9 | #include "config.h" 10 | 11 | #ifdef JSON_IN_CPPTL 12 | #include 13 | #endif 14 | 15 | #if !defined(JSON_NO_AUTOLINK) && !defined(JSON_DLL_BUILD) && \ 16 | !defined(JSON_IN_CPPTL) 17 | #define CPPTL_AUTOLINK_NAME "json" 18 | #undef CPPTL_AUTOLINK_DLL 19 | #ifdef JSON_DLL 20 | #define CPPTL_AUTOLINK_DLL 21 | #endif 22 | #include "autolink.h" 23 | #endif 24 | 25 | #endif // JSON_AUTOLINK_H_INCLUDED 26 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/include/json/forwards.h: -------------------------------------------------------------------------------- 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors 2 | // Distributed under MIT license, or public domain if desired and 3 | // recognized in your jurisdiction. 4 | // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | #ifndef JSON_FORWARDS_H_INCLUDED 7 | #define JSON_FORWARDS_H_INCLUDED 8 | 9 | #if !defined(JSON_IS_AMALGAMATION) 10 | #include "config.h" 11 | #endif // if !defined(JSON_IS_AMALGAMATION) 12 | 13 | namespace Json { 14 | 15 | // writer.h 16 | class FastWriter; 17 | class StyledWriter; 18 | 19 | // reader.h 20 | class Reader; 21 | 22 | // features.h 23 | class Features; 24 | 25 | // value.h 26 | typedef unsigned int ArrayIndex; 27 | class StaticString; 28 | class Path; 29 | class PathArgument; 30 | class Value; 31 | class ValueIteratorBase; 32 | class ValueIterator; 33 | class ValueConstIterator; 34 | 35 | } // namespace Json 36 | 37 | #endif // JSON_FORWARDS_H_INCLUDED 38 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/include/json/json.h: -------------------------------------------------------------------------------- 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors 2 | // Distributed under MIT license, or public domain if desired and 3 | // recognized in your jurisdiction. 4 | // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | #ifndef JSON_JSON_H_INCLUDED 7 | #define JSON_JSON_H_INCLUDED 8 | 9 | #include "autolink.h" 10 | #include "value.h" 11 | #include "reader.h" 12 | #include "writer.h" 13 | #include "features.h" 14 | 15 | #endif // JSON_JSON_H_INCLUDED 16 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/include/json/version.h: -------------------------------------------------------------------------------- 1 | // DO NOT EDIT. This file (and "version") is generated by CMake. 2 | // Run CMake configure step to update it. 3 | #ifndef JSON_VERSION_H_INCLUDED 4 | # define JSON_VERSION_H_INCLUDED 5 | 6 | # define JSONCPP_VERSION_STRING "1.8.3" 7 | # define JSONCPP_VERSION_MAJOR 1 8 | # define JSONCPP_VERSION_MINOR 8 9 | # define JSONCPP_VERSION_PATCH 3 10 | # define JSONCPP_VERSION_QUALIFIER 11 | # define JSONCPP_VERSION_HEXA ((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | (JSONCPP_VERSION_PATCH << 8)) 12 | 13 | #ifdef JSONCPP_USING_SECURE_MEMORY 14 | #undef JSONCPP_USING_SECURE_MEMORY 15 | #endif 16 | #define JSONCPP_USING_SECURE_MEMORY 0 17 | // If non-zero, the library zeroes any memory that it has allocated before 18 | // it frees its memory. 19 | 20 | #endif // JSON_VERSION_H_INCLUDED 21 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/jsoncpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/jsoncpp.o -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/pkg-config/jsoncpp.pc.in: -------------------------------------------------------------------------------- 1 | libdir=@CMAKE_INSTALL_FULL_LIBDIR@ 2 | includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ 3 | 4 | Name: jsoncpp 5 | Description: A C++ library for interacting with JSON 6 | Version: @JSONCPP_VERSION@ 7 | URL: https://github.com/open-source-parsers/jsoncpp 8 | Libs: -L${libdir} -ljsoncpp 9 | Cflags: -I${includedir} 10 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ADD_SUBDIRECTORY(lib_json) 2 | IF(JSONCPP_WITH_TESTS) 3 | ADD_SUBDIRECTORY(jsontestrunner) 4 | ADD_SUBDIRECTORY(test_lib_json) 5 | ENDIF() 6 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/src/lib_json/version.h.in: -------------------------------------------------------------------------------- 1 | // DO NOT EDIT. This file (and "version") is generated by CMake. 2 | // Run CMake configure step to update it. 3 | #ifndef JSON_VERSION_H_INCLUDED 4 | # define JSON_VERSION_H_INCLUDED 5 | 6 | # define JSONCPP_VERSION_STRING "@JSONCPP_VERSION@" 7 | # define JSONCPP_VERSION_MAJOR @JSONCPP_VERSION_MAJOR@ 8 | # define JSONCPP_VERSION_MINOR @JSONCPP_VERSION_MINOR@ 9 | # define JSONCPP_VERSION_PATCH @JSONCPP_VERSION_PATCH@ 10 | # define JSONCPP_VERSION_QUALIFIER 11 | # define JSONCPP_VERSION_HEXA ((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | (JSONCPP_VERSION_PATCH << 8)) 12 | 13 | #ifdef JSONCPP_USING_SECURE_MEMORY 14 | #undef JSONCPP_USING_SECURE_MEMORY 15 | #endif 16 | #define JSONCPP_USING_SECURE_MEMORY @JSONCPP_USE_SECURE_MEMORY@ 17 | // If non-zero, the library zeroes any memory that it has allocated before 18 | // it frees its memory. 19 | 20 | #endif // JSON_VERSION_H_INCLUDED 21 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/cleantests.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007 Baptiste Lepilleur and The JsonCpp Authors 2 | # Distributed under MIT license, or public domain if desired and 3 | # recognized in your jurisdiction. 4 | # See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | """Removes all files created during testing.""" 7 | 8 | import glob 9 | import os 10 | 11 | paths = [] 12 | for pattern in [ '*.actual', '*.actual-rewrite', '*.rewrite', '*.process-output' ]: 13 | paths += glob.glob('data/' + pattern) 14 | 15 | for path in paths: 16 | os.unlink(path) 17 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/fail_test_array_01.json: -------------------------------------------------------------------------------- 1 | [ 1 2 3] 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_array_01.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_array_01.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_array_02.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]=1 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_array_02.json: -------------------------------------------------------------------------------- 1 | [1] 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_array_03.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]=1 3 | .[1]=2 4 | .[2]=3 5 | .[3]=4 6 | .[4]=5 7 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_array_03.json: -------------------------------------------------------------------------------- 1 | [ 1, 2 , 3,4,5] 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_array_04.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]=1 3 | .[1]="abc" 4 | .[2]=12.3 5 | .[3]=-4 6 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_array_04.json: -------------------------------------------------------------------------------- 1 | [1, "abc" , 12.3, -4] 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_array_05.json: -------------------------------------------------------------------------------- 1 | [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_array_06.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" 3 | .[1]="bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb" 4 | .[2]="ccccccccccccccccccccccc" 5 | .[3]="dddddddddddddddddddddddddddddddddddddddddddddddddddd" 6 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_array_06.json: -------------------------------------------------------------------------------- 1 | [ "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 2 | "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", 3 | "ccccccccccccccccccccccc", 4 | "dddddddddddddddddddddddddddddddddddddddddddddddddddd" ] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_01.expected: -------------------------------------------------------------------------------- 1 | .=123456789 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_01.json: -------------------------------------------------------------------------------- 1 | 0123456789 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_02.expected: -------------------------------------------------------------------------------- 1 | .=-123456789 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_02.json: -------------------------------------------------------------------------------- 1 | -0123456789 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_03.expected: -------------------------------------------------------------------------------- 1 | .=1.2345678 2 | 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_03.json: -------------------------------------------------------------------------------- 1 | 1.2345678 2 | 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_04.expected: -------------------------------------------------------------------------------- 1 | .="abcdef" 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_04.json: -------------------------------------------------------------------------------- 1 | "abcdef" 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_05.expected: -------------------------------------------------------------------------------- 1 | .=null 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_05.json: -------------------------------------------------------------------------------- 1 | null 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_06.expected: -------------------------------------------------------------------------------- 1 | .=true 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_06.json: -------------------------------------------------------------------------------- 1 | true 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_07.expected: -------------------------------------------------------------------------------- 1 | .=false 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_07.json: -------------------------------------------------------------------------------- 1 | false 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_08.expected: -------------------------------------------------------------------------------- 1 | // C++ style comment 2 | .=null 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_08.json: -------------------------------------------------------------------------------- 1 | // C++ style comment 2 | null 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_09.expected: -------------------------------------------------------------------------------- 1 | /* C style comment 2 | */ 3 | .=null 4 | 5 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_basic_09.json: -------------------------------------------------------------------------------- 1 | /* C style comment 2 | */ 3 | null 4 | 5 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_comment_00.expected: -------------------------------------------------------------------------------- 1 | // Comment for array 2 | .=[] 3 | // Comment within array 4 | .[0]="one-element" 5 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_comment_00.json: -------------------------------------------------------------------------------- 1 | // Comment for array 2 | [ 3 | // Comment within array 4 | "one-element" 5 | ] 6 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_comment_01.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | // Comment for array 3 | .test=[] 4 | // Comment within array 5 | .test[0]={} 6 | .test[0].a="aaa" 7 | .test[1]={} 8 | .test[1].b="bbb" 9 | .test[2]={} 10 | .test[2].c="ccc" 11 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_comment_01.json: -------------------------------------------------------------------------------- 1 | { 2 | "test": 3 | // Comment for array 4 | [ 5 | // Comment within array 6 | { "a" : "aaa" }, // Comment for a 7 | { "b" : "bbb" }, // Comment for b 8 | { "c" : "ccc" } // Comment for c 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_comment_02.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | /* C-style comment 3 | 4 | C-style-2 comment */ 5 | .c-test={} 6 | .c-test.a=1 7 | /* Internal comment c-style */ 8 | .c-test.b=2 9 | // C++-style comment 10 | .cpp-test={} 11 | // Multiline comment cpp-style 12 | // Second line 13 | .cpp-test.c=3 14 | // Comment before double 15 | .cpp-test.d=4.1 16 | // Comment before string 17 | .cpp-test.e="e-string" 18 | // Comment before true 19 | .cpp-test.f=true 20 | // Comment before false 21 | .cpp-test.g=false 22 | // Comment before null 23 | .cpp-test.h=null 24 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_comment_02.json: -------------------------------------------------------------------------------- 1 | { 2 | /* C-style comment 3 | 4 | C-style-2 comment */ 5 | "c-test" : { 6 | "a" : 1, 7 | /* Internal comment c-style */ 8 | "b" : 2 9 | }, 10 | // C++-style comment 11 | "cpp-test" : { 12 | // Multiline comment cpp-style 13 | // Second line 14 | "c" : 3, 15 | // Comment before double 16 | "d" : 4.1, 17 | // Comment before string 18 | "e" : "e-string", 19 | // Comment before true 20 | "f" : true, 21 | // Comment before false 22 | "g" : false, 23 | // Comment before null 24 | "h" : null 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_complex_01.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | .attribute=[] 3 | .attribute[0]="random" 4 | .attribute[1]="short" 5 | .attribute[2]="bold" 6 | .attribute[3]=12 7 | .attribute[4]={} 8 | .attribute[4].height=7 9 | .attribute[4].width=64 10 | .count=1234 11 | .name={} 12 | .name.aka="T.E.S.T." 13 | .name.id=123987 14 | .test={} 15 | .test.1={} 16 | .test.1.2={} 17 | .test.1.2.3={} 18 | .test.1.2.3.coord=[] 19 | .test.1.2.3.coord[0]=1 20 | .test.1.2.3.coord[1]=2 21 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_complex_01.json: -------------------------------------------------------------------------------- 1 | { 2 | "count" : 1234, 3 | "name" : { "aka" : "T.E.S.T.", "id" : 123987 }, 4 | "attribute" : [ 5 | "random", 6 | "short", 7 | "bold", 8 | 12, 9 | { "height" : 7, "width" : 64 } 10 | ], 11 | "test": { "1" : 12 | { "2" : 13 | { "3" : { "coord" : [ 1,2] } 14 | } 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_integer_01.expected: -------------------------------------------------------------------------------- 1 | // Max signed integer 2 | .=2147483647 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_integer_01.json: -------------------------------------------------------------------------------- 1 | // Max signed integer 2 | 2147483647 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_integer_02.expected: -------------------------------------------------------------------------------- 1 | // Min signed integer 2 | .=-2147483648 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_integer_02.json: -------------------------------------------------------------------------------- 1 | // Min signed integer 2 | -2147483648 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_integer_03.expected: -------------------------------------------------------------------------------- 1 | // Max unsigned integer 2 | .=4294967295 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_integer_03.json: -------------------------------------------------------------------------------- 1 | // Max unsigned integer 2 | 4294967295 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_integer_04.expected: -------------------------------------------------------------------------------- 1 | // Min unsigned integer 2 | .=0 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_integer_04.json: -------------------------------------------------------------------------------- 1 | // Min unsigned integer 2 | 0 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_integer_05.expected: -------------------------------------------------------------------------------- 1 | .=1 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_integer_05.json: -------------------------------------------------------------------------------- 1 | 1 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_integer_06_64bits.expected: -------------------------------------------------------------------------------- 1 | .=9223372036854775808 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_integer_06_64bits.json: -------------------------------------------------------------------------------- 1 | 9223372036854775808 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_integer_07_64bits.expected: -------------------------------------------------------------------------------- 1 | .=-9223372036854775808 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_integer_07_64bits.json: -------------------------------------------------------------------------------- 1 | -9223372036854775808 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_integer_08_64bits.expected: -------------------------------------------------------------------------------- 1 | .=18446744073709551615 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_integer_08_64bits.json: -------------------------------------------------------------------------------- 1 | 18446744073709551615 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_object_01.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_object_01.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_object_02.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | .count=1234 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_object_02.json: -------------------------------------------------------------------------------- 1 | { "count" : 1234 } 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_object_03.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | .attribute="random" 3 | .count=1234 4 | .name="test" 5 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_object_03.json: -------------------------------------------------------------------------------- 1 | { 2 | "count" : 1234, 3 | "name" : "test", 4 | "attribute" : "random" 5 | } 6 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_object_04.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | .=1234 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_object_04.json: -------------------------------------------------------------------------------- 1 | { 2 | "" : 1234 3 | } 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_preserve_comment_01.expected: -------------------------------------------------------------------------------- 1 | /* A comment 2 | at the beginning of the file. 3 | */ 4 | .={} 5 | .first=1 6 | /* Comment before 'second' 7 | */ 8 | .second=2 9 | /* A comment at 10 | the end of the file. 11 | */ 12 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_preserve_comment_01.json: -------------------------------------------------------------------------------- 1 | /* A comment 2 | at the beginning of the file. 3 | */ 4 | { 5 | "first" : 1, // comment after 'first' on the same line 6 | 7 | /* Comment before 'second' 8 | */ 9 | "second" : 2 10 | } 11 | 12 | /* A comment at 13 | the end of the file. 14 | */ 15 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_01.expected: -------------------------------------------------------------------------------- 1 | // 2^33 => out of integer range, switch to double 2 | .=8589934592 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_01.json: -------------------------------------------------------------------------------- 1 | // 2^33 => out of integer range, switch to double 2 | 8589934592 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_02.expected: -------------------------------------------------------------------------------- 1 | // -2^32 => out of signed integer range, switch to double 2 | .=-4294967295 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_02.json: -------------------------------------------------------------------------------- 1 | // -2^32 => out of signed integer range, switch to double 2 | -4294967295 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_03.expected: -------------------------------------------------------------------------------- 1 | // -2^32 => out of signed integer range, switch to double 2 | .=-4294967295 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_03.json: -------------------------------------------------------------------------------- 1 | // -2^32 => out of signed integer range, switch to double 2 | -4294967295 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_04.expected: -------------------------------------------------------------------------------- 1 | // 1.2345678 2 | .=1.2345678 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_04.json: -------------------------------------------------------------------------------- 1 | // 1.2345678 2 | 12345678e-7 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_05.expected: -------------------------------------------------------------------------------- 1 | // 1234567.8 2 | .=1234567.8 3 | 4 | 5 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_05.json: -------------------------------------------------------------------------------- 1 | // 1234567.8 2 | 0.12345678e7 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_06.expected: -------------------------------------------------------------------------------- 1 | // -1.2345678 2 | .=-1.2345678 3 | 4 | 5 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_06.json: -------------------------------------------------------------------------------- 1 | // -1.2345678 2 | -12345678e-7 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_07.expected: -------------------------------------------------------------------------------- 1 | // -1234567.8 2 | .=-1234567.8 3 | 4 | 5 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_07.json: -------------------------------------------------------------------------------- 1 | // -1234567.8 2 | -0.12345678e7 3 | 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_08.expected: -------------------------------------------------------------------------------- 1 | // Out of 32-bit integer range, switch to double in 32-bit mode. Length the 2 | // same as UINT_MAX in base 10 and digit less than UINT_MAX's last digit in 3 | // order to catch a bug in the parsing code. 4 | .=4300000001 5 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_08.json: -------------------------------------------------------------------------------- 1 | // Out of 32-bit integer range, switch to double in 32-bit mode. Length the 2 | // same as UINT_MAX in base 10 and digit less than UINT_MAX's last digit in 3 | // order to catch a bug in the parsing code. 4 | 4300000001 5 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_09.expected: -------------------------------------------------------------------------------- 1 | // Out of 64-bit integer range, switch to double in all modes. Length the same 2 | // as ULONG_MAX in base 10 and digit less than ULONG_MAX's last digit in order 3 | // to catch a bug in the parsing code. 4 | .=1.9e+19 5 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_09.json: -------------------------------------------------------------------------------- 1 | // Out of 64-bit integer range, switch to double in all modes. Length the same 2 | // as ULONG_MAX in base 10 and digit less than ULONG_MAX's last digit in order 3 | // to catch a bug in the parsing code. 4 | 19000000000000000001 5 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_10.expected: -------------------------------------------------------------------------------- 1 | // Out of 32-bit signed integer range, switch to double in all modes. Length 2 | // the same as INT_MIN in base 10 and digit less than INT_MIN's last digit in 3 | // order to catch a bug in the parsing code. 4 | .=-2200000001 5 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_10.json: -------------------------------------------------------------------------------- 1 | // Out of 32-bit signed integer range, switch to double in all modes. Length 2 | // the same as INT_MIN in base 10 and digit less than INT_MIN's last digit in 3 | // order to catch a bug in the parsing code. 4 | -2200000001 5 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_11.expected: -------------------------------------------------------------------------------- 1 | // Out of 64-bit signed integer range, switch to double in all modes. Length 2 | // the same as LONG_MIN in base 10 and digit less than LONG_MIN's last digit in 3 | // order to catch a bug in the parsing code. 4 | .=-9.3e+18 5 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_11.json: -------------------------------------------------------------------------------- 1 | // Out of 64-bit signed integer range, switch to double in all modes. Length 2 | // the same as LONG_MIN in base 10 and digit less than LONG_MIN's last digit in 3 | // order to catch a bug in the parsing code. 4 | -9300000000000000001 5 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_12.expected: -------------------------------------------------------------------------------- 1 | // 2^64 -> switch to double. 2 | .=1.844674407370955e+19 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_real_12.json: -------------------------------------------------------------------------------- 1 | // 2^64 -> switch to double. 2 | 18446744073709551616 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_01.expected: -------------------------------------------------------------------------------- 1 | .="!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~" -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_01.json: -------------------------------------------------------------------------------- 1 | "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_03.expected: -------------------------------------------------------------------------------- 1 | .="http://jsoncpp.sourceforge.net/" -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_03.json: -------------------------------------------------------------------------------- 1 | "http:\/\/jsoncpp.sourceforge.net\/" 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_04.expected: -------------------------------------------------------------------------------- 1 | .=""abc\def"" 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_04.json: -------------------------------------------------------------------------------- 1 | "\"abc\\def\"" 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_05.expected: -------------------------------------------------------------------------------- 1 | .="\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_05.json: -------------------------------------------------------------------------------- 1 | "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_unicode_01.expected: -------------------------------------------------------------------------------- 1 | .="a" 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_unicode_01.json: -------------------------------------------------------------------------------- 1 | "\u0061" -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_unicode_02.expected: -------------------------------------------------------------------------------- 1 | .="¢" 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_unicode_02.json: -------------------------------------------------------------------------------- 1 | "\u00A2" -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_unicode_03.expected: -------------------------------------------------------------------------------- 1 | .="€" 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_unicode_03.json: -------------------------------------------------------------------------------- 1 | "\u20AC" -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_unicode_04.expected: -------------------------------------------------------------------------------- 1 | .="𝄞" 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_unicode_04.json: -------------------------------------------------------------------------------- 1 | "\uD834\uDD1E" -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_unicode_05.expected: -------------------------------------------------------------------------------- 1 | .="Zażółć gęślą jaźń" 2 | 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/data/test_string_unicode_05.json: -------------------------------------------------------------------------------- 1 | "Zażółć gęślą jaźń" -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/generate_expected.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007 Baptiste Lepilleur and The JsonCpp Authors 2 | # Distributed under MIT license, or public domain if desired and 3 | # recognized in your jurisdiction. 4 | # See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | from __future__ import print_function 7 | import glob 8 | import os.path 9 | for path in glob.glob('*.json'): 10 | text = file(path,'rt').read() 11 | target = os.path.splitext(path)[0] + '.expected' 12 | if os.path.exists(target): 13 | print('skipping:', target) 14 | else: 15 | print('creating:', target) 16 | file(target,'wt').write(text) 17 | 18 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail1.json: -------------------------------------------------------------------------------- 1 | "A JSON payload should be an object or array, not a string." -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail10.json: -------------------------------------------------------------------------------- 1 | {"Extra value after close": true} "misplaced quoted value" -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail11.json: -------------------------------------------------------------------------------- 1 | {"Illegal expression": 1 + 2} -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail12.json: -------------------------------------------------------------------------------- 1 | {"Illegal invocation": alert()} -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail13.json: -------------------------------------------------------------------------------- 1 | {"Numbers cannot have leading zeroes": 013} -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail14.json: -------------------------------------------------------------------------------- 1 | {"Numbers cannot be hex": 0x14} -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail15.json: -------------------------------------------------------------------------------- 1 | ["Illegal backslash escape: \x15"] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail16.json: -------------------------------------------------------------------------------- 1 | [\naked] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail17.json: -------------------------------------------------------------------------------- 1 | ["Illegal backslash escape: \017"] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail18.json: -------------------------------------------------------------------------------- 1 | [[[[[[[[[[[[[[[[[[[["Too deep"]]]]]]]]]]]]]]]]]]]] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail19.json: -------------------------------------------------------------------------------- 1 | {"Missing colon" null} -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail2.json: -------------------------------------------------------------------------------- 1 | ["Unclosed array" -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail20.json: -------------------------------------------------------------------------------- 1 | {"Double colon":: null} -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail21.json: -------------------------------------------------------------------------------- 1 | {"Comma instead of colon", null} -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail22.json: -------------------------------------------------------------------------------- 1 | ["Colon instead of comma": false] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail23.json: -------------------------------------------------------------------------------- 1 | ["Bad value", truth] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail24.json: -------------------------------------------------------------------------------- 1 | ['single quote'] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail25.json: -------------------------------------------------------------------------------- 1 | [" tab character in string "] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail26.json: -------------------------------------------------------------------------------- 1 | ["tab\ character\ in\ string\ "] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail27.json: -------------------------------------------------------------------------------- 1 | ["line 2 | break"] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail28.json: -------------------------------------------------------------------------------- 1 | ["line\ 2 | break"] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail29.json: -------------------------------------------------------------------------------- 1 | [0e] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail3.json: -------------------------------------------------------------------------------- 1 | {unquoted_key: "keys must be quoted"} -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail30.json: -------------------------------------------------------------------------------- 1 | [0e+] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail31.json: -------------------------------------------------------------------------------- 1 | [0e+-1] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail32.json: -------------------------------------------------------------------------------- 1 | {"Comma instead if closing brace": true, -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail33.json: -------------------------------------------------------------------------------- 1 | ["mismatch"} -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail4.json: -------------------------------------------------------------------------------- 1 | ["extra comma",] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail5.json: -------------------------------------------------------------------------------- 1 | ["double extra comma",,] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail6.json: -------------------------------------------------------------------------------- 1 | [ , "<-- missing value"] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail7.json: -------------------------------------------------------------------------------- 1 | ["Comma after the close"], -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail8.json: -------------------------------------------------------------------------------- 1 | ["Extra close"]] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/fail9.json: -------------------------------------------------------------------------------- 1 | {"Extra comma": true,} -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/pass2.json: -------------------------------------------------------------------------------- 1 | [[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]] -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/pass3.json: -------------------------------------------------------------------------------- 1 | { 2 | "JSON Test Pattern pass3": { 3 | "The outermost value": "must be an object or array.", 4 | "In this test": "It is an object." 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/test/jsonchecker/readme.txt: -------------------------------------------------------------------------------- 1 | Test suite from http://json.org/JSON_checker/. 2 | 3 | If the JSON_checker is working correctly, it must accept all of the pass*.json files and reject all of the fail*.json files. 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/travis.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | # This is called by `.travis.yml` via Travis CI. 3 | # Travis supplies $TRAVIS_OS_NAME. 4 | # http://docs.travis-ci.com/user/multi-os/ 5 | # Our .travis.yml also defines: 6 | # - SHARED_LIB=ON/OFF 7 | # - STATIC_LIB=ON/OFF 8 | # - CMAKE_PKG=ON/OFF 9 | # - BUILD_TYPE=release/debug 10 | # - VERBOSE_MAKE=false/true 11 | # - VERBOSE (set or not) 12 | 13 | # -e: fail on error 14 | # -v: show commands 15 | # -x: show expanded commands 16 | set -vex 17 | 18 | env | sort 19 | 20 | meson --buildtype ${BUILD_TYPE} --default-library ${LIB_TYPE} . build-${LIB_TYPE} 21 | ninja -v -C build-${LIB_TYPE} 22 | ninja -v -C build-${LIB_TYPE} test 23 | rm -r build-${LIB_TYPE} 24 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/version: -------------------------------------------------------------------------------- 1 | 1.8.3 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/jsoncpp-1.8.3/version.in: -------------------------------------------------------------------------------- 1 | @JSONCPP_VERSION@ 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/libb64-1.2.1/.gitignore: -------------------------------------------------------------------------------- 1 | base64/base64 2 | examples/c-example1 3 | examples/c-example2 4 | examples/decoded.txt 5 | examples/encoded.txt 6 | src/cdecode.o 7 | src/cencode.o 8 | src/libb64.a 9 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/libb64-1.2.1/AUTHORS: -------------------------------------------------------------------------------- 1 | libb64: Base64 Encoding/Decoding Routines 2 | ====================================== 3 | 4 | Authors: 5 | ------- 6 | 7 | Chris Venter chris.venter@gmail.com http://controlaltfire.com 8 | 9 | Contributors: 10 | ------------ 11 | 12 | Mario Rugiero 13 | Shlok Datye 14 | Peter K. Lee 15 | 16 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/libb64-1.2.1/Makefile: -------------------------------------------------------------------------------- 1 | all: all_src all_base64 all_examples 2 | 3 | all_src: 4 | $(MAKE) -C src 5 | all_base64: all_src 6 | $(MAKE) -C base64 7 | all_examples: 8 | $(MAKE) -C examples 9 | 10 | clean: clean_src clean_base64 clean_include clean_examples 11 | rm -f *~ *.bak 12 | 13 | clean_include: 14 | rm -f include/b64/*~ 15 | 16 | clean_src: 17 | $(MAKE) -C src clean; 18 | clean_base64: 19 | $(MAKE) -C base64 clean; 20 | clean_examples: 21 | $(MAKE) -C examples clean; 22 | 23 | distclean: clean distclean_src distclean_base64 distclean_examples 24 | 25 | distclean_src: 26 | $(MAKE) -C src distclean; 27 | distclean_base64: 28 | $(MAKE) -C base64 distclean; 29 | distclean_examples: 30 | $(MAKE) -C examples distclean; 31 | 32 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/libb64-1.2.1/TODO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/cpp/3rdparty/libb64-1.2.1/TODO -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/libb64-1.2.1/base64/VisualStudioProject/Makefile: -------------------------------------------------------------------------------- 1 | DEBRIS = base64.sdf base64.suo base64.vcxproj.user 2 | 3 | all: 4 | 5 | clean: 6 | rm -rf Debug Release 7 | 8 | distclean: clean 9 | rm -f $(DEBRIS) 10 | 11 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/libb64-1.2.1/base64/VisualStudioProject/base64.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "base64", "base64.vcxproj", "{0B094121-DC64-4D74-AFA0-750B83F800D0}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {0B094121-DC64-4D74-AFA0-750B83F800D0}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {0B094121-DC64-4D74-AFA0-750B83F800D0}.Debug|Win32.Build.0 = Debug|Win32 14 | {0B094121-DC64-4D74-AFA0-750B83F800D0}.Release|Win32.ActiveCfg = Release|Win32 15 | {0B094121-DC64-4D74-AFA0-750B83F800D0}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/libb64-1.2.1/base64/depend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/cpp/3rdparty/libb64-1.2.1/base64/depend -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/libb64-1.2.1/examples/Makefile: -------------------------------------------------------------------------------- 1 | BINARIES = c-example1 c-example2 2 | 3 | CFLAGS += -g 4 | 5 | SOURCES = c-example1.c c-example2.c 6 | 7 | TARGETS = $(BINARIES) 8 | 9 | DEBRIS = encoded.txt decoded.txt 10 | 11 | # only because we use ANSI C, not required to use libb64! 12 | CFLAGS += -Werror -pedantic 13 | CFLAGS += -I../include 14 | 15 | CXXFLAGS += $(CFLAGS) 16 | 17 | vpath %.h ../include/b64 18 | vpath %.a ../src 19 | 20 | .PHONY : clean 21 | 22 | all: $(TARGETS) test 23 | 24 | c-example1 c-example2: libb64.a 25 | 26 | clean: 27 | rm -f *.exe* *.o $(TARGETS) $(DEBRIS) *.bak *~ 28 | 29 | distclean: clean 30 | rm -f depend 31 | 32 | depend: $(SOURCES) 33 | makedepend -f- $(CFLAGS) $(SOURCES) 2> /dev/null 1> depend 34 | 35 | test-c-example1: c-example1 36 | ./c-example1 37 | 38 | test-c-example2: c-example2 39 | ./c-example2 loremgibson.txt encoded.txt decoded.txt 40 | diff loremgibson.txt decoded.txt 41 | 42 | test: test-c-example1 test-c-example2 43 | 44 | -include depend 45 | 46 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/libb64-1.2.1/examples/README.md: -------------------------------------------------------------------------------- 1 | libb64 examples 2 | =============== 3 | 4 | This is a collection of simple examples describing how to use libb64. 5 | 6 | At the moment, only the C interface is described. 7 | The C++ interface is used in the base64/base64.cc code, if you need 8 | more help please read through that source. 9 | 10 | Files 11 | ----- 12 | 13 | - c-example1.c: shows how to encode/decode a single string 14 | - c-example2.c: shows how to directly encode/decode a file 15 | 16 | Note that the examples are very simple, but should illustrate the interface 17 | usage adequately. 18 | 19 | Targets 20 | ------- 21 | 22 | The example code compiles using 'make all', which builds the examples 23 | and runs the 'test' target. 24 | The test for c-example2.c uses diff to compare the original and decoded 25 | data directly. 26 | 27 | loremgibson.txt? 28 | ---------------- 29 | 30 | The loremgibson.txt file is a plain text containing content from 31 | here: http://loremgibson.com/ 32 | It is used in c-example2.c as the input data file. 33 | 34 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/libb64-1.2.1/examples/depend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/cpp/3rdparty/libb64-1.2.1/examples/depend -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/libb64-1.2.1/include/b64/cdecode.h: -------------------------------------------------------------------------------- 1 | /* 2 | cdecode.h - c header for a base64 decoding algorithm 3 | 4 | This is part of the libb64 project, and has been placed in the public domain. 5 | For details, see http://sourceforge.net/projects/libb64 6 | */ 7 | 8 | #ifndef BASE64_CDECODE_H 9 | #define BASE64_CDECODE_H 10 | 11 | typedef enum 12 | { 13 | step_a, step_b, step_c, step_d 14 | } base64_decodestep; 15 | 16 | typedef struct 17 | { 18 | base64_decodestep step; 19 | char plainchar; 20 | } base64_decodestate; 21 | 22 | void base64_init_decodestate(base64_decodestate* state_in); 23 | 24 | int base64_decode_value(char value_in); 25 | 26 | int base64_decode_block(const char* code_in, const int length_in, char* plaintext_out, base64_decodestate* state_in); 27 | 28 | #endif /* BASE64_CDECODE_H */ 29 | 30 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/libb64-1.2.1/include/b64/cencode.h: -------------------------------------------------------------------------------- 1 | /* 2 | cencode.h - c header for a base64 encoding algorithm 3 | 4 | This is part of the libb64 project, and has been placed in the public domain. 5 | For details, see http://sourceforge.net/projects/libb64 6 | */ 7 | 8 | #ifndef BASE64_CENCODE_H 9 | #define BASE64_CENCODE_H 10 | 11 | typedef enum 12 | { 13 | step_A, step_B, step_C 14 | } base64_encodestep; 15 | 16 | typedef struct 17 | { 18 | base64_encodestep step; 19 | char result; 20 | int stepcount; 21 | } base64_encodestate; 22 | 23 | void base64_init_encodestate(base64_encodestate* state_in); 24 | 25 | char base64_encode_value(char value_in); 26 | 27 | int base64_encode_block(const char* plaintext_in, int length_in, char* code_out, base64_encodestate* state_in); 28 | 29 | int base64_encode_blockend(char* code_out, base64_encodestate* state_in); 30 | 31 | #endif /* BASE64_CENCODE_H */ 32 | 33 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/libb64-1.2.1/src/Makefile: -------------------------------------------------------------------------------- 1 | LIBRARIES = libb64.a 2 | 3 | # Build flags (uncomment one) 4 | ############################# 5 | # Release build flags 6 | CFLAGS += -O3 7 | ############################# 8 | # Debug build flags 9 | #CFLAGS += -g 10 | ############################# 11 | 12 | SOURCES = cdecode.c cencode.c 13 | 14 | TARGETS = $(LIBRARIES) 15 | 16 | LINK.o = gcc 17 | 18 | CFLAGS += -fPIC -Werror -pedantic 19 | CFLAGS += -I../include 20 | 21 | vpath %.h ../include/b64 22 | 23 | .PHONY : clean 24 | 25 | all: $(TARGETS) #strip 26 | 27 | libb64.a: cencode.o cdecode.o 28 | $(AR) $(ARFLAGS) $@ $^ 29 | 30 | strip: 31 | strip $(BINARIES) *.exe 32 | 33 | clean: 34 | rm -f *.exe* *.o $(TARGETS) *.bak *~ 35 | 36 | distclean: clean 37 | rm -f depend 38 | 39 | depend: $(SOURCES) 40 | makedepend -f- $(CFLAGS) $(SOURCES) 2> /dev/null 1> depend 41 | 42 | -include depend 43 | 44 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/libb64-1.2.1/src/depend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/cpp/3rdparty/libb64-1.2.1/src/depend -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/libprocess/URB_README.txt: -------------------------------------------------------------------------------- 1 | libprocess was added during URB upgrade to mesos 0.22.0 to satisfy dependency from 'fetcher' 2 | which required 'logging' which required using once.hpp 3 | only include part of libprocess library added here since no compilation needed to use 'once' 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/libprocess/include/process/message.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License 12 | 13 | #ifndef __PROCESS_MESSAGE_HPP__ 14 | #define __PROCESS_MESSAGE_HPP__ 15 | 16 | #include 17 | 18 | #include 19 | 20 | namespace process { 21 | 22 | struct Message 23 | { 24 | std::string name; 25 | UPID from; 26 | UPID to; 27 | std::string body; 28 | }; 29 | 30 | } // namespace process { 31 | 32 | #endif // __PROCESS_MESSAGE_HPP__ 33 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/libprocess/include/process/mime.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License 12 | 13 | #ifndef __PROCESS_MIME_HPP__ 14 | #define __PROCESS_MIME_HPP__ 15 | 16 | #include 17 | #include 18 | 19 | namespace process { 20 | namespace mime { 21 | 22 | extern std::map types; 23 | 24 | void initialize(); 25 | 26 | } // namespace mime { 27 | } // namespace process { 28 | 29 | #endif // __PROCESS_MIME_HPP__ 30 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/makefile-glog.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Univa Corporation 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | ROOT_DIR=./glog-0.3.3 17 | 18 | include ./template.mk 19 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/makefile-libb64.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Univa Corporation 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | ROOT_DIR=./libb64-1.2.1 17 | SUBDIRS=$(ROOT_DIR) 18 | 19 | FILTER_GOALS=deps test distclean 20 | export CC=gcc 21 | export MAKE 22 | 23 | # All needs to be first 24 | all: 25 | $(MAKE) -C $(ROOT_DIR) 26 | 27 | test: 28 | 29 | distclean: 30 | $(MAKE) -C $(ROOT_DIR) clean 31 | 32 | include ../../../util/include.mk 33 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/makefile-protobuf-to-jsoncpp.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Univa Corporation 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | ROOT_DIR=./protobuf-to-jsoncpp-r11 17 | SUBDIRS=$(ROOT_DIR) 18 | 19 | FILTER_GOALS=deps test distclean 20 | 21 | # All needs to be first 22 | all: 23 | 24 | test: 25 | 26 | distclean: 27 | $(MAKE) -C $(ROOT_DIR) clean 28 | 29 | include ../../../util/include.mk 30 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/makefile-redis.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Univa Corporation 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | ROOT_DIR=./redis 17 | SUBDIRS=$(ROOT_DIR) 18 | 19 | FILTER_GOALS=deps test distclean 20 | export MAKE 21 | 22 | # All needs to be first 23 | all: 24 | $(MAKE) -C $(ROOT_DIR) dist 25 | 26 | test: 27 | 28 | distclean: 29 | $(MAKE) -C $(ROOT_DIR) clean 30 | 31 | include ../../../util/include.mk 32 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/meson.build: -------------------------------------------------------------------------------- 1 | run_command('make', '-C', meson.current_source_dir(), check : true) 2 | 3 | glog_inc = include_directories(['glog-0.3.3/build/src', 'glog-0.3.3/src']) 4 | #glog_lib = meson.get_compiler('cpp').find_library('glog', dirs : join_paths(meson.current_build_dir(), 'glog-0.3.3/build/.libs')) 5 | #glog_lib = static_library('libglog.a') 6 | #glog_lib = static_library('glog-0.3.3/build/.libs/libglog.a') 7 | glog_dep = declare_dependency( 8 | # link_with : glog_lib, 9 | include_directories : glog_inc 10 | ) 11 | deps_3rdparty += glog_dep 12 | 13 | protobuf_inc = include_directories(['protobuf-3.3.0/build/src']) 14 | #protobuf_lib = 15 | protobuf_dep - declare_dependency( 16 | # link_with : protobuf_lib, 17 | include_directories : protobuf_inc 18 | ) 19 | deps_3rdparty += protobuf_dep 20 | 21 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/picojson/picojson-1.3.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/cpp/3rdparty/picojson/picojson-1.3.0.tar.gz -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/protobuf-3.3.0/protobuf-3.3.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/cpp/3rdparty/protobuf-3.3.0/protobuf-3.3.0.tar.gz -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/protobuf-to-jsoncpp-r11/.gitignore: -------------------------------------------------------------------------------- 1 | check_json_protobuf 2 | check_protobuf_types.* 3 | check_protobuf_types.* 4 | *.o 5 | *.a 6 | *.so 7 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/protobuf-to-jsoncpp-r11/AUTHORS: -------------------------------------------------------------------------------- 1 | # Names should be added to this file like so: 2 | # Name or Organization 3 | 4 | EMC Corporation (Isilon Division) 5 | 6 | # Initial version authors: 7 | Kevin Regan (k.regan@emc.com, kevin.d.regan@gmail.com) 8 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/protobuf-to-jsoncpp-r11/README: -------------------------------------------------------------------------------- 1 | This is a simple library to convert between Google protocol buffer objects and JsonCpp objects. 2 | 3 | The rudimentary Makefile expects that both protobuf (http://code.google.com/p/protobuf/) and 4 | JsonCpp (http://jsoncpp.sourceforge.net/) are installed in /usr/local. 5 | 6 | The library can then be created with the following command: 7 | 8 | $ make 9 | 10 | A simple test application can be run with the following command: 11 | 12 | $ make test 13 | 14 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/protobuf-to-jsoncpp-r11/README.google: -------------------------------------------------------------------------------- 1 | URL: https://code.google.com/p/protobuf-to-jsoncpp/ 2 | Version: r11 3 | License: 2-clause BSD 4 | License File: LICENSE 5 | 6 | Description: 7 | A library for converting between protobufs and json. 8 | 9 | Local Modifications: 10 | Small fixes to improve portability across versions of libprotobuf. 11 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/protobuf-to-jsoncpp-r11/README.univa: -------------------------------------------------------------------------------- 1 | Support for binary data type added 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis/redis-4.0.2.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/cpp/3rdparty/redis/redis-4.0.2.tar.gz -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files 2 | *.slo 3 | *.lo 4 | *.o 5 | 6 | # Compiled Dynamic libraries 7 | *.so 8 | *.dylib 9 | 10 | # Compiled Static libraries 11 | *.lai 12 | *.la 13 | *.a 14 | 15 | # CMake date 16 | CMakeCache.txt 17 | CMakeFiles 18 | Makefile 19 | cmake_install.cmake 20 | build 21 | cmake_install.cmake.user 22 | CTestTestfile.cmake 23 | Testing 24 | connection_test 25 | datadir.cpp 26 | connection_pool_test 27 | redis3m.cbp 28 | redis3m.pc 29 | patterns_test 30 | docs 31 | cluster_pool_test 32 | Redis3M-VisualStudio/ipch/ 33 | Redis3M-VisualStudio/Release/ 34 | Redis3M-VisualStudio/Debug/ 35 | Redis3M-VisualStudio/Redis3M-VisualStudio/Debug/ 36 | *.sdf 37 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/.travis.yml: -------------------------------------------------------------------------------- 1 | language: cpp 2 | 3 | compiler: 4 | - clang 5 | - gcc 6 | 7 | before_install: 8 | # g++4.8.1 9 | - if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi 10 | 11 | # clang 3.4 12 | - if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi 13 | 14 | - sudo apt-get update -qq 15 | 16 | install: 17 | # g++4.8.1 18 | - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi 19 | - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi 20 | 21 | # clang 3.4 22 | - if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticated -qq clang-3.4; fi 23 | - if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.4"; fi 24 | 25 | - sudo apt-get install libmsgpack-dev libboost-regex-dev libboost-date-time-dev libboost-test-dev libboost-filesystem-dev libhiredis-dev 26 | 27 | # Run the Build script 28 | script: 29 | - cmake . 30 | - sudo make install 31 | - sudo ldconfig 32 | - bash ./run-tests.sh 33 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/Redis3M-VisualStudio/Examples/Examples.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/Redis3M-VisualStudio/Redis3M-VisualStudio/stdafx.h: -------------------------------------------------------------------------------- 1 | // stdafx.h : include file for standard system include files, 2 | // or project specific include files that are used frequently, but 3 | // are changed infrequently 4 | // 5 | 6 | #pragma once 7 | 8 | #include "targetver.h" 9 | 10 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers 11 | #define NO_GDI 12 | 13 | 14 | // TODO: reference additional headers your program requires here 15 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/Redis3M-VisualStudio/Redis3M-VisualStudio/targetver.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // Including SDKDDKVer.h defines the highest available Windows platform. 4 | 5 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and 6 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. 7 | 8 | #include 9 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/TODO.md: -------------------------------------------------------------------------------- 1 | - [ ] C++11 2 | - [x] New command builder 3 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/data/lua/scheduler.lua: -------------------------------------------------------------------------------- 1 | local res = redis.call('ZRANGEBYSCORE',KEYS[1],0,ARGV[1],'LIMIT',0,1) 2 | 3 | if #res > 0 then 4 | redis.call('ZADD', KEYS[1], ARGV[2], res[1]) 5 | return res[1] 6 | else 7 | return false 8 | end 9 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/examples/ha_pool.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace redis3m; 5 | 6 | int main(int argc, char **argv) 7 | { 8 | connection_pool::ptr_t pool = connection_pool::create("", "test"); 9 | 10 | connection::ptr_t c = pool->get(connection::MASTER); 11 | c->run(command("SET") << "foo" << "bar"); 12 | pool->put(c); 13 | 14 | c = pool->get(connection::SLAVE); 15 | std::cout << c->run(command("GET") << "foo" ).str(); 16 | pool->put(c); 17 | } 18 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/examples/publisher.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Carmelo Porcelli 3 | */ 4 | 5 | #include 6 | #include 7 | 8 | using namespace redis3m; 9 | 10 | int main(int argc, char **argv) 11 | { 12 | connection::ptr_t conn = connection::create(); 13 | std::string body; 14 | if (argv[1] != NULL) 15 | { 16 | body = argv[1]; 17 | } 18 | else 19 | { 20 | body = "Undefined"; 21 | } 22 | reply r = conn->run(command("PUBLISH") << "topic" << body); 23 | } 24 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/examples/script.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using namespace redis3m; 6 | 7 | int main(int argc, char **argv) 8 | { 9 | connection::ptr_t conn = connection::create(); 10 | 11 | patterns::script_exec ping_script("return redis.call(\"PING\")"); 12 | 13 | // Automatic SHA1 calculation, first tries with EVALSHA then with EVAL 14 | reply r = ping_script.exec(conn); 15 | std::cout << r.str() << std::endl; 16 | } 17 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/examples/simple.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace redis3m; 5 | 6 | int main(int argc, char **argv) 7 | { 8 | connection::ptr_t conn = connection::create(); 9 | conn->run(command("SET") << "foo" << "bar" ); 10 | reply r = conn->run(command("GET") << "foo" ); 11 | std::cout << "FOO is: " << r.str() << std::endl; 12 | } 13 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/examples/simple_pool.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace redis3m; 5 | 6 | int main(int argc, char **argv) 7 | { 8 | simple_pool::ptr_t pool = simple_pool::create("yourhost"); 9 | 10 | connection::ptr_t c = pool->get(); 11 | c->run(command("SET")("foo")("bar")); 12 | pool->put(c); 13 | 14 | c = pool->get(); 15 | std::cout << c->run(command("GET")("foo")).str(); 16 | pool->put(c); 17 | 18 | /* If you have C++11 19 | // Automatically retries on connection failures 20 | pool->run_with_connection([&](connection::ptr_t conn) 21 | { 22 | conn->run(command("SET")("foo")("bar")); 23 | }); 24 | */ 25 | } 26 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/examples/subscriber.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Carmelo Porcelli 3 | */ 4 | 5 | #include 6 | #include 7 | 8 | using namespace redis3m; 9 | 10 | int main (int argc, char **argv) 11 | { 12 | connection::ptr_t conn = connection::create(); 13 | conn->run(command("SUBSCRIBE") << "topic"); 14 | while(true) 15 | { 16 | reply r = conn->get_reply(); 17 | std::cout << "Received: " << r.elements().at(2).str() << std::endl; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/include/redis3m/patterns/patterns.hpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 Luca Marturana. All rights reserved. 2 | // Licensed under Apache 2.0, see LICENSE for details 3 | 4 | #pragma once 5 | 6 | #include 7 | 8 | // Patterns 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/include/redis3m/redis3m.hpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 Luca Marturana. All rights reserved. 2 | // Licensed under Apache 2.0, see LICENSE for details 3 | 4 | #pragma once 5 | 6 | // Base 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/include/redis3m/utils/crc16.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | namespace redis3m 7 | { 8 | namespace utils 9 | { 10 | 11 | uint16_t crc16(const std::string& string); 12 | 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/include/redis3m/utils/datetime.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 Luca Marturana. All rights reserved. 2 | // Licensed under Apache 2.0, see LICENSE for details 3 | 4 | #pragma once 5 | 6 | #include 7 | #ifndef NO_BOOST 8 | #include 9 | #else 10 | #include 11 | #endif 12 | 13 | namespace redis3m 14 | { 15 | namespace datetime 16 | { 17 | 18 | #ifndef NO_BOOST 19 | typedef boost::posix_time::ptime ptime; 20 | typedef boost::posix_time::time_duration time_duration; 21 | typedef boost::posix_time::seconds seconds; 22 | #else 23 | using ptime = std::chrono::time_point; 24 | using time_duration = std::chrono::seconds; 25 | using seconds = std::chrono::seconds; 26 | #endif 27 | 28 | uint64_t utc_now_in_seconds(); 29 | uint64_t ptime_in_seconds(const ptime& time); 30 | ptime now(); 31 | 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/include/redis3m/utils/file.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 Luca Marturana. All rights reserved. 2 | // Licensed under Apache 2.0, see LICENSE for details 3 | 4 | #pragma once 5 | 6 | #include 7 | 8 | namespace redis3m 9 | { 10 | namespace utils 11 | { 12 | 13 | std::string read_content_of_file(const std::string& path); 14 | 15 | std::string datadir(const std::string& path=""); 16 | 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/include/redis3m/utils/logging.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 Luca Marturana. All rights reserved. 2 | // Licensed under Apache 2.0, see LICENSE for details 3 | 4 | #pragma once 5 | 6 | #include 7 | #include 8 | #include 9 | 10 | namespace redis3m 11 | { 12 | 13 | class logging 14 | { 15 | public: 16 | typedef std::shared_ptr ptr_t; 17 | inline static void debug(const std::string& s) 18 | { 19 | logger->debug_impl(s); 20 | } 21 | 22 | inline static void warning(const std::string& s) 23 | { 24 | logger->warning_impl(s); 25 | } 26 | 27 | inline static void error(const std::string& s) 28 | { 29 | logger->error_impl(s); 30 | } 31 | 32 | virtual void debug_impl(const std::string& s); 33 | virtual void warning_impl(const std::string& s); 34 | virtual void error_impl(const std::string& s); 35 | 36 | private: 37 | std::mutex access; 38 | static logging::ptr_t logger; 39 | }; 40 | } 41 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/include/redis3m/utils/noncopyable.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | namespace redis3m 4 | { 5 | 6 | namespace utils 7 | { 8 | 9 | class noncopyable 10 | { 11 | protected: 12 | noncopyable() = default; 13 | ~noncopyable() = default; 14 | 15 | noncopyable( const noncopyable& ) = delete; 16 | noncopyable& operator=( const noncopyable& ) = delete; 17 | }; 18 | 19 | } 20 | } -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/include/redis3m/utils/resolv.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 Luca Marturana. All rights reserved. 2 | // Licensed under Apache 2.0, see LICENSE for details 3 | 4 | #pragma once 5 | 6 | #include 7 | #include 8 | #include 9 | 10 | namespace redis3m 11 | { 12 | namespace resolv 13 | { 14 | REDIS3M_EXCEPTION(cannot_resolve_hostname) 15 | std::vector get_addresses(const std::string &hostname); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/redis3m.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: redis3m 7 | URL: https://github.com/luca3m/redis3m 8 | Description: C++ Redis client 9 | Version: @REDIS3M_VERSION_STRING@ 10 | Libs: -L${libdir} -lredis3m 11 | Libs.private: -lhiredis -lboost_system -lboost_date_time -lboost_regex 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/run-tests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Standalone instance 4 | redis-server --port 6379 --save "" &> /dev/null & 5 | 6 | # HA instaces with sentinel 7 | for x in 6380 6381 6382; do 8 | redis-server --port $x --save "" &> /dev/null & 9 | done 10 | sleep 0.5 11 | for x in 6381 6382; do 12 | redis-cli -p $x slaveof 127.0.0.1 6380 13 | done 14 | sleep 0.5 15 | for x in 6380 6381 6382; do 16 | redis-cli -p $x role 17 | done 18 | for x in 26379 26380 26381; do 19 | redis-server tests/redis-sentinel-$x.conf --sentinel --port $x &> /dev/null & 20 | done 21 | sleep 1 22 | 23 | redis-cli -p 26379 info sentinel 24 | redis-cli -p 26379 sentinel get-master-addr-by-name test 25 | 26 | # Run tests 27 | REDIS_HOST=localhost ctest -V 28 | RESULT=$? 29 | 30 | # Cleanup all instances 31 | jobs -p | xargs kill 32 | 33 | exit $RESULT 34 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/src/reply.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 Luca Marturana. All rights reserved. 2 | // Licensed under Apache 2.0, see LICENSE for details 3 | 4 | #include 5 | #include 6 | 7 | using namespace redis3m; 8 | 9 | reply::reply(redisReply *c_reply): 10 | _type(type_t::ERROR), 11 | _integer(0) 12 | { 13 | _type = static_cast(c_reply->type); 14 | switch (_type) { 15 | case type_t::ERROR: 16 | case type_t::STRING: 17 | case type_t::STATUS: 18 | _str = std::string(c_reply->str, c_reply->len); 19 | break; 20 | case type_t::INTEGER: 21 | _integer = c_reply->integer; 22 | break; 23 | case type_t::ARRAY: 24 | for (size_t i=0; i < c_reply->elements; ++i) { 25 | _elements.push_back(reply(c_reply->element[i])); 26 | } 27 | break; 28 | default: 29 | break; 30 | } 31 | } 32 | 33 | reply::reply(): 34 | _type(type_t::ERROR), 35 | _integer(0) { 36 | } 37 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/src/utils/datadir.cpp.in: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 Luca Marturana. All rights reserved. 2 | // Licensed under Apache 2.0, see LICENSE for details 3 | 4 | #include 5 | 6 | std::string redis3m::utils::datadir(const std::string& path) { return "@datadir@" + path; } 7 | 8 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/src/utils/file.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 Luca Marturana. All rights reserved. 2 | // Licensed under Apache 2.0, see LICENSE for details 3 | 4 | #include 5 | #include 6 | 7 | using namespace redis3m; 8 | 9 | std::string utils::read_content_of_file(const std::string& path) 10 | { 11 | std::ifstream ifs(path.c_str()); 12 | return std::string( (std::istreambuf_iterator(ifs) ), 13 | (std::istreambuf_iterator() ) ); 14 | } 15 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/src/utils/logging.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 Luca Marturana. All rights reserved. 2 | // Licensed under Apache 2.0, see LICENSE for details 3 | 4 | #include 5 | #include 6 | 7 | using namespace redis3m; 8 | 9 | logging::ptr_t logging::logger(new logging()); 10 | 11 | void logging::debug_impl(const std::string &string) 12 | { 13 | std::lock_guard lock(access); 14 | std::cerr << string << std::endl; 15 | } 16 | 17 | void logging::warning_impl(const std::string &string) 18 | { 19 | std::lock_guard lock(access); 20 | std::cerr << string << std::endl; 21 | } 22 | 23 | void logging::error_impl(const std::string &string) 24 | { 25 | std::lock_guard lock(access); 26 | std::cerr << string << std::endl; 27 | } 28 | 29 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/tests/cluster_pool.cpp: -------------------------------------------------------------------------------- 1 | #include "common.h" 2 | #include 3 | 4 | using namespace redis3m; 5 | 6 | cluster_pool::ptr_t get_pool() 7 | { 8 | return redis3m::cluster_pool::create( 9 | boost::assign::list_of( 10 | std::make_pair("redis01", 7000) 11 | ) 12 | ); 13 | } 14 | 15 | BOOST_AUTO_TEST_CASE( create) 16 | { 17 | BOOST_CHECK_NO_THROW(get_pool()); 18 | } 19 | 20 | BOOST_AUTO_TEST_CASE( set_key) 21 | { 22 | redis3m::cluster_pool::ptr_t pool = get_pool(); 23 | BOOST_CHECK_EQUAL("OK", pool->run(command("SET")("foo")("bar"))); 24 | BOOST_CHECK_EQUAL("bar", pool->run(command("GET")("foo"))); 25 | //BOOST_CHECK_EQUAL(reply::type_t::NIL, pool->run(command("GET")("test")).type()); 26 | } 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/tests/redis-sentinel-26379.conf: -------------------------------------------------------------------------------- 1 | sentinel monitor test 127.0.0.1 6381 2 2 | sentinel down-after-milliseconds test 60000 3 | sentinel config-epoch test 1 4 | 5 | # Generated by CONFIG REWRITE 6 | port 26379 7 | dir "/Users/luca/src/redis3m" 8 | sentinel leader-epoch test 1 9 | sentinel known-slave test 127.0.0.1 6380 10 | sentinel known-slave test 127.0.0.1 6382 11 | sentinel known-sentinel test 127.0.0.1 26380 932e08e1e849da9815f6689cf0029d196f34c9bb 12 | sentinel known-sentinel test 127.0.0.1 26381 aea88eeb6a9384f36602745a7ae526b8b52a8a96 13 | 14 | sentinel current-epoch 1 15 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/tests/redis-sentinel-26380.conf: -------------------------------------------------------------------------------- 1 | sentinel monitor test 127.0.0.1 6381 2 2 | sentinel down-after-milliseconds test 60000 3 | sentinel config-epoch test 1 4 | 5 | # Generated by CONFIG REWRITE 6 | port 26380 7 | dir "/Users/luca/src/redis3m" 8 | sentinel leader-epoch test 0 9 | sentinel known-sentinel test 127.0.0.1 26379 013ebecd75ecc838ac68a335f8ead88b12cf45e0 10 | sentinel known-sentinel test 127.0.0.1 26381 aea88eeb6a9384f36602745a7ae526b8b52a8a96 11 | sentinel current-epoch 1 12 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/redis3m/tests/redis-sentinel-26381.conf: -------------------------------------------------------------------------------- 1 | sentinel monitor test 127.0.0.1 6381 2 2 | sentinel down-after-milliseconds test 60000 3 | sentinel config-epoch test 1 4 | 5 | # Generated by CONFIG REWRITE 6 | port 26381 7 | dir "/Users/luca/src/redis3m" 8 | sentinel leader-epoch test 0 9 | sentinel known-slave test 127.0.0.1 6382 10 | sentinel known-sentinel test 127.0.0.1 26380 932e08e1e849da9815f6689cf0029d196f34c9bb 11 | sentinel known-sentinel test 127.0.0.1 26379 013ebecd75ecc838ac68a335f8ead88b12cf45e0 12 | sentinel current-epoch 1 13 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/assert.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_ASSERT_HPP__ 14 | #define __STOUT_ASSERT_HPP__ 15 | 16 | #include 17 | 18 | // Provide an async signal safe version `assert`. Please use `assert` 19 | // instead if you don't need async signal safety. 20 | #ifdef NDEBUG 21 | #define ASSERT(e) ((void) 0) 22 | #else 23 | #define ASSERT(e) ((void) ((e) ? ((void) 0) : ABORT(#e))) 24 | #endif 25 | 26 | #endif // __STOUT_ASSERT_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/attributes.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_ATTRIBUTES_HPP__ 14 | #define __STOUT_ATTRIBUTES_HPP__ 15 | 16 | 17 | #ifdef __WINDOWS__ 18 | #define NORETURN __declspec(noreturn) 19 | #else 20 | #define NORETURN __attribute__((noreturn)) 21 | #endif // __WINDOWS__ 22 | 23 | 24 | #endif // __STOUT_ATTRIBUTES_HPP__ 25 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/fs.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_FS_HPP__ 14 | #define __STOUT_FS_HPP__ 15 | 16 | // For readability, we minimize the number of #ifdef blocks in the code by 17 | // splitting platform specific system calls into separate directories. 18 | #ifdef __WINDOWS__ 19 | #include 20 | #else 21 | #include 22 | #endif // __WINDOWS__ 23 | 24 | 25 | #endif // __STOUT_FS_HPP__ 26 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/none.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_NONE_HPP__ 14 | #define __STOUT_NONE_HPP__ 15 | 16 | // A useful type that can be used to represent an Option or Result. 17 | // 18 | // Examples: 19 | // 20 | // Result result = None(); 21 | // Option = None(); 22 | // 23 | // void foo(Option o = None()) {} 24 | // 25 | // foo(None()); 26 | 27 | struct None {}; 28 | 29 | #endif // __STOUT_NONE_HPP__ 30 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/nothing.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_NOTHING_HPP__ 14 | #define __STOUT_NOTHING_HPP__ 15 | 16 | struct Nothing {}; 17 | 18 | #endif // __STOUT_NOTHING_HPP__ 19 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/bootid.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_BOOTID_HPP__ 14 | #define __STOUT_OS_BOOTID_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_BOOTID_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/chdir.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_CHDIR_HPP__ 14 | #define __STOUT_OS_CHDIR_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_CHDIR_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/close.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_CLOSE_HPP__ 14 | #define __STOUT_OS_CLOSE_HPP__ 15 | 16 | 17 | #ifdef __WINDOWS__ 18 | #include 19 | #else 20 | #include 21 | #endif // __WINDOWS__ 22 | 23 | #endif // __STOUT_OS_CLOSE_HPP__ 24 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/dup.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_DUP_HPP__ 14 | #define __STOUT_OS_DUP_HPP__ 15 | 16 | // For readability, we minimize the number of #ifdef blocks in the code by 17 | // splitting platform specific system calls into separate directories. 18 | #ifdef __WINDOWS__ 19 | #include 20 | #else 21 | #include 22 | #endif // __WINDOWS__ 23 | 24 | #endif // __STOUT_OS_DUP_HPP__ 25 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/exists.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_EXISTS_HPP__ 14 | #define __STOUT_OS_EXISTS_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_EXISTS_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/fcntl.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_FCNTL_HPP__ 14 | #define __STOUT_OS_FCNTL_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_FCNTL_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/fork.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_FORK_HPP__ 14 | #define __STOUT_OS_FORK_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_FORK_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/fsync.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_FSYNC_HPP__ 14 | #define __STOUT_OS_FSYNC_HPP__ 15 | 16 | // For readability, we minimize the number of #ifdef blocks in the code by 17 | // splitting platform specific system calls into separate directories. 18 | #ifdef __WINDOWS__ 19 | #include 20 | #else 21 | #include 22 | #endif // __WINDOWS__ 23 | 24 | #endif // __STOUT_OS_FSYNC_HPP__ 25 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/getcwd.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_GETCWD_HPP__ 14 | #define __STOUT_OS_GETCWD_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_GETCWD_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/getenv.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_GETENV_HPP__ 14 | #define __STOUT_OS_GETENV_HPP__ 15 | 16 | 17 | #ifdef __WINDOWS__ 18 | #include 19 | #else 20 | #include 21 | #endif // __WINDOWS__ 22 | 23 | #endif // __STOUT_OS_GETENV_HPP__ 24 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/kill.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_KILL_HPP__ 14 | #define __STOUT_OS_KILL_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_KILL_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/killtree.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_KILLTREE_HPP__ 14 | #define __STOUT_OS_KILLTREE_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_KILLTREE_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/ls.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_LS_HPP__ 14 | #define __STOUT_OS_LS_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_LS_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/mkdir.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_MKDIR_HPP__ 14 | #define __STOUT_OS_MKDIR_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_MKDIR_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/mktemp.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_MKTEMP_HPP__ 14 | #define __STOUT_OS_MKTEMP_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_MKTEMP_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/pagesize.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_PAGESIZE_HPP__ 14 | #define __STOUT_OS_PAGESIZE_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_PAGESIZE_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/pipe.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_PIPE_HPP__ 14 | #define __STOUT_OS_PIPE_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_PIPE_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/posix/kill.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_POSIX_KILL_HPP__ 14 | #define __STOUT_OS_POSIX_KILL_HPP__ 15 | 16 | #include 17 | #include 18 | 19 | namespace os { 20 | 21 | inline int kill(pid_t pid, int sig) 22 | { 23 | return ::kill(pid, sig); 24 | } 25 | 26 | } // namespace os { 27 | 28 | #endif // __STOUT_OS_POSIX_KILL_HPP__ 29 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/realpath.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_REALPATH_HPP__ 14 | #define __STOUT_OS_REALPATH_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_REALPATH_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/rename.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_RENAME_HPP__ 14 | #define __STOUT_OS_RENAME_HPP__ 15 | 16 | #ifdef __WINDOWS__ 17 | #include 18 | #else 19 | #include 20 | #endif // __WINDOWS__ 21 | 22 | #endif // __STOUT_OS_RENAME_HPP__ 23 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/rm.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_RM_HPP__ 14 | #define __STOUT_OS_RM_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_RM_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/rmdir.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_RMDIR_HPP__ 14 | #define __STOUT_OS_RMDIR_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_RMDIR_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/sendfile.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_SENDFILE_HPP__ 14 | #define __STOUT_OS_SENDFILE_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_SENDFILE_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/shell.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_SHELL_HPP__ 14 | #define __STOUT_OS_SHELL_HPP__ 15 | 16 | 17 | // For readability, we minimize the number of #ifdef blocks in the code by 18 | // splitting platform specific system calls into separate directories. 19 | #ifdef __WINDOWS__ 20 | #include 21 | #else 22 | #include 23 | #endif // __WINDOWS__ 24 | 25 | 26 | #endif // __STOUT_OS_SHELL_HPP__ 27 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/stat.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_STAT_HPP__ 14 | #define __STOUT_OS_STAT_HPP__ 15 | 16 | // For readability, we minimize the number of #ifdef blocks in the code by 17 | // splitting platform specific system calls into separate directories. 18 | #ifdef __WINDOWS__ 19 | #include 20 | #else 21 | #include 22 | #endif // __WINDOWS__ 23 | 24 | 25 | #endif // __STOUT_OS_STAT_HPP__ 26 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/temp.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_TEMP_HPP__ 14 | #define __STOUT_OS_TEMP_HPP__ 15 | 16 | 17 | #ifdef __WINDOWS__ 18 | #include 19 | #else 20 | #include 21 | #endif // __WINDOWS__ 22 | 23 | #endif // __STOUT_OS_TEMP_HPP__ 24 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/windows/fork.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_WINDOWS_FORK_HPP__ 14 | #define __STOUT_OS_WINDOWS_FORK_HPP__ 15 | 16 | namespace os { 17 | 18 | struct Exec 19 | { 20 | UNIMPLEMENTED; 21 | }; 22 | 23 | 24 | struct Wait {}; 25 | 26 | 27 | struct Fork 28 | { 29 | UNIMPLEMENTED; 30 | }; 31 | 32 | } // namespace os { 33 | 34 | #endif // __STOUT_OS_WINDOWS_FORK_HPP__ 35 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/os/windows/pagesize.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_OS_WINDOWS_PAGESIZE_HPP__ 14 | #define __STOUT_OS_WINDOWS_PAGESIZE_HPP__ 15 | 16 | #include 17 | 18 | 19 | namespace os { 20 | 21 | inline size_t pagesize() 22 | { 23 | SYSTEM_INFO si; 24 | GetSystemInfo(&si); 25 | return si.dwPageSize; 26 | } 27 | 28 | } // namespace os { 29 | 30 | #endif // __STOUT_OS_WINDOWS_PAGESIZE_HPP__ 31 | -------------------------------------------------------------------------------- /urb-core/source/cpp/3rdparty/stout/utils.hpp: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | #ifndef __STOUT_UTILS_HPP__ 14 | #define __STOUT_UTILS_HPP__ 15 | 16 | #include 17 | 18 | namespace utils { 19 | 20 | template 21 | T copy(const T& t) { return t; } 22 | 23 | 24 | template 25 | static constexpr size_t arraySize(T(&)[N]) 26 | { 27 | return N; 28 | } 29 | 30 | } // namespace utils { 31 | 32 | #endif // __STOUT_UTILS_HPP__ 33 | -------------------------------------------------------------------------------- /urb-core/source/cpp/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Univa Corporation 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | SUBDIRS=3rdparty liburb 17 | 18 | include ../../util/include.mk 19 | -------------------------------------------------------------------------------- /urb-core/source/cpp/liburb/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | -------------------------------------------------------------------------------- /urb-core/source/cpp/liburb/mesos/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Mesos 2 | Copyright 2013, The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /urb-core/source/cpp/liburb/mesos/README.md: -------------------------------------------------------------------------------- 1 | Mesos Source Dependencies 2 | ========================== 3 | 4 | All mesos source dependencies exist in this directory. 5 | -------------------------------------------------------------------------------- /urb-core/source/cpp/liburb/python-bindings/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | dist 3 | *egg-info 4 | -------------------------------------------------------------------------------- /urb-core/source/cpp/liburb/python-bindings/executor/ext_modules.py: -------------------------------------------------------------------------------- 1 | ../native_common/ext_modules.py -------------------------------------------------------------------------------- /urb-core/source/cpp/liburb/python-bindings/executor/src/mesos/__init__.py: -------------------------------------------------------------------------------- 1 | # See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages 2 | # Because python does not normally allow the contents of a package to be 3 | # retrieved from more than one location, this code snippet ensures that the 4 | # namespace package machinery is operating and that the current package is 5 | # registered as a namespace package. 6 | try: 7 | __import__('pkg_resources').declare_namespace(__name__) 8 | except ImportError: 9 | from pkgutil import extend_path 10 | __path__ = extend_path(__path__, __name__) 11 | -------------------------------------------------------------------------------- /urb-core/source/cpp/liburb/python-bindings/executor/src/mesos/executor/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | from ._executor import MesosExecutorDriverImpl as MesosExecutorDriver 18 | -------------------------------------------------------------------------------- /urb-core/source/cpp/liburb/python-bindings/interface/src/mesos/__init__.py: -------------------------------------------------------------------------------- 1 | # See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages 2 | # Because python does not normally allow the contents of a package to be 3 | # retrieved from more than one location, this code snippet ensures that the 4 | # namespace package machinery is operating and that the current package is 5 | # registered as a namespace package. 6 | try: 7 | __import__('pkg_resources').declare_namespace(__name__) 8 | except ImportError: 9 | from pkgutil import extend_path 10 | __path__ = extend_path(__path__, __name__) 11 | -------------------------------------------------------------------------------- /urb-core/source/cpp/liburb/python-bindings/native/src/mesos/__init__.py: -------------------------------------------------------------------------------- 1 | # See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages 2 | # Because python does not normally allow the contents of a package to be 3 | # retrieved from more than one location, this code snippet ensures that the 4 | # namespace package machinery is operating and that the current package is 5 | # registered as a namespace package. 6 | try: 7 | __import__('pkg_resources').declare_namespace(__name__) 8 | except ImportError: 9 | from pkgutil import extend_path 10 | __path__ = extend_path(__path__, __name__) 11 | -------------------------------------------------------------------------------- /urb-core/source/cpp/liburb/python-bindings/native/src/mesos/native/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | from mesos.executor import MesosExecutorDriver 18 | from mesos.scheduler import MesosSchedulerDriver -------------------------------------------------------------------------------- /urb-core/source/cpp/liburb/python-bindings/scheduler/ext_modules.py: -------------------------------------------------------------------------------- 1 | ../native_common/ext_modules.py -------------------------------------------------------------------------------- /urb-core/source/cpp/liburb/python-bindings/scheduler/src/mesos/__init__.py: -------------------------------------------------------------------------------- 1 | # See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages 2 | # Because python does not normally allow the contents of a package to be 3 | # retrieved from more than one location, this code snippet ensures that the 4 | # namespace package machinery is operating and that the current package is 5 | # registered as a namespace package. 6 | try: 7 | __import__('pkg_resources').declare_namespace(__name__) 8 | except ImportError: 9 | from pkgutil import extend_path 10 | __path__ = extend_path(__path__, __name__) 11 | -------------------------------------------------------------------------------- /urb-core/source/cpp/liburb/python-bindings/scheduler/src/mesos/scheduler/__init__.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | from ._scheduler import MesosSchedulerDriverImpl as MesosSchedulerDriver 18 | -------------------------------------------------------------------------------- /urb-core/source/cpp/liburb/python-bindings/src/mesos/__init__.py: -------------------------------------------------------------------------------- 1 | # See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages 2 | try: 3 | __import__('pkg_resources').declare_namespace(__name__) 4 | except ImportError: 5 | from pkgutil import extend_path 6 | __path__ = extend_path(__path__, __name__) 7 | -------------------------------------------------------------------------------- /urb-core/source/cpp/liburb/python-bindings/test/test_executor_wrapper.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright 2017 Univa Corporation 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | 17 | # Simple shell script to make sure the mesos module is available for the executor 18 | cd `dirname $0` 19 | 20 | source ../dist/testpy/bin/activate 21 | exec ./test_executor.py "$@" 22 | -------------------------------------------------------------------------------- /urb-core/source/cpp/meson.build: -------------------------------------------------------------------------------- 1 | deps_3rdparty = [] 2 | 3 | subdir('3rdparty') 4 | subdir('liburb') 5 | -------------------------------------------------------------------------------- /urb-core/source/meson.build: -------------------------------------------------------------------------------- 1 | 2 | #glog_inc = include_directories('3rdparty/glog-0.3.3/build/src') 3 | #glog_lib = static_library('3rdparty/glog-0.3.3/build/.libs/libglog.a') 4 | #glog_dep = declare_dependency(link_with : glog_lib, 5 | # include_directories : glog_inc 6 | #) 7 | subdir('cpp') 8 | -------------------------------------------------------------------------------- /urb-core/source/python/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | dist 3 | urb.egg-info 4 | *.pyc 5 | redis-*.egg 6 | .coverage 7 | urb/__init__.py 8 | *.log 9 | *.log.* -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/Flask-0.12.2.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/Flask-0.12.2.tar.gz -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/Jinja2-2.10-py2.py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/Jinja2-2.10-py2.py3-none-any.whl -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/MarkupSafe-1.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/MarkupSafe-1.0.tar.gz -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/Werkzeug-0.14.1-py2.py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/Werkzeug-0.14.1-py2.py3-none-any.whl -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/argparse-1.4.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/argparse-1.4.0.tar.gz -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/click-6.7-py2.py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/click-6.7-py2.py3-none-any.whl -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/gevent-1.1.2.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/gevent-1.1.2.tar.gz -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/gevent_inotifyx-0.1.1.patch: -------------------------------------------------------------------------------- 1 | diff -Naur org/gevent_inotifyx-0.1.1/setup.py new/gevent_inotifyx-0.1.1/setup.py 2 | --- org/gevent_inotifyx-0.1.1/setup.py 2013-04-12 16:24:08.000000000 -0400 3 | +++ new/gevent_inotifyx-0.1.1/setup.py 2017-08-22 16:05:53.000000000 -0400 4 | @@ -1,6 +1,12 @@ 5 | #!/usr/bin/env python 6 | import re 7 | -from distutils.core import Command, setup 8 | +try: 9 | + from setuptools import Command, setup 10 | +except ImportError: 11 | + if PYPY: 12 | + # need setuptools for include_package_data to work 13 | + raise 14 | + from distutils.core import Command, setup 15 | 16 | __version__ = re.search(r"^__version__ = '(.*)'", 17 | open('gevent_inotifyx.py', 'r').read(), 18 | -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/gevent_inotifyx-0.1.1.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/gevent_inotifyx-0.1.1.tar.gz -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/google-common-0.0.1.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/google-common-0.0.1.tar.gz -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/greenlet-0.4.10.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/greenlet-0.4.10.zip -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/inotifyx-0.2.2.patch: -------------------------------------------------------------------------------- 1 | diff -Naur org/inotifyx-0.2.2/setup.py new/inotifyx-0.2.2/setup.py 2 | --- org/inotifyx-0.2.2/setup.py 2014-08-22 17:13:44.000000000 -0400 3 | +++ new/inotifyx-0.2.2/setup.py 2017-08-22 16:01:43.000000000 -0400 4 | @@ -4,8 +4,13 @@ 5 | # This file is in the public domain. 6 | 7 | import os, sys, commands 8 | -from distutils.core import Extension 9 | - 10 | +try: 11 | + from setuptools import Extension, setup 12 | +except ImportError: 13 | + if PYPY: 14 | + # need setuptools for include_package_data to work 15 | + raise 16 | + from distutils.core import Extension 17 | 18 | sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'modules')) 19 | sys.path.insert(0, os.path.join(os.path.dirname(__file__))) 20 | @@ -41,7 +46,7 @@ 21 | packages = ['inotifyx'], 22 | ext_modules = [ 23 | Extension( 24 | - 'inotifyx.binding', 25 | + name = 'inotifyx.binding', 26 | sources = [os.path.join('inotifyx', 'binding.c')], 27 | ), 28 | ], 29 | -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/inotifyx-0.2.2.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/inotifyx-0.2.2.tar.gz -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/itsdangerous-0.24.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/itsdangerous-0.24.tar.gz -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/protobuf-3.0.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/protobuf-3.0.0.tar.gz -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/protobuf-3.5.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/protobuf-3.5.0.tar.gz -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/pymongo-3.5.1.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/pymongo-3.5.1.tar.gz -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/redis-2.10.6.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/redis-2.10.6.tar.gz -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/six-1.11.0-py2.py3-none-any.whl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/six-1.11.0-py2.py3-none-any.whl -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/sortedcontainers-1.5.7.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/sortedcontainers-1.5.7.tar.gz -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/virtualenv-15.1.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/virtualenv-15.1.0.tar.gz -------------------------------------------------------------------------------- /urb-core/source/python/3rdparty/xmltodict-0.11.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/UnivaCorporation/urb-k8s/5e4a177ffb42018cf0626381f26990f55caf9a34/urb-core/source/python/3rdparty/xmltodict-0.11.0.tar.gz -------------------------------------------------------------------------------- /urb-core/source/python/README: -------------------------------------------------------------------------------- 1 | Universal Resource Broker 2 | ===================== 3 | 4 | This is initial readme file for the python URB service. 5 | -------------------------------------------------------------------------------- /urb-core/source/python/setup.cfg: -------------------------------------------------------------------------------- 1 | [nosetests] 2 | verbosity=1 3 | detailed-errors=1 4 | with-coverage=1 5 | cover-package=urb 6 | cover-xml=1 7 | cover-xml-file=build/coverage.xml 8 | cover-erase=1 9 | #debug=nose.loader 10 | #pdb=1 11 | #pdb-failures=1 12 | with-xunit=1 13 | xunit-file=build/nosetests.xml 14 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/adapters/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # ___INFO__MARK_BEGIN__ 3 | # ############################################################################ 4 | # 5 | # This code is the Property, a Trade Secret and the Confidential Information 6 | # of Univa Corporation. 7 | # 8 | # Copyright Univa Corporation. All Rights Reserved. Access is Restricted. 9 | # 10 | # It is provided to you under the terms of the 11 | # Univa Term Software License Agreement. 12 | # 13 | # If you have any questions, please contact our Support Department. 14 | # 15 | # www.univa.com 16 | # 17 | ########################################################################### 18 | #___INFO__MARK_END__ 19 | 20 | __version__ = '0.1' 21 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/config/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # ___INFO__MARK_BEGIN__ 3 | # ############################################################################ 4 | # 5 | # This code is the Property, a Trade Secret and the Confidential Information 6 | # of Univa Corporation. 7 | # 8 | # Copyright Univa Corporation. All Rights Reserved. Access is Restricted. 9 | # 10 | # It is provided to you under the terms of the 11 | # Univa Term Software License Agreement. 12 | # 13 | # If you have any questions, please contact our Support Department. 14 | # 15 | # www.univa.com 16 | # 17 | ########################################################################### 18 | #___INFO__MARK_END__ 19 | 20 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/constants/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # ___INFO__MARK_BEGIN__ 3 | # ############################################################################ 4 | # 5 | # This code is the Property, a Trade Secret and the Confidential Information 6 | # of Univa Corporation. 7 | # 8 | # Copyright Univa Corporation. All Rights Reserved. Access is Restricted. 9 | # 10 | # It is provided to you under the terms of the 11 | # Univa Term Software License Agreement. 12 | # 13 | # If you have any questions, please contact our Support Department. 14 | # 15 | # www.univa.com 16 | # 17 | ########################################################################### 18 | #___INFO__MARK_END__ 19 | 20 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/constants/internal_messages.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | # Copyright 2017 Univa Corporation 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | 18 | SERVICE_DISCONNECTED_MESSAGE = 'ServiceDisconnectedMessage' 19 | SLAVE_SHUTDOWN_MESSAGE = 'SlaveShutdownMessage' 20 | SERVICE_SHUTDOWN_MESSAGE = 'ServiceShutdownMessage' 21 | HEARTBEAT_MESSAGE = 'HeartbeatMessage' 22 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/constants/liburb.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | # Copyright 2017 Univa Corporation 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | 18 | 19 | # Liburb URL scheme 20 | LIBURB_URL_SCHEME = "urb" 21 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/constants/urb_status.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | # Copyright 2017 Univa Corporation 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | 18 | URB_OK = 0 19 | URB_ERROR = 1 20 | URB_CONFIGURATION_ERROR = 2 21 | URB_INVALID_COMMAND_ERROR = 3 22 | URB_REGISTRATION_ERROR = 4 23 | URB_DB_ERROR = 5 24 | URB_UNKNOWN_JOB_ERROR = 6 25 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/db/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # ___INFO__MARK_BEGIN__ 3 | # ############################################################################ 4 | # 5 | # This code is the Property, a Trade Secret and the Confidential Information 6 | # of Univa Corporation. 7 | # 8 | # Copyright Univa Corporation. All Rights Reserved. Access is Restricted. 9 | # 10 | # It is provided to you under the terms of the 11 | # Univa Term Software License Agreement. 12 | # 13 | # If you have any questions, please contact our Support Department. 14 | # 15 | # www.univa.com 16 | # 17 | ########################################################################### 18 | #___INFO__MARK_END__ 19 | 20 | __version__ = '0.0.1' 21 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/exceptions/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # ___INFO__MARK_BEGIN__ 3 | # ############################################################################ 4 | # 5 | # This code is the Property, a Trade Secret and the Confidential Information 6 | # of Univa Corporation. 7 | # 8 | # Copyright Univa Corporation. All Rights Reserved. Access is Restricted. 9 | # 10 | # It is provided to you under the terms of the 11 | # Univa Term Software License Agreement. 12 | # 13 | # If you have any questions, please contact our Support Department. 14 | # 15 | # www.univa.com 16 | # 17 | ########################################################################### 18 | #___INFO__MARK_END__ 19 | 20 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/exceptions/completed_job.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | # Copyright 2017 Univa Corporation 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | 18 | from urb.exceptions.urb_exception import URBException 19 | from urb.constants import urb_status 20 | 21 | class CompletedJob(URBException): 22 | """ Completed job """ 23 | def __init__(self, error="", **kwargs): 24 | URBException.__init__( 25 | self, error, urb_status.URB_OK, 26 | **kwargs) 27 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/exceptions/db_error.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | # Copyright 2017 Univa Corporation 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | 18 | from urb.exceptions.urb_exception import URBException 19 | from urb.constants import urb_status 20 | 21 | class DBError(URBException): 22 | """ DB error class. """ 23 | def __init__(self, error="", **kwargs): 24 | URBException.__init__( 25 | self, error, urb_status.URB_DB_ERROR, 26 | **kwargs) 27 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/exceptions/pending_job.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | # Copyright 2017 Univa Corporation 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | 18 | from urb.exceptions.urb_exception import URBException 19 | from urb.constants import urb_status 20 | 21 | class PendingJob(URBException): 22 | """ Completed job """ 23 | def __init__(self, error="", **kwargs): 24 | URBException.__init__( 25 | self, error, urb_status.URB_OK, 26 | **kwargs) 27 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/exceptions/unknown_job.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | # Copyright 2017 Univa Corporation 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | 18 | from urb.exceptions.urb_exception import URBException 19 | from urb.constants import urb_status 20 | 21 | class UnknownJob(URBException): 22 | """ Unknown job error. """ 23 | def __init__(self, error="", **kwargs): 24 | URBException.__init__( 25 | self, error, urb_status.URB_UNKNOWN_JOB_ERROR, 26 | **kwargs) 27 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/executor/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # ___INFO__MARK_BEGIN__ 3 | # ############################################################################ 4 | # 5 | # This code is the Property, a Trade Secret and the Confidential Information 6 | # of Univa Corporation. 7 | # 8 | # Copyright Univa Corporation. All Rights Reserved. Access is Restricted. 9 | # 10 | # It is provided to you under the terms of the 11 | # Univa Term Software License Agreement. 12 | # 13 | # If you have any questions, please contact our Support Department. 14 | # 15 | # www.univa.com 16 | # 17 | ########################################################################### 18 | #___INFO__MARK_END__ 19 | 20 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/log/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # ___INFO__MARK_BEGIN__ 3 | # ############################################################################ 4 | # 5 | # This code is the Property, a Trade Secret and the Confidential Information 6 | # of Univa Corporation. 7 | # 8 | # Copyright Univa Corporation. All Rights Reserved. Access is Restricted. 9 | # 10 | # It is provided to you under the terms of the 11 | # Univa Term Software License Agreement. 12 | # 13 | # If you have any questions, please contact our Support Department. 14 | # 15 | # www.univa.com 16 | # 17 | ########################################################################### 18 | #___INFO__MARK_END__ 19 | 20 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/messaging/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # ___INFO__MARK_BEGIN__ 3 | # ############################################################################ 4 | # 5 | # This code is the Property, a Trade Secret and the Confidential Information 6 | # of Univa Corporation. 7 | # 8 | # Copyright Univa Corporation. All Rights Reserved. Access is Restricted. 9 | # 10 | # It is provided to you under the terms of the 11 | # Univa Term Software License Agreement. 12 | # 13 | # If you have any questions, please contact our Support Department. 14 | # 15 | # www.univa.com 16 | # 17 | ########################################################################### 18 | #___INFO__MARK_END__ 19 | 20 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/messaging/mesos/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # ___INFO__MARK_BEGIN__ 3 | # ############################################################################ 4 | # 5 | # This code is the Property, a Trade Secret and the Confidential Information 6 | # of Univa Corporation. 7 | # 8 | # Copyright Univa Corporation. All Rights Reserved. Access is Restricted. 9 | # 10 | # It is provided to you under the terms of the 11 | # Univa Term Software License Agreement. 12 | # 13 | # If you have any questions, please contact our Support Department. 14 | # 15 | # www.univa.com 16 | # 17 | ########################################################################### 18 | #___INFO__MARK_END__ 19 | 20 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/service/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # ___INFO__MARK_BEGIN__ 3 | # ############################################################################ 4 | # 5 | # This code is the Property, a Trade Secret and the Confidential Information 6 | # of Univa Corporation. 7 | # 8 | # Copyright Univa Corporation. All Rights Reserved. Access is Restricted. 9 | # 10 | # It is provided to you under the terms of the 11 | # Univa Term Software License Agreement. 12 | # 13 | # If you have any questions, please contact our Support Department. 14 | # 15 | # www.univa.com 16 | # 17 | ########################################################################### 18 | #___INFO__MARK_END__ 19 | 20 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/utility/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # ___INFO__MARK_BEGIN__ 3 | # ############################################################################ 4 | # 5 | # This code is the Property, a Trade Secret and the Confidential Information 6 | # of Univa Corporation. 7 | # 8 | # Copyright Univa Corporation. All Rights Reserved. Access is Restricted. 9 | # 10 | # It is provided to you under the terms of the 11 | # Univa Term Software License Agreement. 12 | # 13 | # If you have any questions, please contact our Support Department. 14 | # 15 | # www.univa.com 16 | # 17 | ########################################################################### 18 | #___INFO__MARK_END__ 19 | 20 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/utility/channel_tracker.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | # Copyright 2017 Univa Corporation 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | 18 | from object_tracker import ObjectTracker 19 | 20 | class ChannelTracker(ObjectTracker): 21 | pass 22 | 23 | # Testing 24 | if __name__ == '__main__': 25 | ct = ChannelTracker.get_instance() 26 | print(ct) 27 | 28 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/utility/executor_tracker.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | # Copyright 2017 Univa Corporation 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | 18 | from object_tracker import ObjectTracker 19 | 20 | class ExecutorTracker(ObjectTracker): 21 | pass 22 | 23 | # Testing 24 | if __name__ == '__main__': 25 | et = ExecutorTracker.get_instance() 26 | print(et) 27 | 28 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/utility/job_tracker.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | # Copyright 2017 Univa Corporation 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | 18 | from object_tracker import ObjectTracker 19 | 20 | class JobTracker(ObjectTracker): 21 | pass 22 | 23 | # Testing 24 | if __name__ == '__main__': 25 | jt = JobTracker.get_instance() 26 | print(jt) 27 | 28 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/utility/task_tracker.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | # Copyright 2017 Univa Corporation 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | 18 | from object_tracker import ObjectTracker 19 | 20 | class TaskTracker(ObjectTracker): 21 | pass 22 | 23 | # Testing 24 | if __name__ == '__main__': 25 | tt = TaskTracker.get_instance() 26 | print(tt) 27 | 28 | -------------------------------------------------------------------------------- /urb-core/source/python/urb/utility/value_utility.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | # Copyright 2017 Univa Corporation 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | 18 | class ValueUtility: 19 | 20 | @classmethod 21 | def to_boolean(cls, value): 22 | s = '%s' % value 23 | if s.lower() in [ 'true', 't', '1', 'yes', 'y' ]: 24 | return True 25 | return False 26 | 27 | 28 | -------------------------------------------------------------------------------- /urb-core/util/Makefile.env: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Univa Corporation 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | .PHONY: env 17 | 18 | include params.mk 19 | 20 | env: 21 | @echo "$(VERSION)" 22 | -------------------------------------------------------------------------------- /urb-core/util/include.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Univa Corporation 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | 16 | # After including params.mk, ARCH and other variables should be set. 17 | ifndef TOP 18 | ROOT = $(dir $(filter %include.mk,$(MAKEFILE_LIST))) 19 | ROOT := $(ROOT:%/util/=%) 20 | ROOT := $(ROOT:util/=.) 21 | export TOP := $(shell cd $(ROOT) >/dev/null 2>&1 && echo $$PWD) 22 | endif 23 | 24 | include $(TOP)/util/params.mk 25 | include $(TOP)/util/platform.mk 26 | -------------------------------------------------------------------------------- /urb-core/vagrant/puppet/hiera.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | :backends: yaml 3 | :yaml: 4 | :datadir: /var/lib/hiera 5 | :hierarchy: common 6 | :logger: console 7 | -------------------------------------------------------------------------------- /urb-service.dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2017 Univa Corporation 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | FROM local/urb-python-base 16 | 17 | RUN pip install kubernetes 18 | 19 | # copy k8s adapter Python egg 20 | COPY source/python/dist/k8s_adapter-*-py2.7.egg /tmp/ 21 | 22 | # install URB and k8s adapter 23 | RUN easy_install /tmp/k8s_adapter-*-py2.7.egg 24 | 25 | # expose Native API, HTTP scheduler and executor ports 26 | EXPOSE 6379 5060 5061 27 | 28 | ENTRYPOINT ["/usr/bin/urb-service"] 29 | --------------------------------------------------------------------------------