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

232 Коммитов

Автор SHA1 Сообщение Дата
AsafMah 6c22d5b3b9 Revert "Bump to 3.2.0"
This reverts commit 8d5112e7
2022-04-05 13:09:29 +03:00
AsafMah 4d343c41b2 Revert "typo"
This reverts commit a979c2d53e.
2022-04-05 13:09:15 +03:00
AsafMah 3b7983236c Revert "Fixed push"
This reverts commit ba30bd6971.
2022-04-05 13:09:11 +03:00
AsafMah 99479d4441 Revert "Pin azure-kusto-ingest version to azure-kusto-data@"
This reverts commit 745fed1e54.
2022-04-05 13:09:07 +03:00
AsafMah 86ed75537f Revert "Created create-release.yml"
This reverts commit f71e10c168.
2022-04-05 13:09:02 +03:00
AsafMah 1d6564440f Revert "Trying to create releases"
This reverts commit 877065e6ca.
2022-04-05 13:08:48 +03:00
AsafMah 877065e6ca Trying to create releases 2022-04-05 13:07:28 +03:00
AsafMah 65e8d0d1ff Merge remote-tracking branch 'origin/master' 2022-04-05 12:43:29 +03:00
AsafMah f71e10c168 Created create-release.yml 2022-04-05 12:43:13 +03:00
Asaf mahlev 745fed1e54 Pin azure-kusto-ingest version to azure-kusto-data@ 2022-04-05 09:35:06 +00:00
AsafMah ba30bd6971 Fixed push 2022-04-05 12:27:27 +03:00
AsafMah db5635fc7c Merge remote-tracking branch 'origin/master' 2022-04-05 12:18:00 +03:00
AsafMah 0c0a79cf57 Remove cache 2022-04-05 12:17:35 +03:00
AsafMah a979c2d53e
typo 2022-04-05 12:11:59 +03:00
AsafMah 8d5112e74f Bump to 3.2.0 2022-04-05 12:11:04 +03:00
AsafMah 5fc501caf8 Bump to 3.2.0 2022-03-28 10:20:28 +03:00
AsafMah 983f805a89
Fixed security warning (#182)
* Fixed security warning

* Specify errors
2022-03-28 10:16:46 +03:00
AsafMah d5982c01df
Added support for inital catalog/ default db (#180)
* Added support for inital catalog/ default db

* Better error reporting in tests

* See if we get to bad path.

* Fixed tests

* More logs to find bugs

* More logs to find bugs

* Create gz files on the fly to avoid newline errors

* Correct gz

* Log error differently

* More logs

* Skipping csv file

* Change content type

* Removed debug statements

* application/octet-stream

* Restore debug code

* Added default database name and removed extra methods

* Fixed tests
2022-03-28 10:11:17 +03:00
Sean Kelly ef258292d3
Update README for withAzLoginIdentity (#177)
* Update README for withAzLoginIdentity

* Some wording

Co-authored-by: AsafMah <asafmahlev@microsoft.com>
2022-03-14 13:57:03 +02:00
AsafMah e66b7d97da
Fix npm run e2e (#176) 2022-03-13 10:25:22 +02:00
Sean Kelly e96fc35743
Update CONTRIBUTING.md resolves #172 (#173)
* Update CONTRIBUTING.md

* More clarification on tests

Co-authored-by: AsafMah <asafmahlev@microsoft.com>
2022-03-13 10:11:05 +02:00
AsafMah a1a8b682c6
3.1.0 - Fixes to props and convenience features (#171)
* -Bumped version to 3.10
-Ingestion Properties - fixed bug that caused the wrong properties to be sent when overriding the defaults.
-Added option to pass an object with the correct interface as ingestionProperties (instead of always creating a class)
-`withConstantValue` value's type had been relaxed from just string, to any type that implements `toString`

* Fixed managed mock

* Removed needless interface

* Changed type to {}
2022-03-01 08:10:20 +02:00
AsafMah 725ffb3b0b
Added prettier formatting (#169)
* Added prettier formatting

* Fixed ignores

* Change line length to 160 and change line endings in checkFormat

* lf
2022-02-27 12:20:48 +02:00
AsafMah 364405b2aa
Eslint (#168)
* -Added InteractiveLoginProvider
-Restructured Token Providers to support more features and avoid code duplication
-Restructured connection builder to be more type safe and less verbose

* -Added more tests (with many more to come)
-More robust options
-Add toString for connection string builder

* Added no cred login and aad federated security

* -Added init for callback provider
-Added tests for certificate

* Added tests for all connection builders and fixed bugs

* Added more tests and context

* Added more tests

* Added tests to complete the coverage

* azure-kusto-data - convert to eslint

* Update security.ts

* Moved ingest to eslint

* Changed order back to avoid breaking change

* Rename to fit with other sdks

* Added header enforcements and missing header

* Fix more lint errors

* test broken lint ingest

* test broken lint data

* Add console to e2e tests to make sure they're running

* Fixed package-lock
2022-02-23 08:09:48 +02:00
AsafMah b0e5a096a7
TokenProviders - Adding many features, including interactive login (#167)
* -Added InteractiveLoginProvider
-Restructured Token Providers to support more features and avoid code duplication
-Restructured connection builder to be more type safe and less verbose

* -Added more tests (with many more to come)
-More robust options
-Add toString for connection string builder

* Added no cred login and aad federated security

* -Added init for callback provider
-Added tests for certificate

* Added tests for all connection builders and fixed bugs

* Added more tests and context

* Added more tests

* Added tests to complete the coverage

* Error fixes

* Update security.ts

* Changed order back to avoid breaking change

* Rename to fit with other sdks
2022-02-21 10:38:40 +02:00
AsafMah adaced569e
Small mapping fixes (#166)
* small mapping fixes

* Added IngestionMappingKind alias

* -Added back ingestionMappingType as deprecated
-Deprecate IngestionPropertiesEnums for direct imports

* -Added back ingestionMapping field, as deprecated
2022-02-15 07:44:21 +02:00
AsafMah 1301d3a47d
Added docs to DataFormat 2022-02-14 14:35:51 +02:00
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 a3dbff1934
bump lockfile 2022-02-13 11:49:57 +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 34b701111e
Bump ingest to 2.3.0 2022-02-10 09:01:17 +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
Yihezkel Schoenbrun f46e5e96f0
Add to main README link to .NET's best practices guide (#152) 2021-11-01 16:39:11 +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