Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable support for HTTP communication between components ECFLOW-1957 #121

Draft
wants to merge 24 commits into
base: develop
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
8d73a55
Refactor DefaultServer class template
marcosbento Feb 20, 2024
9906a73
Enable HTTP connection between Client/Server
marcosbento Feb 21, 2024
28bc5e7
Enable UI to use HTTP connection
marcosbento Jun 20, 2024
ac25b60
Enable REST/UDP proxies to use HTTP connection
marcosbento Sep 4, 2024
47004a3
Enable ecFlow REST API tests using HTTP backend
marcosbento Oct 2, 2024
6899cfc
Improve TestFixture by extracting ScratchDir
marcosbento Oct 10, 2024
f736cee
Improve TestFixture by extracting LocalServerLauncher
marcosbento Oct 11, 2024
a32ab82
Enable s_test with HTTP backend
marcosbento Oct 11, 2024
75933f2
Simplify tests AbortCmd and WaitCmd
marcosbento Oct 11, 2024
8623e09
Correct typo in source code comment
marcosbento Oct 11, 2024
ef822e6
Replace deprecated use of BOOST_GLOBAL_FIXTURE
marcosbento Oct 11, 2024
4028343
Allow REST API tests to run in parallel
marcosbento Oct 15, 2024
9674040
Remove the use of std::filesystem
marcosbento Oct 15, 2024
ebffe69
Ensure parallel s_test* do not use same port or directory
marcosbento Oct 16, 2024
fab3359
Test ecFlow Python using HTTP ecFlow server
marcosbento Oct 17, 2024
abe99b6
Enable HTTPS on the Client side
marcosbento Oct 18, 2024
e3c2683
Use notion of selected Protocol
marcosbento Oct 18, 2024
f42dd5d
Move test methods in ClientInvoker to SCPort
marcosbento Oct 21, 2024
fcf00c7
Use notion of selected Protocol
marcosbento Oct 21, 2024
d68b5d9
Add description to HttpServer
marcosbento Oct 21, 2024
2ee69df
Correct #include guards
marcosbento Oct 21, 2024
d36d36b
Correct outstanding compilation warnings
marcosbento Oct 21, 2024
d3f94ee
Update default HTTP connection timeouts
marcosbento Oct 24, 2024
f0e0adf
Replace use of io.post() with boost::asio::post
marcosbento Jan 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove the use of std::filesystem
Re ECFLOW-1957
marcosbento committed Mar 12, 2025
commit 967404039d6af9f11fe82f4286f4bffbf89f8e22
5 changes: 2 additions & 3 deletions libs/test/harness/ScratchDir.hpp
Original file line number Diff line number Diff line change
@@ -12,10 +12,10 @@
#define ecflow_test_harness_ScratchDir_HPP

#include <cassert>
#include <filesystem>
#include <string>

#include "ecflow/core/Environment.hpp"
#include "ecflow/core/Filesystem.hpp"

/**
* This class is used to create a scratch directory for testing purposes.
@@ -58,8 +58,7 @@ class ScratchDir {
return scratch;
}

inline static void clear_scratch_test_dir(std::string_view test_dir) {
namespace fs = std::filesystem;
inline static void clear_scratch_test_dir(const std::string& test_dir) {
if (fs::exists(test_dir)) {
fs::remove_all(test_dir);
}