Skip to content

Commit 8205d4c

Browse files
authored
Merge pull request #168 from cloudgraphdev/beta
Release 0.90.0
2 parents 38d8579 + 99432e0 commit 8205d4c

File tree

33 files changed

+1550
-278
lines changed

33 files changed

+1550
-278
lines changed

CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
# [0.90.0-beta.1](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.89.0...0.90.0-beta.1) (2023-11-03)
2+
3+
4+
### Bug Fixes
5+
6+
* **cloud9:** filter out invalid elements ([2004c17](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/2004c178b9b4181b82c45dc485c7a1cc2a8226f2))
7+
* **dynamoDB:** PointInTimeRecovery is optional ([6b9395c](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/6b9395c549a69eebab9be54f04fdb7d0bc88418d))
8+
* **ecsTaskDefinition:** fix keys of null error ([c9195bd](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/c9195bdadbdf1e5a25bd796a97fa7be0f009b91f))
9+
* **secretsManager:** get all data pages ([0f2cff4](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/0f2cff400c44d183e613aa72df362be826a19aa5))
10+
11+
12+
### Features
13+
14+
* adding api gateway v2 services ([62eb02f](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/62eb02f7d06f978f60fa631930038057a3e87d42))
15+
16+
# [0.90.0-alpha.2](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.90.0-alpha.1...0.90.0-alpha.2) (2023-11-03)
17+
18+
19+
### Bug Fixes
20+
21+
* **secretsManager:** get all data pages ([0f2cff4](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/0f2cff400c44d183e613aa72df362be826a19aa5))
22+
23+
# [0.90.0-alpha.1](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.89.1-alpha.2...0.90.0-alpha.1) (2023-10-18)
24+
25+
26+
### Features
27+
28+
* adding api gateway v2 services ([62eb02f](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/62eb02f7d06f978f60fa631930038057a3e87d42))
29+
30+
## [0.89.1-alpha.2](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.89.1-alpha.1...0.89.1-alpha.2) (2023-08-10)
31+
32+
33+
### Bug Fixes
34+
35+
* **cloud9:** filter out invalid elements ([2004c17](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/2004c178b9b4181b82c45dc485c7a1cc2a8226f2))
36+
* **dynamoDB:** PointInTimeRecovery is optional ([6b9395c](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/6b9395c549a69eebab9be54f04fdb7d0bc88418d))
37+
38+
## [0.89.1-alpha.1](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.89.0...0.89.1-alpha.1) (2023-08-07)
39+
40+
41+
### Bug Fixes
42+
43+
* **ecsTaskDefinition:** fix keys of null error ([c9195bd](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/c9195bdadbdf1e5a25bd796a97fa7be0f009b91f))
44+
145
# [0.89.0](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.88.0...0.89.0) (2023-07-19)
246

