Closed madhushreeray30 closed 6 months ago
Thank you, i have start to fix your comment ! :)
How are we handling the resource not found errors?
Buy null value
Do the APIs support pagination? I did not find any reference to it, but I want to make sure that we have checked that box before releasing it.
The pagination is supported in API, but not in golang sdk :/ I tried increasing by 100 until I reached a value before the rate limit.
https://docs.opsgenie.com/docs/alert-api#list-alerts
While working with the APIs did you encounter rate limit errors?
I didn't encounter rate limit with APIs, this API is limited to output 20 000 Alertes.
Thanks @jplanckeel for the fixes đ . Can you please take a look at the following suggestions
config/opsgenie.spc
opsgenie
docs/tables
docs/index.md
icon_url
and og_image
are missing opsgenie/*
opsgenie_alert
instead of opsgenie_alerts
tableOpsgenieAlert
instead of tableOpsgenieAlerts
CHANGELOG
README
opsgenie.spc
filego.mod
.vscode
for me, i have fix all issues, is missing only og_image file ;)
Thanks @jplanckeel for this new plugin. Great work đ !!
The basic structure looks good so far. While using the plugin, we did come up with a few suggestions based on our best practices:
config/opsgenie.spc
opsgenie.spc
file to follow the format of the namecheap pluginjplanckeel/opsgenie
instead ofopsgenie
url
,token
andquery
parameters should be commented out and the values should be in the format of the actual values (however incorrect)docs/tables/*
select
and notSELECT
;
opsgenie/tables
.
if opts.Offset*opts.Limit == 20000
Is this correct? We are checkingSum of Offset and limit should be lower than 20K
.listAlerts
instead oflistAlert
docs/index.md
icon_url
andog_image
have incorrect folder names, it should not be underturbot
.## Get started
with## Quick start
steampipe plugin install jplanckeel/opsgenie
Credential
section. We can take reference from the namecheap pluginConfigure your account details in
~/.steampipe/config/opsgenie.spc
:steampipe plugin install jplanckeel/opsgenie
opsgenie plugin
instead of thejira plugin
:opsgenie.spc
file)go.mod
steampipe-plugin-sdk v5.6.1
. Then rungo mod tidy
.Missing files
Makefile
- Take reference from namecheap pluginLICENSE
- Take reference from namecheap pluginA couple of follow-up questions: