Deploy a business network on bluemix - ibm-cloud

I use this tutorial to deploy a business network on a free bluemix cluster: https://ibm-blockchain.github.io/
I also deploy the REST Server and communicate via Web apps.
All went fine till yesterday. The REST Server was not accessible anymore.
I deleted everything on the cluster using the script delete_all available in the ibm-container-service repository.
I followed the install procedure using the create_all script. I could access the composer playground (port 31080) again but was not really able to deploy an online business network using the "profile" hlfv1. Now it asks at the bottom of the "deploy UI" for credentials.
I don't know what to fill in. I tried to use ID+Password. On this way I was able to deploy but I got access error by clicking on "connect now". I was able to start the REST server then but if i try to access it in the browser (port 31090), I get the feedback that I'm not authorized.
Any ideas?
And do you know which changes have been made in the last month, which could bring these troubles?
Thx
Phil

The tutorial pointed to only covers playground when used with a Web Browser connection not a real fabric. When you deploy to a real fabric you have to provide an initial identity that you want bound to an initial participant in the business network. The initial participant will be of type org.hyperledger.composer.system.NetworkAdmin and given a name of the initial identity name you provide.
This dialog looks like this
To get you started you should select the ID and Secret radio button. Then for Enrollment ID enter admin and for the Enrollment Secret enter adminpw.
This is the name and secret of the bootstrap identity that exists in the fabric-ca server that has been deployed as part of the scripts.
By providing this information that identity will be enrolled and it's public certificate will be bound to a NetworkAdmin participant which will be called admin. This identity admin will then have access to the business network as only identities that are bound to a participant in the business network can have any sort of access.

Related

IBM Cloud API Connect Secure Gateway

Recently, I started seeing an issue when trying to setup secure gateway within API Connect on IBM Cloud, I previously had it working but looks like they changed this wizard interface and its broken since then
here is what I did to recreate the issue:
Setup new APIC instance on IBM Cloud
API connect Manager UI > Admin > Secure Gateways > Add (name & save)
once created, in Secure Gateway Clients section, click on +Set Up
I see no ID or Token generated
no matter what type of client I choose (DataPower, Docker or Installer)
Anyone facing the same issue?
Empty ID and Token when trying to setup Secure Gateway Client
turned out that creating SecureGateway from within the APIC is deprecated feature anyway.
you will need to create standalone SecureGateway resource on Bluemix and call it from your API assembly.
here is the instructions
https://www.ibm.com/support/knowledgecenter/en/SSFS6T/com.ibm.apic.apionprem.doc/task_api_secure_gateway.html

public website with sapui5 and without credentials

I want to create public website(actually web page), with some inputs and send the data back to sap. My problem is that the website should be open for everyone and still be connected to sap(which requires username and password).
Is there a way to create sapui5 website without the need to give credentials(and still keep the sap system safe)?
If you do not mean to work with the user information/authentication which I assume is true because you do not want the user to log in, in that case, you can
Create a destination in SCP with basic authentication and store the username and password of the backend system you wish to communicate. An example to refer destination creation in SCP
Deploy the app in the SAP Cloud platform using the destination in your app to post the data.
Hope this should solve your problem.
Some more references:
how to set the authentication method to none in UI5 app in SAP Cloud Platform
How to deploy a simple UI5 app to SCP
Get a free trial account of SAP Cloud Platform

Unable to select Bluemix Organization when attempting to publish API Connect product/API

I am new to API connect and I'm trying to create a simple loopback application and publish the product and API to bluemix.
Steps I've followed so far:-
On Bluemix:-
Added a API connect service to my organization ('subhash.pesh#gmail.com'), US South region and and test space.
Default Sandbox catalog created in APIConnect.
On Local machine:-
Got the APIC CLI
Created a loopback app by running: apic loopback
Ran the API designer by using apic edit
Express server started listening in on a port and the GUI editor opened up in my default browser.
Tried to publish the product by adding a bluemix target.
Here is where I'm facing the issue:
I'm able to enter my bluemix credentials and it chooses US South region by default, but I'm not able to see any organizations within the next dropdown.
I've tried doing this while the app is running locally and while it's stopped (I dont think it should make any difference, but I was getting desperate)
Ive attached the pictures of the publishing option/ empty organization dropdown here:-
Organization dropdown can be seen here
Unable to see any of my organizations, dropdown is blank
I'm sure I'm missing something vital, but I'm just not able to figure this out.
I've tried going through the documentations and video tutorials and by their account, I should be able to select the organizations and then the catalog to which I want to publish the API.
EDIT: I observed something while trying to publish from CLI:
After logging in to us.apiconnect.ibmcloud.com, when I run
apic orgs --server us.apiconnect.ibmcloud.com
I get a blank response.. Not sure why my bluemix organizations are not being recognized
And when I run
apic catalogs --all-organizations --server us.apiconnect.ibmcloud.com
I get
Error: No catalogs found in all organizations
Error: No catalogs found in org null

My Bluemix IoT Foundation organization is not shown on webpage

I have a Bluemix account with organization defined, but when I login to IoTF via the webpage https://internetofthings.ibmcloud.com/ my organization is not shown. I see a message that says "You are not a member of any organization".
I am unable to add any devices as a result. What could be causing this issue?
The likely explanation is that you were a temporary member of your IoTF organization and that has subsequently expired.
When you create an IoTF service using Bluemix, an IoTF organization is created and your IBM ID is added as a temporary member. This temporary membership expires after 24 hours and the effect is similar to what you are describing.
If you were to access IoTF using the service tile in Bluemix (Launch Dashboard) then you would be logged straight in to your organization. At this point you will be able to add members (including yourself) to the IoTF organization and then be able to log in directly at https://internetofthings.ibmcloud.com/
The reason for this is that if a Bluemix user created an IoTF service, there is not necessarily the affirmation that that user will forever be authorized to access it. By making that user a temporary member, it is able to log in directly for 24 hours only until the ID is added as a permanent member, or that user always accesses the IoTF dashboard using the Bluemix service tile. The intention is that without positive action the user creating the service will still need access in Bluemix, in order to access IoTF.

TFS 2010 Build agent not starting

My build agents are not starting after I change the properties credentials to the domain account from the network service. I done this because the network service account cannot write to my drop folder.
Each time I add the network service to the drop folder share, it appears then disappears.
http://msdn.microsoft.com/en-us/library/bb778394.aspx I followed this but some steps are different, i have xp and it doesn't show the share tab so i go through security tab
So I guess I'm asking two questions here;
Agents are not starting after changing credentials.
Network service not able to write to the drop folder.
Thanks in advance
Yes, Network Service won't have permissions to write to a drop location. That's pretty standard. You need to be using a domain account.
The TFS Build Service will need to run as a domain user so it can write to the drop location.
The domain account for the build agent will need to be in the TFS Project Collection group for build service accounts (internal to TFS). I can't remember what it's actually called but you need to be a collection administrator to update it.
The domain account will also need some login as batch/service permissions but that should be done automatically when you reconfigure the service. Do you use the TFS Admin console to reconfigure the agent or did you just set the credentials on the service? (You should use the TFS Admin console).