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

Added parameter TendrlContext.cluster_name for the flow #73

Merged
merged 1 commit into from
Sep 8, 2017

Conversation

shtripat
Copy link
Member

@shtripat shtripat commented Sep 7, 2017

tendrl-bug-id: Tendrl/node-agent#602
Signed-off-by: Shubhendu shtripat@redhat.com

tendrl-bug-id: Tendrl/node-agent#602
Signed-off-by: Shubhendu <shtripat@redhat.com>
@shtripat
Copy link
Member Author

shtripat commented Sep 7, 2017

@Tendrl/tendrl-core @rishubhjain @r0h4n plz review

This is required for Tendrl/commons#720

@rishubhjain
Copy link
Contributor

rishubhjain commented Sep 7, 2017

@shtripat Can you add self.cluster_name to https://github.com/Tendrl/monitoring-integration/blob/master/tendrl/monitoring_integration/objects/trigger/__init__.py#L6

Also I think I missed self.integration_id

I am not sure, but I feel the object class must have all the attributes in the constructor

@@ -18,6 +18,7 @@ namespace.monitoring:
inputs:
mandatory:
- TendrlContext.integration_id
- TendrlContext.cluster_name
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah yes while testing I had it here. Forgot to post in PR somehow. Will update the PR

Copy link
Member Author

Choose a reason for hiding this comment

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

Added as part of Tendrl/commons#720

@shtripat
Copy link
Member Author

shtripat commented Sep 8, 2017

@shtripat Can you add self.cluster_name to https://github.com/Tendrl/monitoring-integration
/blob/master/tendrl/monitoring_integration/objects/trigger/init.py#L6

Is its really used down the line. If required we can add

@r0h4n r0h4n merged commit dadabad into Tendrl:master Sep 8, 2017
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.

3 participants