Giter VIP home page Giter VIP logo

qlbuilder's People

Contributors

countnazgul avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

qlbuilder's Issues

include / must_include option?

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.

Empty initial script?

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?

Reload result - overview

Have to spend some time with the reload result. It does work atm but the output might be made a bit better

Config schema

Create yaml schema that describes the config options.

This will help when writing/updating the config

GetScript optional parameter

Check if y optional parameter is provided. If yes then do not ask for confirmation to overwrite the local files

Download app (qvf)

Another command that will allow downloading the target qvf.
Also allow the option the downloaded file to be without data.

Create command

  • Create empty project
  • Create command with empty name (test the error thrown)
  • vscode argument test - check if .vscode folder is present
  • create command with script template
  • create command with script template but the template do not exists (test the error thrown)
  • create command with config template
  • create command with config template but the template do not exists (test the error thrown)
  • create command with all optional arguments - vscode, script and config templates

Using JWT and proxy connection

JWT 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:

  • try to connect with session id (if session file exists)
  • first make request to the hub (via VP) and extract the sessionId
    • use the sessionId to establish connection

New command - create app

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

Writing tests

Automated tests should be written. At the end all commands should be covered.

This issue will be updated will all tests

Config and app templates

Ability to have config and app templates.Have a configurable location where templates to be stored.

  • by default it will be in user's home folder
    the location can be changed via command or By creating/editing global config
  • command to list all templates
  • config templates - pre-defined config files
  • app templates - when creating brand new app one of these templates can be used

Reload result - save

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?

Passwordless authentication?

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.

Auth methods - missing check

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)

Dependency Dashboard

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 Unavailable
npm @types/chalk Unavailable
npm @types/chokidar Unavailable
npm @types/commander Unavailable

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency @rollup/plugin-commonjs to v25.0.8
  • Update dependency @rollup/plugin-replace to v5.0.7
  • Update dependency tslib to v2.6.3
  • Update dependency commander to v12.1.0
  • Update dependency @rollup/plugin-commonjs to v26
  • Update dependency nyc to v17
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
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

  • Check this box to trigger a request for Renovate to run again on this repository

Command to add new script tab

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

Post install and uninstall scripts

It will be nice to have:

  • post install script - when qlBuilder is installed create .qlBuilder.yml and populate it with sample data. Create templates folders #38
  • uninstall - opposite to the post install script and ran whenever qlBuilder is uninstalled via npm (npm uninstall -g qlBuilder)

Download command - support SaaS

Seems that the download command supports only QS on-prem. It should be possible to be executed against Qlik Cloud as well

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.