feat: Implement CustomToolsReconciler and generic BaseArtifactReconciler#17
feat: Implement CustomToolsReconciler and generic BaseArtifactReconciler#17Vaishnav88sk wants to merge 2 commits into
Conversation
Signed-off-by: Vaishnav88sk <vaishnavsk8804@gmail.com>
76f25b0 to
48bcb93
Compare
|
That's pretty fast! Have you been able to test it out from end to end? Because I haven't published any documentation yet on how to deploy it, how to configure the Reshapr control plane to allow Kubernetes service account authentication and so on ... Also, I don't see any new CRD in the PR. You must extract them from |
same comment #16 (comment) |
|
Yeah, that makes sense, and I missed! The Operator SDK automatically generated the CRD YAML into the I will manully extract the generated yml and copy it over to |
Signed-off-by: Vaishnav88sk <vaishnavsk8804@gmail.com>
Fixes #14
Description
This PR introduces the GitOps reconciliation layer for seamlessly syncing
CustomTools(and eventuallyPromptsorResources) into the Reshapr control plane.Key Changes
state,serviceId,artifactId,message) toCustomToolsStatusto match existing Reshapr CRD norms.attachArtifactendpoint lacked a request body schema definition formultipart/form-data, I hand-wrote an HTTP client mapping the parameters accurately to/v1/artifacts/attachviaapplication/x-www-form-urlencoded.findRemoteServicefromServiceReconcilerintoBaseReshaprReconcilerfor broader reuse across reconciliation loops.CustomToolstracking, serializing.spec.customToolspayloads safely via Jackson into JSON before securely calling the attach artifact backend endpoint.Verification
CustomToolsinstances in the Quarkus dev environment.