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

extension for remote access to Webservice via Python HLF client #391

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

TomasPail
Copy link

Description

Extension of Python HLF to support remote access to Webservice via network. On the server side it's necessary to run RFEM with allowed SSL connection (installed certificates) and on client side it's necessary to run RFEM Python client with proper settings in connectionGlobals.py (url to remote PC: https://x.x.x.x and api_key from Extranet/MyData). As mandatory condition it's required to have allowed remote access to Webservice for given contact which is used to login to RFEM/RSTAB on server side (it's necessary to contact Dlubal admin for that)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Unit Tests
  • Attached examples

Test Configuration:

  • RFEM version: 6.07.0001
  • Python version:

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@TomasPail TomasPail linked an issue Jul 2, 2024 that may be closed by this pull request
Copy link
Contributor

@OndraMichal OndraMichal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain why some tests are skipped if they don't use or check any external file? Because this was the reason to skip them at the beginning. They just doesn't work?

RFEM/initModel.py Outdated Show resolved Hide resolved
RFEM/initModel.py Show resolved Hide resolved
RFEM/suds_requests.py Outdated Show resolved Hide resolved
OndraMichal

This comment was marked as duplicate.

@TomasPail
Copy link
Author

Can you explain why some tests are skipped if they don't use or check any external file? Because this was the reason to skip them at the beginning. They just doesn't work?

All the skipped tests contain handling of external file or somehow work with directories and their paths.

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.

REQUEST: Remote access to Webservice
2 participants