Skip to content

Commit

Permalink
octo: 8th release recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
ninyolittle committed Oct 3, 2024
1 parent 285e1a7 commit 2a3fff9
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
1 change: 1 addition & 0 deletions api/cover/recommendation/aws.proto
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ message AWSResourceDetails {
message EC2Details {
message InstanceDetails {
string type = 1;
string architecture = 11;
string tenancy = 2;
string platform = 3;
string family = 4;
Expand Down
9 changes: 8 additions & 1 deletion api/cover/recommendation/octoaws.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@ option go_package = "github.com/alphauslabs/blue-sdk-go/api/cover/recommendation
option java_package = "cloud.alphaus.blueapi.api.cover.recommendation";
option java_outer_classname = "ApiCoverOctoAwsRecommendationProto";

import "api/cover/recommendation/aws.proto";

message OctoGeneratedAWSRecommendations {

message Details {
api.cover.recommendation.aws.AWSResourceDetails.EC2Details ec2Details = 1;
}

Details currentDetails = 1;
Details recommendationDetails = 2;
}


Expand Down
1 change: 1 addition & 0 deletions api/cover/recommendation/recommendation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ message RecommendationData {
bool restartNeeded = 20;
bool rollbackPossible = 21;
string launchUrl = 22;
string vendor = 24;
}

message OCTOGeneratedRecommendations {
Expand Down
24 changes: 23 additions & 1 deletion openapiv2/apidocs.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -13274,6 +13274,9 @@
"type": {
"type": "string"
},
"architecture": {
"type": "string"
},
"tenancy": {
"type": "string"
},
Expand Down Expand Up @@ -21876,7 +21879,23 @@
"description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors)."
},
"octoawsOctoGeneratedAWSRecommendations": {
"type": "object"
"type": "object",
"properties": {
"currentDetails": {
"$ref": "#/definitions/octoawsOctoGeneratedAWSRecommendationsDetails"
},
"recommendationDetails": {
"$ref": "#/definitions/octoawsOctoGeneratedAWSRecommendationsDetails"
}
}
},
"octoawsOctoGeneratedAWSRecommendationsDetails": {
"type": "object",
"properties": {
"ec2Details": {
"$ref": "#/definitions/awsAWSResourceDetailsEC2Details"
}
}
},
"octoazurecspOctoGeneratedAzureCSPRecommendations": {
"type": "object"
Expand Down Expand Up @@ -22052,6 +22071,9 @@
},
"launchUrl": {
"type": "string"
},
"vendor": {
"type": "string"
}
}
},
Expand Down

0 comments on commit 2a3fff9

Please sign in to comment.