No API or Deploy tabs in the Blockchain service UI - ibm-cloud

I have been following through the instructions for the 'learn chaincode' example in the Bluemix Blockchain service, but what I am seeing the console does not match up to the instructions.
I only see 3 tabs, 'Network', 'Live Logs' and 'Blockchain', but the instructions talk about an 'APIs' and 'Deploy' tab.
Has something changed or got broken?

Yes, there are APIs. You should be able to access them in the API Tab within the Blockchain Service Dashboard.

Related

Service Fabric .NET Framework services and ApplicationInsights.config endpoints for Azure gov

I have a service fabric application that hosts api’s with app insights enabled. The api services are .Net framework 4.8 webapi projects and they are native fabric stateless and stateful services. I don’t use the app insights service fabric specific packages, but do have the standard app insights for webapi packages. I have always been in Azure commercial and logs have worked just fine there.
Now that we are in azure gov, the only way to point a .Net Framework app to the gov app insights endpoints is by modifying the ApplicationInsights.config file.
So I’ve modified the file as per msdn, verified it is deployed with the fabric deploy package and its there next to the rest of the dlls on the vms. Yet my services still won’t log to azure gov app insight instances. Nothing is coming through. We set the instrumentation key programmatically, not in applicationinsights.config, could that be an issue? I noticed some of the msdn examples showed instrumentationkey being included in the config file, but would think that is optional.
Had anyone had experience pointing .net 4.8 fabric services to gov app insights?
When using a government cloud, you need to use a connection string instead of an instrumentation key.
Important
Sovereign clouds, such as Azure Government, require the use of the
Application Insights connection string
(APPLICATIONINSIGHTS_CONNECTION_STRING) instead of the instrumentation
key. To learn more, see the APPLICATIONINSIGHTS_CONNECTION_STRING
reference.
More info here and here.
This ended up being an issue with my gov configuration file. The MSDN document wasn't very clear on where the new config sections go. It made it look like they are all nested under the top level node of the config file. Turns out the TelementyChannel override has to go inside the default TelemenySinks node. I contacted microsoft on github about clarifying this in their docs.
Link to the unclear documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/app/custom-endpoints?tabs=net
Link to github issue to get it fixed
https://github.com/MicrosoftDocs/azure-docs/issues/80066

Can't find Blockchain Cloud Foundry app

I followed the instructions on IoT Asset Tracking on a Hyperledger Blockchain . BUILD and DEPLOY finished successfully, but I can't find the composer-rest-server- app under Cloud Foundry Applications.
I can use the CF Blockchain services, enter the Monitor and open the Swagger UI. The question is, where can I find the application-specific APIs mentioned in the tutorial:
If everything deployed correctly, you can find the app in the IBM Cloud dashboard at https://console.bluemix.net. If you have many apps and services deployed, make sure to filter correctly or to be aware of paging.
If you suspect that something got wrong during build and deploy, go to the toolchain and check the logs. The toolchains can also be reached from the dashboard.

Securing a Node Red GUI on IBM WATSON Cloud

I've got a Node-RED Dashboard running on Bluemix, but I want to secure it using the standard Node-RED security, i.e., editing the settings.js file.
Does anyone know how I can actually access this on BlueMix?
On the IBM Cloud dashboard for your application you need to enable the Continuous Delivery feature. That will get you a git repository containing the application code which you can edit in your browser and have changes automatically deploy back into your running application.
You will then need to edit the file called bluemix-settings.js to add the required settings to secure the Node-RED dashboard.

Single Sign On Service on Bluemix

I have a web application hosted outside bluemix. However, I would like to use the Single Sign on service available on bluemix for authentication. Is that possible. What are the steps involved.
Sorry the Single Sign On Service within Bluemix is only designed to work with Bluemix hosted Node.js and JAVA(Liberty) applications. It will not work with applications outside of Bluemix

Bluemix Cloud Auto Scaling Service Crashed our Running Watson App now

Our Watson app based on Dialogue Service was running this morning, and this app has many users. Then I saw your 2017 DevOps tutorials video on Youtube on using Auto Scaling Service to scale web apps on Bluemix. Then I connected our this Watson app with the Auto Scaling app. Then, right way, this watson app is crashed. So, I tried to unbind this Auto Scaling App from this Watson app, but it cannot be done. So, I had to delete this Auto Scaling Service from this Watson app.
After that, this Watson app cannot be started. Hope that Bluemix cloud team and Auto Scaling Service team reply here soon. If anybody also have got such horrible experiences with the Bluemix cloud Auto Scaling Service, I also like to hear some input from you. Thank you !
In the past week I have seen similar issues, and the culprit might be the auto-scaling service. The culprit might also be the new Diego deployment (as opposed to the old DEA droplets). Take a look at the Diego documentation. I have not had the time yet to fully debug this, but I went out and diabled Diego for my app and then attempted to redeploy. This allowed me to bring my app up successfully - now I still need to figure out WHY it has problems, since we will be forced to migrate to Diego at some point.
I would guess that the problem is not with the AutoScaling service. Cloud Foundry in Bluemix recently upgraded to the Diego architecture. Your application might need some changes to work with Diego. Binding any service to an applciation will trigger a restage which might have caused this update.
Currently, you can disable diego to see if this resolves your application crash.
$ cf disable-diego APPLICATION_NAME
$ cf start APPLICATION_NAME
Try this.
Then deploy your app under a new name and gather the logs cf logs APPLICATION_NAME --recent
https://console.ng.bluemix.net/docs/manageapps/depapps.html?cm_mc_uid=70239858576514840828532&cm_mc_sid_50200000=#appdeploy