Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MetadataWriter and MetadataReader #63

Open
wants to merge 274 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
274 commits
Select commit Hold shift + click to select a range
6b50caf
add subprojects
reggiepierce May 12, 2020
705a0a0
logger and class type
reggiepierce May 12, 2020
ec9f6d1
adjusting dependencies
reggiepierce May 12, 2020
c341e11
compiles
reggiepierce May 12, 2020
596e7d2
remove settings files
reggiepierce May 12, 2020
ed27510
refractor
reggiepierce May 12, 2020
1d8741a
gson update
reggiepierce May 12, 2020
de3990c
default methods
reggiepierce May 12, 2020
c3ddfbb
Update GsonUnmarshaller.java
reggiepierce May 12, 2020
b4b4948
gson marshall updates
reggiepierce May 12, 2020
0b46461
Update GsonUnmarshaller.java
reggiepierce May 12, 2020
92a8caa
test
reggiepierce May 12, 2020
2ca7276
Argument serialization fix
reggiepierce May 12, 2020
b46b6e9
marshall updates
reggiepierce May 12, 2020
705f720
elastic to stream
reggiepierce May 12, 2020
de2e0bf
Update PublisherConverter.java
reggiepierce May 12, 2020
d69bcac
Update PublisherConverter.java
reggiepierce May 13, 2020
7772d62
disable retain slices
reggiepierce May 13, 2020
2c51715
defer wrapping
reggiepierce May 13, 2020
f260894
Update RequestHandlingRSocketReflection.java
reggiepierce May 13, 2020
0f500e1
Update ServerTest.java
reggiepierce May 13, 2020
edbe5a2
Update RequestHandlingRSocketReflection.java
reggiepierce May 13, 2020
d7a3896
Check refcnt
reggiepierce May 13, 2020
9f33044
Parse outside of subscribe on
reggiepierce May 13, 2020
273f000
make rsocket mono a supplier
reggiepierce May 13, 2020
491aafe
make client rsocket lazy
reggiepierce May 13, 2020
ed379db
disable releasing during unmarshall
reggiepierce May 13, 2020
2e01aac
remeved all reference count manipulation minus metadata on channels
reggiepierce May 13, 2020
f3f074a
reader
reggiepierce May 13, 2020
680cafd
per route marshall/unmarshall
reggiepierce May 14, 2020
1a4f08d
channel arg mapping
reggiepierce May 14, 2020
c4f8a49
Update LazyRSocket.java
reggiepierce May 22, 2020
ca34db5
Update LazyRSocket.java
reggiepierce May 22, 2020
4049c05
Update GsonUnmarshaller.java
reggiepierce May 22, 2020
09c22a3
Transition to supplier
reggiepierce May 22, 2020
2a34538
Supplier fix
reggiepierce May 22, 2020
24ee802
scheduler
reggiepierce May 28, 2020
d95ef48
reflections update
reggiepierce Jul 31, 2020
7f9afd2
reflections
reggiepierce Jul 31, 2020
e2d435e
Auto JGit Commit 8/20/20 - 3:30 PM
reggiepierce Aug 20, 2020
9a6e0ca
reflections8
reggiepierce Sep 22, 2020
f518de7
nevermind
reggiepierce Sep 22, 2020
b3c03a9
remove error consumer
reggiepierce Sep 22, 2020
6631a79
reflections8 again
reggiepierce Sep 22, 2020
f8c1fba
Auto JGit Commit 9/22/20 - 6:42 PM
reggiepierce Sep 22, 2020
8eefc91
bump reactor
reggiepierce Oct 1, 2020
3199a7d
Auto JGit Commit 10/3/20 - 2:31 AM
reggiepierce Oct 3, 2020
b726706
Auto JGit Commit 10/5/20 - 5:07 PM
reggiepierce Oct 5, 2020
8b54cd8
Auto JGit Commit 10/6/20 - 2:48 PM
reggiepierce Oct 6, 2020
2ce8ea3
Auto JGit Commit 10/12/20 - 4:58 PM
reggiepierce Oct 12, 2020
af13587
Auto JGit Commit 10/12/20 - 5:20 PM
reggiepierce Oct 12, 2020
af2c732
Auto JGit Commit 10/12/20 - 5:59 PM
reggiepierce Oct 12, 2020
e0c853e
Auto JGit Commit 10/13/20 - 9:30 AM
reggiepierce Oct 13, 2020
368b49d
Auto JGit Commit 10/15/20 - 11:22 PM
reggiepierce Oct 16, 2020
ed4a505
Auto JGit Commit 11/2/20 - 5:28 PM
reggiepierce Nov 2, 2020
d9cccb5
Auto JGit Commit 11/25/20 - 5:39 PM
reggiepierce Nov 25, 2020
0cacbde
Auto JGit Commit 12/4/20 - 1:21 PM
reggiepierce Dec 4, 2020
7a30b80
Auto JGit Commit 12/10/20 - 12:57 PM
reggiepierce Dec 10, 2020
67120bc
Auto JGit Commit 12/22/20 - 1:26 AM
reggiepierce Dec 22, 2020
88afe25
Auto JGit Commit 12/31/20 - 1:03 PM
reggiepierce Dec 31, 2020
e2ecfbb
Auto JGit Commit 1/4/21 - 6:26 PM
reggiepierce Jan 4, 2021
6c64c1a
Auto JGit Commit 1/5/21 - 6:30 PM
reggiepierce Jan 5, 2021
ae0080a
Auto JGit Commit 1/6/21 - 5:14 PM
reggiepierce Jan 6, 2021
b3380ae
Auto JGit Commit 1/14/21 - 4:20 PM
reggiepierce Jan 14, 2021
90bf418
Auto JGit Commit 1/14/21 - 4:51 PM
reggiepierce Jan 14, 2021
24eaed5
Auto JGit Commit 1/21/21 - 6:39 PM
reggiepierce Jan 21, 2021
5f3d2b5
Auto JGit Commit 1/26/21 - 6:29 PM
reggiepierce Jan 26, 2021
27339d6
Auto JGit Commit 1/29/21 - 5:59 AM
reggiepierce Jan 29, 2021
15c57d0
Auto JGit Commit 2/2/21 - 6:35 PM
reggiepierce Feb 2, 2021
b4c7d29
Auto JGit Commit 2/4/21 - 6:48 PM
reggiepierce Feb 4, 2021
1aaf4e2
Auto JGit Commit 2/5/21 - 6:50 PM
reggiepierce Feb 5, 2021
51c2dc4
Auto JGit Commit 2/8/21 - 6:39 PM
reggiepierce Feb 8, 2021
bb10c81
Auto JGit Commit 2/13/21 - 9:36 AM
reggiepierce Feb 13, 2021
63710ca
Auto JGit Commit 2/15/21 - 2:24 PM
reggiepierce Feb 15, 2021
3ea45da
Auto JGit Commit 2/18/21 - 12:52 AM
reggiepierce Feb 18, 2021
35bbb3f
Auto JGit Commit 2/22/21 - 6:47 PM
reggiepierce Feb 22, 2021
fb4e0ff
Auto JGit Commit 2/22/21 - 9:46 PM
reggiepierce Feb 23, 2021
168b336
Auto JGit Commit 2/22/21 - 11:30 PM
reggiepierce Feb 23, 2021
f570c5d
Auto JGit Commit 2/24/21 - 12:16 AM
reggiepierce Feb 24, 2021
82cbf60
Auto JGit Commit 2/24/21 - 12:32 AM
reggiepierce Feb 24, 2021
4bca009
Auto JGit Commit 2/24/21 - 11:35 PM
reggiepierce Feb 25, 2021
653021e
Auto JGit Commit 2/25/21 - 6:55 PM
reggiepierce Feb 25, 2021
b4c3533
Auto JGit Commit 2/26/21 - 12:16 AM
reggiepierce Feb 26, 2021
6a2c6a8
Auto JGit Commit 2/26/21 - 5:59 PM
reggiepierce Feb 26, 2021
fa1b9c6
Auto JGit Commit 3/1/21 - 2:09 PM
reggiepierce Mar 1, 2021
d26f7ab
Auto JGit Commit 3/3/21 - 10:32 PM
reggiepierce Mar 4, 2021
d56c884
Auto JGit Commit 3/6/21 - 4:49 PM
reggiepierce Mar 6, 2021
5e03d8a
Auto JGit Commit 3/8/21 - 9:52 AM
reggiepierce Mar 8, 2021
400bd2b
Auto JGit Commit 3/8/21 - 1:07 PM
reggiepierce Mar 8, 2021
5e77ec9
Auto JGit Commit 3/12/21 - 2:45 PM
reggiepierce Mar 12, 2021
6a14910
Auto JGit Commit 3/15/21 - 6:01 AM
reggiepierce Mar 15, 2021
fab6c64
Auto JGit Commit 3/15/21 - 4:22 PM
reggiepierce Mar 15, 2021
04ae401
Auto JGit Commit 3/15/21 - 5:18 PM
reggiepierce Mar 15, 2021
9d09a6f
Auto JGit Commit 3/16/21 - 4:46 PM
reggiepierce Mar 16, 2021
c892163
Auto JGit Commit 3/17/21 - 7:26 PM
reggiepierce Mar 17, 2021
56f117b
Auto JGit Commit 3/18/21 - 4:57 PM
reggiepierce Mar 18, 2021
954571b
Auto JGit Commit 3/22/21 - 11:24 AM
reggiepierce Mar 22, 2021
0c965d0
Auto JGit Commit 3/23/21 - 1:04 PM
reggiepierce Mar 23, 2021
6875b90
Auto JGit Commit 3/24/21 - 7:25 PM
reggiepierce Mar 24, 2021
b973f7c
Auto JGit Commit 3/25/21 - 12:44 PM
reggiepierce Mar 25, 2021
9ca3d17
Auto JGit Commit 3/25/21 - 9:39 PM
reggiepierce Mar 26, 2021
e821392
Auto JGit Commit 3/29/21 - 5:10 PM
reggiepierce Mar 29, 2021
0e4c857
Auto JGit Commit 4/5/21 - 4:58 PM
reggiepierce Apr 5, 2021
76768dc
Auto JGit Commit 4/8/21 - 1:45 AM
reggiepierce Apr 8, 2021
dfe37f3
Auto JGit Commit 4/13/21 - 4:55 PM
reggiepierce Apr 13, 2021
c0f396f
Auto JGit Commit 4/15/21 - 7:14 PM
reggiepierce Apr 15, 2021
1b9757e
Auto JGit Commit 4/16/21 - 5:48 PM
reggiepierce Apr 16, 2021
b7570f5
Auto JGit Commit 4/19/21 - 12:00 AM
reggiepierce Apr 19, 2021
d70a822
Auto JGit Commit 4/19/21 - 11:46 PM
reggiepierce Apr 20, 2021
1f659bb
Auto JGit Commit 4/20/21 - 4:51 PM
reggiepierce Apr 20, 2021
c4735ce
Auto JGit Commit 4/22/21 - 12:31 AM
reggiepierce Apr 22, 2021
09849b7
Auto JGit Commit 4/22/21 - 1:23 PM
reggiepierce Apr 22, 2021
99dd6cf
Auto JGit Commit 4/26/21 - 11:07 PM
reggiepierce Apr 27, 2021
5e15d4b
Auto JGit Commit 4/29/21 - 1:31 PM
reggiepierce Apr 29, 2021
fe4ca4d
Auto JGit Commit 4/29/21 - 3:43 PM
reggiepierce Apr 29, 2021
d1d627f
Merge branch 'master' of https://github.com/rsocket/rsocket-rpc-java
reggiepierce May 3, 2021
897d0cc
script
reggiepierce May 3, 2021
04bee74
lazy
reggiepierce May 3, 2021
ece9208
Auto JGit Commit 5/4/21 - 1:47 AM
reggiepierce May 4, 2021
2f2abf0
Auto JGit Commit 5/5/21 - 5:06 PM
reggiepierce May 5, 2021
55fd857
Auto JGit Commit 5/12/21 - 6:45 PM
reggiepierce May 12, 2021
eb9050f
Auto JGit Commit 5/13/21 - 5:04 PM
reggiepierce May 13, 2021
f3dda10
Auto JGit Commit 5/19/21 - 1:01 AM
reggiepierce May 19, 2021
b1cac77
Auto JGit Commit 5/20/21 - 4:08 PM
reggiepierce May 20, 2021
e71a4f5
Auto JGit Commit 5/26/21 - 12:11 AM
reggiepierce May 26, 2021
8925a79
Auto JGit Commit 5/28/21 - 12:54 AM
reggiepierce May 28, 2021
53dafa0
Auto JGit Commit 5/28/21 - 6:30 PM
reggiepierce May 28, 2021
a2e8c78
Auto JGit Commit 5/28/21 - 6:32 PM
reggiepierce May 28, 2021
de08e50
Auto JGit Commit 6/3/21 - 6:25 PM
reggiepierce Jun 3, 2021
58ac502
Auto JGit Commit 6/3/21 - 10:38 PM
reggiepierce Jun 4, 2021
3bfcf05
Auto JGit Commit 6/4/21 - 5:06 PM
reggiepierce Jun 4, 2021
06519aa
Auto JGit Commit 6/7/21 - 10:37 PM
reggiepierce Jun 8, 2021
8c2f50b
Auto JGit Commit 6/10/21 - 5:02 PM
reggiepierce Jun 10, 2021
e3b8d7c
Auto JGit Commit 6/10/21 - 5:12 PM
reggiepierce Jun 10, 2021
60a94c6
Auto JGit Commit 6/11/21 - 5:03 PM
reggiepierce Jun 11, 2021
b2f2e88
Auto JGit Commit 6/17/21 - 9:00 AM
reggiepierce Jun 17, 2021
ea10aff
Auto JGit Commit 6/25/21 - 4:41 PM
reggiepierce Jun 25, 2021
e61a029
Auto JGit Commit 6/29/21 - 3:36 PM
reggiepierce Jun 29, 2021
2fd060d
Auto JGit Commit 7/7/21 - 4:14 PM
reggiepierce Jul 7, 2021
82b6855
Auto JGit Commit 7/20/21 - 6:24 PM
reggiepierce Jul 20, 2021
17a016f
Auto JGit Commit 7/27/21 - 4:40 PM
reggiepierce Jul 27, 2021
bf72cb9
Auto JGit Commit 7/28/21 - 7:11 PM
reggiepierce Jul 28, 2021
9159972
Auto JGit Commit 8/25/21 - 5:49 PM
reggiepierce Aug 25, 2021
21561d2
Auto JGit Commit 9/1/21 - 12:18 AM
reggiepierce Sep 1, 2021
18c8bfa
Auto JGit Commit 9/1/21 - 7:49 AM
reggiepierce Sep 1, 2021
cbd7433
Auto JGit Commit 9/1/21 - 2:16 PM
reggiepierce Sep 1, 2021
77ef0d8
Auto JGit Commit 9/2/21 - 5:03 PM
reggiepierce Sep 2, 2021
1c887a1
Auto JGit Commit 9/8/21 - 6:46 PM
reggiepierce Sep 8, 2021
f207a93
Auto JGit Commit 9/9/21 - 2:09 PM
reggiepierce Sep 9, 2021
df116f2
Auto JGit Commit 9/14/21 - 6:57 PM
reggiepierce Sep 14, 2021
9207565
Auto JGit Commit 9/17/21 - 4:25 PM
reggiepierce Sep 17, 2021
7f66001
Auto JGit Commit 9/20/21 - 6:40 PM
reggiepierce Sep 20, 2021
c82a9fd
Auto JGit Commit 9/21/21 - 8:29 PM
reggiepierce Sep 22, 2021
d45827f
Auto JGit Commit 9/24/21 - 5:41 PM
reggiepierce Sep 24, 2021
8e03e13
Auto JGit Commit 9/24/21 - 5:44 PM
reggiepierce Sep 24, 2021
fd93ad9
Auto JGit Commit 9/27/21 - 6:44 PM
reggiepierce Sep 27, 2021
e7e009e
Auto JGit Commit 9/28/21 - 7:07 PM
reggiepierce Sep 28, 2021
fcd30d7
Auto JGit Commit 9/29/21 - 4:01 AM
reggiepierce Sep 29, 2021
14a26c7
Auto JGit Commit 10/1/21 - 3:23 PM
reggiepierce Oct 1, 2021
8b3e4f0
Auto JGit Commit 10/4/21 - 12:21 AM
reggiepierce Oct 4, 2021
7164554
Auto JGit Commit 10/4/21 - 12:18 PM
reggiepierce Oct 4, 2021
2cffab4
Auto JGit Commit 10/6/21 - 1:32 PM
reggiepierce Oct 6, 2021
dca4f73
Auto JGit Commit 10/8/21 - 4:12 PM
reggiepierce Oct 8, 2021
752df3b
Auto JGit Commit 10/11/21 - 8:25 PM
reggiepierce Oct 12, 2021
50f0bed
Auto JGit Commit 10/12/21 - 6:45 PM
reggiepierce Oct 12, 2021
538a6ff
Auto JGit Commit 10/15/21 - 5:26 PM
reggiepierce Oct 15, 2021
1bc036d
Auto JGit Commit 10/18/21 - 11:45 PM
reggiepierce Oct 19, 2021
9fb1d25
Auto JGit Commit 10/19/21 - 8:12 PM
reggiepierce Oct 20, 2021
b5191a9
Auto JGit Commit 11/4/21 - 2:28 AM
reggiepierce Nov 4, 2021
11c719d
Auto JGit Commit 11/10/21 - 7:40 PM
reggiepierce Nov 11, 2021
78fbab6
Auto JGit Commit 11/12/21 - 1:17 AM
reggiepierce Nov 12, 2021
20e4846
Auto JGit Commit 11/12/21 - 5:32 PM
reggiepierce Nov 12, 2021
c112e60
Auto JGit Commit 11/18/21 - 1:51 AM
reggiepierce Nov 18, 2021
18d9379
Auto JGit Commit 11/23/21 - 6:17 PM
reggiepierce Nov 23, 2021
54bea81
Auto JGit Commit 11/24/21 - 5:08 AM
reggiepierce Nov 24, 2021
5ea10d8
Auto JGit Commit 11/24/21 - 12:40 PM
reggiepierce Nov 24, 2021
74ee2fa
Auto JGit Commit 11/30/21 - 9:08 PM
reggiepierce Dec 1, 2021
761830f
Auto JGit Commit 12/2/21 - 12:01 AM
reggiepierce Dec 2, 2021
5e98686
Auto JGit Commit 12/3/21 - 1:34 AM
reggiepierce Dec 3, 2021
d48696c
Auto JGit Commit 12/6/21 - 6:37 PM
reggiepierce Dec 6, 2021
aa84f6d
Auto JGit Commit 12/9/21 - 12:23 AM
reggiepierce Dec 9, 2021
8c9bd3d
Auto JGit Commit 12/10/21 - 6:47 PM
reggiepierce Dec 10, 2021
5bdbf12
Auto JGit Commit 1/4/22 - 7:01 PM
reggiepierce Jan 5, 2022
cf290c2
Auto JGit Commit 1/5/22 - 1:13 AM
reggiepierce Jan 5, 2022
ce5e94a
Auto JGit Commit 1/6/22 - 12:55 PM
reggiepierce Jan 6, 2022
c440a84
Auto JGit Commit 1/7/22 - 6:37 PM
reggiepierce Jan 7, 2022
25dfac5
Auto JGit Commit 1/10/22 - 3:06 PM
reggiepierce Jan 10, 2022
7d84b14
Auto JGit Commit 1/11/22 - 1:22 AM
reggiepierce Jan 11, 2022
168fb1a
Auto JGit Commit 1/24/22 - 11:46 AM
reggiepierce Jan 24, 2022
0c4215a
Auto JGit Commit 1/28/22 - 6:20 PM
reggiepierce Jan 28, 2022
22187f4
Auto JGit Commit 2/9/22 - 7:36 PM
regbo Feb 10, 2022
a9bc3b5
Auto JGit Commit 2/15/22 - 5:22 PM
regbo Feb 15, 2022
66e6623
Auto JGit Commit 2/16/22 - 4:49 PM
regbo Feb 16, 2022
13233a6
Auto JGit Commit 2/17/22 - 11:39 PM
regbo Feb 18, 2022
2854982
Auto JGit Commit 2/18/22 - 2:02 PM
regbo Feb 18, 2022
79015a2
Auto JGit Commit 2/23/22 - 6:28 PM
regbo Feb 23, 2022
a183284
Auto JGit Commit 2/25/22 - 5:03 PM
regbo Feb 25, 2022
0fe4b97
Auto JGit Commit 2/28/22 - 6:20 PM
regbo Feb 28, 2022
e066b64
Auto JGit Commit 3/10/22 - 7:08 PM
regbo Mar 11, 2022
7164614
Auto JGit Commit 3/16/22 - 7:16 PM
regbo Mar 16, 2022
aa5b2ac
Auto JGit Commit 3/17/22 - 4:28 AM
regbo Mar 17, 2022
6d4c825
Auto JGit Commit 3/17/22 - 7:20 PM
regbo Mar 17, 2022
4423f4a
Auto JGit Commit 3/21/22 - 1:32 PM
regbo Mar 21, 2022
e2be564
Auto JGit Commit 3/23/22 - 12:37 AM
regbo Mar 23, 2022
df8f853
Auto JGit Commit 3/29/22 - 9:03 AM
regbo Mar 29, 2022
43c2b37
Auto JGit Commit 3/31/22 - 12:33 PM
regbo Mar 31, 2022
a701fe3
Auto JGit Commit 4/2/22 - 8:25 PM
regbo Apr 3, 2022
348050e
Auto JGit Commit 4/15/22 - 2:34 AM
regbo Apr 15, 2022
eec51c0
Auto JGit Commit 4/17/22 - 2:59 AM
regbo Apr 17, 2022
3562e20
Auto JGit Commit 5/8/22 - 2:29 PM
regbo May 8, 2022
ccaa6fe
Auto JGit Commit 5/9/22 - 5:28 PM
regbo May 9, 2022
949a0c4
Auto JGit Commit 5/25/22 - 8:12 PM
regbo May 26, 2022
8b0da5e
Auto JGit Commit 5/26/22 - 1:09 PM
regbo May 26, 2022
ea2e700
Auto JGit Commit 6/6/22 - 11:08 AM
regbo Jun 6, 2022
e5b5671
Auto JGit Commit 6/6/22 - 11:19 AM
regbo Jun 6, 2022
1b210c5
Auto JGit Commit 6/16/22 - 6:29 PM
regbo Jun 16, 2022
3f6b6fb
Auto JGit Commit 6/21/22 - 6:12 PM
regbo Jun 21, 2022
44f917d
Auto JGit Commit 6/22/22 - 5:11 PM
regbo Jun 22, 2022
cd66a97
Auto JGit Commit 6/23/22 - 5:50 PM
regbo Jun 23, 2022
539a31a
Auto JGit Commit 6/29/22 - 2:12 PM
regbo Jun 29, 2022
7e54956
Auto JGit Commit 6/30/22 - 6:36 PM
regbo Jun 30, 2022
7ad8f74
Auto JGit Commit 7/1/22 - 3:08 PM
regbo Jul 1, 2022
1620840
Auto JGit Commit 7/6/22 - 4:43 AM
regbo Jul 6, 2022
dd0f12d
Auto JGit Commit 7/8/22 - 5:28 AM
regbo Jul 8, 2022
86071b1
Auto JGit Commit 7/14/22 - 1:44 PM
regbo Jul 14, 2022
5a7331e
Auto JGit Commit 7/28/22 - 8:29 PM
regbo Jul 29, 2022
e10492b
Auto JGit Commit 7/29/22 - 7:10 PM
regbo Jul 29, 2022
7975e92
Auto JGit Commit 8/15/22 - 5:11 PM
regbo Aug 15, 2022
8dc8a5c
Auto JGit Commit 8/18/22 - 2:59 AM
regbo Aug 18, 2022
ec29dff
Auto JGit Commit 8/25/22 - 10:07 PM
regbo Aug 26, 2022
b0e91eb
Auto JGit Commit 9/5/22 - 5:13 AM
regbo Sep 5, 2022
c752a9b
Auto JGit Commit 9/7/22 - 7:10 PM
regbo Sep 7, 2022
c2d848e
Auto JGit Commit 9/9/22 - 5:29 PM
regbo Sep 9, 2022
f19ef13
Auto JGit Commit 9/13/22 - 12:51 PM
regbo Sep 13, 2022
5b330b1
Auto JGit Commit 9/19/22 - 12:36 PM
regbo Sep 19, 2022
a32fbe8
Auto JGit Commit 9/19/22 - 1:24 PM
regbo Sep 19, 2022
8b9a422
Auto JGit Commit 9/27/22 - 2:28 AM
regbo Sep 27, 2022
f71e66f
Auto JGit Commit 9/27/22 - 3:13 PM
regbo Sep 27, 2022
c08373a
Auto JGit Commit 9/30/22 - 5:03 AM
regbo Sep 30, 2022
61e51d7
Auto JGit Commit 9/30/22 - 7:45 PM
regbo Sep 30, 2022
c741973
Auto JGit Commit 10/3/22 - 11:25 AM
regbo Oct 3, 2022
ec024ee
Auto JGit Commit 10/4/22 - 5:59 PM
regbo Oct 4, 2022
d81ee05
Auto JGit Commit 10/6/22 - 7:37 PM
regbo Oct 6, 2022
1f4633a
Auto JGit Commit 10/6/22 - 7:39 PM
regbo Oct 6, 2022
1be97a8
Auto JGit Commit 10/7/22 - 10:35 AM
regbo Oct 7, 2022
dff9fcd
Auto JGit Commit 10/11/22 - 11:49 AM
regbo Oct 11, 2022
a1cd87d
Auto JGit Commit 11/8/22 - 2:16 AM
regbo Nov 8, 2022
7023451
Auto JGit Commit 11/29/22 - 1:40 AM
regbo Nov 29, 2022
f51027a
Auto JGit Commit 11/29/22 - 3:11 AM
regbo Nov 29, 2022
38d3f7f
Auto JGit Commit 12/19/22 - 5:10 PM
regbo Dec 19, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
text=auto eol=lf
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -253,3 +253,7 @@ generated/
.settings

