mirror of
https://github.com/vatesfr/xen-orchestra.git
synced 2026-11-09 17:06:13 -06:00
This branch is a reliability overhaul of the ESXi/vSphere source side of V2V, plus a scope reduction of the package. The SOAP plumbing is rewritten:
VimClient wraps @vates/node-vsphere-soap in a promise API with one emitter per call (no more cross-talk between concurrent calls, no listener leak) and a pTimeout;
vim25 faults are now parsed (_parseFault.mjs) so callers get a real fault type instead of task execution failed;
the library no longer throws from async callbacks (which killed xo-server) and its beforeExit logout hook is per-client instead of removeAllListeners.
Request specs are built in explicit schema order (soap/specs.mjs) with xsi:type, and property values are normalized (soap/normalize.mjs) so search() and the new #retrieveProperty share one shape.
search() now paginates, cancels the retrieval and destroys the container view.
Datastore HTTP downloads get session-cookie reuse, retry with jittered backoff, a headers-only timeout, and range-honouring validation.
Task waiting polls with backoff and per-operation timeouts (6 h for snapshot consolidation).
nbdkit servers are memoized by a key that includes the export options, the readiness wait races the process death instead of sleeping 2 s
the password file is 0600 and unlinked
the thumbprint is read over TLS in-process instead of two openssl spawns.
The old VHD-over-datastore readers (VhdEsxi*, Datastore*, openDeltaVmdkAsVhd) are deleted, hence the majo, rleaving the vddk/NBD path with a COWD grain-directory parser as data-map fallback.
~1.7k lines of unit tests are added.
45 lines
935 B
Plaintext
45 lines
935 B
Plaintext
/_book/
|
|
/node_modules/
|
|
/lerna-debug.log
|
|
/lerna-debug.log.*
|
|
|
|
/@vates/*/dist/
|
|
/@vates/*/node_modules/
|
|
/@vates/node-vsphere-soap/test/config-test.mjs
|
|
/@xen-orchestra/*/dist/
|
|
/@xen-orchestra/*/node_modules/
|
|
/@xen-orchestra/rest-api/open-api/spec/swagger.json
|
|
/@xen-orchestra/rest-api/src/open-api/routes/routes.ts
|
|
/packages/*/dist/
|
|
/packages/*/node_modules/
|
|
|
|
/packages/xen-api/examples/node_modules/
|
|
/packages/xen-api/plot.dat
|
|
|
|
/packages/xo-server/.xo-server.*
|
|
/packages/xo-server/src/api/index.mjs
|
|
/packages/xo-server/src/xapi/mixins/index.mjs
|
|
/packages/xo-server/src/xo-mixins/index.mjs
|
|
|
|
/packages/xo-server-auth-ldap/ldap.cache.conf
|
|
|
|
/packages/xo-web/src/common/intl/locales/index.js
|
|
/packages/xo-web/src/common/themes/index.js
|
|
|
|
npm-debug.log
|
|
npm-debug.log.*
|
|
pnpm-debug.log
|
|
pnpm-debug.log.*
|
|
yarn-error.log
|
|
yarn-error.log.*
|
|
.env
|
|
*.tsbuildinfo
|
|
|
|
# code coverage
|
|
.nyc_output/
|
|
coverage/
|
|
.turbo/
|
|
|
|
# https://node-tap.org/dot-tap-folder/
|
|
.tap/
|