MQTT Support on IoT Edge - azure-iot-edge

I am trying to get mqtt on edge preview according to the docs
I can’t get it to work because using VSC to add mqttBroker as a desired property on the manifest fails as below:
There are errors in deployment manifest file:
data.modulesContent.$edgeHub['properties.desired'] should NOT have additional properties

Since you are following the the How-to guide step by step, please submit a new issue at the bottom of the document with your issue so that we can enhance the document.

Related

Alfresco digitale workspace localization issue

I have installed Alfresco using docker images as explained in this Angel Borrow's github repos. All goes fine.
But some translation key are not processed. On this image you can see that the translation key "LOGIN.LABEL.USERNAME" is not replaced by it' value.
There are several other issues like that on some popups in ADW (Alfresco Digital Workspace) app.
What is the best way to fix that?
PS : The same localization issues also exist on alfresco cloud.
The first think to check is if you have an adBlock extension activated on your browser page, if it's the case, disable adblock for Alfresco digitale workspace and reload.
You can debug error by using developer tools on your browser (F12)
in network you can see errors related to labels blocked and have more details.
O.

How to take screenshots only for failure step in geb using athaydes plugin

I am using athaydes plugin to create HTML reports with step wise screen shots. It's working fine and capturing screenshots for all steps. However my requirement is that, how to capture screen shots only for failed steps. Is there any provision there or do I need to use any specific keyword in athaydes properties file. I am using below property file "com.athaydes.spockframework.report.IReportCreator.properties"
# Name of the implementation class of the report creator
com.athaydes.spockframework.report.IReportCreator=com.athaydes.spockframework.report.template.TemplateReportCreator
# Output directory (where the spock reports will be created) - relative to working directory
com.athaydes.spockframework.report.outputDir=target/reports
com.athaydes.spockframework.report.testSourceRoots=src/test/groovy
com.athaydes.spockframework.report.showCodeBlocks=false
# Set properties specific to the TemplateReportCreator
com.athaydes.spockframework.report.template.TemplateReportCreator.specTemplateFile=/templates/spec-template.html
com.athaydes.spockframework.report.template.TemplateReportCreator.reportFileExtension=html
com.athaydes.spockframework.report.template.TemplateReportCreator.summaryTemplateFile=/templates/summary-template.html
com.athaydes.spockframework.report.template.TemplateReportCreator.summaryFileName=index.html
Can anyone please help me on this. Thanks!
This is not directly related to spock-reports. As you are using Geb, you can configure it to only report failures via the following setting in your GebConfig.groovy:
reportOnTestFailureOnly = true
See the official Geb documentation for more information.

Power BI embedded Issue

I am trying to integrate the power bi report with our asp.net mvc application. So I found this https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-get-started-sample/ article and followed the steps. I have successfully created the workspace collection and generated the access keys. And I downloaded this https://github.com/Azure-Samples/power-bi-embedded-integrate-report-into-web-app/ sample application as specified in the article and ran the ProvisionSample contsole application. I selected the 5th step and provided the appropriate values for workspace collection name and access key and it throws the following error "Operation returned an invalid status code 'Forbidden'". I looked at the audit logs and there is no error. Anyone have idea what causes for this issue?
There is an issue going on right now that is effecting some parts of the world. We are actively working on a fix.

Issue with npm and Highcharts

I am trying to install high-charts through npm and use it on the server side to output the data to a jade template. I am using basic express framework.
The first section in the link below is the guide that I am following.
http://www.highcharts.com/docs/getting-started/install-from-npm
However I am getting an error when I use this line of code
require('highcharts/modules/exporting')(Highcharts);
I have tried this across multiple computers and it's the same error across all.
Code used:
I have no idea why its failing. Any help would be great.
The problem is that you are trying to use Highcharts on the server side, but that library requires DOM nodes from the client's HTML document to work (like the document object from the error you show and also the container where the chart will be drawn).
You can emulate the client side using PhantomJS. This way you can render your charts on the server.
You can try following this guide from Highcharts documentation website.
However, it's definitely easier to load and use the library on the client side and use the server only to send the chart data to the client.

Guide to install keystone on SAIO

I'm new to openstack, I have just installed and configured Swift using vmware. Followed this instruction: http://docs.openstack.org/developer/swift/development_saio.html
Right now SAIO uses tempauth to authenticate, I am able to access the cloud using cURL and swift commands. But I'm trying to use jclouds to do the job instead: https://jclouds.apache.org/guides/openstack/#install
However, I can't make the tempauth work, some said its not supported.
I tried to find guides to install keystone auth instead, but to no avail; I already messed up the configuration of SAIO a few times.
Is there any good guide that follows the installation of SAIO?
Do yourself a favour and skip SAIO, use DevStack instead.
Follow the instructions in this blog post
http://blog.phymata.com/2014/04/18/devstack-icehouse-on-the-rackspace-cloud/
It works just as well in a VMWare VM as in a Rackspace Cloud Server. If you really only want Swift+Keystone, delete all of the ENABLED_SERVICES lines except for
ENABLED_SERVICES=rabbit,mysql,key
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,horizon
I left Horizon in there as it can be helpful to have the dashboard handy.
You'll also want to delete the IMAGE_URLS lines. They won't be used.

Resources