# End of https://www.gitignore.io/api/node,java,macos,linux,cmake,gradle,intellij+all
.flattened-pom.xml


.factorypath
86 changes: 85 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,87 @@
# Updated RSocket IPC Metadata Handling

This is intended to be used as an add on to the IPC module of rsocket/rsocket-rpc-java found here: https://github.com/rsocket/rsocket-rpc-java

The rsocket/rsocket-rpc-java project uses an outdated version of RSocket and doesn't work well with CompositeMetadata. It uses custom parsing and encoding of metadata content to route messages.

This project provides drop in (assuming RSocket RC1.7 and up) replacement MetadataDecoder and MetadataEncoder classes.

The two classes at work are MetadataDecoderLFP and MetadataEncoderLFP. They use MetadataWriter and MetadataReader classes to allow for custom serialization of metadata content.

Out of the box they support the service/method/trace requirements of rsocket/rsocket-rpc-java but also allow for custom interceptors.

For example, we can use the following code to require a password on all requests:

```java
MetadataDecoderLFP decoder = new MetadataDecoderLFP();
RequestHandlingRSocket requestHandler = new RequestHandlingRSocket(decoder);
{// start server
SocketAcceptor socketAcceptor = (setup, client) -> Mono.just(requestHandler);
RSocketServer.create(socketAcceptor).interceptors(ir -> {
}).errorConsumer(t -> {
java.util.logging.Logger.getLogger("[server]").log(Level.SEVERE, "uncaught error", t);
}).bind(TcpServerTransport.create("localhost", 7000)).block();
}
decoder.addInterceptor(reader -> {
boolean match = reader.containsString(MimeTypes.create("password"), "thisIsACoolPassWord!");
if (!match)
throw new IllegalArgumentException("not authorized");
});
```
If we try to access the server, we will receive the following:

