pmcf 2.71.0 → 2.71.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "2.71.0",
3
+ "version": "2.71.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -39,8 +39,8 @@ export class OpenLDAPService extends Service {
39
39
  return OpenLDAPServiceTypeDefinition;
40
40
  }
41
41
 
42
- baseDN;
43
- rootDN;
42
+ _baseDN;
43
+ _rootDN;
44
44
 
45
45
  constructor(owner, data) {
46
46
  super(owner, data);
@@ -51,14 +51,27 @@ export class OpenLDAPService extends Service {
51
51
  return OpenLDAPServiceTypeDefinition.name;
52
52
  }
53
53
 
54
- get uri()
55
- {
54
+ get baseDN() {
55
+ return this.expand(this._baseDN);
56
+ }
57
+
58
+ set baseDN(value) {
59
+ this._baseDN = value;
60
+ }
61
+
62
+ get rootDN() {
63
+ return this.expand(this._rootDN);
64
+ }
65
+
66
+ set rootDN(value) {
67
+ this._rootDN = value;
68
+ }
69
+
70
+ get uri() {
56
71
  return this._uri;
57
72
  }
58
73
 
59
- set uri(value)
60
- {
61
- console.log("SET URI",value);
74
+ set uri(value) {
62
75
  this._uri = value;
63
76
  }
64
77
 
@@ -86,7 +99,6 @@ export class OpenLDAPService extends Service {
86
99
  "SLAPD_URLS=ldap:/// ldaps:///"
87
100
  ]);
88
101
 
89
- console.log(this);
90
102
  await writeLines(join(packageData.dir, "etc/openldap"), "ldap.conf", [
91
103
  `BASE=${this.baseDN}`,
92
104
  `URI=${this.uri}`
@@ -270,9 +270,13 @@ export class OpenLDAPService extends Service {
270
270
  };
271
271
  service: {};
272
272
  };
273
- baseDN: any;
274
- rootDN: any;
273
+ _baseDN: any;
274
+ _rootDN: any;
275
275
  get type(): string;
276
+ set baseDN(value: any);
277
+ get baseDN(): any;
278
+ set rootDN(value: any);
279
+ get rootDN(): any;
276
280
  set uri(value: any);
277
281
  get uri(): any;
278
282
  _uri: any;