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

Include igwn notices in JSON loop #175

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

Conversation

dakota002
Copy link
Collaborator

Resolves #174

@@ -106,7 +106,7 @@ def kafka_message_to_email(message):
maintype="application",
subtype="xml",
)
elif topic.startswith("gcn.notices."):
elif topic.startswith("gcn.notices.") or topic.startswith("igwn."):
Copy link
Member

Choose a reason for hiding this comment

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

Note that you need to subscribe to the topic as well in subscribe_to_topics.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

🤦‍♂️ good catch, added in latest commit

@dakota002 dakota002 requested a review from lpsinger March 5, 2024 14:24
@lpsinger
Copy link
Member

lpsinger commented Mar 5, 2024

Crap. I remember why we hadn't pushed ahead on this. The IGWN alerts are only public on production. This work is blocked until we model the Kafka ACL permissions.

@dakota002
Copy link
Collaborator Author

Crap. I remember why we hadn't pushed ahead on this. The IGWN alerts are only public on production. This work is blocked until we model the Kafka ACL permissions.

Ah gotcha. What all is needed for modeling the ACL permissions? I started doing some work a while ago to add some of the group functionality to the website: nasa-gcn/gcn.nasa.gov#1879

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.

add json format email option to the core.py file in gcn email repo
2 participants