informatiqal / qlbuilder Goto Github PK
View Code? Open in Web Editor NEWCLI tool that helps Qlik Sense developers to write QS script locally and update in remote app
Home Page: https://informatiqal.com/qlbuilder/
License: MIT License
CLI tool that helps Qlik Sense developers to write QS script locally and update in remote app
Home Page: https://informatiqal.com/qlbuilder/
License: MIT License
Worth trying to deconstruct/construct command?
The implementation will use build/unbuild enigma mixins
Common case is to have include/must_include statements when writing Qlik script. These statements will include script from an external file when reloading an app.
Is there a reason to replace the include statement with the content of these files? The main reason (i can think of) is for the "final" script to not be dependent on any external files. The external files can be deleted or altered outside the app building process.
The new command will print the configured app details (for environment)
At the moment the initial script, when using create
command contains some hardcoded script.
Think its better to remove the script and write commented message what to do next?
Have to spend some time with the reload result. It does work atm but the output might be made a bit better
Create yaml schema that describes the config options.
This will help when writing/updating the config
Check if y
optional parameter is provided. If yes
then do not ask for confirmation to overwrite the local files
Another command that will allow downloading the target qvf.
Also allow the option the downloaded file to be without data.
vscode
argument test - check if .vscode
folder is presentJWT authentication method is working ok in both cases - connecting directly to the engine (port 4747) and via the virtual proxy.
The issue is that every time when establishing connecting through the VP new session is created. This quite quickly can reach the max concurrent session limits (5) and block the JWT user from connecting (until the sessions are timed out).
The JWT connection logic should check if the connection should be established through VP or not and if yes
then:
hub
(via VP) and extract the sessionId
The app that should be used with qlBuilder
have to exists. This command will create brand new (empty) app and will update the config with the new app id
Seems that authentication function is not called properly and the auth is not performed as a result of that
Ability to have config and app templates.Have a configurable location where templates to be stored.
Optional argument to allow saving the reload result locally. By default the argument will save the result in the current folder. If value for the path is provided then the log will be stored there
Think about option to keep each reload instead of overwriting it each time. Different argument? Flag?
At the moment qlBuilder require the credentials to be stored locally.
The other option is to embed authentication workflow that once invoked will start local web server, redirect the user to QS login page and once authenticated there will re-direct the user back to the local web server. The web server will get the sessionId from the response and store it. Once this is done the web server will shut down itself.
Check if the provided auth method is actually a valid method is missing. Also QS desktop was not handled correctly (from auth point of view)
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Warning
These dependencies are deprecated:
Datasource | Name | Replacement PR? |
---|---|---|
npm | @types/axios |
|
npm | @types/chalk |
|
npm | @types/chokidar |
|
npm | @types/commander |
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
mocha
, @types/mocha
)package.json
axios ^1.6.7
chalk ^5.3.0
chokidar ^3.6.0
cli-spinner ^0.2.10
commander ^12.0.0
enigma-mixin ^1.6.3
enigma.js ^2.12.0
filenamify ^6.0.0
js-yaml ^4.1.0
natural-orderby ^3.0.2
prompts ^2.4.2
qlik-sense-authenticate ^0.1.13
ws ^8.16.0
@gmrchk/cli-testing-library 0.1.2
@rollup/plugin-commonjs ^25.0.7
@rollup/plugin-json ^6.1.0
@rollup/plugin-node-resolve ^15.2.3
@rollup/plugin-replace ^5.0.5
@rollup/plugin-typescript ^11.1.6
@types/axios 0.14.0
@types/chai 4.3.11
@types/chalk 2.2.0
@types/chokidar 2.1.3
@types/cli-spinner 0.2.3
@types/commander 2.12.2
@types/enigma.js 2.2.5
@types/js-yaml 4.0.9
@types/mocha 10.0.6
@types/node 20.11.17
@types/qlik-engineapi 12.67.16
@types/ws 8.5.10
chai 5.0.3
dotenv 16.4.1
mocha 10.3.0
node-fetch ^3.3.2
nyc 15.1.0
rollup ^4.10.0
rollup-plugin-delete ^2.0.0
rollup-plugin-typescript2 ^0.36.0
ts-node 10.9.2
tslib ^2.6.2
typescript ^5.3.3
node >=16.0
If the host (in the config file) ends with a /
then the communication returns 400
(Bad request).
Be able to add new script tab via command.
The command will actually create new file. By default the command will show list with the current tabs/files and expects the user to select before which tab the new tab to be added. The command will have optional argument in which the before tab can be specified. In this case the command will run without user interaction.
The code will rename the following tabs by incrementing the prefix
Seems that qlik communication errors are not captured for getScript
command
It will be nice to have:
.qlBuilder.yml
and populate it with sample data. Create templates folders #38npm uninstall -g qlBuilder
)At the moment Windows authentication will not work with virtual proxy. Its wrong to presume that the main virtual proxy is always windows auth based
Seems that the download
command supports only QS on-prem. It should be possible to be executed against Qlik Cloud as well
Simple command that list the names of all credentials environments (just the names!)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.