mirror of
https://github.com/valitydev/sink-common-lib.git
synced 2024-11-06 02:15:23 +00:00
Fix serializer
This commit is contained in:
parent
4f44744986
commit
06b8b85e56
2
pom.xml
2
pom.xml
@ -24,7 +24,7 @@
|
||||
<damsel.version>1.278-3abdcb4</damsel.version>
|
||||
<sonar.jacoco.reportPath>${project.basedir}/../target/jacoco.exec</sonar.jacoco.reportPath>
|
||||
<woody.thrift.version>1.1.15</woody.thrift.version>
|
||||
<damsel.version>1.291-02be09e</damsel.version>
|
||||
<damsel.version>1.391-8fe5f98</damsel.version>
|
||||
<machinegun-proto.version>1.12-ebae56f</machinegun-proto.version>
|
||||
</properties>
|
||||
|
||||
|
@ -0,0 +1,11 @@
|
||||
package com.rbkmoney.sink.common.parser.impl;
|
||||
|
||||
import com.rbkmoney.damsel.payment_processing.PartyEventData;
|
||||
import com.rbkmoney.sink.common.serialization.BinaryDeserializer;
|
||||
|
||||
public class PartyEventDataMachineEventParser extends MachineEventParser<PartyEventData> {
|
||||
|
||||
public PartyEventDataMachineEventParser(BinaryDeserializer<PartyEventData> deserializer) {
|
||||
super(deserializer);
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package com.rbkmoney.sink.common.serialization.impl;
|
||||
|
||||
import com.rbkmoney.damsel.payment_processing.PartyEventData;
|
||||
|
||||
public class PartyEventDataDeserializer extends AbstractThriftBinaryDeserializer<PartyEventData> {
|
||||
|
||||
@Override
|
||||
public PartyEventData deserialize(byte[] bin) {
|
||||
return deserialize(bin, new PartyEventData());
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package com.rbkmoney.sink.common.serialization.impl;
|
||||
|
||||
import com.rbkmoney.damsel.payment_processing.PartyEventData;
|
||||
|
||||
public class PartyEventDataSerializer extends ThriftBinarySerializer<PartyEventData> {
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user