@crvouga/mockingbird-service-kinesis 0.1.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/CHANGELOG.md +5 -0
- package/DISCOVERY.md +55 -0
- package/README.md +40 -0
- package/SUPPORT.md +17 -0
- package/dist/chunk-AVF6WB4Q.js +818 -0
- package/dist/chunk-AVF6WB4Q.js.map +7 -0
- package/dist/chunk-YKKLJLNS.js +7559 -0
- package/dist/chunk-YKKLJLNS.js.map +7 -0
- package/dist/cli.js +19 -0
- package/dist/cli.js.map +7 -0
- package/dist/index.d.ts +899 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +7 -0
- package/dist/server.d.ts +1359 -0
- package/dist/server.js +12 -0
- package/dist/server.js.map +7 -0
- package/openapi.yaml +40 -0
- package/package.json +135 -0
package/dist/server.js
ADDED
package/openapi.yaml
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
openapi: 3.1.0
|
|
2
|
+
info:
|
|
3
|
+
title: Amazon Kinesis Data Streams (Mockingbird subset)
|
|
4
|
+
version: "1.0.0"
|
|
5
|
+
description: AWS protocol transport; README lists the implemented AWS operations.
|
|
6
|
+
servers:
|
|
7
|
+
- url: https://kinesis.us-east-1.amazonaws.com
|
|
8
|
+
paths:
|
|
9
|
+
/:
|
|
10
|
+
post:
|
|
11
|
+
operationId: AwsRpc
|
|
12
|
+
x-mockingbird: { supported: true, parity: { enabled: false, reason: Use the stateful LocalStack scenario runner. } }
|
|
13
|
+
responses: { "200": { description: AWS protocol response }, "400": { description: AWS protocol error } }
|
|
14
|
+
get:
|
|
15
|
+
operationId: AwsQuery
|
|
16
|
+
x-mockingbird: { supported: true, parity: { enabled: false, reason: Use the stateful LocalStack scenario runner. } }
|
|
17
|
+
responses: { "200": { description: AWS query response } }
|
|
18
|
+
/{path}:
|
|
19
|
+
parameters:
|
|
20
|
+
- { name: path, in: path, required: true, schema: { type: string } }
|
|
21
|
+
get:
|
|
22
|
+
operationId: AwsRestGet
|
|
23
|
+
x-mockingbird: { supported: true, parity: { enabled: false, reason: Use the stateful LocalStack scenario runner. } }
|
|
24
|
+
responses: { "200": { description: AWS REST response } }
|
|
25
|
+
put:
|
|
26
|
+
operationId: AwsRestPut
|
|
27
|
+
x-mockingbird: { supported: true, parity: { enabled: false, reason: Use the stateful LocalStack scenario runner. } }
|
|
28
|
+
responses: { "200": { description: AWS REST response } }
|
|
29
|
+
post:
|
|
30
|
+
operationId: AwsRestPost
|
|
31
|
+
x-mockingbird: { supported: true, parity: { enabled: false, reason: Use the stateful LocalStack scenario runner. } }
|
|
32
|
+
responses: { "200": { description: AWS REST response } }
|
|
33
|
+
patch:
|
|
34
|
+
operationId: AwsRestPatch
|
|
35
|
+
x-mockingbird: { supported: true, parity: { enabled: false, reason: Use the stateful LocalStack scenario runner. } }
|
|
36
|
+
responses: { "200": { description: AWS REST response } }
|
|
37
|
+
delete:
|
|
38
|
+
operationId: AwsRestDelete
|
|
39
|
+
x-mockingbird: { supported: true, parity: { enabled: false, reason: Use the stateful LocalStack scenario runner. } }
|
|
40
|
+
responses: { "200": { description: AWS REST response } }
|
package/package.json
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@crvouga/mockingbird-service-kinesis",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Stateful Amazon Kinesis Data Streams mock with AWS SDK wire compatibility and deterministic local controls.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"files": [
|
|
9
|
+
"dist",
|
|
10
|
+
"README.md",
|
|
11
|
+
"CHANGELOG.md",
|
|
12
|
+
"DISCOVERY.md",
|
|
13
|
+
"SUPPORT.md",
|
|
14
|
+
"openapi.yaml"
|
|
15
|
+
],
|
|
16
|
+
"main": "./dist/index.js",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"default": "./dist/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./server": {
|
|
24
|
+
"types": "./dist/server.d.ts",
|
|
25
|
+
"default": "./dist/server.js"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"bin": {
|
|
29
|
+
"mockingbird-kinesis": "./dist/cli.js"
|
|
30
|
+
},
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public",
|
|
33
|
+
"provenance": true
|
|
34
|
+
},
|
|
35
|
+
"repository": {
|
|
36
|
+
"type": "git",
|
|
37
|
+
"url": "git+https://github.com/crvouga/mockingbird.git",
|
|
38
|
+
"directory": "packages/service/kinesis"
|
|
39
|
+
},
|
|
40
|
+
"homepage": "https://github.com/crvouga/mockingbird/tree/main/packages/service/kinesis#readme",
|
|
41
|
+
"keywords": [
|
|
42
|
+
"mockingbird",
|
|
43
|
+
"aws",
|
|
44
|
+
"kinesis",
|
|
45
|
+
"mock"
|
|
46
|
+
],
|
|
47
|
+
"mockingbird": {
|
|
48
|
+
"runtime": "portable",
|
|
49
|
+
"entries": {
|
|
50
|
+
"server": "node",
|
|
51
|
+
"cli": "node"
|
|
52
|
+
},
|
|
53
|
+
"layer": "service",
|
|
54
|
+
"category": "communication",
|
|
55
|
+
"displayName": "Amazon Kinesis Data Streams",
|
|
56
|
+
"vendor": {
|
|
57
|
+
"website": "https://aws.amazon.com/",
|
|
58
|
+
"docs": "https://docs.aws.amazon.com/",
|
|
59
|
+
"name": "Amazon Web Services",
|
|
60
|
+
"icon": false,
|
|
61
|
+
"description": "Kinesis Data Streams public AWS API.",
|
|
62
|
+
"color": "#FF9900"
|
|
63
|
+
},
|
|
64
|
+
"parity": "Documented operations; LocalStack differential scenarios",
|
|
65
|
+
"parityTier": "cold",
|
|
66
|
+
"aws": {
|
|
67
|
+
"localstackService": "kinesis",
|
|
68
|
+
"operations": [
|
|
69
|
+
"CreateStream",
|
|
70
|
+
"DeleteStream",
|
|
71
|
+
"ListStreams",
|
|
72
|
+
"DescribeStream",
|
|
73
|
+
"DescribeStreamSummary",
|
|
74
|
+
"PutRecord",
|
|
75
|
+
"PutRecords",
|
|
76
|
+
"GetShardIterator",
|
|
77
|
+
"GetRecords",
|
|
78
|
+
"ListShards",
|
|
79
|
+
"UpdateShardCount",
|
|
80
|
+
"AddTagsToStream",
|
|
81
|
+
"RemoveTagsFromStream",
|
|
82
|
+
"ListTagsForStream"
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"discovery": {
|
|
86
|
+
"guide": "DISCOVERY.md",
|
|
87
|
+
"behavior": "README.md",
|
|
88
|
+
"capabilities": "SUPPORT.md",
|
|
89
|
+
"contract": "openapi.yaml",
|
|
90
|
+
"types": "dist/index.d.ts",
|
|
91
|
+
"oracle": {
|
|
92
|
+
"kind": "Live vendor API or sandbox",
|
|
93
|
+
"command": "bun run parity:service -- kinesis",
|
|
94
|
+
"note": "Run from a Mockingbird checkout; credentials come only from .env.local or GitHub Actions secrets. Missing credentials exit 2."
|
|
95
|
+
},
|
|
96
|
+
"introspection": [
|
|
97
|
+
"GET /__admin/health",
|
|
98
|
+
"GET /__admin",
|
|
99
|
+
"GET /__admin/state",
|
|
100
|
+
"GET /__admin/requests",
|
|
101
|
+
"GET /__admin/metrics",
|
|
102
|
+
"GET /__admin/faults/presets",
|
|
103
|
+
"GET /__admin/ui"
|
|
104
|
+
],
|
|
105
|
+
"reporting": "https://github.com/crvouga/mockingbird/blob/main/docs/REPORTING_ISSUES.md"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"scripts": {
|
|
109
|
+
"generate": "bun ../../openapi/codegen/dist/cli.js",
|
|
110
|
+
"generate:check": "bun ../../openapi/codegen/dist/cli.js --check",
|
|
111
|
+
"openapi:check": "bun ../../openapi/codegen/dist/cli.js --validate",
|
|
112
|
+
"build": "bun ../../../scripts/bundle-service.ts",
|
|
113
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
114
|
+
"lint": "biome check .",
|
|
115
|
+
"test": "bun test",
|
|
116
|
+
"parity": "bun scripts/parity.ts",
|
|
117
|
+
"portability": "bun ../../../scripts/portability.ts",
|
|
118
|
+
"pack:check": "bun ../../../scripts/pack-check.ts"
|
|
119
|
+
},
|
|
120
|
+
"dependencies": {
|
|
121
|
+
"@crvouga/mockingbird-service-sqlite": "2.1.1"
|
|
122
|
+
},
|
|
123
|
+
"devDependencies": {
|
|
124
|
+
"@crvouga/mockingbird-adapter-node": "0.0.0-development",
|
|
125
|
+
"@crvouga/mockingbird-core": "0.0.0-development",
|
|
126
|
+
"@crvouga/mockingbird-openapi": "0.0.0-development",
|
|
127
|
+
"@crvouga/mockingbird-openapi-codegen": "0.1.0",
|
|
128
|
+
"@crvouga/mockingbird-openapi-metadata": "0.0.0-development",
|
|
129
|
+
"@crvouga/mockingbird-parity": "0.0.0-development",
|
|
130
|
+
"@crvouga/mockingbird-service": "0.0.0-development",
|
|
131
|
+
"@crvouga/mockingbird-sqlite": "0.0.0-development",
|
|
132
|
+
"@crvouga/mockingbird-testing": "0.1.0",
|
|
133
|
+
"fast-check": "4.9.0"
|
|
134
|
+
}
|
|
135
|
+
}
|