Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

feat: add support for setting DNS Sec #439

Merged
merged 1 commit into from Dec 21, 2020
Merged

feat: add support for setting DNS Sec #439

merged 1 commit into from Dec 21, 2020

Conversation

JustinBeckwith
Copy link
Contributor

@JustinBeckwith JustinBeckwith commented Dec 18, 2020

So @amanda-tarafa this was the easiest way to deal with the overground warnings, and it happens to be kinda nice for customers so 馃し

@JustinBeckwith JustinBeckwith requested a review from a team as a code owner December 18, 2020 19:19
@product-auto-label product-auto-label bot added the api: dns Issues related to the googleapis/nodejs-dns API. label Dec 18, 2020
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Dec 18, 2020
const [zones] = await dns.getZones();
await Promise.all(zones.map(zone => zone.delete({force: true})));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bcoe this is kind of funny. If two test suites happened to be running at the same time, there's no way this was going to work 馃槅

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch 馃憤

@codecov
Copy link

codecov bot commented Dec 18, 2020

Codecov Report

Merging #439 (d6fb217) into master (1870158) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #439      +/-   ##
==========================================
+ Coverage   97.81%   97.84%   +0.03%     
==========================================
  Files           6        6              
  Lines        2332     2365      +33     
  Branches       63       83      +20     
==========================================
+ Hits         2281     2314      +33     
  Misses         49       49              
  Partials        2        2              
Impacted Files Coverage 螖
src/index.ts 100.00% <100.00%> (酶)

Continue to review full report at Codecov.

Legend - Click here to learn more
螖 = absolute <relative> (impact), 酶 = not affected, ? = missing data
Powered by Codecov. Last update 1870158...d6fb217. Read the comment docs.

Copy link
Contributor

@bcoe bcoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃憤 looks good to me, then we just need to cleanup any stale resources that have dnssecConfig off?

const [zones] = await dns.getZones();
await Promise.all(zones.map(zone => zone.delete({force: true})));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch 馃憤

@@ -55,6 +55,39 @@ export interface CreateZoneRequest {
dnsName: string;
description?: string;
name?: string;
dnssecConfig?: ManagedZoneDnsSecConfig;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The API already excepted this field, but we weren't setting it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, there are many fields this thing accepts that we're not currently exposing. For now, this one gets us out of overground jail though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: dns Issues related to the googleapis/nodejs-dns API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants