Skip to content
Snippets Groups Projects
Verified Commit dbd2b89e authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: retrieve simple entity

parent fbd385f0
Branches
Tags
No related merge requests found
Pipeline #10015 failed
...@@ -4,8 +4,7 @@ services: ...@@ -4,8 +4,7 @@ services:
image: "$CPPINTTEST_REGISTRY_IMAGE" image: "$CPPINTTEST_REGISTRY_IMAGE"
environment: environment:
CAOSDB_SERVER_HOST: caosdb-server CAOSDB_SERVER_HOST: caosdb-server
CAOSDB_SERVER_PORT: 8443 CAOSDB_SERVER_CERT: /cert/caosdb.cert.pem
CAOSDB_SERVER_CA_PEM: /cert/caosdb.cert.pem
networks: networks:
- docker_caosnet - docker_caosnet
volumes: volumes:
......
...@@ -107,7 +107,7 @@ TEST(test_connection, connection_ssl_authentication_error_wrong_credentials) { ...@@ -107,7 +107,7 @@ TEST(test_connection, connection_ssl_authentication_error_wrong_credentials) {
} }
TEST(test_connection, connection_ssl_authentication_success) { TEST(test_connection, connection_ssl_authentication_success) {
auto pConnection = get_test_connection(); const auto &pConnection = get_test_connection();
auto major = 0; auto major = 0;
auto minor = 5; auto minor = 5;
......
...@@ -18,17 +18,11 @@ ...@@ -18,17 +18,11 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
* *
*/ */
#include <gtest/gtest-message.h> // for Message #include <memory> // for allocator, make_shared, shared_ptr
#include <gtest/gtest-test-part.h> // for SuiteApiResolver, TestPartResult #include <string> // for stoi, string
#include <memory> // for make_shared, allocator, shared_ptr
#include <string> // for string
#include "caosdb/authentication.h" // for PlainPasswordAuthenticator #include "caosdb/authentication.h" // for PlainPasswordAuthenticator
#include "caosdb/connection.h" // for InsecureCaosDBConnectionConfig #include "caosdb/connection.h" // for PemFileCACertProvider, SslCaosDBC...
#include "caosdb/exceptions.h" // for AuthenticationError, ConnectionError
#include "caosdb/info.h" // for VersionInfo
#include "caosdb/utils.h" // for get_env_var #include "caosdb/utils.h" // for get_env_var
#include "gtest/gtest_pred_impl.h" // for Test, TEST, EXPECT_EQ, EXPECT_THROW
#include "caosdb_test_utility.h"
namespace caosdb::connection { namespace caosdb::connection {
using caosdb::authentication::PlainPasswordAuthenticator; using caosdb::authentication::PlainPasswordAuthenticator;
......
...@@ -20,15 +20,12 @@ ...@@ -20,15 +20,12 @@
*/ */
#include <gtest/gtest-message.h> // for Message #include <gtest/gtest-message.h> // for Message
#include <gtest/gtest-test-part.h> // for SuiteApiResolver, TestFactoryImpl #include <gtest/gtest-test-part.h> // for SuiteApiResolver, TestFactoryImpl
#include <memory> // for allocator, make_shared, static_po... #include <memory> // for allocator, static_pointer_cast
#include <string> // for stoi #include "caosdb/connection.h" // for CaosDBConnection
#include "caosdb/authentication.h" // for PlainPasswordAuthenticator
#include "caosdb/connection.h" // for InsecureCaosDBConnectionConfig
#include "caosdb/entity.h" // for Entity, EntityID #include "caosdb/entity.h" // for Entity, EntityID
#include "caosdb/transaction.h" // for Transaction, UniqueResult, Entity #include "caosdb/transaction.h" // for Transaction, UniqueResult, Entity
#include "caosdb/utils.h" // for get_env_var
#include "gtest/gtest_pred_impl.h" // for Test, TestInfo, EXPECT_EQ, TEST #include "gtest/gtest_pred_impl.h" // for Test, TestInfo, EXPECT_EQ, TEST
#include "test_connection.h" #include "test_connection.h" // for get_test_connection
namespace caosdb::transaction { namespace caosdb::transaction {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment