mirror of
https://github.com/valitydev/damsel.git
synced 2024-11-06 17:55:23 +00:00
📤👷♀️📥
02be09ec89
* CDS-76: Change rotate to use keyshare (#413) * CDS-76: Change rotate to use keyshare * CDS-76: Add extra exceptions (#414) * CDS-75: Keyring init (#415) * CDS-75: Change Keyring.Init and add Keyring.Validate * CDS-75: fixed missed exception * CDS-75: add exception for double init and method to cancel it * CDS-75: Rename `Init` to `StartInit` Co-Authored-By: ndiezel0 <ndiezel0@gmail.com> * CDS-75: introduce InvalidStatus exception, remove PublicKey and refactor * CDS-75: fix typos and add comment * CDS-75: void instead of Success Co-Authored-By: ndiezel0 <ndiezel0@gmail.com> * CDS-75: add Unlocked/Locked and OperationAborted * CDS-75: add OperationAborted to relevant methods * CDS-75: change relevant methods to use InvalidStatus * CDS-75: add comments to `EncryptedMasterKeyShare` * CDS-75: divide Status into Status and Activity * CDS-75: changes due to realization * CDS-75: add InvalidActivity exception to ValidateInit (#417) * CDS-75: fix Status typo (#418) * CDS-75: Add ShareholderId to all MasterKeyShare methods (#420) * CDS-75: Add ShareholderId to all MasterKeyShare methods * CDS-75: added missing ValidateInit * CDS-75: Add VerificationFailed exception (#421) * CDS-76: Refactor Unlock and Rotate to be similar to Init (#423) * CDS-76: Add missing Activity enums (#424) * CDS-25: Add methods for re-keying (#419) * CDS-25: Add methods for re-initialization * CDS-25: add relevant comments * CDS-25: change to rekey and make GetState universal * CDS-25: rename `StartReKey` to `StartRekey` Co-Authored-By: ndiezel0 <ndiezel0@gmail.com> * CDS-25: change GetShate to GetStates to get all states * CDS-25: Add detailed status * CDS-25: use ShareholderId instead * CDS-25: typo fix * CDS-25: rename GetStates tp GetState Co-Authored-By: ndiezel0 <ndiezel0@gmail.com> * CDS-25: typos fixes * CDS-25: add requiredness and make ShareSubmitters a map * CDS-25: Add missing params and exception (#429) * CDS-84: Make lifetime optional (#432) * CDS-71: fix typo * CDS-71: rename SignedMasterKeyShare and clarify what is confirm and validate * CDS-71: clarification that SignedMasterKeyShare is JWS |
||
---|---|---|
build/erlang | ||
build_utils@8dd1d30e97 | ||
doc | ||
proto | ||
.gitignore | ||
.gitmodules | ||
Jenkinsfile | ||
Makefile | ||
package.json | ||
pom.xml | ||
README.md | ||
TODO.md |
Damsel
Systemwide protocol collection.
Требования к оформлению Thrift IDL файлов
-
Namespace:
В каждом файле нужно обязательно указывать
namespace
для JAVA:namespace java com.rbkmoney.damsel.<name>
Где
<name>
- имя, уникальное для Thrift IDL файлa в Damsel.
Java development
Собрать дамзель и инсталировать новый jar в локальный мавен репозиторий:
- make wc_compile
- make wc_java_install LOCAL_BUILD=true SETTINGS_XML=path_to_rbk_maven_settings
Чтобы ипользовать несколько версий дамзели в проекте используте classifier:v${commit.number}
<dependency>
<groupId>com.rbkmoney</groupId>
<artifactId>damsel</artifactId>
<version>1.136-07b0898</version>
<classifier>v136</classifier>
</dependency>