× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
NielsGron reported 2013-05-15T16:56:44Z  · last modified 2013-05-17T22:02:55Z

Enhance FluidShell to support CLI JavaScript and CLI MongoShell


Dev
Niels Gron
NielsGron
QA
Fun Fun
funfun
Priority Low
Complexity Unknown
Component MongoSQL
Version 14.0

We need to enhance FluidShell to support a JavaScript and MongoShell CLI.  These are the things we need to do :

1. In ShellLineInterpreter we need to add an option for "CLI_SHELL_LINE_EXECUTE_SQL_AS_JAVASCRIPT" = true | false : default = false
2. In ShellLineInterpreter we need to add an option for "CLI_SHELL_LINE_EXECUTE_JAVASCRIPT_IMMEDIATELY" = true | false : default = false
3. In ShellLineInterpreter we need to add an option for "CLI_SHELL_LINE_JAVASCRIPT_API" = aqua | mongo : default = aqua
4. The "cli" command should add options "javascript" and "mongoshell" so we can do a "cli javascript" and "cli mongoshell".
5. ShellLineInterpreter.interpretLine() we need to add a type of JAVASCRIPT_CMD
6. In CommandLineInterpreter line 1278 we need to add code to execute JAVASCRIPT_CMD
7. You can see how to execute the JavaScript engine for the aqua api in ScriptorPanel.executeScript()
8. In the Schema Tree server right mouse click menu we need to add an item "Mongo Shell" if the server is a MongoDB server.  This will open a FluidShell with the "cli mongoshell".

Issue #8962

Closed
Fixed
Resolved 2013-05-17T22:02:55Z
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017