Commit Graph

56 Commits

Author SHA1 Message Date
07ce05bf01 Rename Bob to Bobik
- rename Repository vNode
- cluster topology: better vnodes lookup
2023-10-02 11:23:16 +02:00
d58a89e3b3 Lazy victoryTest
- cordaClient maxPollAttempts config
- bugfix in Move.canMove()
- GameBoardContract must validate victory conndition as well
2023-10-01 15:58:05 +02:00
e3ca1e0fc0 GameBoard VicrotyFlow
- better error messages
- moar GameMove tests
- a vicotry condition check
- GameContract
  + participnats vaidation
  + more accure Major Action checks
- automaic Vicotry condition check for Move flow
- GameResultCommiter as a sub flow
2023-10-01 14:13:52 +02:00
eb1e7fd93c GameInfo
a simple source of truth about UtxoGameState transaction for
- ViewBuilder
- CommitSubFlowResponder
2023-09-30 20:09:25 +02:00
729384fb62 chain jump 2023-09-29 19:07:54 +02:00
8affa353da move: mandatory capture 2023-09-29 13:59:34 +02:00
7d26dca752 add prohibited move checks 2023-09-29 11:29:46 +02:00
58da85a5fd final 2023-09-27 17:28:54 +02:00
162e5c97dc rename 2023-09-27 17:27:03 +02:00
a9ffd4b0b9 Checkers move rules improved 2023-09-27 17:25:30 +02:00
9cbeaceca9 Checkers move rules 2023-09-27 17:02:31 +02:00
9144683de3 rename Piece to Stone 2023-09-27 11:35:49 +02:00
1f2ff242e4 GameBoard: naive MOVE implementation 2023-09-25 15:13:27 +02:00
8971462c74 GameResultBuilder subflow
- looks for custodian and add it to the State participants
- extra parameter to Commit subflow
 to initiate exchange session with Custodian as well
2023-09-22 21:39:42 +02:00
5f59260120 ammend 2023-09-22 16:07:54 +02:00
fe1708ad32 Draft: RankingFlow +Test 2023-09-22 16:07:44 +02:00
74176ecf45 HoldingIdentityResolver Test 2023-09-22 14:55:53 +02:00
ada353ce2f HoldingIdentity Tests 2023-09-22 14:45:37 +02:00
959ea0051d Major refactoring
- abstract GameState as a base class for
  + GameProposale
  + GameBoard
  + GameResult

- GameView persepective approach
  as result significant downplay of DTO classes

- single GameCommand
- single transaction Commit flow with dedicated responder
- extensive use of orchestartion code flow pattern
2023-09-21 16:21:58 +02:00
bd6612f3e6 GameUuid as a part of GameState interface 2023-09-18 11:34:12 +02:00
e26cfe0d91 GameID
a universal ID shared between GameProposal, GameBoard and a GameResult
2023-09-18 10:49:06 +02:00
a34ea39dfb GameBoard command SURRENDER
- produces GameResultState
- .addReferanceState() was changed with Opponent interface for States
2023-09-15 15:43:31 +02:00
a836d14fbd GamePrposal: Accept to return GameBoard 2023-09-13 18:54:19 +02:00
4c2569810a GameBoard SURRENDER update
- UtxoLedgerTrxUtil with option
- rename action to command
- lots of minor refectorings
2023-09-13 15:01:01 +02:00
fee93a2b10 Corda: UtxoLedgerTransactionUtil helper class 2023-09-12 18:56:07 +02:00
fdfcd711a7 rename GameBoardActionFlow to GameBoardCommandFlow 2023-09-12 16:24:18 +02:00
01fd273c3a Move Contracts to individual classes
initial implementation for GameBoardMove
2023-09-12 14:07:59 +02:00
7f7722ecc0 GameProposal ACCEPT
- create new GameBoard state
- test
2023-09-11 13:50:05 +02:00
e235ecb942 Corda: CommitSubFlow 2023-09-07 21:33:37 +02:00
159bcd706e GameProposal updates
- remove GameProposalResolution state
use ladger trx history instead

- use issuer/acquier instead of sennder/receiver
2023-09-07 14:47:53 +02:00
5cc579230f SpringBoot: test GP can not be rejected twice 2023-09-07 14:00:27 +02:00
a9b70b963c CordaClient: use FlowResult 2023-09-06 12:39:52 +02:00
218482034d GameProposal ActionFlow: REJECT 2023-09-04 19:49:35 +02:00
4f5a636909 GameProposal Create test 2023-09-04 14:09:01 +02:00
abc31d4c03 SpringBoot: Create GameProposal 2023-09-04 00:06:46 +02:00
7a2a366dd5 SpringBoot introduce GameProposalController 2023-09-03 20:38:40 +02:00
36edc91cf3 SpringBoot: GameProposal
- rest controller
- poposal endpoint
2023-09-03 16:27:54 +02:00
7403cf671a SpringBoot: CordaClientConfiguration
via RestTemplateBuilder
2023-09-02 20:33:46 +02:00
a0c91ee9ce SpringBoot: Flow Polling 2023-09-01 23:06:34 +02:00
5035a16930 SpringBoot: CordaClient: ResponseBody DAO 2023-09-01 16:58:43 +02:00
f534b70bd2 SpringBoot: test reorganization 2023-09-01 16:20:40 +02:00
c8d733dfac SpringBoot: fix potential null pointer 2023-08-31 16:14:17 +02:00
89fcf4e10f test upate 2023-08-31 16:02:32 +02:00
07970f31b2 SpringBoot: rename VirtualNodes to VirtualNodeList 2023-08-31 16:02:05 +02:00
806c619588 SpringBoot: HoldingIdentity DAO object 2023-08-31 15:47:00 +02:00
0663fbacd7 SpringBoot: rename HoldingIdentityNameResolver 2023-08-31 12:03:18 +02:00
43c4252df1 SpringBoot: customUserDetails
- remove unnecessary Custom authenticatio provider
- cosmetic changes to ApiUserDetailsService
- rename ShortHashService to ShortHashManager
2023-08-27 16:56:50 +02:00
23560c8326 SpringBoot: reslove circular dependancie
- remove lazy load
2023-08-26 22:29:35 +02:00
25b0b34b8d SpringBoot: ApiUser ShortHashService
implemented in form of CutomUserDetails, which is injected into endpint
if user was sucessfully authorized
2023-08-25 23:45:14 +02:00
cff3c4a584 SpringBoot: HoldingAdintity.isPlayer 2023-08-24 12:01:58 +02:00