amendments according to code-review
This commit is contained in:
parent
0fd7cb119a
commit
0342ec0f50
@ -77,7 +77,7 @@ public class HsOfficeCoopAssetsTransactionController implements HsOfficeCoopAsse
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Transactional(readOnly = true)
|
@Transactional(readOnly = true)
|
||||||
public ResponseEntity<HsOfficeCoopAssetsTransactionResource> geSingleCoopAssetTransactionByUuid(
|
public ResponseEntity<HsOfficeCoopAssetsTransactionResource> getSingleCoopAssetTransactionByUuid(
|
||||||
final String currentSubject, final String assumedRoles, final UUID assetTransactionUuid) {
|
final String currentSubject, final String assumedRoles, final UUID assetTransactionUuid) {
|
||||||
|
|
||||||
context.define(currentSubject, assumedRoles);
|
context.define(currentSubject, assumedRoles);
|
||||||
|
@ -80,7 +80,7 @@ public class HsOfficeCoopSharesTransactionController implements HsOfficeCoopShar
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Transactional(readOnly = true)
|
@Transactional(readOnly = true)
|
||||||
public ResponseEntity<HsOfficeCoopSharesTransactionResource> geSingleCoopShareTransactionByUuid(
|
public ResponseEntity<HsOfficeCoopSharesTransactionResource> getSingleCoopShareTransactionByUuid(
|
||||||
final String currentSubject, final String assumedRoles, final UUID shareTransactionUuid) {
|
final String currentSubject, final String assumedRoles, final UUID shareTransactionUuid) {
|
||||||
|
|
||||||
context.define(currentSubject, assumedRoles);
|
context.define(currentSubject, assumedRoles);
|
||||||
|
@ -2,7 +2,7 @@ get:
|
|||||||
tags:
|
tags:
|
||||||
- hs-office-coopAssets
|
- hs-office-coopAssets
|
||||||
description: 'Fetch a single asset transaction by its uuid, if visible for the current subject.'
|
description: 'Fetch a single asset transaction by its uuid, if visible for the current subject.'
|
||||||
operationId: geSingleCoopAssetTransactionByUuid
|
operationId: getSingleCoopAssetTransactionByUuid
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: 'auth.yaml#/components/parameters/currentSubject'
|
- $ref: 'auth.yaml#/components/parameters/currentSubject'
|
||||||
- $ref: 'auth.yaml#/components/parameters/assumedRoles'
|
- $ref: 'auth.yaml#/components/parameters/assumedRoles'
|
||||||
|
@ -2,7 +2,7 @@ get:
|
|||||||
tags:
|
tags:
|
||||||
- hs-office-coopShares
|
- hs-office-coopShares
|
||||||
description: 'Fetch a single share transaction by its uuid, if visible for the current subject.'
|
description: 'Fetch a single share transaction by its uuid, if visible for the current subject.'
|
||||||
operationId: geSingleCoopShareTransactionByUuid
|
operationId: getSingleCoopShareTransactionByUuid
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: 'auth.yaml#/components/parameters/currentSubject'
|
- $ref: 'auth.yaml#/components/parameters/currentSubject'
|
||||||
- $ref: 'auth.yaml#/components/parameters/assumedRoles'
|
- $ref: 'auth.yaml#/components/parameters/assumedRoles'
|
||||||
|
@ -16,7 +16,7 @@ public class TemplateResolver {
|
|||||||
|
|
||||||
public enum Resolver {
|
public enum Resolver {
|
||||||
DROP_COMMENTS, // deletes comments ('#{whatever}' -> '')
|
DROP_COMMENTS, // deletes comments ('#{whatever}' -> '')
|
||||||
KEEP_COMMENTS // deletes comments ('#{whatever}' -> '')
|
KEEP_COMMENTS // keep comments ('#{whatever}' -> 'whatever')
|
||||||
}
|
}
|
||||||
|
|
||||||
enum PlaceholderPrefix {
|
enum PlaceholderPrefix {
|
||||||
|
@ -16,4 +16,4 @@ member_asset_id; bp_id; date; action; amount; comment
|
|||||||
34002; 120; 2016-12-31; PAYBACK; -100.00; for cancellation D
|
34002; 120; 2016-12-31; PAYBACK; -100.00; for cancellation D
|
||||||
34003; 120; 2016-12-31; LOSS; -20.00; for cancellation D
|
34003; 120; 2016-12-31; LOSS; -20.00; for cancellation D
|
||||||
35001; 190; 2024-01-15; PAYMENT; 128.00; for subscription E
|
35001; 190; 2024-01-15; PAYMENT; 128.00; for subscription E
|
||||||
35002; 190; 2024-01-20; REVERSAL;-128.00; chargeback for subscription E
|
35002; 190; 2024-01-20; ADJUSTMENT;-128.00; chargeback for subscription E
|
||||||
|
|
Loading…
Reference in New Issue
Block a user