javonet-ruby-sdk 2.4.6 → 2.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Clr/Windows/X64/Javonet.Clr.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Clr/Windows/X64/JavonetClrRuntime.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Jvm/Linux/X64/JavonetJvmRuntime.jar +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Jvm/MacOs/X64/JavonetJvmRuntime.jar +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Jvm/Windows/X64/JavonetJvmRuntime.jar +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetCppRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetGoRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNetcoreRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejs1816RuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejsRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPerlRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPythonRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetTcpClient.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetTcpTlsClient.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libUtils.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libJavonetActivationService.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libJavonetTcpTlsClient.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libUtils.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejsRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetTcpClient.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetTcpTlsClient.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Linux/X64/Javonet.Netcore.Core.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Linux/X64/Javonet.Netcore.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/MacOs/X64/Javonet.Netcore.Core.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/MacOs/X64/Javonet.Netcore.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Windows/X64/Javonet.Netcore.Core.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Windows/X64/Javonet.Netcore.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/handler/Handler.js +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/protocol/TypeSerializer.js +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/receiver/Receiver.js +7 -4
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/receiver/ReceiverNative.js +2 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/{core → utils}/exception/ExceptionSerializer.js +4 -4
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/{core → utils}/exception/ExceptionThrower.js +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/Handler.js +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/protocol/TypeSerializer.js +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/receiver/Receiver.js +7 -4
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/receiver/ReceiverNative.js +2 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/{core → utils}/exception/ExceptionSerializer.js +4 -4
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/{core → utils}/exception/ExceptionThrower.js +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/Handler.js +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/protocol/TypeSerializer.js +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/receiver/Receiver.js +7 -4
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/receiver/ReceiverNative.js +2 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/{core → utils}/exception/ExceptionSerializer.js +4 -4
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/{core → utils}/exception/ExceptionThrower.js +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Class/Load/XS/XS.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Data/UUID/UUID.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/FFI/Platypus/Platypus.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/List/Util/Util.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/XS/XS.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Package/Stash/XS/XS.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Params/Util/Util.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/lib/libplfill.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +93 -93
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Exception/SdkExceptionHelper.pm +93 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Javonet.pm +33 -10
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/perllocal.pod +94 -94
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Exception/SdkExceptionHelper.pm +93 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Javonet.pm +33 -10
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Scalar/Util/Numeric/Numeric.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +18 -18
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Exception/SdkExceptionHelper.pm +93 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Javonet.pm +33 -10
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/protocol/CommandSerializer.py +0 -3
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/protocol/CommandSerializer.py +0 -3
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/__pycache__/PythonStringBuilder.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/AbstractCommandHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/AbstractHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArrayGetItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArrayGetRankHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArrayGetSizeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArrayHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArraySetItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/CastingHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/CreateClassInstanceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/DestructReferenceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/EnableNamespaceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/EnableTypeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetEnumItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetEnumNameHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetEnumValueHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetInstanceFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetStaticFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetTypeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/Handler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/HandlerDictionary.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/InvokeInstanceMethodHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/InvokeStaticMethodHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/LoadLibraryHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ResolveInstanceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/SetInstanceFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/SetStaticFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ValueHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/interpreter/__pycache__/Interpreter.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/interpreter/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/namespaceCache/__pycache__/NamespaceCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/namespaceCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/CommandSerializer.py +0 -3
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/CommandDeserializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/CommandSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/TypeDeserializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/TypeSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/receiver/__pycache__/Receiver.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/receiver/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/__pycache__/ReferencesCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/typeCache/__pycache__/TypeCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/typeCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/Command.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/CommandType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/ConnectionType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/ExceptionType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/RuntimeName.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/StringEncodingMode.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/TcpConnectionData.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/Type.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/exception/__pycache__/ExceptionSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/exception/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/handler.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/{MacOs/X64/core → Linux/X64/utils}/exceptions/exception_serializer.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/{core → utils}/exceptions/exception_thrower.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/handler.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/{Linux/X64/core → MacOs/X64/utils}/exceptions/exception_serializer.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/{core → utils}/exceptions/exception_thrower.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/handler.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/{core → utils}/exceptions/exception_serializer.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/{core → utils}/exceptions/exception_thrower.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/version.txt +1 -1
- data/lib/javonet-ruby-sdk/core/handler/handler.rb +1 -1
- data/lib/javonet-ruby-sdk/sdk/invocation_context.rb +1 -1
- data/lib/javonet-ruby-sdk/sdk/javonet.rb +22 -5
- data/lib/javonet-ruby-sdk/sdk/tools/sdk_exception_helper.rb +77 -0
- data/lib/javonet-ruby-sdk/{core → utils}/exceptions/exception_serializer.rb +1 -1
- data/lib/javonet-ruby-sdk/{core → utils}/exceptions/exception_thrower.rb +1 -1
- metadata +31 -20
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/{core → utils}/exceptions/exception_type.rb +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/{core → utils}/exceptions/exception_type.rb +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/{core → utils}/exceptions/exception_type.rb +0 -0
- /data/lib/javonet-ruby-sdk/{core → utils}/exceptions/exception_type.rb +0 -0
data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Exception/SdkExceptionHelper.pm
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
use strict;
|
2
|
+
use warnings;
|
3
|
+
use LWP::UserAgent;
|
4
|
+
use DateTime;
|
5
|
+
use Sys::Hostname;
|
6
|
+
use threads;
|
7
|
+
use Nice::Try;
|
8
|
+
|
9
|
+
my $address = "https://dc.services.visualstudio.com/v2/track";
|
10
|
+
my $instrumentationKey = "2c751560-90c8-40e9-b5dd-534566514723";
|
11
|
+
|
12
|
+
package Javonet::Core::Exception::SdkExceptionHelper;
|
13
|
+
|
14
|
+
sub send_exception_to_app_insights {
|
15
|
+
my ($class, $event, $license_key) = @_;
|
16
|
+
try {
|
17
|
+
my $ua = LWP::UserAgent->new;
|
18
|
+
$ua->default_header('Accept' => 'application/json');
|
19
|
+
|
20
|
+
# Path to the VERSION file
|
21
|
+
my $version_file_path = 'VERSION';
|
22
|
+
|
23
|
+
# Variable to hold the javonet version
|
24
|
+
my $javonet_version;
|
25
|
+
|
26
|
+
try {
|
27
|
+
# Open the VERSION file for reading
|
28
|
+
open(my $fh, '<', $version_file_path) or die "Could not open file '$version_file_path' $!";
|
29
|
+
|
30
|
+
# Read the first line of the file
|
31
|
+
my $first_line = <$fh>;
|
32
|
+
|
33
|
+
# Use a regular expression to extract the version number
|
34
|
+
if ($first_line =~ /^\$VERSION=(.+)$/) {
|
35
|
+
$javonet_version = $1;
|
36
|
+
}
|
37
|
+
|
38
|
+
# Close the file handle
|
39
|
+
close($fh);
|
40
|
+
}
|
41
|
+
catch ( $e ) {
|
42
|
+
$javonet_version = "2.0.0";
|
43
|
+
}
|
44
|
+
|
45
|
+
my $node_name = eval {hostname()} || "Unknown Host";
|
46
|
+
|
47
|
+
my $operation_name = "JavonetSdkException";
|
48
|
+
my $os_name = $^O; # Replace with your desired OS name
|
49
|
+
my $calling_runtime_name = "Perl"; # Replace with your desired runtime name
|
50
|
+
my $event_message = $event;
|
51
|
+
|
52
|
+
my $dt = DateTime->now(time_zone => 'GMT');
|
53
|
+
|
54
|
+
# Format the DateTime object to a string
|
55
|
+
my $formatted_datetime = $dt->strftime("%Y-%m-%dT%H:%M:%S");
|
56
|
+
|
57
|
+
my $payload = "{"
|
58
|
+
. "\"name\": \"AppEvents\","
|
59
|
+
. "\"time\": \"$formatted_datetime\","
|
60
|
+
. "\"iKey\": \"$instrumentationKey\","
|
61
|
+
. "\"tags\": {"
|
62
|
+
. "\"ai.application.ver\": \"$javonet_version\","
|
63
|
+
. "\"ai.cloud.roleInstance\": \"$node_name\","
|
64
|
+
. "\"ai.operation.id\": \"0\","
|
65
|
+
. "\"ai.operation.parentId\": \"0\","
|
66
|
+
. "\"ai.operation.name\": \"$operation_name\","
|
67
|
+
. "\"ai.internal.sdkVersion\": \"$javonet_version\","
|
68
|
+
. "\"ai.internal.nodeName\": \"$node_name\""
|
69
|
+
. "},"
|
70
|
+
. "\"data\": {"
|
71
|
+
. "\"baseType\": \"EventData\","
|
72
|
+
. "\"baseData\": {"
|
73
|
+
. "\"ver\": 2,"
|
74
|
+
. "\"name\": \"$event_message\","
|
75
|
+
. "\"properties\": {"
|
76
|
+
. "\"OperatingSystem\": \"$os_name\","
|
77
|
+
. "\"LicenseKey\": \"$license_key\","
|
78
|
+
. "\"CallingTechnology\": \"$calling_runtime_name\""
|
79
|
+
. "}"
|
80
|
+
. "}"
|
81
|
+
. "}"
|
82
|
+
. "}";
|
83
|
+
|
84
|
+
my $response = $ua->post($address, Content => $payload);
|
85
|
+
my $response_code = $response->code;
|
86
|
+
return $response_code;
|
87
|
+
}
|
88
|
+
catch ( $e ) {
|
89
|
+
return Exception->new($e);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
1;
|
@@ -3,27 +3,48 @@ use strict;
|
|
3
3
|
use warnings FATAL => 'all';
|
4
4
|
use Moose;
|
5
5
|
use lib 'lib';
|
6
|
+
use Try::Tiny;
|
7
|
+
use threads;
|
6
8
|
use aliased 'Javonet::Sdk::Internal::RuntimeFactory' => 'RuntimeFactory';
|
7
9
|
use aliased 'Javonet::Core::Transmitter::PerlTransmitter' => 'Transmitter', qw(activate_with_license_file activate_with_credentials activate_with_credentials_and_proxy);
|
10
|
+
use aliased 'Javonet::Core::Exception::SdkExceptionHelper' => 'SdkExceptionHelper';
|
8
11
|
|
9
12
|
BEGIN {
|
10
|
-
|
13
|
+
try {
|
14
|
+
Transmitter->activate_with_license_file();
|
15
|
+
} catch {
|
16
|
+
SdkExceptionHelper->send_exception_to_app_insights($_,"JavonetStatic");
|
17
|
+
};
|
11
18
|
}
|
12
19
|
|
13
20
|
sub activate {
|
14
21
|
if(@_ == 1) {
|
15
|
-
|
22
|
+
try {
|
23
|
+
return Transmitter->activate_with_license_file();
|
24
|
+
} catch {
|
25
|
+
Javonet::Core::Exception::SdkExceptionHelper->send_exception_to_app_insights($_,"licenseFile");
|
26
|
+
die($_);
|
27
|
+
};
|
16
28
|
}
|
17
29
|
if(@_ == 2) {
|
18
30
|
my($self, $licenseKey) = @_;
|
19
|
-
|
31
|
+
try {
|
32
|
+
return Transmitter->activate_with_credentials($licenseKey);
|
33
|
+
} catch {
|
34
|
+
Javonet::Core::Exception::SdkExceptionHelper->send_exception_to_app_insights($_,$licenseKey);
|
35
|
+
die($_);
|
36
|
+
};
|
20
37
|
} elsif (@_ > 2) {
|
21
38
|
my($self, $licenseKey, $proxyHost, $proxyUserName, $proxyPassword) = @_;
|
22
39
|
$proxyUserName //="";
|
23
40
|
$proxyPassword //="";
|
24
|
-
|
41
|
+
try {
|
42
|
+
return Transmitter->activate_with_credentials_and_proxy($licenseKey, $proxyHost, $proxyUserName, $proxyPassword);
|
43
|
+
} catch {
|
44
|
+
Javonet::Core::Exception::SdkExceptionHelper->send_exception_to_app_insights($_,$licenseKey);
|
45
|
+
die($_);
|
46
|
+
};
|
25
47
|
}
|
26
|
-
|
27
48
|
}
|
28
49
|
|
29
50
|
sub in_memory {
|
@@ -31,7 +52,6 @@ sub in_memory {
|
|
31
52
|
}
|
32
53
|
|
33
54
|
sub tcp {
|
34
|
-
# additional shift is needed to pass second argument
|
35
55
|
my $class = shift;
|
36
56
|
my $address = shift;
|
37
57
|
return RuntimeFactory->new(Javonet::Sdk::Internal::ConnectionType::get_connection_type('Tcp'), $address, undef);
|
@@ -39,10 +59,13 @@ sub tcp {
|
|
39
59
|
|
40
60
|
sub with_config {
|
41
61
|
my ($self, $config_path) = @_;
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
62
|
+
try {
|
63
|
+
Transmitter->set_config_source($config_path);
|
64
|
+
return RuntimeFactory->new(Javonet::Sdk::Internal::ConnectionType::get_connection_type('WithConfig'), undef, $config_path);
|
65
|
+
} catch {
|
66
|
+
SdkExceptionHelper->send_exception_to_app_insights($_,"withConfig");
|
67
|
+
die $_;
|
68
|
+
};
|
46
69
|
}
|
47
70
|
|
48
71
|
1;
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,4 +1,4 @@
|
|
1
|
-
=head2
|
1
|
+
=head2 Thu Aug 1 13:30:03 2024: C<Module> L<Data::UUID|Data::UUID>
|
2
2
|
|
3
3
|
=over 4
|
4
4
|
|
@@ -12,7 +12,7 @@ C<LINKTYPE: dynamic>
|
|
12
12
|
|
13
13
|
=item *
|
14
14
|
|
15
|
-
C<VERSION: 1.
|
15
|
+
C<VERSION: 1.227>
|
16
16
|
|
17
17
|
=item *
|
18
18
|
|
@@ -20,7 +20,7 @@ C<EXE_FILES: >
|
|
20
20
|
|
21
21
|
=back
|
22
22
|
|
23
|
-
=head2
|
23
|
+
=head2 Thu Aug 1 13:30:08 2024: C<Module> L<Attribute::Util|Attribute::Util>
|
24
24
|
|
25
25
|
=over 4
|
26
26
|
|
@@ -34,7 +34,7 @@ C<LINKTYPE: dynamic>
|
|
34
34
|
|
35
35
|
=item *
|
36
36
|
|
37
|
-
C<VERSION:
|
37
|
+
C<VERSION: 1.07>
|
38
38
|
|
39
39
|
=item *
|
40
40
|
|
@@ -42,7 +42,7 @@ C<EXE_FILES: >
|
|
42
42
|
|
43
43
|
=back
|
44
44
|
|
45
|
-
=head2
|
45
|
+
=head2 Thu Aug 1 13:30:15 2024: C<Module> L<autobox|autobox>
|
46
46
|
|
47
47
|
=over 4
|
48
48
|
|
@@ -56,7 +56,7 @@ C<LINKTYPE: dynamic>
|
|
56
56
|
|
57
57
|
=item *
|
58
58
|
|
59
|
-
C<VERSION: 1
|
59
|
+
C<VERSION: v3.0.1>
|
60
60
|
|
61
61
|
=item *
|
62
62
|
|
@@ -64,7 +64,7 @@ C<EXE_FILES: >
|
|
64
64
|
|
65
65
|
=back
|
66
66
|
|
67
|
-
=head2
|
67
|
+
=head2 Thu Aug 1 13:30:23 2024: C<Module> L<Scalar::Util::Numeric|Scalar::Util::Numeric>
|
68
68
|
|
69
69
|
=over 4
|
70
70
|
|
@@ -78,7 +78,7 @@ C<LINKTYPE: dynamic>
|
|
78
78
|
|
79
79
|
=item *
|
80
80
|
|
81
|
-
C<VERSION: 0.
|
81
|
+
C<VERSION: 0.40>
|
82
82
|
|
83
83
|
=item *
|
84
84
|
|
@@ -86,7 +86,7 @@ C<EXE_FILES: >
|
|
86
86
|
|
87
87
|
=back
|
88
88
|
|
89
|
-
=head2
|
89
|
+
=head2 Thu Aug 1 13:30:34 2024: C<Module> L<PPI|PPI>
|
90
90
|
|
91
91
|
=over 4
|
92
92
|
|
@@ -100,7 +100,7 @@ C<LINKTYPE: dynamic>
|
|
100
100
|
|
101
101
|
=item *
|
102
102
|
|
103
|
-
C<VERSION:
|
103
|
+
C<VERSION: 1.278>
|
104
104
|
|
105
105
|
=item *
|
106
106
|
|
@@ -108,7 +108,7 @@ C<EXE_FILES: >
|
|
108
108
|
|
109
109
|
=back
|
110
110
|
|
111
|
-
=head2
|
111
|
+
=head2 Thu Aug 1 13:30:40 2024: C<Module> L<Want|Want>
|
112
112
|
|
113
113
|
=over 4
|
114
114
|
|
@@ -122,7 +122,7 @@ C<LINKTYPE: dynamic>
|
|
122
122
|
|
123
123
|
=item *
|
124
124
|
|
125
|
-
C<VERSION:
|
125
|
+
C<VERSION: 0.29>
|
126
126
|
|
127
127
|
=item *
|
128
128
|
|
@@ -130,7 +130,7 @@ C<EXE_FILES: >
|
|
130
130
|
|
131
131
|
=back
|
132
132
|
|
133
|
-
=head2
|
133
|
+
=head2 Thu Aug 1 13:30:47 2024: C<Module> L<PPI::XS|PPI::XS>
|
134
134
|
|
135
135
|
=over 4
|
136
136
|
|
@@ -144,7 +144,7 @@ C<LINKTYPE: dynamic>
|
|
144
144
|
|
145
145
|
=item *
|
146
146
|
|
147
|
-
C<VERSION:
|
147
|
+
C<VERSION: 0.910>
|
148
148
|
|
149
149
|
=item *
|
150
150
|
|
@@ -152,7 +152,7 @@ C<EXE_FILES: >
|
|
152
152
|
|
153
153
|
=back
|
154
154
|
|
155
|
-
=head2
|
155
|
+
=head2 Thu Aug 1 13:30:50 2024: C<Module> L<Nice::Try|Nice::Try>
|
156
156
|
|
157
157
|
=over 4
|
158
158
|
|
@@ -166,7 +166,7 @@ C<LINKTYPE: dynamic>
|
|
166
166
|
|
167
167
|
=item *
|
168
168
|
|
169
|
-
C<VERSION:
|
169
|
+
C<VERSION: v1.3.10>
|
170
170
|
|
171
171
|
=item *
|
172
172
|
|
@@ -174,7 +174,7 @@ C<EXE_FILES: >
|
|
174
174
|
|
175
175
|
=back
|
176
176
|
|
177
|
-
=head2
|
177
|
+
=head2 Thu Aug 1 13:30:55 2024: C<Module> L<Data::Cmp|Data::Cmp>
|
178
178
|
|
179
179
|
=over 4
|
180
180
|
|
@@ -188,7 +188,7 @@ C<LINKTYPE: dynamic>
|
|
188
188
|
|
189
189
|
=item *
|
190
190
|
|
191
|
-
C<VERSION: 0.
|
191
|
+
C<VERSION: 0.010>
|
192
192
|
|
193
193
|
=item *
|
194
194
|
|
data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Exception/SdkExceptionHelper.pm
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
use strict;
|
2
|
+
use warnings;
|
3
|
+
use LWP::UserAgent;
|
4
|
+
use DateTime;
|
5
|
+
use Sys::Hostname;
|
6
|
+
use threads;
|
7
|
+
use Nice::Try;
|
8
|
+
|
9
|
+
my $address = "https://dc.services.visualstudio.com/v2/track";
|
10
|
+
my $instrumentationKey = "2c751560-90c8-40e9-b5dd-534566514723";
|
11
|
+
|
12
|
+
package Javonet::Core::Exception::SdkExceptionHelper;
|
13
|
+
|
14
|
+
sub send_exception_to_app_insights {
|
15
|
+
my ($class, $event, $license_key) = @_;
|
16
|
+
try {
|
17
|
+
my $ua = LWP::UserAgent->new;
|
18
|
+
$ua->default_header('Accept' => 'application/json');
|
19
|
+
|
20
|
+
# Path to the VERSION file
|
21
|
+
my $version_file_path = 'VERSION';
|
22
|
+
|
23
|
+
# Variable to hold the javonet version
|
24
|
+
my $javonet_version;
|
25
|
+
|
26
|
+
try {
|
27
|
+
# Open the VERSION file for reading
|
28
|
+
open(my $fh, '<', $version_file_path) or die "Could not open file '$version_file_path' $!";
|
29
|
+
|
30
|
+
# Read the first line of the file
|
31
|
+
my $first_line = <$fh>;
|
32
|
+
|
33
|
+
# Use a regular expression to extract the version number
|
34
|
+
if ($first_line =~ /^\$VERSION=(.+)$/) {
|
35
|
+
$javonet_version = $1;
|
36
|
+
}
|
37
|
+
|
38
|
+
# Close the file handle
|
39
|
+
close($fh);
|
40
|
+
}
|
41
|
+
catch ( $e ) {
|
42
|
+
$javonet_version = "2.0.0";
|
43
|
+
}
|
44
|
+
|
45
|
+
my $node_name = eval {hostname()} || "Unknown Host";
|
46
|
+
|
47
|
+
my $operation_name = "JavonetSdkException";
|
48
|
+
my $os_name = $^O; # Replace with your desired OS name
|
49
|
+
my $calling_runtime_name = "Perl"; # Replace with your desired runtime name
|
50
|
+
my $event_message = $event;
|
51
|
+
|
52
|
+
my $dt = DateTime->now(time_zone => 'GMT');
|
53
|
+
|
54
|
+
# Format the DateTime object to a string
|
55
|
+
my $formatted_datetime = $dt->strftime("%Y-%m-%dT%H:%M:%S");
|
56
|
+
|
57
|
+
my $payload = "{"
|
58
|
+
. "\"name\": \"AppEvents\","
|
59
|
+
. "\"time\": \"$formatted_datetime\","
|
60
|
+
. "\"iKey\": \"$instrumentationKey\","
|
61
|
+
. "\"tags\": {"
|
62
|
+
. "\"ai.application.ver\": \"$javonet_version\","
|
63
|
+
. "\"ai.cloud.roleInstance\": \"$node_name\","
|
64
|
+
. "\"ai.operation.id\": \"0\","
|
65
|
+
. "\"ai.operation.parentId\": \"0\","
|
66
|
+
. "\"ai.operation.name\": \"$operation_name\","
|
67
|
+
. "\"ai.internal.sdkVersion\": \"$javonet_version\","
|
68
|
+
. "\"ai.internal.nodeName\": \"$node_name\""
|
69
|
+
. "},"
|
70
|
+
. "\"data\": {"
|
71
|
+
. "\"baseType\": \"EventData\","
|
72
|
+
. "\"baseData\": {"
|
73
|
+
. "\"ver\": 2,"
|
74
|
+
. "\"name\": \"$event_message\","
|
75
|
+
. "\"properties\": {"
|
76
|
+
. "\"OperatingSystem\": \"$os_name\","
|
77
|
+
. "\"LicenseKey\": \"$license_key\","
|
78
|
+
. "\"CallingTechnology\": \"$calling_runtime_name\""
|
79
|
+
. "}"
|
80
|
+
. "}"
|
81
|
+
. "}"
|
82
|
+
. "}";
|
83
|
+
|
84
|
+
my $response = $ua->post($address, Content => $payload);
|
85
|
+
my $response_code = $response->code;
|
86
|
+
return $response_code;
|
87
|
+
}
|
88
|
+
catch ( $e ) {
|
89
|
+
return Exception->new($e);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
1;
|
@@ -3,27 +3,48 @@ use strict;
|
|
3
3
|
use warnings FATAL => 'all';
|
4
4
|
use Moose;
|
5
5
|
use lib 'lib';
|
6
|
+
use Try::Tiny;
|
7
|
+
use threads;
|
6
8
|
use aliased 'Javonet::Sdk::Internal::RuntimeFactory' => 'RuntimeFactory';
|
7
9
|
use aliased 'Javonet::Core::Transmitter::PerlTransmitter' => 'Transmitter', qw(activate_with_license_file activate_with_credentials activate_with_credentials_and_proxy);
|
10
|
+
use aliased 'Javonet::Core::Exception::SdkExceptionHelper' => 'SdkExceptionHelper';
|
8
11
|
|
9
12
|
BEGIN {
|
10
|
-
|
13
|
+
try {
|
14
|
+
Transmitter->activate_with_license_file();
|
15
|
+
} catch {
|
16
|
+
SdkExceptionHelper->send_exception_to_app_insights($_,"JavonetStatic");
|
17
|
+
};
|
11
18
|
}
|
12
19
|
|
13
20
|
sub activate {
|
14
21
|
if(@_ == 1) {
|
15
|
-
|
22
|
+
try {
|
23
|
+
return Transmitter->activate_with_license_file();
|
24
|
+
} catch {
|
25
|
+
Javonet::Core::Exception::SdkExceptionHelper->send_exception_to_app_insights($_,"licenseFile");
|
26
|
+
die($_);
|
27
|
+
};
|
16
28
|
}
|
17
29
|
if(@_ == 2) {
|
18
30
|
my($self, $licenseKey) = @_;
|
19
|
-
|
31
|
+
try {
|
32
|
+
return Transmitter->activate_with_credentials($licenseKey);
|
33
|
+
} catch {
|
34
|
+
Javonet::Core::Exception::SdkExceptionHelper->send_exception_to_app_insights($_,$licenseKey);
|
35
|
+
die($_);
|
36
|
+
};
|
20
37
|
} elsif (@_ > 2) {
|
21
38
|
my($self, $licenseKey, $proxyHost, $proxyUserName, $proxyPassword) = @_;
|
22
39
|
$proxyUserName //="";
|
23
40
|
$proxyPassword //="";
|
24
|
-
|
41
|
+
try {
|
42
|
+
return Transmitter->activate_with_credentials_and_proxy($licenseKey, $proxyHost, $proxyUserName, $proxyPassword);
|
43
|
+
} catch {
|
44
|
+
Javonet::Core::Exception::SdkExceptionHelper->send_exception_to_app_insights($_,$licenseKey);
|
45
|
+
die($_);
|
46
|
+
};
|
25
47
|
}
|
26
|
-
|
27
48
|
}
|
28
49
|
|
29
50
|
sub in_memory {
|
@@ -31,7 +52,6 @@ sub in_memory {
|
|
31
52
|
}
|
32
53
|
|
33
54
|
sub tcp {
|
34
|
-
# additional shift is needed to pass second argument
|
35
55
|
my $class = shift;
|
36
56
|
my $address = shift;
|
37
57
|
return RuntimeFactory->new(Javonet::Sdk::Internal::ConnectionType::get_connection_type('Tcp'), $address, undef);
|
@@ -39,10 +59,13 @@ sub tcp {
|
|
39
59
|
|
40
60
|
sub with_config {
|
41
61
|
my ($self, $config_path) = @_;
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
62
|
+
try {
|
63
|
+
Transmitter->set_config_source($config_path);
|
64
|
+
return RuntimeFactory->new(Javonet::Sdk::Internal::ConnectionType::get_connection_type('WithConfig'), undef, $config_path);
|
65
|
+
} catch {
|
66
|
+
SdkExceptionHelper->send_exception_to_app_insights($_,"withConfig");
|
67
|
+
die $_;
|
68
|
+
};
|
46
69
|
}
|
47
70
|
|
48
71
|
1;
|
data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/protocol/CommandSerializer.py
CHANGED
@@ -65,9 +65,6 @@ class CommandSerializer:
|
|
65
65
|
inner_command = command.get_payload()[0]
|
66
66
|
self.insert_into_buffer(TypeSerializer.serialize_command(inner_command))
|
67
67
|
queue.append(inner_command)
|
68
|
-
elif isinstance(command.get_payload()[0], Exception):
|
69
|
-
result = self.serialize_primitive(str(command.get_payload()[0]))
|
70
|
-
self.insert_into_buffer(result)
|
71
68
|
else:
|
72
69
|
result = self.serialize_primitive(command.get_payload()[0])
|
73
70
|
self.insert_into_buffer(result)
|
data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/protocol/CommandSerializer.py
CHANGED
@@ -65,9 +65,6 @@ class CommandSerializer:
|
|
65
65
|
inner_command = command.get_payload()[0]
|
66
66
|
self.insert_into_buffer(TypeSerializer.serialize_command(inner_command))
|
67
67
|
queue.append(inner_command)
|
68
|
-
elif isinstance(command.get_payload()[0], Exception):
|
69
|
-
result = self.serialize_primitive(str(command.get_payload()[0]))
|
70
|
-
self.insert_into_buffer(result)
|
71
68
|
else:
|
72
69
|
result = self.serialize_primitive(command.get_payload()[0])
|
73
70
|
self.insert_into_buffer(result)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/CommandSerializer.py
CHANGED
@@ -65,9 +65,6 @@ class CommandSerializer:
|
|
65
65
|
inner_command = command.get_payload()[0]
|
66
66
|
self.insert_into_buffer(TypeSerializer.serialize_command(inner_command))
|
67
67
|
queue.append(inner_command)
|
68
|
-
elif isinstance(command.get_payload()[0], Exception):
|
69
|
-
result = self.serialize_primitive(str(command.get_payload()[0]))
|
70
|
-
self.insert_into_buffer(result)
|
71
68
|
else:
|
72
69
|
result = self.serialize_primitive(command.get_payload()[0])
|
73
70
|
self.insert_into_buffer(result)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|