oci-go-sdk icon indicating copy to clipboard operation
oci-go-sdk copied to clipboard

Column delivery_policy does not populate data in ons `GetSubscription` api call

Open khushboo9024 opened this issue 2 years ago • 1 comments

https://pkg.go.dev/github.com/oracle/oci-go-sdk/[email protected]/ons#NotificationDataPlaneClient.GetSubscription

The above api call for subscription does not populate any data for column delivery_policy whereas the list call for subscription populates data for column delivery_policy.

Note -- OCI CLI gives the expected data for the subscription call and we do get value for column delivery_policy

SDK version used: v44.0.0

I will appreciate some insight on this matter. Please let me know if you will need any additional information.

khushboo9024 avatar Sep 19 '22 14:09 khushboo9024

Hi @khushboo9024,

Thanks for reporting the issue. Our team will take a look and get back to you.

KartikShrikantHegde avatar Sep 21 '22 17:09 KartikShrikantHegde

Hi @khushboo9024, our team did a check and they tried the GetSubscription API on their end. The API does in fact return a delivery policy stored as a string, it is referred to as "deliver policy". Please check again on your end. If you see the same problem, can you send us the region info and subscription ocid?

KartikShrikantHegde avatar Apr 27 '23 16:04 KartikShrikantHegde

Hi @khushboo9024 , I will be closing this ticket for now. Please feel free to re-open if you still face the issue. Thanks.

KartikShrikantHegde avatar May 01 '23 22:05 KartikShrikantHegde