```
SEVERE: uncaught error
java.lang.IllegalArgumentException: not authorized
at com.lfp.rsocket.ipc.metadata.IntegrationTest.lambda$13(IntegrationTest.java:116)
```

We can then modify the client to add the password, and everything works fine:

```java
MetadataEncoderLFP encoder = new MetadataEncoderLFP();
RSocket rsocket;
{// start client
rsocket = RSocketConnector.create().connect(TcpClientTransport.create("localhost", 7000)).block();
}
encoder.addInterceptor(
writer -> writer.writeString(MimeTypes.create("password"), "thisIsACoolPassWord!"));
```
As a bonus, the writers and readers can handle Multimap values, by encoding the content as a url query. (EX: "key=val1&key=val2&neat=wow")

To illustrate this we can look at how tracing is handled, which requires a multimap of key value pairs to be stored in metadata.

Here's how it's encoded:

```java
private void appendTracing(MetadataWriter metadataWriter, SpanContext spanContext) {
if (spanContext == null)
return;
Iterable<Entry<String, String>> items = spanContext.baggageItems();
if (items == null)
return;
Map<String, Collection<String>> paramMap = new LinkedHashMap<>();
for (Entry<String, String> ent : items)
paramMap.computeIfAbsent(ent.getKey(), nil -> new LinkedHashSet<>()).add(ent.getValue());
metadataWriter.writeEntries(MimeTypes.MIME_TYPE_TRACER, paramMap);
}
```
Here's how it's decoded:

