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

391 Коммитов

Автор SHA1 Сообщение Дата
AsafMah f9f7ee42b8
Improve dev environment - have all actions be in the main package.json (#188)
* Move files around

* Moved logic to main package.json

* Prettier

* Fixed publishing

* prettier

* Fixed lint, don't pack test

* directory

* try again

* fix files

* fix

* v3.3.2

* v3.4.0

* add model

* exclude dist

* revert to 3.3.0

* v3.3.1

* revert to 3.3.0

* back to 3.3.1

* Remove content

* prettify

* Revert to inline files

* correct files

* Removed old references and filed prettier

* Remove unnecessary changes, remove max-classes-per-file lint

* formatting
2022-04-25 07:15:25 +03:00
alonadam 77837749ef
Use retry mechanism on potentially throttled operations. (#189) 2022-04-14 17:12:19 +03:00
AsafMah 7cdf70d351 -Moved package-lock.json to one file on thr root, as recommended in lerna.
-Removed needless CI instructions
2022-04-10 14:14:55 +03:00
AsafMah a4760ed330 v3.3.1 2022-04-07 16:50:12 +03:00
AsafMah 0232b37aae Fixed package lock files 2022-04-07 16:49:41 +03:00
AsafMah c0b1e333ce from git 2022-04-07 16:34:46 +03:00
AsafMah 608fe26186 Checkout master on publish 2022-04-07 16:29:47 +03:00
AsafMah 58951d4e90
typo 2022-04-07 16:15:35 +03:00
AsafMah 0f3ed7cf5b
Moving to lerna (#186)
*Moving to lerna
2022-04-07 16:08:06 +03:00
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