qlik-oss / core-using-licenses Goto Github PK
View Code? Open in Web Editor NEWExamples on how to use the licenses service.
License: MIT License
Examples on how to use the licenses service.
License: MIT License
A BlackDuck Protex scan failed on this repository.
Number of files needing identification: 1
If you are unsure how this process works, please contact trunk team on Slack.
No more automated issues will be created on this repository until this issue
is closed.
Please prioritize and solve this as soon as possible. If the files
has been identified already, you may ignore and close this issue.
The licenses service will probably no longer serve a metric for the license consumption. Instead the consumption can be monitored on endpoint /v1/licenses/overview
. We need to update the example to using the new endpoint. The new endpoint is available in later releases of the licenses service, but not present on the old 1.1.4
version.
I'm trying to run this sample, but it crashes on with_license_test.go
with stacktrace
--- FAIL: TestThatMoreThanFiveSessionsWorkWithALicense (0.00s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x68a4b2]
goroutine 5 [running]:
testing.tRunner.func1(0xc000102100)
/usr/local/go/src/testing/testing.go:792 +0x387
panic(0x6d6b80, 0x968490)
/usr/local/go/src/runtime/panic.go:513 +0x1b9
command-line-arguments.getLicensesMetrics(0x841670, 0xf)
/home/vts/project/core/core-using-licenses/test/with_license_test.go:53 +0xe2
command-line-arguments.TestThatMoreThanFiveSessionsWorkWithALicense(0xc000102100)
/home/vts/project/core/core-using-licenses/test/with_license_test.go:77 +0x34
testing.tRunner(0xc000102100, 0x744c78)
/usr/local/go/src/testing/testing.go:827 +0xbf
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:878 +0x35c
FAIL command-line-arguments 0.007s
It looks like license service is not reachable.
When I look into logs of docker-compose.engine-and-license-service.yml
I see such error:
licenses_1 | {"Failed to initiate mongo db persistence: failed to dial to mongoDB, error no reachable servers":"(MISSING)","caller":"main.go:174","level":"error","timestamp":"2019-01-30T13:39:42.747088715Z"}
And coreusinglicenses_licenses_1 exited with code 1
immediately after that.
Replace information and examples related to serial and control number with new license key format.
Hello,
Are there any way to use licences service in offline environment? For instance, generate lef and put it into some file?
Move information from the updates pages to this repo
When I call licenseService/v1/licenses/allotments
, I get answer {"errorMessage":"invalid license date(s)","errorType":"handler.forbiddenRequestError"}
. Qlik Core connected to this License Service doesn't work. How to fix it?
This is tested in the branch: session_limit
We just need a released engine with this fix in it.
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.