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

Connector template for the demo #1117

Merged
merged 4 commits into from
Sep 14, 2022
Merged

Connector template for the demo #1117

merged 4 commits into from
Sep 14, 2022

Conversation

mdazam1942
Copy link
Member

No description provided.

{
"connection": {
"type": {
"displayName": "Async Sample"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe rename to Demo Sample

"host": {
"label": "Management IP address or Hostname",
"placeholder": "192.168.1.10",
"description": "Specify the IP address or hostname of the data source so that IBM Cloud Pak for Security can communicate with it"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove reference to CP4S

@codecov
Copy link

codecov bot commented Sep 14, 2022

Codecov Report

Base: 64.78% // Head: 64.57% // Decreases project coverage by -0.21% ⚠️

Coverage data is based on head (e8cbffa) compared to base (400c2ff).
Patch coverage: 31.20% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1117      +/-   ##
===========================================
- Coverage    64.78%   64.57%   -0.22%     
===========================================
  Files          531      541      +10     
  Lines        50601    50912     +311     
===========================================
+ Hits         32784    32877      +93     
- Misses       17817    18035     +218     
Impacted Files Coverage Δ
...ules/demo_template/stix_transmission/api_client.py 0.00% <0.00%> (ø)
...dules/demo_template/stix_transmission/connector.py 0.00% <0.00%> (ø)
...es/demo_template/stix_transmission/error_mapper.py 0.00% <0.00%> (ø)
stix_shifter_modules/demo_template/transformers.py 0.00% <0.00%> (ø)
...emo_template/stix_translation/query_constructor.py 21.93% <22.81%> (ø)
...les/demo_template/stix_translation/transformers.py 60.00% <60.00%> (ø)
...demo_template/stix_translation/query_translator.py 54.54% <66.66%> (ø)
stix_shifter_modules/demo_template/entry_point.py 87.50% <87.50%> (ø)
...mo_template/stix_translation/results_translator.py 100.00% <100.00%> (ø)
..._modules/demo_template/tests/test_demo_template.py 92.50% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

{
"ipv4-addr": {
"fields": {
"value": ["SourceIpV4-dialect1", "DestinationIpV4-dialect1"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove instances of dialect1 since the demo template will only have the default.

@@ -0,0 +1,26 @@
from stix_shifter_utils.modules.base.stix_transmission.base_ping_connector import BasePingConnector
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we move all *_connector.py method into one connector.py file to keep it as simple as possible?

@mdazam1942 mdazam1942 merged commit ccc79ec into develop Sep 14, 2022
@mdazam1942 mdazam1942 deleted the demo_template branch September 14, 2022 17:53
AmitHaim1 pushed a commit to aviv1ron1/stix-shifter that referenced this pull request Sep 26, 2022
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