TritonDataCenter / node-manta

Node.js SDK for Manta
75 stars 54 forks source link

TritonDataCenter/node-manta#389 minfo should support json output TritonDataCenter/node-manta#388 Testing v1 features should be skipped unless mantav1 TOOLS-2543 MNX Tooling updates #390

Closed bahamat closed 2 years ago

bahamat commented 2 years ago

Sorry this is so big.

There's 3 issues addressed here:

bahamat commented 2 years ago

Note that the man directory is auto generated based on the docs directory.

bahamat commented 2 years ago

Test results after these changes:

$ make test
test/integration/client-mpu.test.js ................... 0/1 991ms
  Skipped: 1
    mpu client usage this Manta does not support multipart upload (MPU)

test/integration/client.test.js ..................... 75/86 24s
  Skipped: 11
    ln this Manta is version 2
    info (link) this Manta is version 2
    create job (simple grep) this Manta is version 2
    get job this Manta is version 2
    add input keys this Manta is version 2
    get job input this Manta is version 2
    end job this Manta is version 2
    wait for job this Manta is version 2
    get job output this Manta is version 2
    create and cancel job this Manta is version 2
    unlink link this Manta is version 2

test/integration/mchmod.test.js ....................... 0/1 304ms
  Skipped: 1
    mchmod with role-tag MANTA_TEST_ROLE envvar not set

test/integration/mfind.test.js ...................... 30/31 16s
  Skipped: 1
    mfind forbidden test MANTA_USER=bbennett is an operator

test/integration/mget.test.js ....................... 26/26 16s
test/integration/mjob-simple.test.js .................. 0/1 1s
  Skipped: 1
    mjob create --close -or "echo hello" this Manta does not support jobs

test/integration/mln.test.js .......................... 0/4 1s
  Skipped: 4
    setup: create test tree at /bbennett/stor/node-manta-test-mput-b4033927 this Manta does not support snapLinks
    mln this Manta does not support snapLinks
    cleanup: rm test tree /bbennett/stor/node-manta-test-mput-b4033927 this Manta does not support snapLinks
    cleanup: rm tmp directory /var/folders/rn/rd89mntn58l5tldhb6kgwpzm0000gn/T/ this Manta does not support snapLinks

test/integration/mmkdir.test.js ....................... 0/1 299ms
  Skipped: 1
    mmkdir with role-tag MANTA_TEST_ROLE envvar not set

test/integration/mmpu.test.js ......................... 0/1 987ms
  Skipped: 1
    mmpu this Manta does not support multipart upload (MPU)

test/integration/mput.test.js ......................... 8/8 5s
test/integration/mrm.test.js ........................ 15/15 24s
test/integration/mrmdir.test.js ..................... 11/11 10s
test/integration/msign.test.js ...................... 44/44
test/integration/muntar.test.js ..................... 14/14 6s
test/unit/completion.test.js ........................ 51/51
test/unit/options.test.js ........................... 60/60
test/unit/trackmarker.test.js ....................... 73/73
test/unit/utils.test.js ............................. 32/32
total ............................................. 439/460

  439 passing (25s)
  21 pending
bahamat commented 2 years ago

@danmcd For share/jobtemplate.htm, I think it could be updated without affecting anything, but I don't know that for sure. But it's only for jobs, which is a v1 feature, so I'm content to leave it as-is. At some point I'll make a v1 branch and make the master branch v2 only, getting rid of it entirely.