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 23 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.91%. Comparing base (e21f499) to head (7f670da).

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.88%   48.91%   +0.02%     
===========================================
  Files         1188     1192       +4     
  Lines        98305    98600     +295     
  Branches     14745    14801      +56     
===========================================
+ Hits         48060    48226     +166     
- Misses       50245    50374     +129     

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

@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 2 times, most recently from 970c6c9 to b886c88 Compare December 11, 2024 15:59
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
@marcosbento marcosbento force-pushed the feature/support_http_comms branch from b886c88 to 7f670da Compare December 16, 2024 08:41
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