Installing /whisk.system/messaging package in my local installation - serverless-framework

I am doing my local openwhisk installtion on Ubuntu 16.04.
I was try to do my hands-on on the below sample
https://github.com/IBM/openwhisk-data-processing-message-hub
it using /whisk.system/messaging package
but when i check the installed packages i see below
/whisk.system/alarms
/whisk.system/watson-translator
/whisk.system/github
/whisk.system/weather
/whisk.system/watson-textToSpeech
/whisk.system/slack
/whisk.system/utils
/whisk.system/combinators
/whisk.system/samples
/whisk.system/websocket
/whisk.system/watson-speechToText
Can someone let me know how to install the messaging package

The messaging package relies on a microservice that relays Kafka messages as OpenWhisk trigger fires. You can find instructions on how to build and deploy the microservice, as well as the actions in the messaging package here: https://github.com/apache/incubator-openwhisk-package-kafka/issues/99#issuecomment-300536379

Related

Where is the backend of Jetbrains Gateway being installed?

I'm at a point where the IDE won't start anymore at all and I'd like to find the IDE backend inside my WSL Ubuntu and delete it manually.
Where does Jetbrains Gateway install the backend on Ubuntu?
According to the official doc:
In case of backend previously installed by JetBrains Gateway, the default path is /home/your_system_user/.cache/JetBrains/RemoteDev/dist/

Pip , npm on offline servers

If you are developing Python web services for local network (servers is totally offline from the web) and the only way to add files to the server is through Flash drivers so using pip for Python packages or npm for node packages is such a headache and gets in a lot of dependencies issues and build issues .. so what is the proper way of dealing with such environment so development and deployment would be easier?
there are 2 approaches which you can take:
download all your dependencies locally and ship them to the remote server. this includes all the pip and npm packages. pay attention to the python\nodejs\operating system versions and architecture.
use docker to create an image, which packs everything. then ship the image to the remote server and finally spin-up a container based on that image.
You can use Pypicache to run your own pip servers and let it to cache your dependencies wherever you have an internet connection (where you are developing the application).
Then you can copy the whole pypicache folder on your flash drive and run the server wherever you want and use the cached packages inside it. the good point is in some environments that you can get a network connection for a limited time, having a pypicache is useful because it can download whatever all of the dependencies that your python applications need, and each instance would download and install the dependencies from the offline pip server by providing a simple switch in the command line. Here is an example:
pip install -i http://localhost:8080/simple somepackage
More Information - pypicache

RabbitMQ management not visible after installation

I am trying to install Rabbitmq on local machine..
I have initially downloaded Erlang v23.1 and then rabbitmq for windows.
The RabbitMQ service is running but i can't see the management interface.
I ran the command
rabbitmq-plugins enable rabbitmq_management
I am getting below result
The tutorial which i follow say that it should be something like
.
I noted that i have missing some plugins. Can this be a reason why rabbitmq managment interface is not visible. If yes how can i install those..

Getting Chef to install, configure and run RabbitMQ

I am trying to get a simple, single instance of RabbitMQ running via this RabbitMQ-chef recipe. Essentially, I have an Ubuntu machine, and I’d like Chef to take care of all the heavy lifting necessary to install, configure and get RabbitMQ running on it.
The documentation isn’t really written for beginners, but I went ahead and started by downloading the cookook:
knife cookbook site download rabbitmq
WARNING: No knife configuration file found
Downloading rabbitmq from the cookbooks site at version 4.1.2 to /Users/myuser/sandbox/chef/0.6.2/rabbitmq-4.1.2.tar.gz
Cookbook saved: /Users/myuser/sandbox/chef/0.6.2/rabbitmq-4.1.2.tar.gz
However now I’m at a complete loss as to what I need to script/configure in order to add this cookbook to my Chef server, such that when I SSH onto my target Ubuntu machine, I can bootstrap that machine with Chef and then run something to turn the Ubuntu machine into a RabbitMQ server. Any ideas?

Spring data redis mock

I need to do integration testing for a spring cloud application running with spring data on redis.
Tests work locally with the regular redis server instance and I need to run this on a Jenkins CI server that is controlled by the corporate CI engineering group.
Obviously I can attach to a redo server there so I used an embedded redis server (from here: https://github.com/kstyrc/embedded-redis).
Running tests locally with this redis server works well since there is a test profile to inject the embedded server in place of the production one.
Now the problem is that when we run this in the Jenkins environment this is the error we see.
/tmp/1430170830037-0/redis-server-2.8.19: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /tmp/1430170830037-0/redis-server-2.8.19)
So this version of redis has specific dependency on a specific version of glibc. I tried a couple of other libraries but they all depend on the same underlying version of the embedded redis server.
Is there a spring data mock framework that can be used to get around this sort of issue?
This might come a little late for you, but there is indeed a Spring Data Mock framework that you can use, which let's you mock repositories (regardless of the specific backend solution) without a real database connection.
Here is a link: https://github.com/mmnaseri/spring-data-mock
You don't have a high enough version of libc6, that is causing the error.
From How to fix “/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found”? – Super User:
That means the program was compiled against glibc version 2.14, and it requires that version to run, but your system has an older version installed. You'll need to either recompile the program against the version of glibc that's on your system, or install a newer version of glibc (the "libc6" package in Debian).
So, you just need to upgrade your libc6 package. All versions of Ubuntu have at least version 2.15 because it's a faily important package (reference).
To upgrade it, use these commands in a terminal:
sudo apt-get update
sudo apt-get install libc6
p.s. This is answer from askubuntu.com by minerz029