Skip to content

Commit b1a69af

Browse files
Merge branch 'main' into feature/CG-664-ai-platform-notebook
2 parents 657c0e2 + 96a32a6 commit b1a69af

30 files changed

Lines changed: 164 additions & 133 deletions

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [0.32.1](https://gitlab.com/auto-cloud/cloudgraph/provider/cloudgraph-provider-gcp/compare/0.32.0...0.32.1) (2022-02-24)
2+
3+
4+
### Bug Fixes
5+
6+
* **connections:** naming aliases, pluralize connections ([aa834d5](https://gitlab.com/auto-cloud/cloudgraph/provider/cloudgraph-provider-gcp/commit/aa834d5ebeb6d980b14948113e7280645011f8ab))
7+
18
# [0.32.0](https://gitlab.com/auto-cloud/cloudgraph/provider/cloudgraph-provider-gcp/compare/0.31.0...0.32.0) (2022-02-21)
29

310

README.md

Lines changed: 50 additions & 50 deletions
Large diffs are not rendered by default.

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-gcp",
3-
"version": "0.32.0",
3+
"version": "0.32.1",
44
"description": "CloudGraph provider plugin for GCP used to fetch GCP cloud data.",
55
"publishConfig": {
66
"registry": "https://registry.npmjs.org/",

src/enums/serviceAliases.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
export default {
2+
alertPolicy: 'alertPolicies',
3+
cloudFunction: 'cloudFunctions',
4+
dnsManagedZone: 'dnsManagedZones',
5+
dnsPolicy: 'dnsPolicies',
6+
iamPolicy: 'iamPolicies',
7+
logBucket: 'logBuckets',
8+
logMetric: 'logMetrics',
9+
logView: 'logViews',
10+
logSink: 'logSinks',
11+
storageBucket: 'storageBuckets',
12+
firewall: 'firewalls',
13+
network: 'networks',
14+
subnet: 'subnets',
15+
vmInstance: 'vmInstances',
16+
}

src/enums/services.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ export default {
8282
logView: 'logView',
8383
organization: 'organization',
8484
network: 'network',
85-
// organizations: 'organizations',
8685
project: 'project',
8786
sqlInstances: 'sqlInstances',
8887
sslPolicies: 'sslPolicies',

src/services/alertPolicy/schema.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ type gcpAlertPolicy implements gcpBaseResource @key(fields: "id") {
99
notificationChannels: [String] @search(by: [hash])
1010
creationRecord: gcpAlertPolicyMutationRecord
1111
mutationRecord: gcpAlertPolicyMutationRecord
12-
project: [gcpProject] @hasInverse(field: alertPolicy)
12+
project: [gcpProject] @hasInverse(field: alertPolicies)
1313
}
1414

1515
type gcpAlertPolicyDocumentation

src/services/cloudFunction/schema.graphql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ type gcpCloudFunction implements gcpBaseResource @key(fields: "id") {
1919
vpcConnectorEgressSettings: String @search(by: [hash, regexp])
2020
ingressSettings: String @search(by: [hash, regexp])
2121
buildId: String @search(by: [hash, regexp])
22-
project: [gcpProject] @hasInverse(field: cloudFunction)
23-
vpcConnectors: [gcpVpcConnector] @hasInverse(field: cloudFunction)
22+
project: [gcpProject] @hasInverse(field: cloudFunctions)
23+
vpcConnectors: [gcpVpcConnector] @hasInverse(field: cloudFunctions)
2424
}
2525

2626
type gcpCloudFunctionSourceRepository

src/services/dnsManagedZone/schema.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ type gcpDnsManagedZone implements gcpBaseResource
6363
serviceDirectoryConfigNamespaceDeactivateTime: String @search(by: [hash, regexp])
6464
cloudLoggingConfigKind: String @search(by: [hash, regexp])
6565
cloudLoggingConfigEnableLogging: Boolean @search
66-
project: [gcpProject] @hasInverse(field: dnsManagedZone)
66+
project: [gcpProject] @hasInverse(field: dnsManagedZones)
6767
}

src/services/dnsPolicy/schema.graphql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ type gcpDnsPolicy implements gcpBaseResource
2121
alternativeNameServerConfigKind: String @search(by: [hash, regexp])
2222
alternativeNameServerConfigTargetNameServers: [gcpDnsPolicyAlternativeNameServerConfigTargetNameServer]
2323
enableLogging: Boolean @search
24-
network: [gcpNetwork] @hasInverse(field: dnsPolicy)
25-
project: [gcpProject] @hasInverse(field: dnsPolicy)
24+
network: [gcpNetwork] @hasInverse(field: dnsPolicies)
25+
project: [gcpProject] @hasInverse(field: dnsPolicies)
2626
}

src/services/firewall/schema.graphql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ type gcpFirewall {
1919
sourceTags: [String] @search(by: [hash])
2020
targetServiceAccounts: [String] @search(by: [hash])
2121
targetTags: [String] @search(by: [hash])
22-
network: [gcpNetwork] @hasInverse(field: firewall)
23-
project: [gcpProject] @hasInverse(field: firewall)
22+
network: [gcpNetwork] @hasInverse(field: firewalls)
23+
project: [gcpProject] @hasInverse(field: firewalls)
2424
}
2525

2626
type gcpFirewallAccess

0 commit comments

Comments
 (0)