@cubejs-backend/databricks-jdbc-driver 0.30.50 → 0.30.57

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 CHANGED
@@ -3,6 +3,34 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.30.57](https://github.com/cube-js/cube.js/compare/v0.30.56...v0.30.57) (2022-08-25)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **databricks-jdbc:** databricks multiple downloads of jar ([#5152](https://github.com/cube-js/cube.js/issues/5152)) ([ccb87bc](https://github.com/cube-js/cube.js/commit/ccb87bcbcf717cde530cb47c5442b0a58892bdef))
12
+ * **databricks-jdbc:** databricks user-agent ([#5144](https://github.com/cube-js/cube.js/issues/5144)) ([a3a8b89](https://github.com/cube-js/cube.js/commit/a3a8b89e0fd83ffae87325dad85f7e9b7060481f))
13
+
14
+
15
+
16
+
17
+
18
+ ## [0.30.53](https://github.com/cube-js/cube.js/compare/v0.30.52...v0.30.53) (2022-08-18)
19
+
20
+ **Note:** Version bump only for package @cubejs-backend/databricks-jdbc-driver
21
+
22
+
23
+
24
+
25
+
26
+ ## [0.30.51](https://github.com/cube-js/cube.js/compare/v0.30.50...v0.30.51) (2022-08-17)
27
+
28
+ **Note:** Version bump only for package @cubejs-backend/databricks-jdbc-driver
29
+
30
+
31
+
32
+
33
+
6
34
  ## [0.30.50](https://github.com/cube-js/cube.js/compare/v0.30.49...v0.30.50) (2022-08-16)
7
35
 
8
36
  **Note:** Version bump only for package @cubejs-backend/databricks-jdbc-driver
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env node
2
+
3
+ const fs = require('fs');
4
+ const path = require('path');
5
+
6
+ if (!fs.existsSync(path.join(__dirname, '..', 'dist', 'src', 'post-install.js')) && fs.existsSync(path.join(__dirname, '..', 'tsconfig.json'))) {
7
+ console.log('Skipping post-install because it was not compiled');
8
+ return;
9
+ }
10
+
11
+ require('../dist/src/post-install');
@@ -1 +1 @@
1
- {"version":3,"file":"DatabricksDriver.d.ts","sourceRoot":"","sources":["../../src/DatabricksDriver.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,oBAAoB,EACrB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,UAAU,EACV,uBAAuB,EACxB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIpD,oBAAY,6BAA6B,GAAG,uBAAuB,GAAG;IACpE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,aAAK,YAAY,GAAG;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AA2CF;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,UAAU;IAC9C,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,6BAA6B,CAAC;WAE3C,YAAY;IAI1B;;OAEG;WACW,qBAAqB,IAAI,MAAM;gBAK3C,IAAI,EAAE,OAAO,CAAC,6BAA6B,CAAC;IAqCvC,QAAQ;IAIf;;OAEG;cACa,kBAAkB;IAIrB,uBAAuB,CAAC,UAAU,EAAE,MAAM;IAIhD,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM;IAIrC,gBAAgB,CAAC,KAAK,EAAE,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AClB,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AA6BF;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,UAAU;IAC9C,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,6BAA6B,CAAC;WAE3C,YAAY;IAI1B;;OAEG;WACW,qBAAqB,IAAI,MAAM;gBAK3C,IAAI,EAAE,OAAO,CAAC,6BAA6B,CAAC;IAqCvC,QAAQ;IAIf;;OAEG;cACa,kBAAkB;IAIrB,uBAAuB,CAAC,UAAU,EAAE,MAAM;IAIhD,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM;IAIrC,gBAAgB,CAAC,KAAK,EAAE,MAAM;;;;IAkB9B,cAAc,CAAC,UAAU,EAAE,MAAM;;;cAQ9B,SAAS,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC;IAiB7C,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM;IAInC,YAAY;IAiBzB;;;OAGG;IACU,iBAAiB;IAI9B;;;OAGG;IACU,MAAM,CACjB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,oBAAoB,CAAC;IAgBhC;;;OAGG;YACW,WAAW;IAqBzB;;;OAGG;YACW,gBAAgB;IAS9B;;OAEG;YACW,kBAAkB;IAiDhC;;;OAGG;YACW,aAAa;IAS3B;;OAEG;YACW,eAAe;IAoC7B;;;;;;;;;;;;;;;;OAgBG;YACW,mBAAmB;CAUlC"}
@@ -4,6 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.DatabricksDriver = void 0;
7
+ /* eslint-disable no-restricted-syntax */
8
+ const fs_1 = __importDefault(require("fs"));
7
9
  const path_1 = __importDefault(require("path"));
8
10
  const client_s3_1 = require("@aws-sdk/client-s3");
9
11
  const s3_request_presigner_1 = require("@aws-sdk/s3-request-presigner");
@@ -11,35 +13,26 @@ const storage_blob_1 = require("@azure/storage-blob");
11
13
  const jdbc_driver_1 = require("@cubejs-backend/jdbc-driver");
12
14
  const shared_1 = require("@cubejs-backend/shared");
13
15
  const DatabricksQuery_1 = require("./DatabricksQuery");
16
+ const installer_1 = require("./installer");
14
17
  const { version } = require('../../package.json');
18
+ async function fileExistsOr(fsPath, fn) {
19
+ if (fs_1.default.existsSync(fsPath)) {
20
+ return fsPath;
21
+ }
22
+ return fn();
23
+ }
15
24
  const DatabricksToGenericType = {
16
25
  'decimal(10,0)': 'bigint',
17
26
  };
18
- let asserted = false;
19
- /**
20
- * Determines whether license terms & conditions are accepted or not.
21
- */
22
- function assertAcception() {
23
- const acceptStatus = shared_1.getEnv('databrickAcceptPolicy');
24
- if (acceptStatus) {
25
- console.log('Databricks driver is using JDBC driver from Databricks. ' +
26
- 'You accepted the Terms & Conditions for the JDBC driver from Databricks ' +
27
- '(https://databricks.com/jdbc-odbc-driver-license) by the CUBEJS_DB_DATABRICKS_ACCEPT_POLICY ' +
28
- 'environment variable set to true.');
29
- }
30
- if (!acceptStatus) {
31
- throw new Error('Databricks driver is using JDBC driver from Databricks. ' +
32
- 'You declined the Terms & Conditions for the JDBC driver from Databricks ' +
33
- '(https://databricks.com/jdbc-odbc-driver-license) by the CUBEJS_DB_DATABRICKS_ACCEPT_POLICY ' +
34
- 'environment variable set to false or by ignoring it.');
35
- }
36
- return acceptStatus;
37
- }
38
- function resolveJDBCDriver() {
39
- if (!asserted) {
40
- asserted = assertAcception();
41
- }
42
- return path_1.default.join(__dirname, '..', '..', 'bin', 'SparkJDBC42.jar');
27
+ async function resolveJDBCDriver() {
28
+ return fileExistsOr(path_1.default.join(process.cwd(), 'SparkJDBC42.jar'), async () => fileExistsOr(path_1.default.join(__dirname, '..', 'download', 'SparkJDBC42.jar'), async () => {
29
+ const pathOrNull = await installer_1.downloadJDBCDriver();
30
+ if (pathOrNull) {
31
+ return pathOrNull;
32
+ }
33
+ throw new Error('Please download and place SparkJDBC42.jar inside your ' +
34
+ 'project directory');
35
+ }));
43
36
  }
44
37
  /**
45
38
  * Databricks driver class.
@@ -56,7 +49,7 @@ class DatabricksDriver extends jdbc_driver_1.JDBCDriver {
56
49
  PWD: shared_1.getEnv('databrickToken') || '',
57
50
  // CUBEJS_DB_DATABRICKS_AGENT is a predefined way to override the user
58
51
  // agent for the Cloud application.
59
- UserAgentEntry: shared_1.getEnv('databrickAgent') || `Cube+OS/${version} (Databricks)`,
52
+ UserAgentEntry: shared_1.getEnv('databrickAgent') || `CubeDev+Cube/${version} (Databricks)`,
60
53
  },
61
54
  dbType: 'databricks',
62
55
  database: shared_1.getEnv('dbName', { required: false }),
@@ -1 +1 @@
1
- {"version":3,"file":"DatabricksDriver.js","sourceRoot":"","sources":["../../src/DatabricksDriver.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AACxB,kDAA0D;AAC1D,wEAA6D;AAC7D,sDAM6B;AAI7B,6DAGqC;AACrC,mDAAgD;AAChD,uDAAoD;AAEpD,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;AA4BlD,MAAM,uBAAuB,GAA2B;IACtD,eAAe,EAAE,QAAQ;CAC1B,CAAC;AAEF,IAAI,QAAQ,GAAY,KAAK,CAAC;AAE9B;;GAEG;AACH,SAAS,eAAe;IACtB,MAAM,YAAY,GAAG,eAAM,CAAC,uBAAuB,CAAC,CAAC;IACrD,IAAI,YAAY,EAAE;QAChB,OAAO,CAAC,GAAG,CACT,0DAA0D;YAC1D,0EAA0E;YAC1E,8FAA8F;YAC9F,mCAAmC,CACpC,CAAC;KACH;IACD,IAAI,CAAC,YAAY,EAAE;QACjB,MAAM,IAAI,KAAK,CACb,0DAA0D;YAC1D,0EAA0E;YAC1E,8FAA8F;YAC9F,sDAAsD,CACvD,CAAC;KACH;IACD,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,SAAS,iBAAiB;IACxB,IAAI,CAAC,QAAQ,EAAE;QACb,QAAQ,GAAG,eAAe,EAAE,CAAC;KAC9B;IACD,OAAO,cAAI,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,CAAC;QACH,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,EAAE;YAC/B,MAAM,IAAI,KAAK,CAAC,iCAAiC,QAAQ,EAAE,CAAC,CAAC;SAC9D;QACD,MAAM,OAAO,GAAG,MAAM,OAAO,CAAC,GAAG,CAC/B,IAAI,CAAC,QAAQ;aACV,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;aACnD,GAAG,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE;YAClB,MAAM,OAAO,GAAG,IAAI,4BAAgB,CAAC;gBACnC,MAAM,EAAE,GAAG,CAAC,IAAI;gBAChB,GAAG,EAAE,IAAI,CAAC,GAAG;aACd,CAAC,CAAC;YACH,OAAO,mCAAY,CAAC,MAAM,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QAC5D,CAAC,CAAC,CACL,CAAC;QACF,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;YACxB,MAAM,IAAI,KAAK,CAAC,sDAAsD;gBACpE,gDAAgD,CAAC,CAAC;SACrD;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACK,KAAK,CAAC,mBAAmB,CAAC,KAAa,EAAE,OAAe;QAC9D,MAAM,IAAI,CAAC,KAAK,CACd;qBACe,KAAK;4BACE,IAAI,CAAC,MAAM,CAAC,oBAAoB,IAAI,IAAI,CAAC,MAAM,CAAC,YAAY,IAAI,KAAK;kBAC/E,OAAO,SAAS,KAAK;OAChC,EACD,EAAE,CACH,CAAC;IACJ,CAAC;CACF;AA9UD,4CA8UC"}
@@ -0,0 +1,2 @@
1
+ export declare function downloadJDBCDriver(): Promise<string | null>;
2
+ //# sourceMappingURL=installer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"installer.d.ts","sourceRoot":"","sources":["../../src/installer.ts"],"names":[],"mappings":"AAiBA,wBAAsB,kBAAkB,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAoBjE"}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.downloadJDBCDriver = void 0;
7
+ const path_1 = __importDefault(require("path"));
8
+ const shared_1 = require("@cubejs-backend/shared");
9
+ function acceptedByEnv() {
10
+ const acceptStatus = shared_1.getEnv('databrickAcceptPolicy');
11
+ if (acceptStatus) {
12
+ console.log('You accepted Terms & Conditions for JDBC driver from DataBricks by CUBEJS_DB_DATABRICKS_ACCEPT_POLICY');
13
+ }
14
+ if (acceptStatus === false) {
15
+ console.log('You declined Terms & Conditions for JDBC driver from DataBricks by CUBEJS_DB_DATABRICKS_ACCEPT_POLICY');
16
+ console.log('Installation will be skipped');
17
+ }
18
+ return acceptStatus;
19
+ }
20
+ async function downloadJDBCDriver() {
21
+ const driverAccepted = acceptedByEnv();
22
+ if (driverAccepted) {
23
+ console.log('Downloading SimbaSparkJDBC42-2.6.17.1021');
24
+ await shared_1.downloadAndExtractFile('https://databricks-bi-artifacts.s3.us-east-2.amazonaws.com/simbaspark-drivers/jdbc/2.6.17/SimbaSparkJDBC42-2.6.17.1021.zip', {
25
+ showProgress: true,
26
+ cwd: path_1.default.resolve(path_1.default.join(__dirname, '..', 'download')),
27
+ });
28
+ console.log('Release notes: https://databricks-bi-artifacts.s3.us-east-2.amazonaws.com/simbaspark-drivers/jdbc/2.6.17/docs/release-notes.txt');
29
+ return path_1.default.resolve(path_1.default.join(__dirname, '..', 'download', 'SparkJDBC42.jar'));
30
+ }
31
+ return null;
32
+ }
33
+ exports.downloadJDBCDriver = downloadJDBCDriver;
34
+ //# sourceMappingURL=installer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"installer.js","sourceRoot":"","sources":["../../src/installer.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AACxB,mDAAwE;AAExE,SAAS,aAAa;IACpB,MAAM,YAAY,GAAG,eAAM,CAAC,uBAAuB,CAAC,CAAC;IACrD,IAAI,YAAY,EAAE;QAChB,OAAO,CAAC,GAAG,CAAC,uGAAuG,CAAC,CAAC;KACtH;IAED,IAAI,YAAY,KAAK,KAAK,EAAE;QAC1B,OAAO,CAAC,GAAG,CAAC,uGAAuG,CAAC,CAAC;QACrH,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC,CAAC;KAC7C;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAEM,KAAK,UAAU,kBAAkB;IACtC,MAAM,cAAc,GAAG,aAAa,EAAE,CAAC;IAEvC,IAAI,cAAc,EAAE;QAClB,OAAO,CAAC,GAAG,CAAC,0CAA0C,CAAC,CAAC;QAExD,MAAM,+BAAsB,CAC1B,4HAA4H,EAC5H;YACE,YAAY,EAAE,IAAI;YAClB,GAAG,EAAE,cAAI,CAAC,OAAO,CAAC,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC;SAC1D,CACF,CAAC;QAEF,OAAO,CAAC,GAAG,CAAC,iIAAiI,CAAC,CAAC;QAE/I,OAAO,cAAI,CAAC,OAAO,CAAC,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,iBAAiB,CAAC,CAAC,CAAC;KAChF;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AApBD,gDAoBC"}
@@ -0,0 +1,2 @@
1
+ import 'source-map-support/register';
2
+ //# sourceMappingURL=post-install.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-install.d.ts","sourceRoot":"","sources":["../../src/post-install.ts"],"names":[],"mappings":"AAAA,OAAO,6BAA6B,CAAC"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ require("source-map-support/register");
7
+ const shared_1 = require("@cubejs-backend/shared");
8
+ const fs_1 = __importDefault(require("fs"));
9
+ const path_1 = __importDefault(require("path"));
10
+ const installer_1 = require("./installer");
11
+ (async () => {
12
+ try {
13
+ if (!fs_1.default.existsSync(path_1.default.join(__dirname, '..', 'download', 'SparkJDBC42.jar'))) {
14
+ await installer_1.downloadJDBCDriver();
15
+ }
16
+ }
17
+ catch (e) {
18
+ await shared_1.displayCLIError(e, 'Cube.js Databricks JDBC Installer');
19
+ }
20
+ })();
21
+ //# sourceMappingURL=post-install.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-install.js","sourceRoot":"","sources":["../../src/post-install.ts"],"names":[],"mappings":";;;;;AAAA,uCAAqC;AAErC,mDAAyD;AAEzD,4CAAoB;AACpB,gDAAwB;AACxB,2CAAiD;AAEjD,CAAC,KAAK,IAAI,EAAE;IACV,IAAI;QACF,IAAI,CAAC,YAAE,CAAC,UAAU,CAAC,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,iBAAiB,CAAC,CAAC,EAAE;YAC7E,MAAM,8BAAkB,EAAE,CAAC;SAC5B;KACF;IAAC,OAAO,CAAC,EAAE;QACV,MAAM,wBAAe,CAAC,CAAC,EAAE,mCAAmC,CAAC,CAAC;KAC/D;AACH,CAAC,CAAC,EAAE,CAAC"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@cubejs-backend/databricks-jdbc-driver",
3
3
  "description": "Cube.js Databricks database driver",
4
4
  "author": "Cube Dev, Inc.",
5
- "version": "0.30.50",
5
+ "version": "0.30.57",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
8
8
  "type": "git",
@@ -19,7 +19,8 @@
19
19
  "tsc": "tsc",
20
20
  "watch": "tsc -w",
21
21
  "lint": "eslint src/* --ext .ts",
22
- "lint:fix": "eslint --fix src/* --ext .ts"
22
+ "lint:fix": "eslint --fix src/* --ext .ts",
23
+ "postinstall": "node bin/post-install"
23
24
  },
24
25
  "files": [
25
26
  "README.md",
@@ -30,10 +31,10 @@
30
31
  "@aws-sdk/client-s3": "^3.49.0",
31
32
  "@aws-sdk/s3-request-presigner": "^3.49.0",
32
33
  "@azure/storage-blob": "^12.9.0",
33
- "@cubejs-backend/jdbc-driver": "^0.30.50",
34
- "@cubejs-backend/query-orchestrator": "^0.30.50",
35
- "@cubejs-backend/schema-compiler": "^0.30.50",
36
- "@cubejs-backend/shared": "^0.30.50",
34
+ "@cubejs-backend/jdbc-driver": "^0.30.57",
35
+ "@cubejs-backend/query-orchestrator": "^0.30.57",
36
+ "@cubejs-backend/schema-compiler": "^0.30.57",
37
+ "@cubejs-backend/shared": "^0.30.57",
37
38
  "inquirer": "^8.0.0",
38
39
  "node-fetch": "^2.6.1",
39
40
  "ramda": "^0.27.1",
@@ -60,5 +61,5 @@
60
61
  "jest": {
61
62
  "testEnvironment": "node"
62
63
  },
63
- "gitHead": "6b6b9539d695a4e6ab5ed35675294d4083ee38af"
64
+ "gitHead": "91d9e7eb8b0fdd8f473e1c92ff6219c04ec47f42"
64
65
  }
package/bin/EULA.txt DELETED
@@ -1,295 +0,0 @@
1
- END-USER LICENSE AGREEMENT (EULA)
2
-
3
- IMPORTANT � READ CAREFULLY: THIS END-USER LICENSE AGREEMENT (THIS "AGREEMENT")
4
- IS A LEGAL AGREEMENT BETWEEN YOU AND SIMBA (HEREINAFTER DEFINED). PLEASE READ
5
- THIS AGREEMENT CAREFULLY BEFORE DOWNLOADING, INSTALLING OR USING THE PROGRAM
6
- (HEREINAFTER DEFINED). THE PROGRAM MAY INCLUDE PRODUCT ACTIVATION AND OTHER
7
- TECHNOLOGY DESIGNED TO PREVENT UNAUTHORIZED USE AND COPYING. BY INSTALLING OR
8
- USING THE PROGRAM YOU CONSENT TO THE TRANSMISSION OF CERTAIN COMPUTER
9
- INFORMATION REQUIRED FOR ACTIVATION AND/OR VALIDATION.
10
-
11
- EFFECT OF PURCHASE ORDERS; ORDERING DOCUMENTATION. SIMBA WILL NOT BE BOUND BY,
12
- AND SPECIFICALLY OBJECTS TO, ANY TERM, CONDITION OR OTHER PROVISION THAT IS
13
- DIFFERENT FROM OR IN ADDITION TO THE SALES ORDER ASSOCIATED HEREWITH AND/OR
14
- THIS AGREEMENT THAT IS PROFFERED BY YOU IN ANY RECEIPT, ACCEPTANCE,
15
- CONFIRMATION, CORRESPONDENCE, OR OTHERWISE. FURTHER, ALL PREPRINTED CLAUSES ON
16
- ANY ORDER FORM PROVIDED BY YOU ARE DEEMED DELETED OR SUPERSEDED BY SAID SALES
17
- ORDER AND/OR THIS AGREEMENT.
18
-
19
- OTHER CONTRACTS. THE TERMS AND CONDITIONS OF THIS AGREEMENT MAY BE MODIFIED BY
20
- A SEPARATE SOFTWARE LICENSE AGREEMENT BETWEEN SIMBA AND THE PROGRAM�S END
21
- USER.
22
-
23
- USE CONSENT. YOU ARE DEEMED TO CONSENT TO BE BOUND BY THE TERMS AND CONDITIONS
24
- OF THIS AGREEMENT BY INSTALLING, COPYING, OR OTHERWISE USING THE PROGRAM.
25
- FUTHERMORE, THIS AGREEMENT IS ENFORCEABLE AGAINST YOU AND ANY PERSON THAT
26
- OBTAINED THE PROGRAM AND ON WHOSE BEHALF IT IS USED.
27
-
28
- ELECTRONIC SIGNATURE. YOU AGREE TO THE USE OF ELECTRONIC COMMUNICATION TO
29
- ENTER INTO THIS AGREEMENT AND HEREBY WAIVE ANY RIGHTS OR REQUIREMENTS UNDER
30
- ANY LAWS OR REGULATIONS IN ANY JURISDICTION THAT REQUIRE AN ORIGINAL
31
- (NON-ELECTRONIC) SIGNATURE OR DELIVERY OR RETENTION OF NON-ELECTRONIC RECORDS
32
- TO THE EXTENT PERMITTED UNDER APPLICABLE LAW. IF YOU DO NOT AGREE TO THE TERMS
33
- AND CONDITIONS OR THIS AGREEMENT, DO NOT PROCEED WITH THE DOWNLOAD,
34
- INSTALLATION OR USE OF THE PROGRAM.
35
-
36
- 1. GENERAL TERMS; AUTHORITY. This Agreement governs your use of the
37
- accompanying computer software program or technology (the "Program"), which
38
- Program is owned or controlled by Simba Technologies Incorporated, or one of
39
- its subsidiaries or affiliates (collectively referred to herein as "Simba").
40
- You represent and warrant that you have authorized the download and
41
- installation of the Program, or the owner of the computer or server on which
42
- it will be installed has authorized you to do so. Your rights to use and
43
- reproduce the Program are expressly set out in this Agreement.
44
-
45
- 2. USE INDEMNIFICATION. You agree to defend, indemnify and hold harmless
46
- Simba, its suppliers and its resellers from and against liabilities, costs,
47
- damages and expenses (including settlement costs and reasonable attorney fees)
48
- arising from any claims from anybody that result from or relate to your use,
49
- reproduction or distribution of the Program.
50
-
51
- 3. OWNERSHIP RIGHTS. The Program is licensed and not sold. The Program is
52
- protected by Canadian and United States copyright laws and international
53
- treaty provisions. Simba owns and retains all right, title, and interest in
54
- and to the Program, including all copyrights, patents, trade secret rights,
55
- trademarks, and other Intellectual Property Rights therein. Nothing in this
56
- Agreement, including the possession, installation, or use of the Program
57
- assigns or transfers to any person any title, right or interest to the
58
- Intellectual Property Rights in the Program, except as explicitly specified in
59
- this Agreement. For purposes of this Agreement, the sale of the Program shall
60
- mean and confer only the license right to use the Software as specified in
61
- this Agreement. "Intellectual Property Rights" means patents, rights to
62
- inventions, copyright and related rights, trademarks, trade names and domain
63
- names, rights in get-up, rights in goodwill or to sue for passing off, rights
64
- in designs, rights in computer software, database rights, rights in
65
- confidential information (including know-how and trade secrets) and any other
66
- intellectual property rights, in each case whether registered or unregistered
67
- and including all applications (or rights to apply) for, and renewals or
68
- extensions of, such rights and all similar or equivalent rights or forms of
69
- protection which may now or in the future subsist in any part of the world.
70
-
71
- 4. LICENSE GRANT. Subject to the terms and conditions of this Agreement, Simba
72
- grants a limited, non-exclusive, non-transferable, and non-sub-licensable
73
- right to you to download, install and use the Program for the term and as
74
- otherwise indicated on the invoice associated with your purchase of the
75
- relevant Program(s) (the "License"). You will immediately inform Simba if the
76
- Program is intended to be used outside the scope of the License. A separate
77
- license for any use outside the scope of this Agreement must be obtained from
78
- Simba in writing in advance of any such use. Notwithstanding anything to the
79
- contrary contained herein, an upgrade to new versions/releases of the
80
- Program(s) is outside the scope of the License and such upgrade(s) must be
81
- licensed separately.
82
-
83
- 5. SUBSCRIPTION FEES; EFFECT OF NON-PAYMENT. Unless the License is perpetual,
84
- the License shall be limited, non-perpetual and granted on a subscription-fee
85
- basis requiring annual renewal. Failure to renew and pay the subscription fee
86
- will cancel and terminate your rights to use the Program. You have the
87
- obligation to pay and remit the subscription fee on a timely basis and in
88
- advance.
89
-
90
- 6. TRANSFER AND USE RESTRICTIONS. You may not sell, license, sub-license,
91
- lend, rent, share, lease, transmit, telecommunicate, distribute, embed, assign
92
- or otherwise transfer the Program to others. You must comply with all
93
- applicable Canadian, United States and other export control laws related to
94
- your use of the Program. Except as expressly permitted above, you may not
95
- modify, reverse engineer, decompile, decrypt, extract or otherwise disassemble
96
- the Program. The License does not permit you to distribute or make the Program
97
- available over any network where it could be used by multiple devices at the
98
- same time. The License does not permit you to directly or indirectly, reverse
99
- engineer, adapt, modify, decompile, disassemble, translate the Program or
100
- create derivative works based on the Program in any way including without
101
- limitation, removal of the installer program, electronic end user license
102
- agreement, "About" screen, or any copyright or other proprietary notice that
103
- appears in the Program, or otherwise attempt to discover the source code of
104
- the Program. In addition, the License does not permit you to remove or alter
105
- any proprietary notices or labels on the Program. There shall be no rights
106
- implied to you or any person using the Program. The license rights granted
107
- under this Agreement shall terminate immediately in the event of a breach of
108
- any provisions of this Agreement.
109
-
110
- 7. TERMINATION. Simba may terminate this Agreement immediately and without
111
- prior notice if you breach any term, or otherwise fail to strictly comply with
112
- this Agreement. In the event of termination for any reason, you agree to
113
- immediately destroy and/or erase the original and all copies of the Program
114
- and to discontinue its use, and you will not otherwise retain or store the
115
- Program or any copies thereof, in any form or medium. You also agree to
116
- provide to Simba proof of confirmation of your discontinuance and non-use upon
117
- request.
118
-
119
- 8. WARRANTIES. Simba warrants for a period of ninety (90) days from the date
120
- the Program is delivered to you that the Program shall substantially conform
121
- to Simba�s documented specifications. In the event of any alleged breach of
122
- the above express warranties, you shall report the details of such alleged
123
- breach in writing to Simba within the specified ninety (90) day warranty
124
- period. If such alleged breach is reported as required and substantiated by
125
- Simba, your exclusive remedies shall be, at Simba�s sole option, for Simba to
126
- promptly repair or replace the Program or any portion thereof necessary to
127
- remedy the breach, or to refund the fees actually received by Simba for the
128
- License. EXCEPT AS SET FORTH ABOVE, YOU EXPRESSLY ACKNOWLEDGE AND AGREE THAT
129
- THE USE OF THE PROGRAM IS AT YOUR SOLE RISK. SIMBA PROVIDES THE PROGRAM
130
- (INCLUDING, BUT NOT LIMITED TO, ANY DOCUMENTATION AND SUPPORT) ON AN "AS IS",
131
- "WHERE IS" BASIS WITHOUT ANY WARRANTY OF ANY KIND, EITHER EXPRESS, IMPLIED OR
132
- STATUORY, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
133
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, ACCURACY, NON-INFRINGEMENT,
134
- OR CONDITION ARISING FROM COURSE OF PERFORMANCE, COURSE OF DEALING OR USAGE OF
135
- TRADE. SIMBA DOES NOT WARRANT THAT THE FUNCTIONS CONTAINED IN THE PROGRAM WILL
136
- MEET YOUR REQUIREMENTS, OR THAT THE OPERATION OF THE PROGRAM WILL BE ERROR
137
- FREE OR UNINTERRUPTED, OR THAT DEFECTS IN PROGRAM WILL BE CORRECTED.
138
- FURTHERMORE, SIMBA DOES NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING THE
139
- USE OR THE RESULTS OF THE USE OF THE PROGRAM IN TERMS OF ITS CORRECTNESS,
140
- ACCURACY, RELIABILITY, OR OTHERWISE. NO ORAL OR WRITTEN INFORMATION OR ADVICE
141
- GIVEN BY SIMBA OR ITS AUTHORIZED REPRESENTATIVES SHALL CREATE A WARRANTY OR IN
142
- ANY WAY INCREASE THE SCOPE OF THIS WARRANTY.
143
-
144
- 9. DISCLAIMER & RELEASE. EXCEPT RELATED TO THE EXPRESS WARRANTIES AND
145
- INDEMNITIES SET FORTH HEREIN, YOU HEREBY WAIVE, RELEASE AND DISCLAIM, ALL
146
- WARRANTIES, CONDITIONS, INDEMNITIES, OBLIGATIONS AND LIABILITIES OF SIMBA AND
147
- ALL OTHER REMEDIES, RIGHTS, CAUSES OF ACTION AND CLAIMS AGAINST SIMBA WITH
148
- RESPECT TO THE PROGRAM, ALL RELATED DOCUMENTATION AND ANY SERVICES FURNISHED
149
- UNDER THIS AGREEMENT, INCLUDING, BUT NOT LIMITED TO, ANY OBLIGATION,
150
- LIABILITY, RIGHT, REMEDY OR CLAIM IN CONTRACT, INCLUDING FUNDAMENTAL BREACH,
151
- TORT, NOTWITHSTANDING ANY FAULT, NEGLIGENCE, STRICT LIABILITY OR PRODUCT
152
- LIABILITY OF SIMBA (WHETHER ACTIVE, PASSIVE OR IMPUTED) AND ANY OBLIGATION,
153
- LIABILITY, REMEDY, RIGHT OR CLAIM FOR INFRINGEMENT. YOU ACKNOWLEDGE THE
154
- PROGRAM IS NOT DESIGNED OR LICENSED FOR USE IN HAZARDOUS ENVIRONMENTS
155
- REQUIRING FAIL-SAFE CONTROLS, INCLUDING, BUT NOT LIMITED TO, OPERATION OF
156
- NUCLEAR FACILITIES, AIRCRAFT NAVIGATION OR COMMUNICATION SYSTEMS, AIR TRAFFIC
157
- CONTROL, LIFE SUPPORT OR WEAPONS SYSTEMS. WITHOUT LIMITING THE GENERALITY OF
158
- THE FOREGOING, SIMBA EXPRESSLY DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY OR
159
- CONDITION OF FITNESS FOR SUCH PURPOSES. YOU ACKNOWLEDGE THAT SIMBA IS ONLY
160
- WILLING TO ENTER INTO THIS AGREEMENT ON THE CONDITION THAT YOU AGREE TO BE
161
- BOUND BY THE LIMITATIONS SET FORTH IN THIS AGREEMENT.
162
-
163
- 10. LIMITATION OF LIABILITY. SIMBA WILL HAVE NO LIABILITY OR OBLIGATION FOR
164
- ANY DAMAGES OR REMEDIES, INCLUDING, WITHOUT LIMITATION, THE COST OF SUBSTITUTE
165
- GOODS, LOST OR CORRUPTION OF DATA, LOST PROFITS, LOST REVENUES OR ANY OTHER
166
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, GENERAL, PUNITIVE, CONSEQUENTIAL OR
167
- EXEMPLARY DAMAGES, ARISING OUT OF THIS AGREEMENT OR THE USE OR INABILITY TO
168
- USE THE PROGRAM. IN NO EVENT WILL SIMBA�S TOTAL AGGREGATE LIABILITY (WHETHER
169
- IN CONTRACT (INCLUDING FUNDAMENTAL BREACH), WARRANTY, TORT (INCLUDING
170
- NEGLIGENCE), PRODUCT LIABILITY, INTELLECTUAL PROPERTY INFRINGEMENT OR OTHER
171
- LEGAL THEORY WITH REGARD TO THE PROGRAM AND/OR THIS AGREEMENT EXCEED THE FEES
172
- ACTUALLY RECEIVED BY SIMBA DIRECTLY ATTRIBUTABLE TO THIS LICENSE OR ONE
173
- HUNDRED DOLLARS ($100.00), WHICHEVER IS LESSER. Furthermore, Simba will not be
174
- liable for any delay or failure to perform its obligations under this
175
- Agreement as a result of any causes or conditions beyond Simba�s reasonable
176
- control as determined in its sole discretion.
177
-
178
- 11. INTELLECTUAL PROPERTY CLAIMS. Subject to Section 10 hereof, Simba will
179
- indemnify and hold you harmless against any damages resulting from use of the
180
- Program finally awarded against you pursuant to a judicial proceeding, to the
181
- extent such proceeding is based upon an infringement of any valid U.S. or
182
- Canadian patent issued prior to the date you receive the Program from Simba,
183
- or any valid U.S. or Canadian copyright by the Program, provided that you: (i)
184
- promptly give written notice of the claim to Simba; (ii) give Simba sole
185
- control of the defense and settlement of the claim; (iii) provide to Simba all
186
- available information and assistance; and (iv) have not compromised or settled
187
- such claim. If the Program is found to infringe or in Simba�s opinion is
188
- likely to infringe, Simba may at its sole discretion elect to: (i) obtain for
189
- you the right to use the Program; (ii) replace or modify the Program so that
190
- it is non-infringing; or (iii) remove the Program and refund fees paid by you
191
- to Simba for the Program. Simba will have no obligation under this Section 11
192
- for any claims which result from: (i) use of the Program in combination with
193
- any non-Simba provided software (including any portion of the Program not
194
- authored by Simba); (ii) Simba�s compliance with your designs or
195
- specifications; (iii) modification of the Program by you or anyone other than
196
- Simba; or (iv) use of an allegedly infringing version of the Program, if the
197
- alleged infringement could be avoided by the use of a different version made
198
- available to you by Simba. This Section 11 sets forth the entire liability of
199
- Simba and your exclusive remedies for claims of infringement involving the
200
- Program.
201
-
202
- 12. CONFIDENTIAL INFORMATION. You acknowledge that the Program and its
203
- associated materials constitute confidential information of Simba that is
204
- proprietary and valuable to Simba and its licensors and you will use the same
205
- level of care as a reasonable and prudent businessperson would to protect and
206
- safeguard the confidentiality of such confidential information while it is in
207
- your possession or control. You will not use or reproduce the Program for any
208
- purpose not expressly set out herein and will not disclose to or grant any
209
- other party access to the Program for any purpose, other than as expressly
210
- permitted herein. You acknowledge and agree that you will not publish or make
211
- public any performance details or information about the Program without the
212
- prior written permission of Simba. You acknowledge and agree that performance
213
- and testing results are confidential information and will only be shared with
214
- those within your organization who have a need to know. If you breach your
215
- confidentiality covenants herein, then in addition to any other remedies Simba
216
- may be entitled to, Simba will be entitled to apply to a court of competent
217
- equitable jurisdiction for and obtain injunctive relief, including an
218
- interlocutory injunction, to enjoin such breach or any anticipated breach. You
219
- acknowledge that other remedies will not adequately compensate Simba in the
220
- event of your breach or anticipated breach of your confidentiality covenants
221
- herein. Your confidentiality covenants in this Section 12 will not apply to
222
- information which you can conclusively prove: (i) was developed independently
223
- by you without the use of the Program; (ii) is generally available to the
224
- public; or (iii) is available to you on a non-confidential basis from other
225
- lawful sources.
226
-
227
- 13. U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND. If the Program is acquired by
228
- any agency or other part of the U.S. government in a transaction subject to
229
- the Federal Acquisition Regulations or the Defense Federal Acquisition
230
- Regulations, the Program is furnished with Restricted Rights. Use,
231
- duplication, or disclosure of the Program by the U.S. government is subject to
232
- all applicable restrictions set forth in such Regulations, as amended from
233
- time to time, including subparagraphs (c)(1) and (2) of the Commercial
234
- Computer Software-Restricted Rights clause at Section 48 C.F.R. 52.227-19.
235
-
236
- 14. SURVIVAL. Sections 2, 3, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18 and 20,
237
- and all other provisions of this Agreement which may reasonably be interpreted
238
- as surviving termination of this Agreement, shall survive the termination of
239
- this Agreement.
240
-
241
- 15. ENTIRE AGREEMENT. This Agreement constitutes the entire agreement between
242
- you and Simba regarding the Program. If any provision is found to be invalid
243
- by a court of competent jurisdiction, the balance of the provisions will
244
- remain in full force and effect. This Agreement will be governed by and
245
- construed in accordance with the laws of the State of Texas, United States,
246
- excluding its conflict of laws rules. The parties hereby attorn to the
247
- jurisdiction of the courts located within the city of Austin, State of Texas,
248
- United States, in the event of any dispute hereunder. The provisions of the
249
- U.N. Convention on Contracts For The International Sale of Goods (1980) and
250
- the American Law Institute�s Principles of the Law of Software Contracts
251
- ("Principles") are expressly excluded. The parties agree that (i) the
252
- Principles shall have no application whatsoever to the interpretation or
253
- enforcement of this Agreement, and (ii) neither party shall invoke the
254
- Principles in whole or in part in any proceeding relating to this Agreement.
255
- Notwithstanding the foregoing, Simba may bring suit in any appropriate forum
256
- or court of competent jurisdiction for any breach of this Agreement or
257
- misappropriation of its intellectual property rights, including claims for
258
- equitable and injunctive relief.
259
-
260
- 16. ENUREMENT. The rights, restrictions, limitations, disclaimers and remedies
261
- granted to, retained by, or for the benefit of Simba will enure to the benefit
262
- of and will be enforceable by Simba and its licensors, successors and assigns.
263
- The obligations, covenants and rights, which apply to you, will enure to your
264
- benefit and will be binding on you and your permitted successors and assigns.
265
-
266
- 17. PUBLICITY. You agree that Simba may, at its option, refer to you in its
267
- marketing and promotional materials as a licensee of the Program, unless you
268
- advise Simba to the contrary in writing within thirty (30) days of the date
269
- you receive the Program.
270
-
271
- 18. NON-PERSONAL DATA. You agree that Simba may collect, maintain, process and
272
- use diagnostic, technical and related information, including information
273
- related to your device, computer, system, application software, peripherals to
274
- facilitate the provision of software update, product support and compliance
275
- verification, and otherwise to improve the Program and other software products
276
- and delivery of related services.
277
-
278
- 19. TAXES. You certify that you are not resident in Canada for purposes of the
279
- Excise Tax Act and that you are not registered under that Act. Where
280
- applicable, you agree to advise Simba in the event there is any change to your
281
- residence status or should you become registered for the purposes of the
282
- Excise Tax Act.
283
-
284
- 20. FORCE MAJEURE. Simba shall not be liable hereunder for any failure or
285
- delay in the performance of its obligations under this Agreement if such
286
- failure or delay is on account of causes beyond its control, including labor
287
- disputes, civil commotion, war, fires, floods, inclement weather, governmental
288
- regulations or controls, casualty, government authority, strikes, or acts of
289
- God, in which event Simba shall be excused from its obligations for the period
290
- of the delay and for a reasonable time thereafter.
291
-
292
- v.2017.01
293
-
294
- Page 2 of 5
295
-
Binary file