ElinkTransactionContext 작업(변환 함수에 값 전달 체계 추가)
This commit is contained in:
@@ -2,6 +2,7 @@ package com.eactive.eai.transformer.function.crypto;
|
||||
|
||||
import java.util.Stack;
|
||||
|
||||
import com.eactive.eai.common.context.ElinkTransactionContext;
|
||||
import org.nfunk.jep.ParseException;
|
||||
import org.nfunk.jep.function.PostfixMathCommand;
|
||||
|
||||
@@ -23,6 +24,10 @@ public class SeedKJDecrypt extends PostfixMathCommand {
|
||||
public void run(Stack inStack) throws ParseException {
|
||||
checkStack(inStack);
|
||||
|
||||
//샘플
|
||||
String seedSalt = ElinkTransactionContext.getSeedSalt();
|
||||
System.out.println("seedSalt = " + seedSalt);
|
||||
|
||||
// USER FUNCTION에서 Parameter 에서 가져옴
|
||||
Object param2 = inStack.pop();
|
||||
String param2Str = String.valueOf(param2); // null 안전 처리
|
||||
|
||||
Reference in New Issue
Block a user