347

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudgraph/cg-provider-aws",
3-
"version": "0.89.0",
3+
"version": "0.90.0-beta.1",
44
"description": "cloud-graph provider plugin for AWS used to fetch AWS cloud data.",
55
"publishConfig": {
66
"registry": "https://registry.npmjs.org/",

src/enums/serviceMap.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ import Account from '../services/account'
22
import ACM from '../services/acm'
33
import ALB from '../services/alb'
44
import APIGatewayApiKey from '../services/apiGatewayApiKey'
5-
import APIGatewayDomainName from '../services/apiGatewayDomainName'
6-
import APIGatewayHttpApi from '../services/apiGatewayHttpApi'
5+
import APIGatewayDomainName from '../services/apiGateway2DomainName'
6+
import APIGatewayV2HttpApi from '../services/apiGateway2HttpApi'
77
import APIGatewayResource from '../services/apiGatewayResource'
88
import APIGatewayRestApi from '../services/apiGatewayRestApi'
99
import APIGatewayStage from '../services/apiGatewayStage'
1010
import APIGatewayUsagePlan from '../services/apiGatewayUsagePlan'
1111
import APIGatewayVpcLink from '../services/apiGatewayVpcLink'
12+
import APIGatewayV2VpcLink from '../services/apiGateway2VpcLink'
1213
import AppSync from '../services/appSync'
1314
import ASG from '../services/asg'
1415
import AthenaDataCatalog from '../services/athenaDataCatalog'
@@ -141,13 +142,14 @@ export default {
141142
[services.acm]: ACM,
142143
[services.alb]: ALB,
143144
[services.apiGatewayDomainName]: APIGatewayDomainName,
144-
[services.apiGatewayHttpApi]: APIGatewayHttpApi,
145+
[services.apiGatewayHttpApi]: APIGatewayV2HttpApi,
145146
[services.apiGatewayResource]: APIGatewayResource,
146147
[services.apiGatewayRestApi]: APIGatewayRestApi,
147148
[services.apiGatewayApiKey]: APIGatewayApiKey,
148149
[services.apiGatewayVpcLink]: APIGatewayVpcLink,
149150
[services.apiGatewayUsagePlan]: APIGatewayUsagePlan,
150151
[services.apiGatewayStage]: APIGatewayStage,
152+
[services.apiGatewayV2VpcLink]: APIGatewayV2VpcLink,
151153
[services.athenaDataCatalog]: AthenaDataCatalog,
152154
[services.asg]: ASG,
153155
[services.billing]: Billing,

src/enums/services.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default {
99
apiGatewayVpcLink: 'apiGatewayVpcLink',
1010
apiGatewayUsagePlan: 'apiGatewayUsagePlan',
1111
apiGatewayStage: 'apiGatewayStage',
12+
apiGatewayV2VpcLink: 'apiGatewayV2VpcLink',
1213
appSync: 'appSync',
1314
asg: 'asg',
1415
athenaDataCatalog: 'athenaDataCatalog',

src/properties/logger.ts

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ export default {
128128
`Created and added ${num} Api Gateways to this region`,
129129
fetchedApiGatewayRestApis: (num: number): string =>
130130
`Fetched ${num} Api Gateway Rest Apis`,
131+
fetchedApiGatewayV2HttpApis: (num: number): string =>
132+
`Fetched ${num} Api Gateway V2 HTTP Apis`,
131133
fetchedApiGatewayResources: (num: number): string =>
132134
`Fetched ${num} Api Gateway Resources`,
133135
fetchedApiGatewayStages: (num: number): string =>
@@ -140,6 +142,7 @@ export default {
140142
`Fetched ${num} Api Gateway Vpc Links`,
141143
fetchedApiGatewayUsagePlans: (num: number): string =>
142144
`Fetched ${num} Api Gateway Usage Plans`,
145+
fetchedVpcLinks: (num: number): string => `Fetched ${num} VPC links`,
143146
fetchingApiGatewayData:
144147
'Fetching API Gateway data for this AWS account via the AWS SDK...',
145148
doneFetchingApiGatewayData: '✅ Done fetching API Gateway Data ✅',
@@ -153,6 +156,22 @@ export default {
153156
gettingApiGatewayModels:
154157
'Fetching authorizers for each Api Gateway Models...',
155158
gettingApiGatewayStageTags: 'Fetching tags for each Api Gateway Stage...',
159+
gettingApiGatewayV2Models:
160+
'Fetching models for each Api Gateway V2 Http Api...',
161+
gettingApiGatewayV2Authorizers:
162+
'Fetching authorizers for each Api Gateway V2 Http Api...',
163+
gettingApiGatewayV2Deployments:
164+
'Fetching deployments for each Api Gateway V2 Http Api...',
165+
gettingApiGatewayV2Stages:
166+
'Fetching stages for each Api Gateway V2 Http Api...',
167+
gettingApiGatewayV2Integrations:
168+
'Fetching integrations for each Api Gateway V2 Http Api...',
169+
gettingApiGatewayV2IntegrationsResponses:
170+
'Fetching integrations responses for each Api Gateway V2 Http Api...',
171+
gettingApiGatewayV2Routes:
172+
'Fetching routes for each Api Gateway V2 Http Api...',
173+
gettingApiGatewayV2RoutesResponses:
174+
'Fetching routes responses for each Api Gateway V2 Http Api...',
156175
/**
157176
* Vpc
158177
*/
@@ -305,7 +324,8 @@ export default {
305324
lookingforRdsClusters: 'Looking for RDS Clusters...',
306325
creatingRdsInstance: (num: number): string => `Creating RDS Instance #${num}`,
307326
fetchedRdsClusters: (num: number): string => `Fetched ${num} RDS Clusters`,
308-
fetchedDocdbClusters: (num: number): string => `Fetched ${num} DocDB Clusters`,
327+
fetchedDocdbClusters: (num: number): string =>
328+
`Fetched ${num} DocDB Clusters`,
309329
fetchedRdsGlobalClusters: (num: number): string =>
310330
`Fetched ${num} RDS Global Clusters`,
311331
fetchedRdsInstances: (num: number): string =>

src/services/apiGatewayDomainName/format.ts renamed to src/services/apiGateway2DomainName/format.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export default ({
1717
const {
1818
DomainName: domainName,
1919
ApiMappingSelectionExpression: apiMappingSelectionExpression,
20+
ApiMappings: apiMappings,
2021
DomainNameConfigurations: domainNameConfigurations = [],
2122
Tags: tags = {},
2223
} = service
@@ -30,6 +31,12 @@ export default ({
3031
region,
3132
domainName,
3233
apiMappingSelectionExpression,
34+
apiMappings: apiMappings?.map(am => ({
35+
apiId: am.ApiId,
36+
apiMappingId: am.ApiMappingId,
37+
apiMappingKey: am.ApiMappingKey,
38+
stage: am.Stage,
39+
})),
3340
configurations:
3441
domainNameConfigurations?.map(dn => ({
3542
id: generateUniqueId({

src/services/apiGatewayDomainName/schema.graphql renamed to src/services/apiGateway2DomainName/schema.graphql

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,21 @@ type awsApiGatewayDomainNameConfiguration
1616
ownershipVerificationCertificateArn: String @search(by: [hash, regexp])
1717
}
1818

19+
type awsApiGatewayMapping
20+
@generate(
21+
query: { get: false, query: false, aggregate: false }
22+
mutation: { add: false, delete: false }
23+
subscription: false
24+
) {
25+
apiId: String! @id @search(by: [hash])
26+
apiMappingId: String @search(by: [hash, regexp])
27+
apiMappingKey: String @search(by: [hash, regexp])
28+
stage: String @search(by: [hash, regexp])
29+
}
30+
1931
type awsApiGatewayDomainName implements awsBaseService @key(fields: "arn") {
2032
domainName: String @search(by: [hash, regexp])
33+
apiMappings: [awsApiGatewayMapping]
2134
apiMappingSelectionExpression: String @search(by: [hash, regexp])
2235
configurations: [awsApiGatewayDomainNameConfiguration]
2336
tags: [awsRawTag]

0 commit comments

Comments
 (0)