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

Add Available Services API call #80

Closed
wants to merge 16 commits into from

Conversation

danotorrey
Copy link
Contributor

@danotorrey danotorrey commented Jun 13, 2019

Add API call that returns a list of available services for the Choose from Available Services page.

To test this out, this CURL command can be used: curl http://someuser:somepass@localhost:9000/api/plugins/org.graylog.integrations/aws/availableServices

Resolves #50

Dan Torrey and others added 15 commits May 24, 2019 11:20
Adds beginnings of API endpoint and Kinesis/Cloudwatch services

Includes a structure that we will continue to build from.
The goal is to establish some structure that we can implement AWS API calls within. There's now one resource (for API calls), one service (for business logic), and one AWSClient (for all AWS/API SDK interactions).
* Add CloudWatchService class

* Add AWSConfigSettings class

* Add UserCredentials class

* Add temporary Main class

* Include the latest version of the Apache Http Client

* Improve HTTP Client dependency comment

* Update AWSConfigSettings class

* Update CloudWatchService class

* Update temporary Main class
* Add getRegion into AWSResource

* Update api paths
Runaway looping Stopping at 100 is probably to small.
It is a general project standard to use underscores.
* Add paging functionality to getLogGroupNames

* Add unit test for CloudWatch log groups

* Add comments in log group name unit test

* Code clean up and remove unneeded code

* Revert unintended change from unit test commit
@danotorrey
Copy link
Contributor Author

The linter check failure can be ignored, since this code did not change any UI components.

@danotorrey danotorrey changed the base branch from aws-backend to aws June 13, 2019 19:33
@danotorrey
Copy link
Contributor Author

Due to some incorrect branching, closing this PR and cherry-picking into another PR.

@danotorrey danotorrey closed this Jun 13, 2019
@danotorrey danotorrey deleted the aws-backend-available-services branch June 19, 2019 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant