@haibun/web-http 3.1.1 → 3.3.0
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/build/web-http.d.ts +17 -13
- package/build/web-http.d.ts.map +1 -1
- package/build/web-http.js +10 -6
- package/build/web-http.js.map +1 -1
- package/package.json +12 -5
package/build/web-http.d.ts
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import { AStepper } from '@haibun/core/lib/astepper.js';
|
|
2
|
+
import { TWorld } from '@haibun/core/lib/defs.js';
|
|
2
3
|
declare const WebHttp: {
|
|
3
4
|
new (): {
|
|
5
|
+
description: string;
|
|
6
|
+
setWorld(world: TWorld, steppers: AStepper[]): Promise<void>;
|
|
4
7
|
steps: {
|
|
5
8
|
listening: {
|
|
6
9
|
gwta: string;
|
|
7
10
|
action: ({ url }: {
|
|
8
11
|
url: string;
|
|
9
|
-
}) => Promise<import("@haibun/core/
|
|
12
|
+
}) => Promise<import("@haibun/core/schema/protocol.js").TOKActionResult | import("@haibun/core/schema/protocol.js").TNotOKActionResult>;
|
|
10
13
|
};
|
|
11
14
|
oidc_config: {
|
|
12
15
|
gwta: string;
|
|
13
16
|
action: ({ url }: {
|
|
14
17
|
url: string;
|
|
15
|
-
}) => Promise<import("@haibun/core/
|
|
18
|
+
}) => Promise<import("@haibun/core/schema/protocol.js").TOKActionResult | import("@haibun/core/schema/protocol.js").TNotOKActionResult>;
|
|
16
19
|
};
|
|
17
20
|
statusIs: {
|
|
18
21
|
gwta: string;
|
|
@@ -20,7 +23,7 @@ declare const WebHttp: {
|
|
|
20
23
|
url: string;
|
|
21
24
|
method: string;
|
|
22
25
|
status: string;
|
|
23
|
-
}) => Promise<import("@haibun/core/
|
|
26
|
+
}) => Promise<import("@haibun/core/schema/protocol.js").TOKActionResult | import("@haibun/core/schema/protocol.js").TNotOKActionResult>;
|
|
24
27
|
};
|
|
25
28
|
hasContentType: {
|
|
26
29
|
gwta: string;
|
|
@@ -28,7 +31,7 @@ declare const WebHttp: {
|
|
|
28
31
|
url: string;
|
|
29
32
|
method: string;
|
|
30
33
|
contentType: string;
|
|
31
|
-
}) => Promise<import("@haibun/core/
|
|
34
|
+
}) => Promise<import("@haibun/core/schema/protocol.js").TOKActionResult | import("@haibun/core/schema/protocol.js").TNotOKActionResult>;
|
|
32
35
|
};
|
|
33
36
|
requestWithBody: {
|
|
34
37
|
gwta: string;
|
|
@@ -38,7 +41,7 @@ declare const WebHttp: {
|
|
|
38
41
|
contentType: string;
|
|
39
42
|
body: string;
|
|
40
43
|
status: string;
|
|
41
|
-
}) => Promise<import("@haibun/core/
|
|
44
|
+
}) => Promise<import("@haibun/core/schema/protocol.js").TOKActionResult | import("@haibun/core/schema/protocol.js").TNotOKActionResult>;
|
|
42
45
|
};
|
|
43
46
|
requestWithNoBody: {
|
|
44
47
|
gwta: string;
|
|
@@ -47,7 +50,7 @@ declare const WebHttp: {
|
|
|
47
50
|
url: string;
|
|
48
51
|
contentType: string;
|
|
49
52
|
status: string;
|
|
50
|
-
}) => Promise<import("@haibun/core/
|
|
53
|
+
}) => Promise<import("@haibun/core/schema/protocol.js").TOKActionResult | import("@haibun/core/schema/protocol.js").TNotOKActionResult>;
|
|
51
54
|
};
|
|
52
55
|
containsContent: {
|
|
53
56
|
gwta: string;
|
|
@@ -55,14 +58,14 @@ declare const WebHttp: {
|
|
|
55
58
|
method: string;
|
|
56
59
|
url: string;
|
|
57
60
|
what: string;
|
|
58
|
-
}) => Promise<import("@haibun/core/
|
|
61
|
+
}) => Promise<import("@haibun/core/schema/protocol.js").TOKActionResult | import("@haibun/core/schema/protocol.js").TNotOKActionResult>;
|
|
59
62
|
};
|
|
60
63
|
returnsNoContent: {
|
|
61
64
|
gwta: string;
|
|
62
65
|
action: ({ method, url }: {
|
|
63
66
|
method: string;
|
|
64
67
|
url: string;
|
|
65
|
-
}) => Promise<import("@haibun/core/
|
|
68
|
+
}) => Promise<import("@haibun/core/schema/protocol.js").TOKActionResult | import("@haibun/core/schema/protocol.js").TNotOKActionResult>;
|
|
66
69
|
};
|
|
67
70
|
returnsContent: {
|
|
68
71
|
gwta: string;
|
|
@@ -70,7 +73,7 @@ declare const WebHttp: {
|
|
|
70
73
|
method: string;
|
|
71
74
|
url: string;
|
|
72
75
|
what: string;
|
|
73
|
-
}) => Promise<import("@haibun/core/
|
|
76
|
+
}) => Promise<import("@haibun/core/schema/protocol.js").TOKActionResult | import("@haibun/core/schema/protocol.js").TNotOKActionResult>;
|
|
74
77
|
};
|
|
75
78
|
headerWith: {
|
|
76
79
|
gwta: string;
|
|
@@ -79,12 +82,13 @@ declare const WebHttp: {
|
|
|
79
82
|
url: string;
|
|
80
83
|
header: string;
|
|
81
84
|
contents: string;
|
|
82
|
-
}) => Promise<import("@haibun/core/
|
|
85
|
+
}) => Promise<import("@haibun/core/schema/protocol.js").TOKActionResult | import("@haibun/core/schema/protocol.js").TNotOKActionResult>;
|
|
83
86
|
};
|
|
84
87
|
};
|
|
85
|
-
world?:
|
|
86
|
-
|
|
87
|
-
getWorld():
|
|
88
|
+
world?: TWorld;
|
|
89
|
+
kind?: import("@haibun/core/lib/astepper.js").TStepperKind;
|
|
90
|
+
getWorld(): TWorld;
|
|
91
|
+
startFeatureResolution?(_path: string): void;
|
|
88
92
|
};
|
|
89
93
|
};
|
|
90
94
|
export default WebHttp;
|
package/build/web-http.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-http.d.ts","sourceRoot":"","sources":["../src/web-http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAiB,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"web-http.d.ts","sourceRoot":"","sources":["../src/web-http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAiB,MAAM,8BAA8B,CAAC;AAIvE,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,QAAA,MAAM,OAAO;;;wBAGU,M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epper } from '@haibun/core/lib/astepper.js';
|
|
2
|
-
import { OK } from '@haibun/core/
|
|
3
|
-
import { EExecutionMessageType } from '@haibun/core/lib/interfaces/logger.js';
|
|
2
|
+
import { OK } from '@haibun/core/schema/protocol.js';
|
|
4
3
|
import { actionNotOK } from '@haibun/core/lib/util/index.js';
|
|
4
|
+
import { NodeHttpEvents } from '@haibun/core/lib/node-http-events.js';
|
|
5
5
|
const WebHttp = class WebHttp extends AStepper {
|
|
6
|
+
description = 'HTTP requests with status, content-type, and body validation';
|
|
7
|
+
async setWorld(world, steppers) {
|
|
8
|
+
await super.setWorld(world, steppers);
|
|
9
|
+
NodeHttpEvents.init();
|
|
10
|
+
}
|
|
6
11
|
steps = {
|
|
7
12
|
listening: {
|
|
8
13
|
gwta: 'http {url} is listening',
|
|
@@ -12,8 +17,7 @@ const WebHttp = class WebHttp extends AStepper {
|
|
|
12
17
|
return OK;
|
|
13
18
|
}
|
|
14
19
|
catch (e) {
|
|
15
|
-
|
|
16
|
-
return actionNotOK(`${url} is not listening`, { messageContext });
|
|
20
|
+
return actionNotOK(`${url} is not listening`, { topics: { error: e } });
|
|
17
21
|
}
|
|
18
22
|
},
|
|
19
23
|
},
|
|
@@ -22,7 +26,7 @@ const WebHttp = class WebHttp extends AStepper {
|
|
|
22
26
|
action: async ({ url }) => {
|
|
23
27
|
const response = await fetch(`${url}/.well-known/openid-configuration`);
|
|
24
28
|
const json = await response.json();
|
|
25
|
-
return json.authorization_endpoint ? OK : actionNotOK(`${json} has no endpoint`, {
|
|
29
|
+
return json.authorization_endpoint ? OK : actionNotOK(`${json} has no endpoint`, { topics: { json } });
|
|
26
30
|
},
|
|
27
31
|
},
|
|
28
32
|
statusIs: {
|
|
@@ -93,7 +97,7 @@ const WebHttp = class WebHttp extends AStepper {
|
|
|
93
97
|
const response = await fetch(url, { method: method.toUpperCase() });
|
|
94
98
|
const headers = response.headers;
|
|
95
99
|
console.log('headers', headers);
|
|
96
|
-
return headers
|
|
100
|
+
return headers.get(header.toLowerCase()) === contents ? OK : actionNotOK(`${method} ${url} does not contain ${header} with ${contents}, it contains ${JSON.stringify(Object.fromEntries(headers.entries()))}`);
|
|
97
101
|
},
|
|
98
102
|
},
|
|
99
103
|
};
|
package/build/web-http.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-http.js","sourceRoot":"","sources":["../src/web-http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAiB,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"web-http.js","sourceRoot":"","sources":["../src/web-http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAiB,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,EAAE,EAAE,MAAM,iCAAiC,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAGtE,MAAM,OAAO,GAAG,MAAM,OAAQ,SAAQ,QAAQ;IAC7C,WAAW,GAAG,8DAA8D,CAAC;IAE7E,KAAK,CAAC,QAAQ,CAAC,KAAa,EAAE,QAAoB;QACjD,MAAM,KAAK,CAAC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QACtC,cAAc,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;IAED,KAAK,GAAG;QACP,SAAS,EAAE;YACV,IAAI,EAAE,yBAAyB;YAC/B,MAAM,EAAE,KAAK,EAAE,EAAE,GAAG,EAAmB,EAAE,EAAE;gBAC1C,IAAI,CAAC;oBACJ,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC;oBACjB,OAAO,EAAE,CAAC;gBACX,CAAC;gBAAC,OAAO,CAAC,EAAE,CAAC;oBACZ,OAAO,WAAW,CAAC,GAAG,GAAG,mBAAmB,EAAE,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,CAA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AM,IAAI,GAAG,qBAAqB,MAAM,SAAS,QAAQ,iBAAiB,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,CAAA;YAC/M,CAAC;SACD;KACuB,CAAC;CAC1B,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haibun/web-http",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.3.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "build/web-http.js",
|
|
7
|
-
"files": [
|
|
8
|
-
|
|
7
|
+
"files": [
|
|
8
|
+
"build/"
|
|
9
|
+
],
|
|
10
|
+
"exports": {
|
|
11
|
+
".": "./build/web-server-stepper.js",
|
|
12
|
+
"./*": "./build/*"
|
|
13
|
+
},
|
|
9
14
|
"scripts": {
|
|
10
15
|
"build": "tsc -b .",
|
|
11
16
|
"build-watch": "tsc -b . -w",
|
|
@@ -18,6 +23,8 @@
|
|
|
18
23
|
"keywords": [],
|
|
19
24
|
"author": "",
|
|
20
25
|
"license": "ISC",
|
|
21
|
-
"dependencies": {
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@haibun/core": "3.3.0"
|
|
28
|
+
},
|
|
22
29
|
"gitHead": "7cf9680bd922fb622fb59f1e6bf5b65284cb8fd5"
|
|
23
|
-
}
|
|
30
|
+
}
|