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

DM-43090: next-visit-fan-out for LSSTComCamSim for dev #11

Merged
merged 3 commits into from
Feb 29, 2024

Conversation

hsinfang
Copy link
Collaborator

No description provided.

Changes of variable names:
- lsst_com_cam_active_detectors -> lsstcomcam_active_detectors
- lsst_cam_active_detectors -> lsstcam_active_detectors
- lsst_cam_knative_serving_url -> lsstcam_knative_serving_url
- LSST_CAM_KNATIVE_SERVING_URL -> LSSTCAM_KNATIVE_SERVING_URL

Take out the underscores in the camera names, so a camera name
is one simplier string like other references in this file.
src/main.py Show resolved Hide resolved
Copy link
Member

@kfindeisen kfindeisen left a comment

Choose a reason for hiding this comment

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

I'm a bit nervous about supporting the real ComCam in advance, otherwise looks good.

src/main.py Show resolved Hide resolved
@@ -159,6 +159,7 @@ async def main() -> None:
offset = os.environ["OFFSET"]
kafka_schema_registry_url = os.environ["KAFKA_SCHEMA_REGISTRY_URL"]
latiss_knative_serving_url = os.environ["LATISS_KNATIVE_SERVING_URL"]
lsstcomcam_knative_serving_url = os.environ["LSSTCOMCAM_KNATIVE_SERVING_URL"]
Copy link
Member

@kfindeisen kfindeisen Feb 29, 2024

Choose a reason for hiding this comment

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

I guess we already have a URL defined in the Phalanx config, but this makes me a bit nervous -- trying to support all the instruments in advance has caused us a lot of unnecessary maintenance on the Phalanx side...

Copy link
Collaborator Author

@hsinfang hsinfang Feb 29, 2024

Choose a reason for hiding this comment

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

I share your concern. Maybe we should refactor next_visit_fan_out a bit, but don't have a plan right now.

This added variable lsstcomcam_knative_serving_url
isn't really used yet, but is expected later.
@hsinfang
Copy link
Collaborator Author

My thinking on adding the ComCam part is that the LSSTCam counterpart already exists but ComCam partially exists. I would prefer either they all exist or they all don't exist. So instead of removing the existing pieces, I opted for completing (to my best effort) the ComCam counterpart.

@hsinfang hsinfang merged commit 5039b5a into main Feb 29, 2024
2 checks passed
@hsinfang hsinfang deleted the tickets/DM-43090 branch July 17, 2024 21:55
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