mirror of
https://github.com/valitydev/party-shop-proto.git
synced 2024-11-06 02:45:24 +00:00
JD-583: add party search (#6)
This commit is contained in:
parent
76c158891b
commit
0c92608157
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -1,7 +1,7 @@
|
||||
#!groovy
|
||||
// -*- mode: groovy -*-
|
||||
|
||||
build('party-shop-proto', 'docker-host') {
|
||||
build('vortigon-proto', 'docker-host') {
|
||||
checkoutRepo()
|
||||
loadBuildUtils()
|
||||
|
||||
|
2
Makefile
2
Makefile
@ -7,7 +7,7 @@ UTILS_PATH := build_utils
|
||||
TEMPLATES_PATH := .
|
||||
|
||||
# Name of the service
|
||||
SERVICE_NAME := party-shop-proto
|
||||
SERVICE_NAME := vortigon-proto
|
||||
|
||||
# Build image tag to be used
|
||||
BUILD_IMAGE_TAG := bdc05544014b3475c8e0726d3b3d6fc81b09db96
|
||||
|
6
pom.xml
6
pom.xml
@ -10,11 +10,11 @@
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>party-shop-proto</artifactId>
|
||||
<artifactId>vortigon-proto</artifactId>
|
||||
<version>SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Party shop</name>
|
||||
<name>Vortigon</name>
|
||||
<description>Generates jar artifact containing compiled thrift classes based on generated thrift IDL files</description>
|
||||
|
||||
<properties>
|
||||
@ -85,4 +85,4 @@
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
</project>
|
||||
|
@ -1,7 +1,32 @@
|
||||
include "base.thrift"
|
||||
|
||||
namespace java com.rbkmoney.damsel.party_shop
|
||||
namespace erlang party_shop
|
||||
namespace java com.rbkmoney.damsel.vortigon
|
||||
namespace erlang vortigon
|
||||
|
||||
typedef string PartyId
|
||||
|
||||
struct CategoryFilter {
|
||||
1: optional string name
|
||||
}
|
||||
|
||||
struct ShopFilter {
|
||||
1: optional string location_url
|
||||
2: optional CategoryFilter category_filter
|
||||
}
|
||||
|
||||
struct PartyFilter {
|
||||
1: optional string contact_info_email
|
||||
}
|
||||
|
||||
struct ContractFilter {
|
||||
1: optional string legal_agreement_signed_at
|
||||
}
|
||||
|
||||
struct PartyFilterRequest {
|
||||
1: optional ShopFilter shop_filter
|
||||
2: optional PartyFilter party_filter
|
||||
3: optional ContractFilter contract_filter
|
||||
}
|
||||
|
||||
enum PaymentInstitutionRealm{
|
||||
test
|
||||
@ -11,11 +36,13 @@ enum PaymentInstitutionRealm{
|
||||
/**
|
||||
* Сервис для получения информации о магазинах по party
|
||||
**/
|
||||
service PartyShopService {
|
||||
service VortigonService {
|
||||
|
||||
/**
|
||||
* Получение идентификаторов магазинов по party в разрезе тестовой или продовой среды
|
||||
**/
|
||||
list<base.ID> GetShopsIds(1: base.ID party_id, 2: PaymentInstitutionRealm realm)
|
||||
|
||||
list<PartyId> findPartyIds(1: PartyFilterRequest request)
|
||||
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{application, party_shop_proto, [
|
||||
{description, "Thrift proto for party-shop service"},
|
||||
{description, "Thrift proto for vortigon service"},
|
||||
{vsn, "0.1.0"},
|
||||
{applications, [
|
||||
kernel,
|
||||
|
Loading…
Reference in New Issue
Block a user