Commit Graph

74 Commits

Author SHA1 Message Date
Margarita
b2e1f094dd
Adding handling for Optional (#33)
* Adding handling for Optional in dev.vality.geck.serializer.kit.tbase.TBaseProcessor#process()

* Bump geck version
2024-08-16 11:00:16 +03:00
Anatolii Karlov
522cf211f8
ThriftType fix (#30) 2024-06-25 11:02:47 +03:00
Anatolii Karlov
75de1f694c
woody 2 migration (#29)
* woody 2 migration

* woody 2 migration
2024-06-24 17:12:24 +03:00
Vality Bot
24e92716ad
🔄 Synced file(s) with valitydev/configurations (#9)
* 🔄 Synced local '.github/workflows/basic-linters.yml' with remote 'workflows/base/basic-linters.yml'

* 🔄 Created local '.github/settings.yml' from remote '.github/settings.yml'

* 🔄 Created local 'CODEOWNERS' from remote 'codeowners/java'

* 🔄 Created local '.codecov.yml' from remote 'java/.codecov.yml'
2022-11-15 14:53:49 +07:00
github-actions[bot]
ddbc1f005e Update file(s) from valitydev/.github 2022-02-24 18:02:08 +00:00
github-actions[bot]
e81bf8984d Update file(s) from valitydev/.github 2022-02-22 11:35:13 +00:00
Pavel Popov
db3947863d
Update renovate config 2022-02-21 13:54:44 +03:00
Baikov Dmitrii
c11ba23997
INT-41: Fix workflow version (#7) 2022-01-20 07:20:23 -08:00
Baikov Dmitrii
d0444ff297
INT-41: Transfer to dev.vality (#2) 2022-01-20 06:58:43 -08:00
Anatoly Cherkasov
eac5a8a220
JD-573: add library-parent-pom (#69)
* JD-573: add library-parent-pom

Co-authored-by: Alexey Pronin <24279065+vulnbe@users.noreply.github.com>
2021-09-03 17:27:11 +03:00
Alexey Pronin
16e3c4d3ec
Bump thrift plugin (#67)
* Bump thrift plugin

* Try without scope

* Revert "Try without scope"

This reverts commit 095ea946f85638755fafb51733af03563d4964fa.

* Bump damsel deps

* Disable thrift generation by default, move thrift gerated classes to project packages

* Disable thrift generation in filter dep

Co-authored-by: Pavel Popov <popoffpavel@yandex.ru>
2020-07-09 19:32:34 +03:00
malkoas
c1539049fe
Switch to public maven repo (#66)
* Switch to public maven repo

* change buildImageTag

* change version in another pom

* Bump reflections

* Bump build_utils

* Bump damsel and woody

* Add test scope to damsel dep, bump build_utils

Co-authored-by: Alexey Pronin <24279065+vulnbe@users.noreply.github.com>
Co-authored-by: Pavel Popov <popoffpavel@yandex.ru>
2020-07-08 21:00:41 +03:00
Anton Kuranda
36d71cbdfa
Let's make it opensource (#65) 2020-05-02 13:18:04 +03:00
Vladimir Pankrashkin
6ae23bbc12
BJ-271: Add util method for msgpack -> tbase conversion (#64) 2018-04-20 16:20:57 +03:00
Pavel Popov
97c154b652
Replace delimiter in code (#63)
* Replace delimiter in code

* Bump version

* Replace with a space

* Update build_utils
2018-03-29 19:01:42 +03:00
Vladimir Pankrashkin
d2e568c038
Ft/bj 271/error mapping (#62)
* BJ-271: Add error mapping

* BJ-271: Remove refactoring artifacts

* BJ-271: Produce string view correctly for gen view with reason

* BJ-271: Add string to general error processor

* BJ-271: Conform naming style for utility classes

* BJ-271: Remove redundant lib classes visibility

* BJ-271: Move damsel to provided scopr

* BJ-271: Add util method for msgpack -> tbase conversion
2018-03-06 18:21:03 +03:00
Vladimir Pankrashkin
6f37d4d999
BJ-271: Add error mapping (#61)
* BJ-271: Add error mapping

* BJ-271: Remove refactoring artifacts

* BJ-271: Produce string view correctly for gen view with reason

* BJ-271: Add string to general error processor

* BJ-271: Conform naming style for utility classes

* BJ-271: Remove redundant lib classes visibility

* BJ-271: Move damsel to provided scopr
2018-02-28 11:18:33 +03:00
Vladimir Pankrashkin
155eb54b06
Ft/bj 224/filter conditions - Add Map filtering support (#59)
* BJ-224: Add repeatable names support

* BJ-224: Refactor base implementation

* BJ-224: Add map filtering support

* BJ-224: Add map filtering support: bugfixes
Still not implemented:
map_name.{*.*}. //check that key is struct
map_name.{{}}. // check that key is map
map_name.{[]}. //check that key is array
map_name.{{*}.union_var} //enclosed maps
map_name.{[*].union_var} //enclosed arrays

* BJ-224: Bump version to 0.6.5
2018-01-23 18:57:01 +03:00
Pavel Popov
25ef8121ea
Change zoneOffset to ZoneId, new methods in TypeUtil (#58) 2017-12-08 16:27:47 +03:00
Vladimir Pankrashkin
c679b06db0 BJ-217: MsgPackFilterImpl (#57)
* BJ-217: MsgPackFilterImpl

* BJ-217: remove unused methods

* BJ-217: Add filtering capability, bug fixes
2017-09-07 16:50:29 +03:00
Pavel Popov
e9da1dbcd2 Byte buffer (#56)
* Fix byte buffer bug

* Bump geck version
2017-08-18 11:38:06 +03:00
Vladimir Pankrashkin
3aef1bd355 Ft/bm 39/bump woody (#55)
* Bump WoodyVersion

* BM-39: Bump WoodyVersion
2017-08-10 12:44:22 +03:00
Pavel Popov
a576610d28 Field processing (#53)
* Field processing

* Change logic

* Move DEFAULT_FIELD_ID in StructHandler interface

* Add field id support for msgpack

* Msgpack: Changed pack type to byte

* New logic with enum states

* Fix types

* Msgpack: Bugfix

* Add tests

* Add null checking in constructor

* Msgpack: now can be reused

* Msgpack: fix
2017-07-11 16:26:16 +03:00
Pavel Popov
dc4e58e2af BJ-198: Add field handler interface (#52)
* BJ-198: Add field handler interface

* Add "checkRequiredFields" parameter, bump version
2017-07-06 19:48:51 +03:00
Pavel Popov
db78998480 BJ-197: Add collection support in filter (#51)
* BJ-197: Add collection support

* BJ-197: Review performance fix

* BJ-197: Bump version to 0.5.0-SNAPSHOT

* BJ-197: Rewrite split function

* BJ-197: Rewrite test expected values
2017-07-06 16:59:24 +03:00
Pavel Popov
ab86104b0a 0.4.0 release (#50) 2017-06-22 18:14:09 +03:00
Inal Arsanukaev
d0b8128308 up pom version (#49) 2017-05-29 19:09:47 +03:00
Inal Arsanukaev
ddbfbc8a0b BJ-169: Added pretty-format for json, minor refactoring (#48)
* BJ-169: Added pretty-format for json, minor refactoring

* Refactoring

* Stable version

* Final fixes

* Fix

* revert ObjectStack

* minor fix

* Moved wrappers into JsonHandler

* Inner classes changed to private access

* set pretty as final

* set inner classes as static
2017-05-29 16:20:54 +03:00
Inal Arsanukaev
e65091b1f3 Ft/bj 157/json processor (#47)
* BJ-157: Added json processor; modified json-handler

* Added re-usable json-handler. Up pom version. Fixed readme.

* lol

* Fixed structure size, removed type identifiers for strings, added IllegalArgumentException catching

* Fixed bug with string escaping

* Fixed

* added test for checking work jsonprocessor with msgpackhandler
2017-05-19 15:31:39 +03:00
Pavel Popov
a29a79dde9 BJ-142: jolt migrator (#43)
* BJ-142: Add jolt migrator

* BJ-142: Delete other specs

* BJ-142: Test commit with 'reflections' lib

* BJ-142: Add reflections lib, add migration test

* DJ-142: IDEA refactor tool - GOD MODE ON

* BJ-142: Fixes to let jolt test pass

* BJ-142: Fix jolt migration test

* BJ-142: Yet another fix test

* BJ-142: Remove redundant code

* BJ-142: Add default path option
2017-03-30 12:31:33 +03:00
Vladimir Pankrashkin
fddf1546e4 Ft/bj 143/j object m igration impl (#45)
* BJ-143: added base jobject migration impl

* BJ-143: tests added, bugfixes(spec selection worked incorrect)

* BJ-143: ci build failed, added check for scan dir existence

* BJ-143: ci build still fails, on file list extracting

* BJ-143: add cl dir logging

* BJ-143: still problem with extraction fs info. New try with guava ClassPath

* BJ-143: still problem with extraction fs info. New try uri path conversion

* BJ-143: still problem with extraction fs info. New try with guava 22-0 snapshot ClassPath

* BJ-143: guava 22.0-SNAPSHOT works! Final commit
2017-03-27 16:54:38 +03:00
Vladimir Pankrashkin
42f0d280d6 BJ-143: added base jobject migration impl (#35) 2017-03-23 18:58:27 +03:00
Inal Arsanukaev
32ae66f9f8 BJ-133: Added test with xslt-transform (#34)
* BJ-133: Added test with xslt-transform

* Removed size attribute

* Removed attribute size processing

* Optimize getting child nodes
2017-03-22 16:03:25 +03:00
Inal Arsanukaev
d327db4ab2 Ft/bj-139/xml (#27)
* BJ-139: Added xml handler

* Added object types, constants moved to other class

* fix constant's modifiers

* Added handler's reuseable, support null-values

* Added xml processor

* Moved constants to other class

* Added some exception handling

* fix

* Added additional description in exception handling

* Fixed after comments

* Removed main method, fixed doc

* Removed error handling in method writeEndElement

* Added throwing runtime exception when init

* Added snapshot-version in poms

* Fixed filter parent pom version
2017-03-21 15:06:52 +03:00
Pavel Popov
502e9f32a2 BJ-134: Thrift filter (#30)
* BJ-134: Add filter interfaces

* BJ-134: Fix parent pom

* BJ-134: Add conditions

* BJ-134: Add conditionParser filter

* BJ-134: Return false immediately
2017-03-21 12:33:31 +03:00
Pavel Popov
49974bdbd3 BJ-141: TBase handler reuse (#33) 2017-03-21 12:32:08 +03:00
Pavel Popov
847a2e3e69 Release 0.1.0 (#32) 2017-03-17 17:27:11 +03:00
Vladimir Pankrashkin
673c7b67dc Bj 120/migration impl (#31)
* BJ-120: migration iface basic impl

* BJ-120: added util classes, strengthen handler iface impl
2017-03-17 15:47:53 +03:00
Pavel Popov
d801277439 BJ-134: Move util classes to common lib (#29) 2017-03-17 12:47:28 +03:00
Yevgeniy Poluektov
97d38eaaae Ft/bj 140/use more than one damsel versions (#28)
* init

* remove copy past

* use many versions of damsel in project
remove copy-paste thrift files
2017-03-16 17:31:22 +03:00
Pavel Popov
e222f9c83d BJ-122: Matching spec (#25)
* BJ-122: "invoice created" events

* BJ-122: Add payments without cash_flow

* BJ-122: Add other events

* BJ-122: Move print json objects when throw Exception

* BJ-122: Fix backslash in object processor, add tests
2017-03-16 17:09:14 +03:00
Inal Arsanukaev
b24c347d96 Ft/bj-116/spec (#24)
* BJ-116: Added specs for damsel

* BJ-116: Added spec for damsel object, added fixed values generator

* Ignore test

* Added correct checking of equivalence

* fix syntax bug

* Removed unused class, fixed value generator interface, fixed test
2017-03-09 18:07:17 +03:00
Pavel Popov
0ffa488ece Add jenkins (#23)
* Add jenkins

* Add newline

* Fix migrator pom file

* Bump parent version

* Bump build_image tag

* Add childs in dependency management
2017-03-06 19:36:33 +04:00
Vladimir Pankrashkin
a3af2b5283 BJ-119: Migration interface (#22)
* BJ-119: Migration interface

* BJ-119: fix naming

* BJ-119: review fix: MigrationStore should return points list
2017-03-02 17:32:58 +03:00
Inal Arsanukaev
1260a770f4 BJ-115: Add tests for damsel objects (#19)
* BJ-115: Add tests for damsel objects

* added additional tests

* add tests with simple string structure

* BJ-115: Narrowed utf-8 codepoints set for randomString function

* BJ-115: Enabled serializer's ring test, disabled performance test
2017-02-28 14:05:20 +03:00
Vladimir Pankrashkin
73c476a671 Ft/bj 117/add set impl (#21)
* BJ-117: Add set support

* BJ-117: Add set support

* BJ-117: Fixed equals fail: ony filled data is pushed into uplevel structures

* BJ-117: Added more info for msgpack naming compression error

* BJ-117: Added set impl for msgpack
2017-02-27 18:49:19 +03:00
Pavel Popov
bb263c9b62 Fix set processor (#20) 2017-02-27 14:09:35 +04:00
Pavel Popov
0d0a896e91 BJ-76: Add set methods in Handler interface, add binaryData test (#18) 2017-02-17 17:37:42 +04:00
Pavel Popov
d623dc01de BJ-76: Create maven modules (#17)
* BJ-76: Create maven modules

* BJ-76: Change pic

* BJ-76: Change readme

* BJ-76: Last fixes

* BJ-76: Add dependency management

* BJ-76: Fix readme
2017-02-17 13:24:31 +04:00
Pavel Popov
77591c3c8e BJ-76: JSON handler (#16)
* BJ-76: Remove thrift types from json handler

* BJ-76: generate TBase objects in tests

* BJ-76: Replace control symbol, ", and /

* BJ-76: Create replace map before
2017-02-16 20:01:06 +04:00