View Issue Details

IDProjectCategoryView StatusLast Update
0005741SymmetricDS ProImprovementpublic2023-04-10 15:06
Reporterelong Assigned Tocquamme  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.14.0 
Target Version3.14.7Fixed in Version3.14.7 
Summary0005741: Java router code assistance
DescriptionAdd code assistance features to the Configure -> Router screen for Java routers. After pressing a period, it should provide code completion by looking at the preceding expression to provide a drop-down list of possible method calls.

Add a drop-down list at the top of the editor labelled as "Variables" with a list of:

context - SimpleRouterContext
dataMetaData - DataMetaData
dialect - ISymmetricDialect
engine - ISymmetricEngine
initialLoad - boolean
initialLoadSelectUsed - boolean
log - Logger
nodes - Set<Node>
triggerRouter - TriggerRouter

Add a drop-down list at the top of the editor labelled as "Snippets" with a list of:

addNodeId(nodeId, routeToNodes, nodes);
Map<String, String> map = getDataMap(dataMetaData, dialect);
Map<String, Object> map = getDataObjectMap(dataMetaData, dialect, true);
toNodeIds(nodes, routeToNodes);
toExternalIds(nodes);

When the dialog for the code editor pops up, if there is no expression, then pre-populate it with:

Set<String> routeToNodes = new HashSet<String>();
return routeToNodes;

Allow code editor window to resize and expand in size.
Tagsrouting

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.14 bce0f202

2023-04-10 14:56:08

cquamme

Details Diff
0005741: Java router code assistance Affected Issues
0005741
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/route/JavaDataRouter.java Diff File

Issue History

Date Modified Username Field Change
2023-03-15 17:48 elong New Issue
2023-03-15 17:48 elong Status new => assigned
2023-03-15 17:48 elong Assigned To => cquamme
2023-03-15 17:48 elong Tag Attached: routing
2023-03-15 18:57 elong Description Updated View Revisions
2023-03-23 14:09 elong Description Updated View Revisions
2023-04-10 15:00 cquamme Changeset attached => SymmetricDS 3.14 bce0f202
2023-04-10 15:06 cquamme Status assigned => resolved
2023-05-12 19:49 admin Status resolved => closed