How to create corpid-2 service and bind it to my app. Invalid UAA client config - swisscomdev

I would like to create a corpid-2 service to be able to allow certain person to a simple web app in python.
I'm facing the problem about some parameters that needs to be given.
I am not able to find these parameters in the swisscom documentation https://coders.swisscom.com/docs/browse/iAPC/services/corproot-identity-v2
[EDIT]
More Swisscom internal question. I will continue the discussion on internal tool

you have to provide the required -c parameters. You can find an example of it in the docs:
https://coders.swisscom.com/docs/browse/iAPC/services/corproot-identity-v2/back-end.html
or
https://coders.swisscom.com/docs/browse/iAPC/services/corproot-identity-v2/client.html
Depending on your use case.
Please be aware that the Stackoverflow channel is meant for public information only - Swisscom internal questions like corpid should not land here; I suggest to delete the question or ask it again on Askthebrain, I'll happily answer there as well.

Related

Rasa Fall back policy for faq chatbot

I am working on Rasa Faq chatbot using retrieval actions. For there I want to implement fall back policy , but I implemented in many ways suggested on net but fallback policy is not working.
The reason I found for that is I have faq intent specified in NLU.md file and responses written in responses.md for the faq.
Every time i give out of scope question it catches the faq intent and gives first answer in that faq responses.md but not default answer I mentioned in domain file.
Can anybody suggest any method in which fallback can work specifically in FAQ chatbot for Rasa
You seem to be asking two questions:
To your first, if you're using response selector, fallback will kick in as normal if confidence is below the threshold you set. Giving an "out of scope" question will not necessarily simulate this.
Secondly, the responses in responses.md are always the ones referred to by the response selector; those you set in the domain are not relevant to response selector in Rasa 1.x

Hyperledger composer rest api add data not found in composer playground

I have successfully generated composer rest api followed by instruction given by https://hyperledger.github.io/composer/latest/tutorials/developer-tutorial.html finally am getting success message
Discovering types from business network definition ...
Discovered types from business network definition
Generating schemas for all types in business network definition ...
Generated schemas for all types in business network definition
Adding schemas for all types to Loopback ...
Added schemas for all types to Loopback
Web server listening at: http://localhost:3000
Browse your REST API at http://localhost:3000/explorer
and after am adding participant getting 200 response code in api , but the added data not displayed in composer playground, whats the issue in this? anyhelp appreciated
I think there is a problem with your starting a business-network or upgrading a business-network. please ensure that your started network version same as composer-rest-server API version shown on http://localhost:3000/explorer/. If there is an issue then you can do ./stopFabric.sh. and then start your business-network again.
the playground is exactly what it says, a playground. It's a little environment to help you play with models, test them and create a bna from the result, not to deploy a fully working network.
However, if you do want to see some real data then you have to connect it to an actual network using a proper network card. If you use the web version then that's not connected to anything real.
So, connect the playground to the same network card you used to create the composer rest api and then you will be able to see something.
This being said, the best way to check your data actually exists on the ledger is to use the composer api you used to create you assets.
Every asset endpoint accepts all the verbs you need to work with. You used POST to create an asset, now use the GET method to check the data on the ledger. if you look at the swagger interface, you will see all endpoint, all verbs they accept and the data models required

How to connect sensor devices to IOTF using API KEYS

I am doing an android application, I'd like to know how to connect sensor devices/applications to Bluemix IoTF using API keys, by saying that I just want to minimize the registration task from client side(sensor devices)as much as possible. I know how to register devices with deivce Id,token and authentication manually. but I just like to know that is there any other easy way around to do it. It would be great If I got some one shed light on this from scratch. Thanks in advance.
There is a rich set of REST based APIs available at:
https://docs.internetofthings.ibmcloud.com/devices/api.html
and fully documented here:
https://docs.internetofthings.ibmcloud.com/swagger/v0002.html#/
One can use excellent REST based testing tools such as Postman for REST testing.
The reason I mention the REST APIs is that they provide a way for scripting or automating the registration of devices. There is an API called "Add device" that, when called, will register a new device instance of a specific device type against your IoT Foundation instance.
I could imagine a new device that knows it is not registered executing a self registration request to define itself as a new device type. What I would next suggest is that you read the links above and see if they make sense. If they answer your question fully, great. If not, simply post a new question that is specifically targeted at a specific areas and we'll be watching this set of tags and respond back as quickly as we can.

How to use QA Service of IBM watson with REST API

I have just started to learn IBM Watson services. I need to use Question and answer API of bluemix in java using REST API. But I couldn't find any service like Question and answer. Please can anybody tell me is the name is changed or where can I find the documentation for this service. I have tried with existing answers in SO. But those links which are in answers are not working removed.
Regards
The QA service has been discontinued since the end of last year.
Instead what has happened is that the components that made up QA have been broken down into their own services.
NL Classifier
Dialog
Retrieve and Rank
Document Conversion
The reason for this change is that not all types of applications required all these services. Also it allows you to pull in other services to act on data, for example Sentiment Analysis of a question can impact the answer/action given. Which wasn't part of QA.
More details here:
https://developer.ibm.com/watson/blog/2015/11/11/watson-question-and-answer-service-to-be-withdrawn/

IBM SmartCloud Control Desk REST API

I'm trying to write a program to access the SCCD REST API, but can't find any documentation online. I'd like to know the URLs I have to call. So for example to access a persons details I call :
/maxrest/rest/os/person
But I can't find any other URIs or any documentation of that API. The only thing I found, doesn't mention the URLs. I want something like this just for SCCD.
I know it's been a loooong time and it's probably not relevant for this person, but I did find a better answer than "no".
Here's the link:
http://www-01.ibm.com/support/knowledgecenter/SSWT9A_7.5.3/com.ibm.mif.doc/gp_intfrmwk/rest_api/c_rest_overview.html
After talking to the IBM Support, it seems there is indeed no documentation available.