Граф коммитов

118 Коммитов

Автор SHA1 Сообщение Дата
AsafMah 2c2b604d7a
Properly fix security issue and restore lockfiles to version 1 (#165) 2022-02-13 12:31:51 +02:00
dependabot[bot] 1fd7b784ca
Bump follow-redirects from 1.14.7 to 1.14.8 in /azure-kusto-data (#164)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: AsafMah <asafmahlev@microsoft.com>
2022-02-13 12:05:14 +02:00
AsafMah d7975e24b5
Fix mappings - Added all mapping types, and send them correctly (#154)
* Added mapping types

* Make ctor protected

* Fixed mapping send

* Fixed exports

* Update npmignore and fixed import

* Added types, validations and tests

* fixed types and made sure streamingingest is on

* Typo

* Fixed tests

* -Better errors
-Try running in parallel

* Fixed tests order

* Make e2e tests faster by having shorter sleeps and test at the beggining.

* Remove parallel from testpipeline

* -Renamed mappingKind to mappingType to fit with other sdks
-Added logic from other sdks to validation
-Added missing fields

* Fixed check

* Merged from master

* -Renamed toJson to toJSON for convention
-Moved column mappings to new file
-Fixed validation options

* Added back toJson methods to not break everyone

* Bumped to 3.0.0
2022-02-13 11:39:45 +02:00
AsafMah a3d4676290
Bump data to 2.3.0 2022-02-10 09:01:01 +02:00
AsafMah 1f1ed0ae0b
Added support for custom parsers (#161)
* Added support for custom parsers

(cherry picked from commit 1382e469d9)

* Fixed test

* Fixed other test

* Merged from master

* renamed according to convension

* restored old toJson method to avoid breaking change
2022-02-10 08:57:18 +02:00
AsafMah a833cb0188
-Update azure identity to 2.0.0 to fix security bug (#163)
-Remove null checks for az identity, as per the migration doc -https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/migration-v1-v2.md
2022-01-30 10:33:58 +02:00
AsafMah 9923bc7c5e
Fixed lints and deprecated functions (#162)
* Fixed lints and deprecated functions

* tslint - turned on all recommended settings and solve all issues

* fix lint
2022-01-27 13:02:04 +02:00
AsafMah 91debe57e7 Revert "Added support for custom parsers"
This reverts commit 1382e469d9.
2022-01-25 13:12:52 +02:00
AsafMah 1382e469d9 Added support for custom parsers 2022-01-25 13:11:11 +02:00
AsafMah 45c68aa569
Security update, Faster tests and improvements (#160)
* Faster tests and improvements

* Added dependency to solve security issue

* Npm audit fix

* Npm audit fix

* Updated package-lock.json

* update npm

* Remove parallel from pipeline (doesn't work with junit-reporter)
2022-01-25 12:10:52 +02:00
AsafMah e0f1c4b10d
Add coverage (#158)
* Add coverage

* Try without e2e

* Try without e2e

* Try without e2e

* Try without files

* Fixed flow and gitignore

* update lockfiles
2022-01-24 10:49:44 +02:00
AsafMah 2cf11517ee
ManagedStreaming improvements (#155)
* -Don't read the entire stream for Managed
-Added more tests

* PR fixes

* -Added clientRequestId param
-Refactored sleep

* Added ClientRequestId to managed streaming

* Fixed error + deprecations

* Rename to fit conventions

* Fixed before

* Fixed properties not being set on streaming ingestion

* Added helper methods + fixed default props not propegating

* Tests for helper methods
2022-01-24 10:39:28 +02:00
Amit Shalev 8fa29d7d07
Bump axios (#159)
* Bump axios

* fix
2022-01-19 10:47:53 +02:00
AsafMah b3926c4c3c
Added test result reporting and cache to build.yml (#156)
* Added test result reporting

* Added cache

* Added badge
2021-11-30 13:48:21 +02:00
AsafMah 7e7082ded7
Small fixes - expand streaming ingest to all Readable, fixed some imports, typos and updated gitignore (#153)
* Small fixes - fixed type and updated gitignore

* Expand IngestFromStream to any Readable, and fix some import errors
2021-11-18 09:25:48 +02:00
ohad bitton 28378e74e1
Managed Streaming (#150)
* managedStreaming

* fix

* comments

* better

* better

* better

* m

* comments

* b

* f

* f

* t

* better

* fix- stream array

* test

* f

* s

* node

* j

* f

* not dev

* m

* better

* f

* mock

* e2e

* b

Co-authored-by: Ohad Bitton <ohbitton@microsoft.com>
2021-10-27 14:11:36 +03:00
Amit Shalev cd3e61321d
Bump axios & uuid and move @types/mocha to devDependencies (#148) 2021-09-12 14:12:41 +03:00
dependabot[bot] 110f9fd27d
Bump axios from 0.21.1 to 0.21.2 in /azure-kusto-data (#146) 2021-09-09 12:41:24 +03:00
dependabot[bot] cb5423a5d8
Bump path-parse from 1.0.6 to 1.0.7 in /azure-kusto-data (#145)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-15 10:35:09 +03:00
Amit Shalev a4b680551c
AzCli authentication via @azure/identity (#144) 2021-08-08 15:26:38 +03:00
Amit Shalev 5034886b34
Remove adal-node from dependencies (#142)
* Remove adal from dependencies

* bump

* fix

* fix azCli
2021-07-18 11:45:09 +03:00
Microsoft Provenance Contributions a6ccdf5731
Update package.json to include the repository key (#139)
With the rise in supply chain attacks and OSS dependencies being used as a attack vector, Microsoft is working with our ecosystem partners, such as the Linux Foundation's OpenSSF, to enable OSS consumers to track packages back to their public sources.
We've identified that the following packages published to NPM do not report where sources can be found, typically accomplished by including a link to your GitHub repository in your `package.json` REPOSITORY field. This PR was created to add this value, ensuring future releases will include this provenance information.
Published NPM packages with repository information:
	*azure-kusto-data

Co-authored-by: Amit Shalev <62893886+amshalev@users.noreply.github.com>
2021-07-11 10:33:02 +03:00
Amit Shalev 5aa6366ed4
Refactoring token acquiring (use msal and cloudInfo) (#138) 2021-07-11 10:19:34 +03:00
Amit Shalev 45d0fce304
Add application and user to Client Request Properties (#136)
* Support machine and app in CRP

* nit
2021-06-20 11:02:16 +03:00
dependabot[bot] bbf5defc40
Bump glob-parent from 5.1.1 to 5.1.2 in /azure-kusto-data (#133)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-20 10:29:34 +03:00
Amit Shalev 6f77491404
Fixes for axios issues (#130) 2021-05-23 17:24:49 +03:00
dependabot[bot] 42f34d337b
Bump lodash from 4.17.19 to 4.17.21 in /azure-kusto-data (#128)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yihezkel Schoenbrun <yihezkel@schoenbrun.net>
2021-05-09 01:06:38 +03:00
dependabot[bot] f963c3b350
Bump underscore from 1.9.1 to 1.13.1 in /azure-kusto-data (#126)
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.9.1 to 1.13.1.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.9.1...1.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yihezkel Schoenbrun <yihezkel@schoenbrun.net>
2021-05-09 00:39:05 +03:00
dependabot[bot] e38f72deed
Bump y18n from 4.0.0 to 4.0.1 in /azure-kusto-data (#122)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amit Shalev <62893886+amshalev@users.noreply.github.com>
2021-04-26 16:58:45 +03:00
dependabot[bot] 15ab045cc3
Bump xmldom from 0.1.27 to 0.5.0 in /azure-kusto-data (#118)
Bumps [xmldom](https://github.com/xmldom/xmldom) from 0.1.27 to 0.5.0.
- [Release notes](https://github.com/xmldom/xmldom/releases)
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xmldom/xmldom/compare/v0.1.27...0.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amit Shalev <62893886+amshalev@users.noreply.github.com>
2021-04-26 16:42:28 +03:00
Jeff McAffer 7ace2014b9
Fix the link formatting in option 3 (#117)
* Fix the link formatting in option 3

The markdown link formatting was swapped

* A few more fixups
2021-04-26 16:20:27 +03:00
AsafMah 6e93648467
Node typescript fix (#116)
* Compile with harsher flags, and remove unused items.

* Fixed build for typescript clients -
- Ignore .ts files in npm (we only need the compiled js files)
- Made @typings proper dependencies (since ts needs them to resolve types)
- Bumped versions
2021-02-21 15:46:10 +02:00
Amit Shalev 803e4f5e0d
Add support for query V1 (#113)
* Add support for V1 query

* add support query v1

* Delete client.js

* cr fix

* fix
2021-02-16 17:27:44 +02:00
Asaf Mahlev e53489e354 Properly update lock files. 2021-01-06 10:10:36 +02:00
Asaf Mahlev 253fd857d5 Updated axios package due to a security vulnerability, and added github's codeql-analysis.yml for automatic security detection. 2021-01-06 09:46:21 +02:00
Shalom Yerushalmy 2107da4172
Fix acquireToken in managedIdentitiesClient by adding the correct headers and fix url redundant char (#109)
* Fix acquireToken in managedIdentitiesClient by adding the correct headers and fix url redundant char

* Bump version to 2.1.1
2021-01-03 10:19:35 +02:00
AsafMah 75edf798b9
Separate warnings from errors, (#108)
now warnings will not fail queries (like in other sdks).
You can still access them via the new getWarnings method.
2020-12-20 10:27:01 +02:00
AsafMah 6efb7d09c2
Upgrade azure-kusto-data to 2.0.1 (#107) 2020-12-16 17:57:06 +02:00
AsafMah 28ff1f98bb
Moved the project to typescript
Changed the project to use typescript instead of javascript.

Typed all of the classes and functions.
2020-12-16 16:39:25 +02:00
Amit Shalev ecd43f4ff5
Parse response according to execution type (#99)
* Parse response according to execution type

* Ingest
2020-11-01 15:24:21 +02:00
Amit Shalev e0fd2c70a6
Add option to set client timeout explicitly (#97)
* Add option to set client timeout explicitly

* fix

* order _getClientTimeout
2020-10-18 13:07:09 +03:00
Amit Shalev 5530022645
Bump to version 1.0.1 (#94)
* bump 1.0.1

* fix
2020-09-15 13:00:59 +03:00
dependabot[bot] a0ffab8276
Bump node-fetch from 2.6.0 to 2.6.1 in /azure-kusto-data (#92) 2020-09-14 11:40:28 +03:00
Amit Shalev a7c3875afc
readme update (#89) 2020-09-08 13:38:34 +03:00
Amit Shalev 513bb6cf42
Bump major version (#88)
* bump major version

* clean status queues e2e
2020-09-08 10:40:25 +03:00
Amit Shalev ce8b71d88a
New async await API (#87)
* working async engine client

* remove callback - all UT passed

* E2E pass

* eslint

* Update azure-kusto-data/example.js

Co-authored-by: vladikbr <31644896+vladikbr@users.noreply.github.com>

* nit - peek and pop

* nit cr

* cr fix

* fix ut

* cr fix

Co-authored-by: vladikbr <31644896+vladikbr@users.noreply.github.com>
2020-09-08 09:44:08 +03:00
Amit Shalev dd6fcd7e15
bump version v0.3.12 (#84) 2020-08-02 18:09:36 +03:00
Amit Shalev 3a61f7e71b
Timeout fixes (#82)
* Timeout fixes

* fix properties

* fix e2e

* formatting
2020-08-02 16:44:15 +03:00
dependabot[bot] 3edc8451c1
Bump lodash from 4.17.15 to 4.17.19 in /azure-kusto-data (#79)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-26 09:35:57 +03:00
amshalev ee11eea0ba
Bump version + fix (#77) 2020-07-13 11:27:14 +03:00