pmcf 6.27.2 → 6.27.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -26
- package/package.json +3 -3
- package/src/network-interfaces/skeleton.mjs +1 -1
- package/src/services/bind.mjs +6 -2
package/README.md
CHANGED
|
@@ -75,34 +75,33 @@ generates config packages for:
|
|
|
75
75
|
* [HTTPEndpoint](#httpendpoint)
|
|
76
76
|
* [Parameters](#parameters-13)
|
|
77
77
|
* [port](#port-1)
|
|
78
|
-
* [id](#id)
|
|
79
78
|
* [domainNames](#domainnames)
|
|
80
79
|
* [InitializationContext](#initializationcontext)
|
|
81
80
|
* [Parameters](#parameters-14)
|
|
82
|
-
* [SkeletonNetworkInterface](#skeletonnetworkinterface)
|
|
83
|
-
* [networkAddresses](#networkaddresses)
|
|
84
|
-
* [Parameters](#parameters-15)
|
|
85
81
|
* [zones](#zones)
|
|
86
82
|
* [type](#type)
|
|
87
83
|
* [addressesStatement](#addressesstatement)
|
|
88
|
-
* [Parameters](#parameters-
|
|
84
|
+
* [Parameters](#parameters-15)
|
|
89
85
|
* [SystemdJournalRemoteService](#systemdjournalremoteservice)
|
|
90
86
|
* [Properties](#properties)
|
|
91
87
|
* [systemdConfigs](#systemdconfigs)
|
|
92
|
-
* [Parameters](#parameters-
|
|
88
|
+
* [Parameters](#parameters-16)
|
|
93
89
|
* [SystemdJournalUploadService](#systemdjournaluploadservice)
|
|
94
90
|
* [Properties](#properties-1)
|
|
95
91
|
* [systemdConfigs](#systemdconfigs-1)
|
|
96
|
-
* [Parameters](#parameters-
|
|
92
|
+
* [Parameters](#parameters-17)
|
|
97
93
|
* [NetworkAddress](#networkaddress)
|
|
98
|
-
* [Parameters](#parameters-
|
|
94
|
+
* [Parameters](#parameters-18)
|
|
99
95
|
* [subnet](#subnet)
|
|
100
96
|
* [networkInterface](#networkinterface)
|
|
101
97
|
* [address](#address)
|
|
102
98
|
* [addresses](#addresses)
|
|
103
|
-
* [Parameters](#parameters-
|
|
99
|
+
* [Parameters](#parameters-19)
|
|
104
100
|
* [cidrAddresses](#cidraddresses)
|
|
105
|
-
* [Parameters](#parameters-
|
|
101
|
+
* [Parameters](#parameters-20)
|
|
102
|
+
* [SkeletonNetworkInterface](#skeletonnetworkinterface)
|
|
103
|
+
* [networkAddresses](#networkaddresses)
|
|
104
|
+
* [Parameters](#parameters-21)
|
|
106
105
|
* [families](#families)
|
|
107
106
|
* [secretName](#secretname)
|
|
108
107
|
* [directHosts](#directhosts)
|
|
@@ -285,10 +284,6 @@ Endpoint based on http
|
|
|
285
284
|
|
|
286
285
|
Returns **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** 
|
|
287
286
|
|
|
288
|
-
## id
|
|
289
|
-
|
|
290
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
291
|
-
|
|
292
287
|
## domainNames
|
|
293
288
|
|
|
294
289
|
Returns **[Set](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** 
|
|
@@ -301,18 +296,6 @@ Keeps track of all in flight object creations and loose ends during config initi
|
|
|
301
296
|
|
|
302
297
|
* `directory` (optional, default `"/"`)
|
|
303
298
|
|
|
304
|
-
## SkeletonNetworkInterface
|
|
305
|
-
|
|
306
|
-
**Extends ServiceOwner**
|
|
307
|
-
|
|
308
|
-
### networkAddresses
|
|
309
|
-
|
|
310
|
-
#### Parameters
|
|
311
|
-
|
|
312
|
-
* `filter` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** (optional, default `n=>true`)
|
|
313
|
-
|
|
314
|
-
Returns **Iterable<[NetworkAddress](#networkaddress)>** 
|
|
315
|
-
|
|
316
299
|
## zones
|
|
317
300
|
|
|
318
301
|
Type: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\<bind\_zone>
|
|
@@ -409,6 +392,18 @@ Returns **Iterable<[string](https://developer.mozilla.org/docs/Web/JavaScript/Re
|
|
|
409
392
|
|
|
410
393
|
Returns **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** 
|
|
411
394
|
|
|
395
|
+
## SkeletonNetworkInterface
|
|
396
|
+
|
|
397
|
+
**Extends ServiceOwner**
|
|
398
|
+
|
|
399
|
+
### networkAddresses
|
|
400
|
+
|
|
401
|
+
#### Parameters
|
|
402
|
+
|
|
403
|
+
* `filter` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** (optional, default `n=>true`)
|
|
404
|
+
|
|
405
|
+
Returns **Iterable<[NetworkAddress](#networkaddress)>** 
|
|
406
|
+
|
|
412
407
|
## families
|
|
413
408
|
|
|
414
409
|
Returns **[Set](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** 
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "6.27.
|
|
3
|
+
"version": "6.27.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"aggregated-map": "^1.0.10",
|
|
54
54
|
"content-entry-transform": "^1.7.0",
|
|
55
55
|
"ip-utilties": "^3.12.0",
|
|
56
|
-
"npm-pkgbuild": "^20.8.
|
|
57
|
-
"pacc": "^11.2.
|
|
56
|
+
"npm-pkgbuild": "^20.8.14",
|
|
57
|
+
"pacc": "^11.2.1",
|
|
58
58
|
"package-directory": "^8.2.0",
|
|
59
59
|
"yaml": "^2.9.0"
|
|
60
60
|
},
|
package/src/services/bind.mjs
CHANGED
|
@@ -198,7 +198,8 @@ class bind_group extends Base {
|
|
|
198
198
|
type: bindNetworkAddressTypes,
|
|
199
199
|
name: "access",
|
|
200
200
|
collection: true,
|
|
201
|
-
writable: true
|
|
201
|
+
writable: true,
|
|
202
|
+
deferredExpression: true
|
|
202
203
|
},
|
|
203
204
|
entries: {
|
|
204
205
|
...default_collection_attribute_writable,
|
|
@@ -273,7 +274,6 @@ class bind_group extends Base {
|
|
|
273
274
|
}
|
|
274
275
|
|
|
275
276
|
foreignDomains = new Set();
|
|
276
|
-
access = [];
|
|
277
277
|
allowedUpdates = [];
|
|
278
278
|
notify = true;
|
|
279
279
|
hasCatalog = true;
|
|
@@ -369,6 +369,10 @@ class bind_group extends Base {
|
|
|
369
369
|
const address = na.address;
|
|
370
370
|
const host = na.host;
|
|
371
371
|
|
|
372
|
+
if (host === undefined) {
|
|
373
|
+
console.log("NO HOST", na);
|
|
374
|
+
}
|
|
375
|
+
|
|
372
376
|
if (!addresses.has(address)) {
|
|
373
377
|
addresses.add(address);
|
|
374
378
|
|