Giter Club home page Giter Club logo

core-using-licenses's People

Contributors

janmiderback avatar qlikossbuild avatar renovate[bot] avatar sublibra avatar wennmo avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

xwydq

core-using-licenses's Issues

Automated: Protex scan failed

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.

Update example to using new consumption endpoint

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.

Crash in `with_license_test.go`

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.

Adapt to new license key

Replace information and examples related to serial and control number with new license key format.

Error 'invalid license date(s)'

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?

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.