split AuditOperation
This commit is contained in:
+33
-15
@@ -99,21 +99,22 @@ read_only_memory_patterns: []
|
|||||||
ignored_memory_patterns: []
|
ignored_memory_patterns: []
|
||||||
|
|
||||||
# list of language servers to start when using the LSP backend; choose from:
|
# list of language servers to start when using the LSP backend; choose from:
|
||||||
# ada al angular ansible bash
|
# ada al angular ansible astro
|
||||||
# bsl clojure cpp cpp_ccls crystal
|
# bash bsl clojure cpp cpp_ccls
|
||||||
# csharp csharp_omnisharp cue dart deno
|
# crystal csharp csharp_omnisharp cue dart
|
||||||
# elixir elm erlang fortran fsharp
|
# deno elixir elm erlang fortran
|
||||||
# gdscript gleam go groovy haskell
|
# fsharp gdscript gleam go groovy
|
||||||
# haxe hlsl html java json
|
# haskell haxe hlsl html java
|
||||||
# julia kotlin latex lean4 lua
|
# json julia julia_fatou kotlin latex
|
||||||
# luau markdown matlab msl nextflow
|
# lean4 lua lua_emmylua luau markdown
|
||||||
# nix ocaml pascal perl php
|
# matlab msl nextflow nix ocaml
|
||||||
# php_phpactor php_phpantom powershell python python_basedpyright
|
# pascal perl php php_devsense php_phpactor
|
||||||
# python_jedi python_pyrefly python_ty qml r
|
# php_phpantom powershell python python_basedpyright python_jedi
|
||||||
# rego ruby ruby_solargraph rust scala
|
# python_pyrefly python_ty qml r rego
|
||||||
# scss solidity svelte swift systemverilog
|
# ruby ruby_solargraph rust scala scss
|
||||||
# terraform toml typescript typescript_vts vue
|
# solidity svelte swift systemverilog terraform
|
||||||
# wolfram yaml zig
|
# toml typescript typescript_tsgo typescript_vts vue
|
||||||
|
# vbnet wolfram yaml zig
|
||||||
# (This list may be outdated; generated with scripts/print_language_list.py;
|
# (This list may be outdated; generated with scripts/print_language_list.py;
|
||||||
# For the current list, see values of the LanguageServerId enum here:
|
# For the current list, see values of the LanguageServerId enum here:
|
||||||
# https://github.com/oraios/serena/blob/main/src/solidlsp/ls_config.py)
|
# https://github.com/oraios/serena/blob/main/src/solidlsp/ls_config.py)
|
||||||
@@ -122,10 +123,13 @@ ignored_memory_patterns: []
|
|||||||
# - For C, use cpp
|
# - For C, use cpp
|
||||||
# - For JavaScript, use typescript
|
# - For JavaScript, use typescript
|
||||||
# - For Angular projects, use angular (subsumes typescript+html; requires `npm install` in the project root)
|
# - For Angular projects, use angular (subsumes typescript+html; requires `npm install` in the project root)
|
||||||
|
# - For Astro projects, use astro (subsumes typescript/javascript for .astro projects; requires npm)
|
||||||
# - For Svelte projects, use svelte (subsumes typescript/javascript for .svelte projects; requires npm)
|
# - For Svelte projects, use svelte (subsumes typescript/javascript for .svelte projects; requires npm)
|
||||||
# - For Deno projects, use deno (serves the same .ts/.js files as typescript; requires the deno CLI on PATH)
|
# - For Deno projects, use deno (serves the same .ts/.js files as typescript; requires the deno CLI on PATH)
|
||||||
# - For SCSS / Sass / plain CSS, use scss (some-sass-language-server handles all three)
|
# - For SCSS / Sass / plain CSS, use scss (some-sass-language-server handles all three)
|
||||||
# - For Free Pascal/Lazarus, use pascal
|
# - For Free Pascal/Lazarus, use pascal
|
||||||
|
# - External Python adapters may add further registered IDs; install the adapter package first
|
||||||
|
# and then use its ID here, for example: example
|
||||||
# Special requirements:
|
# Special requirements:
|
||||||
# Some language servers require additional setup/installations.
|
# Some language servers require additional setup/installations.
|
||||||
# See here for details: https://oraios.github.io/serena/01-about/020_programming-languages.html#language-servers
|
# See here for details: https://oraios.github.io/serena/01-about/020_programming-languages.html#language-servers
|
||||||
@@ -175,3 +179,17 @@ activation_command:
|
|||||||
# maximum time in seconds to wait for activation_command to complete before killing it (default 180s).
|
# maximum time in seconds to wait for activation_command to complete before killing it (default 180s).
|
||||||
# must be a positive number.
|
# must be a positive number.
|
||||||
activation_command_timeout: 180.0
|
activation_command_timeout: 180.0
|
||||||
|
|
||||||
|
# list of APIs (facades or facade methods, e.g. "lsp" or "lsp.get_diagnostics_for_symbol") to include in the REPL
|
||||||
|
# that would otherwise be disabled (particularly optional methods, which are disabled by default).
|
||||||
|
# This extends the existing inclusions (e.g. from the global configuration).
|
||||||
|
included_apis: []
|
||||||
|
|
||||||
|
# list of APIs (facades or facade methods, e.g. "lsp" or "lsp.find_symbol") to exclude from the REPL.
|
||||||
|
# This extends the existing exclusions (e.g. from the global configuration).
|
||||||
|
excluded_apis: []
|
||||||
|
|
||||||
|
# The interface through which the agent (LLM) accesses Serena's functionality (overrides the global setting).
|
||||||
|
# Valid values: tools, REPL (see the global configuration for details); leave empty to use the global setting.
|
||||||
|
# Note: the interface is fixed at startup. If a project is activated post-init, its setting is not applied.
|
||||||
|
agent_interface:
|
||||||
|
|||||||
+2
-2
@@ -250,7 +250,7 @@ public class GaoOrderFulfillmentServiceImplement extends AbstractEntityService<G
|
|||||||
return createInternal(request);
|
return createInternal(request);
|
||||||
}
|
}
|
||||||
|
|
||||||
@OperationAudit(AuditOperation.GAO_ORDER_FULFILLMENT_CREATE)
|
@OperationAudit(AuditOperation.GAO_ORDER_FULFILLMENT_CREATE_AND_VERIFY)
|
||||||
@Transactional(TimiServerDBConfig.ROLLBACKER)
|
@Transactional(TimiServerDBConfig.ROLLBACKER)
|
||||||
@Override
|
@Override
|
||||||
public GaoOrderFulfillment createAndVerify(GaoOrderFulfillmentCreateRequest request) {
|
public GaoOrderFulfillment createAndVerify(GaoOrderFulfillmentCreateRequest request) {
|
||||||
@@ -263,7 +263,7 @@ public class GaoOrderFulfillmentServiceImplement extends AbstractEntityService<G
|
|||||||
return verifyInternal(actionRequest(fulfillment.getId()));
|
return verifyInternal(actionRequest(fulfillment.getId()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@OperationAudit(AuditOperation.GAO_ORDER_FULFILLMENT_CREATE)
|
@OperationAudit(AuditOperation.GAO_ORDER_FULFILLMENT_QUICK_CREATE)
|
||||||
@Transactional(TimiServerDBConfig.ROLLBACKER)
|
@Transactional(TimiServerDBConfig.ROLLBACKER)
|
||||||
@Override
|
@Override
|
||||||
public List<GaoOrderFulfillment> createQuickFulfillment(GaoQuickFulfillmentCreateRequest request) {
|
public List<GaoOrderFulfillment> createQuickFulfillment(GaoQuickFulfillmentCreateRequest request) {
|
||||||
|
|||||||
+1
-1
@@ -52,7 +52,7 @@ public class GaoOrderPaymentServiceImplement implements GaoOrderPaymentService {
|
|||||||
return receiveInternal(request, false);
|
return receiveInternal(request, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@OperationAudit(AuditOperation.GAO_SALES_ORDER_PAYMENT_RECEIVE)
|
@OperationAudit(AuditOperation.GAO_SALES_ORDER_PAYMENT_RECEIVE_AND_VERIFY)
|
||||||
@Transactional(TimiServerDBConfig.ROLLBACKER)
|
@Transactional(TimiServerDBConfig.ROLLBACKER)
|
||||||
@Override
|
@Override
|
||||||
public GaoFundRecord receiveAndVerify(GaoOrderPaymentReceiveRequest request) {
|
public GaoFundRecord receiveAndVerify(GaoOrderPaymentReceiveRequest request) {
|
||||||
|
|||||||
+1
-1
@@ -163,7 +163,7 @@ public class GaoProductStockServiceImplement implements GaoProductStockService {
|
|||||||
return change(request, GaoProductStockRecord.OperationType.MANUAL_IN);
|
return change(request, GaoProductStockRecord.OperationType.MANUAL_IN);
|
||||||
}
|
}
|
||||||
|
|
||||||
@OperationAudit(AuditOperation.GAO_PRODUCT_STOCK_MANUAL_IN)
|
@OperationAudit(AuditOperation.GAO_PRODUCT_STOCK_MANUAL_IN_BATCH)
|
||||||
@Transactional(TimiServerDBConfig.ROLLBACKER)
|
@Transactional(TimiServerDBConfig.ROLLBACKER)
|
||||||
@Override
|
@Override
|
||||||
public List<GaoProductStock> manualInBatch(GaoProductStockManualInBatchRequest request) {
|
public List<GaoProductStock> manualInBatch(GaoProductStockManualInBatchRequest request) {
|
||||||
|
|||||||
@@ -17,11 +17,14 @@ public enum AuditOperation {
|
|||||||
GAO_CUSTOMER_PACKAGE_PURCHASE(Logger.Module.GAO),
|
GAO_CUSTOMER_PACKAGE_PURCHASE(Logger.Module.GAO),
|
||||||
GAO_CUSTOMER_PACKAGE_CANCEL(Logger.Module.GAO),
|
GAO_CUSTOMER_PACKAGE_CANCEL(Logger.Module.GAO),
|
||||||
GAO_SALES_ORDER_PAYMENT_RECEIVE(Logger.Module.GAO),
|
GAO_SALES_ORDER_PAYMENT_RECEIVE(Logger.Module.GAO),
|
||||||
|
GAO_SALES_ORDER_PAYMENT_RECEIVE_AND_VERIFY(Logger.Module.GAO),
|
||||||
GAO_SALES_ORDER_PAYMENT_VERIFY(Logger.Module.GAO),
|
GAO_SALES_ORDER_PAYMENT_VERIFY(Logger.Module.GAO),
|
||||||
GAO_SALES_ORDER_REFUND(Logger.Module.GAO),
|
GAO_SALES_ORDER_REFUND(Logger.Module.GAO),
|
||||||
GAO_SALES_ORDER_CONFIRM_NO_REFUND(Logger.Module.GAO),
|
GAO_SALES_ORDER_CONFIRM_NO_REFUND(Logger.Module.GAO),
|
||||||
GAO_SALES_ORDER_FUND_REVOKE(Logger.Module.GAO),
|
GAO_SALES_ORDER_FUND_REVOKE(Logger.Module.GAO),
|
||||||
GAO_ORDER_FULFILLMENT_CREATE(Logger.Module.GAO),
|
GAO_ORDER_FULFILLMENT_CREATE(Logger.Module.GAO),
|
||||||
|
GAO_ORDER_FULFILLMENT_CREATE_AND_VERIFY(Logger.Module.GAO),
|
||||||
|
GAO_ORDER_FULFILLMENT_QUICK_CREATE(Logger.Module.GAO),
|
||||||
GAO_ORDER_FULFILLMENT_PREPARE_STOCK(Logger.Module.GAO),
|
GAO_ORDER_FULFILLMENT_PREPARE_STOCK(Logger.Module.GAO),
|
||||||
GAO_ORDER_FULFILLMENT_VERIFY(Logger.Module.GAO),
|
GAO_ORDER_FULFILLMENT_VERIFY(Logger.Module.GAO),
|
||||||
GAO_ORDER_FULFILLMENT_REJECT(Logger.Module.GAO),
|
GAO_ORDER_FULFILLMENT_REJECT(Logger.Module.GAO),
|
||||||
@@ -39,6 +42,7 @@ public enum AuditOperation {
|
|||||||
GAO_PRODUCT_DISABLE(Logger.Module.GAO),
|
GAO_PRODUCT_DISABLE(Logger.Module.GAO),
|
||||||
GAO_PRODUCT_STOCK_INITIAL_IN(Logger.Module.GAO),
|
GAO_PRODUCT_STOCK_INITIAL_IN(Logger.Module.GAO),
|
||||||
GAO_PRODUCT_STOCK_MANUAL_IN(Logger.Module.GAO),
|
GAO_PRODUCT_STOCK_MANUAL_IN(Logger.Module.GAO),
|
||||||
|
GAO_PRODUCT_STOCK_MANUAL_IN_BATCH(Logger.Module.GAO),
|
||||||
GAO_PRODUCT_STOCK_MANUAL_OUT(Logger.Module.GAO),
|
GAO_PRODUCT_STOCK_MANUAL_OUT(Logger.Module.GAO),
|
||||||
GAO_PRODUCT_STOCK_MANUAL_REVOKE(Logger.Module.GAO),
|
GAO_PRODUCT_STOCK_MANUAL_REVOKE(Logger.Module.GAO),
|
||||||
GAO_PRODUCT_STOCK_STOCKTAKE_GAIN(Logger.Module.GAO),
|
GAO_PRODUCT_STOCK_STOCKTAKE_GAIN(Logger.Module.GAO),
|
||||||
|
|||||||
Reference in New Issue
Block a user