```java
private SpanContext getTracingSpanContext(MetadataReader metadataReader) {
if (tracer == null)
return null;
Map<String, String> tracerMetadata = new LinkedHashMap<>();
metadataReader.streamEntriesNonEmpty(MimeTypes.MIME_TYPE_TRACER)
.forEach(ent -> tracerMetadata.computeIfAbsent(ent.getKey(), nil -> ent.getValue()));
if (tracerMetadata.isEmpty())
return null;
return Tracing.deserializeTracingMetadata(tracer, tracerMetadata);
}
```


# RSocket RPC - Java
[![Build Status](https://travis-ci.org/rsocket/rsocket-rpc-java.svg?branch=master)](https://travis-ci.org/rsocket/rsocket-rpc-java)

Expand All @@ -16,7 +100,7 @@ The standard [RSocket](http://rsocket.io) RPC Java implementation.
2. Run the following Gradle command to build the project:

$ ./gradlew clean build

## What Next?

* [Motivation](./docs/motivation.md)
Expand Down
Empty file modified ci/travis.sh
100755 → 100644
Empty file.
208 changes: 104 additions & 104 deletions gradlew.bat
Original file line number Diff line number Diff line change
@@ -1,104 +1,104 @@
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem

@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################

@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal

set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi

@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"

@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome

set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe

if exist "%JAVA_EXE%" goto init

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:init
@rem Get command-line arguments, handling Windows variants

if not "%OS%" == "Windows_NT" goto win9xME_args

:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2

:win9xME_args_slurp
if "x%~1" == "x" goto execute

set CMD_LINE_ARGS=%*

:execute
@rem Setup the command line

set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar


@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%

:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd

:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1

:mainEnd
if "%OS%"=="Windows_NT" endlocal

:omega
2 changes: 2 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
install:
- ./gradlew clean build publishToMavenLocal -x test -x verifyGoogleJavaFormat --settings-file settings.jitpack.gradle
2 changes: 2 additions & 0 deletions jitpack.yml.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
install:
- .clean build publishToMavenLocal -x test -x verifyGoogleJavaFormat
4 changes: 4 additions & 0 deletions publishToMavenLocal.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$NOW=[Math]::Round((Get-Date).ToFileTime() / 10000000 - 11644473600)
echo "versionSuffix: -$NOW"
echo "args: $args"
./gradlew build publishToMavenLocal -x test -x javadoc -x verifyGoogleJavaFormat -c settings.jitpack.gradle -PversionSuffix="-$NOW" "$args"
3 changes: 3 additions & 0 deletions publishToMavenLocal.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
NOW=$(date +%s)
echo "versionSuffix: -$NOW"
./gradlew build publishToMavenLocal -x test -x javadoc -x verifyGoogleJavaFormat -c settings.jitpack.gradle -PversionSuffix="-$NOW" "$@"
6 changes: 6 additions & 0 deletions rsocket-ipc-core/bin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/main/
/test/
.flattened-pom.xml


.factorypath
Loading