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

Fixes cloud-connector url #151

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

patilsuraj767
Copy link
Collaborator

Getting below error in stage.

{"level":"trace","http_client":"cloud-connector","method":"GET","url":"http://cloud-connector.cloud-connector-stage.svc.cluster.local:8080/api/cloud-connector/v2/v2/connections/5495e7b6-767a-4a96-a169-3c6937/status","headers":{"http_status":"Not Found","headers":{"Content-Length":["19"],"Content-Type":["text/plain; charset=utf-8"],"Date":["Tue, 19 Mar 2024 10:15:22 GMT"],"X-Content-Type-Options":["nosniff"]},"response":"404 page not found\n","time":"2024-03-19T10:15:22Z","caller":"/opt/app-root/src/infrastructure/persistence/cloudconnector/cloudconnector.go:119","message":"received HTTP response"}

{"level":"error","module":"inventory-consumer","offset":364160,"event_type":"updated","request_id":"7678ed7d-085d-40ee-9af4-201f4125e413","error":"unknown connection status: 404 Not Found: 404 page not found\n","time":"2024-03-19T10:15:22Z","caller":"/opt/app-root/src/internal/cmd/inventoryconsumer/cmd.go:137","message":"cannot get connection status from cloud-connector"}

We are getting this because auto generated code already has v2 mentioned in the API - https://github.com/RedHatInsights/config-manager/blob/master/infrastructure/persistence/cloudconnector/cloudconnector.gen.go#L1043

@r14chandra r14chandra merged commit d9a2ce3 into RedHatInsights:master Mar 19, 2024
5 checks passed
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