-
Notifications
You must be signed in to change notification settings - Fork 6
SPOTAUT-9153 Implementation of EMR Scaler Routes #133
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
Open
pfz168
wants to merge
11
commits into
master
Choose a base branch
from
Andy-SPOTAUT-9153-AWS-EMR-Scaler-SDK
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
44da47e
Implementation of EMR Scaler Routes
5b52b4f
Merge branch 'master' into Andy-SPOTAUT-9153-AWS-EMR-Scaler-SDK
f6f7ce4
SDK Changes
chandra1-n fd9c2f7
Merge branch 'master' into Andy-SPOTAUT-9153-AWS-EMR-Scaler-SDK
chandra1-n e679de4
Update MrScalerAwsCreationRequest.java
chandra1-n 9a53785
Update SpotinstMrScalerAwsClientTest.java
chandra1-n 2f80f35
Changes to Ocean ECS
chandra1-n b3bc1fc
EMR SDK Modification
chandra1-n 3957604
minor fix
chandra1-n 5b67659
Merge branch 'master' into Andy-SPOTAUT-9153-AWS-EMR-Scaler-SDK
chandra1-n 0d93dfb
null check update
chandra1-n File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
245 changes: 148 additions & 97 deletions
245
src/main/java/com/spotinst/sdkjava/example/mrScaler/aws/MrScalerAwsUsageExample.java
Large diffs are not rendered by default.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
src/main/java/com/spotinst/sdkjava/model/ApiMrScalerAwsDeleteRequest.java
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
src/main/java/com/spotinst/sdkjava/model/ApiMrScalerAwsGetRequest.java
This file was deleted.
Oops, something went wrong.
68 changes: 0 additions & 68 deletions
68
src/main/java/com/spotinst/sdkjava/model/ApiMrScalerAwsUpdateRequest.java
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
src/main/java/com/spotinst/sdkjava/model/ISpotinstMrScalerAwsRepo.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| package com.spotinst.sdkjava.model; | ||
|
|
||
| import com.spotinst.sdkjava.model.api.mrScaler.aws.ApiMrScalerAws; | ||
| import com.spotinst.sdkjava.model.bl.mrScaler.aws.MrScalerAws; | ||
|
|
||
| public interface ISpotinstMrScalerAwsRepo extends IRepository<ApiMrScalerAws, Void, String> { | ||
| public interface ISpotinstMrScalerAwsRepo extends IRepository<MrScalerAws, Void, String> { | ||
| } |
12 changes: 12 additions & 0 deletions
12
src/main/java/com/spotinst/sdkjava/model/ISpotinstMrScalerListInstancesRepo.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| package com.spotinst.sdkjava.model; | ||
|
|
||
| import com.spotinst.sdkjava.exception.SpotinstNotSupportedException; | ||
| import com.spotinst.sdkjava.model.bl.mrScaler.aws.MrScalerListInstancesAws; | ||
|
|
||
| import java.util.List; | ||
|
|
||
| public interface ISpotinstMrScalerListInstancesRepo extends IRepository<MrScalerListInstancesAws, Void, String> { | ||
| default RepoGenericResponse<List<MrScalerListInstancesAws>> listMrScalerInstances(String mrScalerId, String authToken, String account){ | ||
| throw new SpotinstNotSupportedException(); | ||
| } | ||
| } |
12 changes: 12 additions & 0 deletions
12
src/main/java/com/spotinst/sdkjava/model/ISpotinstMrScalerListScalersRepo.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| package com.spotinst.sdkjava.model; | ||
|
|
||
| import com.spotinst.sdkjava.exception.SpotinstNotSupportedException; | ||
| import com.spotinst.sdkjava.model.bl.mrScaler.aws.MrScalerListScalersAws; | ||
|
|
||
| import java.util.List; | ||
|
|
||
| public interface ISpotinstMrScalerListScalersRepo extends IRepository<MrScalerListScalersAws, Void, String> { | ||
| default RepoGenericResponse<List<MrScalerListScalersAws>> listMrScalers(String mrScalerId, String authToken, String account){ | ||
| throw new SpotinstNotSupportedException(); | ||
| } | ||
| } |
11 changes: 6 additions & 5 deletions
11
src/main/java/com/spotinst/sdkjava/model/ISpotinstMrScalerOperatorAwsRepo.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,10 @@ | ||
| package com.spotinst.sdkjava.model; | ||
|
|
||
| import com.spotinst.sdkjava.model.api.mrScaler.aws.ApiMrScalerOperatorAws; | ||
| import com.spotinst.sdkjava.model.api.mrScaler.aws.ApiMrScalerOperatorAwsResponse; | ||
| import com.spotinst.sdkjava.model.bl.mrScaler.aws.MrScalerOperatorAws; | ||
| import com.spotinst.sdkjava.model.bl.mrScaler.aws.MrScalerOperatorResponse; | ||
|
|
||
| public interface ISpotinstMrScalerOperatorAwsRepo extends IRepository<ApiMrScalerOperatorAwsResponse, Void, String> { | ||
| RepoGenericResponse<ApiMrScalerOperatorAwsResponse> create(ApiMrScalerOperatorAws mrScalerOperator, | ||
| String authToken, String account); | ||
| public interface ISpotinstMrScalerOperatorAwsRepo extends IRepository<MrScalerOperatorAws, Void, String> { | ||
|
|
||
| RepoGenericResponse<MrScalerOperatorResponse> createOperator(MrScalerOperatorAws mrScalerOperator, | ||
| String authToken, String account); | ||
| } |
12 changes: 12 additions & 0 deletions
12
src/main/java/com/spotinst/sdkjava/model/ISpotinstMrScalerScaleDownRepo.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| package com.spotinst.sdkjava.model; | ||
|
|
||
| import com.spotinst.sdkjava.exception.SpotinstNotSupportedException; | ||
| import com.spotinst.sdkjava.model.bl.mrScaler.aws.MrScalerScaleDownAws; | ||
|
|
||
| import java.util.List; | ||
|
|
||
| public interface ISpotinstMrScalerScaleDownRepo extends IRepository<MrScalerScaleDownAws, Void, String> { | ||
| default RepoGenericResponse<List<MrScalerScaleDownAws>> scaleDownMrScaler(String mrScalerId, Integer adjustment, String authToken, String account){ | ||
| throw new SpotinstNotSupportedException(); | ||
| } | ||
| } |
12 changes: 12 additions & 0 deletions
12
src/main/java/com/spotinst/sdkjava/model/ISpotinstMrScalerScaleUpRepo.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| package com.spotinst.sdkjava.model; | ||
|
|
||
| import com.spotinst.sdkjava.exception.SpotinstNotSupportedException; | ||
| import com.spotinst.sdkjava.model.bl.mrScaler.aws.MrScalerScaleUpAws; | ||
|
|
||
| import java.util.List; | ||
|
|
||
| public interface ISpotinstMrScalerScaleUpRepo extends IRepository<MrScalerScaleUpAws, Void, String> { | ||
| default RepoGenericResponse<List<MrScalerScaleUpAws>> scaleUpMrScaler(String mrScalerId, Integer adjustment, String authToken, String account){ | ||
| throw new SpotinstNotSupportedException(); | ||
| } | ||
| } | ||
7 changes: 0 additions & 7 deletions
7
src/main/java/com/spotinst/sdkjava/model/MrScalerApiResponse.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not required to be separate interface for each function