@@ -804,13 +804,34 @@ def reconfigure(self):
804
804
"""Apply configuration from config file managed by .cf. to this Habery
805
805
Process any oobis or endpoints
806
806
807
- conf
807
+ config file json or hjon
808
+
808
809
{
809
- dt: "isodatetime",
810
- curls: ["tcp://localhost:5620/"],
811
- iurls: ["tcp://localhost:5621/?name=eve"],
810
+ "dt": "2021-01-01T00:00:00.000000+00:00",
811
+ "nel":
812
+ {
813
+ "dt": "2021-01-01T00:00:00.000000+00:00",
814
+ "curls":
815
+ [
816
+ "tcp://localhost:5621/"
817
+ ]
818
+ },
819
+ "iurls":
820
+ [
821
+ "tcp://localhost:5620/?role=peer&name=tam"
822
+ ],
823
+ "durls":
824
+ [
825
+ "http://127.0.0.1:7723/oobi/EBNaNu-M9P5cgrnfl2Fvymy4E_jvxxyjb70PRtiANlJy",
826
+ "http://127.0.0.1:7723/oobi/EMhvwOlyEJ9kN4PrwCpr9Jsv7TxPhiYveZ0oP3lJzdEi",
827
+ ],
828
+ "wurls":
829
+ [
830
+ "http://127.0.0.1:5644/.well-known/keri/oobi/EBNaNu-M9P5cgrnfl2Fvymy4E_jvxxyjb70PRtiANlJy?name=Root"
831
+ ]
812
832
}
813
833
834
+
814
835
Config file is meant to be read only at init not changed by app at
815
836
run time. Any dynamic app changes must go in database not config file
816
837
that way we don't have to worry about multiple writers of cf.
@@ -1122,13 +1143,35 @@ def reconfigure(self):
1122
1143
Assumes that .pre and signing keys have been setup in order to create
1123
1144
own endpoint auth when provided in .cf.
1124
1145
1125
- conf
1146
+ config file json or hjon
1147
+
1126
1148
{
1127
- dt: "isodatetime",
1128
- curls: ["tcp://localhost:5620/"],
1129
- iurls: ["tcp://localhost:5621/?name=eve"]
1149
+ "dt": "2021-01-01T00:00:00.000000+00:00",
1150
+ "nel":
1151
+ {
1152
+ "dt": "2021-01-01T00:00:00.000000+00:00",
1153
+ "curls":
1154
+ [
1155
+ "tcp://localhost:5621/"
1156
+ ]
1157
+ },
1158
+ "iurls":
1159
+ [
1160
+ "tcp://localhost:5620/?role=peer&name=tam"
1161
+ ],
1162
+ "durls":
1163
+ [
1164
+ "http://127.0.0.1:7723/oobi/EBNaNu-M9P5cgrnfl2Fvymy4E_jvxxyjb70PRtiANlJy",
1165
+ "http://127.0.0.1:7723/oobi/EMhvwOlyEJ9kN4PrwCpr9Jsv7TxPhiYveZ0oP3lJzdEi",
1166
+ ],
1167
+ "wurls":
1168
+ [
1169
+ "http://127.0.0.1:5644/.well-known/keri/oobi/EBNaNu-M9P5cgrnfl2Fvymy4E_jvxxyjb70PRtiANlJy?name=Root"
1170
+ ]
1130
1171
}
1131
1172
1173
+
1174
+
1132
1175
Config file is meant to be read only at init not changed by app at
1133
1176
run time. Any dynamic app changes must go in database not config file
1134
1177
that way we don't have to worry about multiple writers of cf.
0 commit comments