Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
stefanstoichev123

Qlik SSE (NodeJS) - the story continues

Hi all,

 

few months ago I had an idea for SSE/Analytics connection but while toying with the POC I've realised that the package is out of date - last update was on 15/10/2019 and there was some deprecated warnings  in the console coming from the grpc package.

 

I could have lived with these (kinda) but the main issue for me was that the miralemd/qlik-sse  package had not implemented secure server - the connection between the client and the server was happening via unencrypted channel.

 

So long story short. Ive coped the original repo and brought it up-to-date (package wise) and implemented the ability to provide certificates in the config so encrypted connection can be made.

 

Few other improvements:

- codebase is converted to ESM

- the build step produces both type of packages - ESM and CommonJS

- also definitions are being produced. Provides intellisense for the IDEs

- few new server functions are added - removeFunction, disableFunction, enableFunction and listAllfunctions. These can be considered helper/utility functions but can be useful (depends on the case)

 

There is one small breaking change but in general if you are not using the encode functions then the new package is drop-in replacement for the old one.

 

Source code - https://github.com/Informatiqal/qlik-sse

NPM package - https://www.npmjs.com/package/@informatiqal/qlik-sse

New documentation page - https://docs.informatiqal.com/qlik-sse/ (this is will be extended further)

 

I have few more ideas that want to implement + write a more tests 🙂

 

If someone have any specific requests, ideas or is facing any issues then feel free to open issue in the repo (or msg me somewhere and ill make sure that it is tracked)

 

Regards!

Stefan

0 Replies