mirror of
https://github.com/valitydev/deanonimus.git
synced 2024-11-06 02:05:16 +00:00
Merge pull request #3 from valitydev/ft/TD-149/bump_and_metrics
[TD-149] got rid of rbkmoney
This commit is contained in:
commit
b5182e8c2c
13
pom.xml
13
pom.xml
@ -36,11 +36,6 @@
|
||||
<groupId>dev.vality</groupId>
|
||||
<artifactId>shared-resources</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.rbkmoney</groupId>
|
||||
<artifactId>eventstock-client-damsel</artifactId>
|
||||
<version>1.2.12</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>dev.vality</groupId>
|
||||
<artifactId>kafka-common-lib</artifactId>
|
||||
@ -58,6 +53,14 @@
|
||||
<groupId>dev.vality.geck</groupId>
|
||||
<artifactId>serializer</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>dev.vality.geck</groupId>
|
||||
<artifactId>common</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>dev.vality.geck</groupId>
|
||||
<artifactId>filter</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>dev.vality</groupId>
|
||||
<artifactId>deanonimus-proto</artifactId>
|
||||
|
@ -1,7 +1,7 @@
|
||||
package dev.vality.deanonimus.converter;
|
||||
|
||||
import dev.vality.damsel.deanonimus.*;
|
||||
import com.rbkmoney.geck.common.util.TypeUtil;
|
||||
import dev.vality.geck.common.util.TypeUtil;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.Collections;
|
||||
|
@ -1,7 +1,7 @@
|
||||
package dev.vality.deanonimus.endpoint;
|
||||
|
||||
import dev.vality.damsel.deanonimus.DeanonimusSrv;
|
||||
import com.rbkmoney.woody.thrift.impl.http.THServiceBuilder;
|
||||
import dev.vality.woody.thrift.impl.http.THServiceBuilder;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
import javax.servlet.*;
|
||||
|
@ -2,10 +2,10 @@ package dev.vality.deanonimus.kafka.handler.party.management;
|
||||
|
||||
import dev.vality.damsel.payment_processing.ClaimStatus;
|
||||
import dev.vality.damsel.payment_processing.PartyChange;
|
||||
import com.rbkmoney.geck.filter.Filter;
|
||||
import com.rbkmoney.geck.filter.PathConditionFilter;
|
||||
import com.rbkmoney.geck.filter.condition.IsNullCondition;
|
||||
import com.rbkmoney.geck.filter.rule.PathConditionRule;
|
||||
import dev.vality.geck.filter.Filter;
|
||||
import dev.vality.geck.filter.PathConditionFilter;
|
||||
import dev.vality.geck.filter.condition.IsNullCondition;
|
||||
import dev.vality.geck.filter.rule.PathConditionRule;
|
||||
|
||||
public abstract class AbstractClaimChangedHandler implements PartyManagementHandler {
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package dev.vality.deanonimus.kafka.handler.party.management;
|
||||
|
||||
|
||||
import com.rbkmoney.geck.filter.Filter;
|
||||
import dev.vality.geck.filter.Filter;
|
||||
import org.apache.commons.lang3.NotImplementedException;
|
||||
|
||||
public interface Handler<T, E> {
|
||||
|
@ -10,8 +10,8 @@ import dev.vality.deanonimus.domain.ContractStatus;
|
||||
import dev.vality.deanonimus.domain.Party;
|
||||
import dev.vality.deanonimus.kafka.handler.party.management.AbstractClaimChangedHandler;
|
||||
import dev.vality.deanonimus.util.ContractUtil;
|
||||
import com.rbkmoney.geck.common.util.TBaseUtil;
|
||||
import com.rbkmoney.geck.common.util.TypeUtil;
|
||||
import dev.vality.geck.common.util.TBaseUtil;
|
||||
import dev.vality.geck.common.util.TypeUtil;
|
||||
import dev.vality.machinegun.eventsink.MachineEvent;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
@ -6,10 +6,10 @@ import dev.vality.deanonimus.db.PartyRepository;
|
||||
import dev.vality.deanonimus.db.exception.PartyNotFoundException;
|
||||
import dev.vality.deanonimus.domain.Party;
|
||||
import dev.vality.deanonimus.kafka.handler.party.management.PartyManagementHandler;
|
||||
import com.rbkmoney.geck.filter.Filter;
|
||||
import com.rbkmoney.geck.filter.PathConditionFilter;
|
||||
import com.rbkmoney.geck.filter.condition.IsNullCondition;
|
||||
import com.rbkmoney.geck.filter.rule.PathConditionRule;
|
||||
import dev.vality.geck.filter.Filter;
|
||||
import dev.vality.geck.filter.PathConditionFilter;
|
||||
import dev.vality.geck.filter.condition.IsNullCondition;
|
||||
import dev.vality.geck.filter.rule.PathConditionRule;
|
||||
import dev.vality.machinegun.eventsink.MachineEvent;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
@ -7,10 +7,10 @@ import dev.vality.deanonimus.domain.Blocking;
|
||||
import dev.vality.deanonimus.domain.Party;
|
||||
import dev.vality.deanonimus.domain.Suspension;
|
||||
import dev.vality.deanonimus.kafka.handler.party.management.PartyManagementHandler;
|
||||
import com.rbkmoney.geck.filter.Filter;
|
||||
import com.rbkmoney.geck.filter.PathConditionFilter;
|
||||
import com.rbkmoney.geck.filter.condition.IsNullCondition;
|
||||
import com.rbkmoney.geck.filter.rule.PathConditionRule;
|
||||
import dev.vality.geck.filter.Filter;
|
||||
import dev.vality.geck.filter.PathConditionFilter;
|
||||
import dev.vality.geck.filter.condition.IsNullCondition;
|
||||
import dev.vality.geck.filter.rule.PathConditionRule;
|
||||
import dev.vality.machinegun.eventsink.MachineEvent;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
@ -6,10 +6,10 @@ import dev.vality.deanonimus.db.PartyRepository;
|
||||
import dev.vality.deanonimus.db.exception.PartyNotFoundException;
|
||||
import dev.vality.deanonimus.domain.Party;
|
||||
import dev.vality.deanonimus.kafka.handler.party.management.PartyManagementHandler;
|
||||
import com.rbkmoney.geck.filter.Filter;
|
||||
import com.rbkmoney.geck.filter.PathConditionFilter;
|
||||
import com.rbkmoney.geck.filter.condition.IsNullCondition;
|
||||
import com.rbkmoney.geck.filter.rule.PathConditionRule;
|
||||
import dev.vality.geck.filter.Filter;
|
||||
import dev.vality.geck.filter.PathConditionFilter;
|
||||
import dev.vality.geck.filter.condition.IsNullCondition;
|
||||
import dev.vality.geck.filter.rule.PathConditionRule;
|
||||
import dev.vality.machinegun.eventsink.MachineEvent;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
@ -8,10 +8,10 @@ import dev.vality.deanonimus.db.exception.ShopNotFoundException;
|
||||
import dev.vality.deanonimus.domain.Party;
|
||||
import dev.vality.deanonimus.domain.Shop;
|
||||
import dev.vality.deanonimus.kafka.handler.party.management.PartyManagementHandler;
|
||||
import com.rbkmoney.geck.filter.Filter;
|
||||
import com.rbkmoney.geck.filter.PathConditionFilter;
|
||||
import com.rbkmoney.geck.filter.condition.IsNullCondition;
|
||||
import com.rbkmoney.geck.filter.rule.PathConditionRule;
|
||||
import dev.vality.geck.filter.Filter;
|
||||
import dev.vality.geck.filter.PathConditionFilter;
|
||||
import dev.vality.geck.filter.condition.IsNullCondition;
|
||||
import dev.vality.geck.filter.rule.PathConditionRule;
|
||||
import dev.vality.machinegun.eventsink.MachineEvent;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
@ -8,10 +8,10 @@ import dev.vality.deanonimus.db.exception.ShopNotFoundException;
|
||||
import dev.vality.deanonimus.domain.Party;
|
||||
import dev.vality.deanonimus.domain.Shop;
|
||||
import dev.vality.deanonimus.kafka.handler.party.management.PartyManagementHandler;
|
||||
import com.rbkmoney.geck.filter.Filter;
|
||||
import com.rbkmoney.geck.filter.PathConditionFilter;
|
||||
import com.rbkmoney.geck.filter.condition.IsNullCondition;
|
||||
import com.rbkmoney.geck.filter.rule.PathConditionRule;
|
||||
import dev.vality.geck.filter.Filter;
|
||||
import dev.vality.geck.filter.PathConditionFilter;
|
||||
import dev.vality.geck.filter.condition.IsNullCondition;
|
||||
import dev.vality.geck.filter.rule.PathConditionRule;
|
||||
import dev.vality.machinegun.eventsink.MachineEvent;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
@ -5,7 +5,7 @@ import dev.vality.damsel.domain.LegalAgreement;
|
||||
import dev.vality.damsel.domain.ServiceAcceptanceActPreferences;
|
||||
import dev.vality.deanonimus.domain.Contract;
|
||||
import dev.vality.deanonimus.domain.RepresentativeDocument;
|
||||
import com.rbkmoney.geck.common.util.TypeUtil;
|
||||
import dev.vality.geck.common.util.TypeUtil;
|
||||
import lombok.AccessLevel;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
|
@ -6,7 +6,7 @@ import dev.vality.damsel.domain.RussianLegalEntity;
|
||||
import dev.vality.deanonimus.domain.Contractor;
|
||||
import dev.vality.deanonimus.domain.ContractorType;
|
||||
import dev.vality.deanonimus.domain.LegalEntity;
|
||||
import com.rbkmoney.geck.common.util.TBaseUtil;
|
||||
import dev.vality.geck.common.util.TBaseUtil;
|
||||
import lombok.AccessLevel;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
|
@ -3,7 +3,7 @@ server:
|
||||
|
||||
management:
|
||||
security:
|
||||
enabled: false
|
||||
flag: false
|
||||
server:
|
||||
port: '@management.port@'
|
||||
metrics:
|
||||
@ -29,8 +29,8 @@ spring:
|
||||
ansi:
|
||||
enabled: always
|
||||
elasticsearch:
|
||||
rest:
|
||||
uris: "http://localhost:9200"
|
||||
uris: "http://localhost:9200"
|
||||
|
||||
info:
|
||||
version: '@project.version@'
|
||||
stage: dev
|
||||
|
@ -2,10 +2,10 @@ package dev.vality.deanonimus;
|
||||
|
||||
import dev.vality.damsel.domain.*;
|
||||
import dev.vality.damsel.payment_processing.*;
|
||||
import com.rbkmoney.geck.common.util.TypeUtil;
|
||||
import com.rbkmoney.geck.serializer.kit.mock.MockMode;
|
||||
import com.rbkmoney.geck.serializer.kit.mock.MockTBaseProcessor;
|
||||
import com.rbkmoney.geck.serializer.kit.tbase.TBaseHandler;
|
||||
import dev.vality.geck.common.util.TypeUtil;
|
||||
import dev.vality.geck.serializer.kit.mock.MockMode;
|
||||
import dev.vality.geck.serializer.kit.mock.MockTBaseProcessor;
|
||||
import dev.vality.geck.serializer.kit.tbase.TBaseHandler;
|
||||
import dev.vality.machinegun.eventsink.MachineEvent;
|
||||
import dev.vality.machinegun.eventsink.SinkEvent;
|
||||
import dev.vality.machinegun.msgpack.Value;
|
||||
|
@ -4,9 +4,9 @@ import dev.vality.deanonimus.domain.ContractStatus;
|
||||
import dev.vality.deanonimus.domain.ContractorType;
|
||||
import dev.vality.deanonimus.domain.LegalEntity;
|
||||
import dev.vality.deanonimus.domain.Suspension;
|
||||
import com.rbkmoney.geck.serializer.kit.mock.FieldHandler;
|
||||
import com.rbkmoney.geck.serializer.kit.mock.MockMode;
|
||||
import com.rbkmoney.geck.serializer.kit.mock.MockTBaseProcessor;
|
||||
import dev.vality.geck.serializer.kit.mock.FieldHandler;
|
||||
import dev.vality.geck.serializer.kit.mock.MockMode;
|
||||
import dev.vality.geck.serializer.kit.mock.MockTBaseProcessor;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.Map;
|
||||
|
@ -6,5 +6,5 @@
|
||||
<root level="warn">
|
||||
<appender-ref ref="CONSOLE"/>
|
||||
</root>
|
||||
<logger name="com.rbkmoney.woody" level="ALL"/>
|
||||
<logger name="dev.vality.woody" level="ALL"/>
|
||||
</configuration>
|
||||
|
Loading…
Reference in New Issue
Block a user