-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
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.
ef3b566
to
53013b4
Compare
There was a problem hiding this 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.
@@ -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"] |
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
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.
53013b4
to
50bf368
Compare
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. |
No description provided.