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

Conversation

marcosbento
Copy link
Collaborator

No description provided.

@marcosbento marcosbento force-pushed the feature/support_http_comms branch 3 times, most recently from 5e20a18 to 92016f8 Compare September 23, 2024 11:37
@codecov-commenter
Copy link

codecov-commenter commented Sep 23, 2024

Codecov Report

Attention: Patch coverage is 45.97070% with 295 lines in your changes missing coverage. Please review.

Project coverage is 48.98%. Comparing base (0f3621b) to head (f0e0adf).

Files with missing lines Patch % Lines
libs/client/test/harness/SCPort.cpp 28.78% 47 Missing ⚠️
libs/test/harness/TestFixture.cpp 0.00% 45 Missing ⚠️
Viewer/ecflowUI/src/ServerListDialog.cpp 0.00% 27 Missing ⚠️
libs/server/src/ecflow/server/HttpServer.cpp 80.19% 20 Missing ⚠️
libs/core/src/ecflow/core/EcfPortLock.hpp 0.00% 18 Missing ⚠️
libs/base/src/ecflow/base/ServerProtocol.hpp 22.22% 14 Missing ⚠️
libs/server/test/TestServer.cpp 39.13% 14 Missing ⚠️
libs/test/harness/ScratchDir.hpp 0.00% 14 Missing ⚠️
Viewer/ecflowUI/src/ServerHandler.cpp 0.00% 13 Missing ⚠️
Viewer/ecflowUI/src/ServerList.cpp 0.00% 13 Missing ⚠️
... and 22 more
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #121      +/-   ##
===========================================
+ Coverage    48.94%   48.98%   +0.03%     
===========================================
  Files         1189     1193       +4     
  Lines        98454    98749     +295     
  Branches     14750    14806      +56     
===========================================
+ Hits         48193    48370     +177     
- Misses       50261    50379     +118     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@marcosbento marcosbento force-pushed the feature/support_http_comms branch 3 times, most recently from 798ae74 to b1ca0fa Compare September 24, 2024 12:03
@marcosbento marcosbento force-pushed the feature/support_http_comms branch 2 times, most recently from df873ea to 6d66c4f Compare October 2, 2024 13:29
@marcosbento marcosbento force-pushed the feature/support_http_comms branch 5 times, most recently from 3a68a7b to a6b987c Compare October 20, 2024 07:47
@marcosbento marcosbento force-pushed the feature/support_http_comms branch 2 times, most recently from 6a27b3e to 3eb760f Compare October 21, 2024 11:34
@marcosbento marcosbento force-pushed the feature/support_http_comms branch from 292a140 to 5549420 Compare November 5, 2024 13:19
@marcosbento marcosbento force-pushed the feature/support_http_comms branch 3 times, most recently from b886c88 to 7f670da Compare December 16, 2024 08:41
@marcosbento marcosbento force-pushed the feature/support_http_comms branch 3 times, most recently from 33d1a24 to 89696a2 Compare February 6, 2025 15:41
@marcosbento marcosbento force-pushed the feature/support_http_comms branch from 89696a2 to 14f5e06 Compare February 10, 2025 17:46
@marcosbento marcosbento force-pushed the feature/support_http_comms branch 3 times, most recently from 33743ed to ad68056 Compare February 27, 2025 08:33
@marcosbento marcosbento force-pushed the feature/support_http_comms branch from ad68056 to cdacefe Compare March 5, 2025 09:28
Also, fix an eventual race condition accessing:
 - Ecf::state_change_no_ and Ecf::state_modify_no_
Apart from making these global (instead of thread_local),
the Http library is restricted to the use of a single thread

Re ECFLOW-1957
BOOST_GLOBAL_FIXTURE has been deprecated with Boost 1.65, to be
replaced by BOOST_TEST_GLOBAL_FIXTURE.

Re ECFLOW-1957
- use Protocol value instead of flags isSsl, isHttp, isHttps in the ecFlowUI implementation

Re ECFLOW-1957
- create `harness` libraries to support the tests

Re ECFLOW-1957
- use Protocol value instead of flags isSsl, isHttp, isHttps in the server/client implementation

Re ECFLOW-1957
Re ECFLOW-1957
Necessary since Boost 1.87, which deprecated the post() member function.

Re ECFLOW-1957
@marcosbento marcosbento force-pushed the feature/support_http_comms branch from cdacefe to f0e0adf Compare March 12, 2025 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants