Krakend generate command not found - krakend

I am using krakend version 1.4.0 docs say I can run generate commands to get OpenAPI, postman or config to graph.
when I try to run any of these commands. I get
Error: unknown command "generate" for "krakend"
do I need to do something differently to enable generate commands? Heres a link for generator commands. https://www.krakend.io/docs/enterprise/commands/openapi/

You are passing a KrakenD Enterprise documentation link, but you are using the community Edition. There is no command generate on the free version as per 1.4.

Related

Bazel internal shell issue using windows

I am trying to migrate a huge project having visual studio and maven projects to bazel. I need to access our in house maven server which is encrypted. To get access I need the load the maven_jar skylark extension since the default impl does not support encryption (get error 401). using the extension leads to a lot of troubles, like:
ERROR: BUILD:4:1: no such package '#org_bouncycastle_bcpkix_jdk15on//jar': Traceback (most recent call last):
File ".../external/bazel_tools/tools/build_defs/repo/maven_rules.bzl", line 280
_maven_artifact_impl(ctx, "jar", _maven_jar_build_file_te...)
File ".../external/bazel_tools/tools/build_defs/repo/maven_rules.bzl", line 248, in _maven_artifact_impl
fail(("%s: Failed to create dirs in e...))
org_bouncycastle_bcpkix_jdk15on: Failed to create dirs in execution root.
The main issue seems to be the shell that needs to be provided to bazel in BAZEL_SH environment variables:
I am working under windows
I am using bazel 0.23.2
bazel seems to run a bash command using "bash" directly and not the one provided by env variable.
I got a ubuntu shell installed in windows. bazel was using everything from ubuntu, especially when using maven (settings.xml was using from ubuntu ~/.m2 and not from windows user)
after uninstalling ubuntu and making sure that bash in a cmd ends up in "command not found" I also removed the BAZEL_SH env var and bazel throws the message above
after setting the BAZEL_SH variable again it fails with the same error message
I am assuming that bazel gets a bash from somewhere or is ignoring the env variable. My questions are:
1. How to setup a correct shell?
2. Is BAZEL_SH needed when using current version?
For me the doc at bazel website about setup is outdated.
Cheers
Please consider using rules_jvm_external to manage your Maven dependencies. It supports both Windows and private repositories using HTTP Basic Authentication.
For me the doc at bazel website about setup is outdated.
The Bazel team is aware of this and will be updating our docs shortly.

Proper Indy Setup with Docker

I'm getting into Hyperleadger Indy for a project and want to set it up as a clean docker container. Its often pretty confusing with correct sources of documentation.
As a start i wanted to follow the tutorial based on Alice.
I used https://github.com/hyperledger/indy-sdk/ as a repository and installed it with commands from https://github.com/hyperledger/indy-sdk/#how-to-start-local-nodes-pool-with-docker.
Everything worked but when i try to enter the CML this happens:
indy#a1265007869d:/$ indy
Loading module /usr/local/lib/python3.5/dist-packages/config/config-crypto-example1.py
Module loaded.
This client is deprecated! Please, use the new libindy-based CLI: https://github.com/hyperledger/indy-sdk/tree/master/cli
Indy-CLI (c) 2017 Evernym, Inc.
Type 'help' for more information.
Running Indy 1.4.66
Any command throw:
Exception in callback PosixAsyncioEventLoop.run_as_coroutine.<locals>.stdin_ready() at /usr/lib/python3/dist-packages/prompt_toolkit/eventloop/asyncio_posix.py:65
handle: <Handle PosixAsyncioEventLoop.run_as_coroutine.<locals>.stdin_ready() at /usr/lib/python3/dist-packages/prompt_toolkit/eventloop/asyncio_posix.py:65>
Can someone maybe also explain when to use Indy-Node and when Indy-SDK and are they independent?
Embedded indy-node CLI is deprecated now. There are two options:
Try another terminal client or the same client with different window size
Move to CLI from indy-cli separated package. You cand find it here https://github.com/hyperledger/indy-sdk/blob/master/cli/README.md

Do I build Ruby documentation in Ubuntu ? Or should I simply move past this?

While navigating through http://installfest.railsbridge.org/installfest/linux I made it to step 4 and instead of rvm install 2.3 I used rvm install 2.4.4 in the Ubuntu command prompt and everything ran fine. Once output was finished, the last two lines said: Install of ruby-2.4.4 - #complete
Ruby was built without documentation, to build it run: rvm docs generate-ri What do you fine people think? Build or not? The above link is meant to be part of an installation process for The Odin Project, which is just a free online web dev course if that helps put things into perspective.
I use RubyMine. When I'm curious about a method, such as render, I put the text caret on it and hit Control+B. RubyMine takes me to the method's definition, where I can read the comment which generates that documentation.
I always build Ruby and Gems with full documentation, and I never bother to read their output...

How to downgrade php from 5.6 to 5.5 on Fedora 21

I need to do the subject because I'm developing with the team on PHP 5.5, but my current Fedora version contains PHP 5.6.
I've found a Remi's repo contining PHP 5.5 for FC-21, installed it as described in "Install Howto" section. But I cannot run the Apache to use with PHP v.5.5. Please suggest what I can do to have desired?
you can try to downgrade your current installation using the packet manager by issuing the command yum downgrade php55 see downgrade or rollback updates, where you can also specify a specific version. Before that I suggest you to first verify your installation history about php if its is present.
Another way is to install the specific version you want see the answer here and then add a rule to block further updates in /etc/yum.conf see here for the blocking rule

symfony plugin installation failing [bhLDAPAuthPlugin]

I'm working on a symfony project and I need a user access conected to an LDAP server. So I searched for something already done to add to my app and found this plugin that has all I wanted.
So I tried to install with the command $ php symfony plugin:install bhLDAPAuthPlugin
for some reason it throws me this error:
No release avaiable for plugin "bhLDAPAuthPlugin"
I don't really understand what that message means. I've checked the spell of the command (also copied the command given in the page of the plugin) and same error appears. If I had no all requeriments for instalation, other errors would be thrown, right?
PS: If you know some easy way to implement by myself the comunication with LDAP (Microsoft Active Directory) will also be appreciated.
No exactly sure how to solve the error message, perhaps it helps is specifically specify which version you wish to install.
Otherwise there's an easy workaround:
Just download the tgz file from here:
http://www.symfony-project.org/plugins/bhLDAPAuthPlugin/6_0_0
and do
php symfony plugin:install bhLDAPAuthPlugin-etc-etc.tgz

Resources