@fluid-tools/fetch-tool 2.0.0-internal.1.0.0.84253 → 2.0.0-internal.1.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/README.md +14 -0
- package/package.json +16 -16
package/README.md
CHANGED
|
@@ -24,6 +24,20 @@ In order to connect to ODSP, the clientID and clientSecret must be set as enviro
|
|
|
24
24
|
--snapshotVersionIndex <number> : Index of the version to dump
|
|
25
25
|
--saveDir <outdir> : Save data of the snapshots and messages
|
|
26
26
|
|
|
27
|
+
### Tips
|
|
28
|
+
|
|
29
|
+
- If not done already run `npm run build`
|
|
30
|
+
- Example command - run `node bin/fluid-fetch --saveDir example 'URL'` in the `fetch-tool` directory
|
|
31
|
+
- An example URL is something from office.com that looks like `https://www.office.com/launch/fluid/...`
|
|
32
|
+
- This command creates an `example` directory (if it doesn't exist) in the `fetch-tool` folder.
|
|
33
|
+
- If run multiple times without clearing the `example` directory, the snapshot will overwrite any old folders or files.
|
|
34
|
+
- Looking at the `example` directory:
|
|
35
|
+
- Go to `1-XYZ/decoded/tree.json` to see the snapshot tree.
|
|
36
|
+
- Each `'#-XYZ'` string in the `tree.json` correlates to a file in the decoded folder. These files are essentially blobs.
|
|
37
|
+
- `0-XYZ/decoded/tree.json` is an older snapshot tree.
|
|
38
|
+
- The `messages.json` is a list of ops/messages that are stored.
|
|
39
|
+
- For 401 authentication errors, as stated above, check that [getkeys](../../../tools/getkeys) has been run.
|
|
40
|
+
|
|
27
41
|
## Example Output
|
|
28
42
|
|
|
29
43
|
### Messages Stats
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-tools/fetch-tool",
|
|
3
|
-
"version": "2.0.0-internal.1.
|
|
3
|
+
"version": "2.0.0-internal.1.1.0",
|
|
4
4
|
"description": "Console tool to fetch Fluid data from relay service",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -29,23 +29,23 @@
|
|
|
29
29
|
"tsfmt:fix": "tsfmt --replace"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@fluid-tools/fluidapp-odsp-urlresolver": "2.0.0-internal.1.
|
|
32
|
+
"@fluid-tools/fluidapp-odsp-urlresolver": "^2.0.0-internal.1.1.0",
|
|
33
33
|
"@fluidframework/common-utils": "^1.0.0",
|
|
34
|
-
"@fluidframework/container-runtime": "2.0.0-internal.1.
|
|
35
|
-
"@fluidframework/datastore": "2.0.0-internal.1.
|
|
36
|
-
"@fluidframework/driver-definitions": "2.0.0-internal.1.
|
|
37
|
-
"@fluidframework/driver-utils": "2.0.0-internal.1.
|
|
38
|
-
"@fluidframework/odsp-doclib-utils": "2.0.0-internal.1.
|
|
39
|
-
"@fluidframework/odsp-driver": "2.0.0-internal.1.
|
|
40
|
-
"@fluidframework/odsp-driver-definitions": "2.0.0-internal.1.
|
|
41
|
-
"@fluidframework/odsp-urlresolver": "2.0.0-internal.1.
|
|
34
|
+
"@fluidframework/container-runtime": "^2.0.0-internal.1.1.0",
|
|
35
|
+
"@fluidframework/datastore": "^2.0.0-internal.1.1.0",
|
|
36
|
+
"@fluidframework/driver-definitions": "^2.0.0-internal.1.1.0",
|
|
37
|
+
"@fluidframework/driver-utils": "^2.0.0-internal.1.1.0",
|
|
38
|
+
"@fluidframework/odsp-doclib-utils": "^2.0.0-internal.1.1.0",
|
|
39
|
+
"@fluidframework/odsp-driver": "^2.0.0-internal.1.1.0",
|
|
40
|
+
"@fluidframework/odsp-driver-definitions": "^2.0.0-internal.1.1.0",
|
|
41
|
+
"@fluidframework/odsp-urlresolver": "^2.0.0-internal.1.1.0",
|
|
42
42
|
"@fluidframework/protocol-definitions": "^1.0.0",
|
|
43
|
-
"@fluidframework/routerlicious-driver": "2.0.0-internal.1.
|
|
44
|
-
"@fluidframework/routerlicious-urlresolver": "2.0.0-internal.1.
|
|
45
|
-
"@fluidframework/runtime-definitions": "2.0.0-internal.1.
|
|
46
|
-
"@fluidframework/telemetry-utils": "2.0.0-internal.1.
|
|
47
|
-
"@fluidframework/test-client-utils": "2.0.0-internal.1.
|
|
48
|
-
"@fluidframework/tool-utils": "2.0.0-internal.1.
|
|
43
|
+
"@fluidframework/routerlicious-driver": "^2.0.0-internal.1.1.0",
|
|
44
|
+
"@fluidframework/routerlicious-urlresolver": "^2.0.0-internal.1.1.0",
|
|
45
|
+
"@fluidframework/runtime-definitions": "^2.0.0-internal.1.1.0",
|
|
46
|
+
"@fluidframework/telemetry-utils": "^2.0.0-internal.1.1.0",
|
|
47
|
+
"@fluidframework/test-client-utils": "^2.0.0-internal.1.1.0",
|
|
48
|
+
"@fluidframework/tool-utils": "^2.0.0-internal.1.1.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@fluidframework/build-common": "^0.24.0",
|