IBM Coud: Create Service Watson Studio - Does not show up in resource list- But when create a new one it states it exist - service

Error Below:
Service broker error: You can only have one instance of a Lite plan per service. To create a new instance, either delete your existing Lite plan instance or select a paid plan.
I have no idea how to work arount this: Any help would be appreciated
I have seen this:
Stack Question
But makes the assumption that it is in the resource list mine is completely empty

Related

What is the API method to return all records in a Dynamic Data List in Liferay 7.0?

I am creating a React Portlet in Liferay 7.0. Part of the requirement is to read the data from a Dynamic Data List.
At first, it looks as though Liferay have provided the method as a Web Service to make my life simple but it seems that isn't the case.
Does anyone know how to return the records from a DDL recordset ideally in a JSON array?
Liferay Portal provides remote JSON-WS services for almost all OOTB services. If you start your instance and go to http://localhost:8080/api/jsonws?contextName=ddl you should see all the DDL related JSON-WS services.
Have a look at "Invoking Remote Services" and related documentation for details.
UPDATE:
In 7.0 there is indeed no method to get the records of a record set. It was added in 7.1 :(
So your best bet is to create custom REST service to return those.

How to get the instance ID of the specific ibm cloud app instance?

We started 2 instances of our IBM cloud app. Now, we want to trace which user belongs to which instance.
Cf Command or Javascript code needed
You can access various environment variables running in the cloud. For example using Node.js process.env.VCAP_APPLICATION displays (among other things) the unique application id and process.env.CF_INSTANCE_INDEX the index of the specific instance (0,1, etc.).
Here is a nice example from developerworks using an older API, but the generall approach is the same.

apply WebServices into VSTS on modified field

I have a question regarding VSTS,
Let's assume that I have a requirement which says when a user modifies a field in WorkItem then automatically should update an other field in external database.
I do not have experience at all with VSTS and is not clear to me yet how I can do this.
Already I created webservices in order to write to the field in the external database and then the big question is how to call this webservices each time that a field is modified.
Does someone have a suggestion or an example?
The simple way is using VSTS web hook:
Go to service hooks page (https://[account].visualstudio.com/[team project]/_apps/hub/ms.vss-servicehooks-web.manageServiceHooks-project)
Click + > Select Web Hooks > Select Work Item updated event > Specify Field and other filters > Next
Specify your web services URL and other settings (the web services need to be accessible from internet)
After that, when the specified work item updated and meet other filters (specified in web hook), it will send the request to target service with json data.
Well, first you are talking about VSTS (Cloud) not TFS (On-premises), the only option to create extension which listen to work-item update once it happen, it will call your web service
I created series of videos on how to develop VSTS extension, how to publish it and you can see it as a starting point.
http://mohamedradwan.com/2017/12/29/develop-vsts-extension-and-configure-ci-continuous-integration-and-cd-continuous-delivery-pipeline/

How to create/insert product programmatically in Websphere Commerce 7 WCS7

I'm developing an ecommerce based on Websphere Commerce 7 WCS7. I need to import products from an external supplier, which is exposing a webservice. I've already implemented a Controller Command performing all the operation needed to extract the products from the remote service, and I've them avalaible as custom Java classes.
I'm a little bit confused about the approach I should follow in this case. I've defined the attributes needed in my scenario and used the dataload utility to import them in the DB. What should I do next? I expect to be able to "create" WCS product programmatically from my Controller Command but I don't know how to use the attribute I've defined in a programmatic insert.
Can someone point me on the right track on how to perform this kind of operation? I went through the documentation, but, given the fact I'm quite new of the WCS environment, I don't know how to proceed according to the current best practices.
It is possible to create a new catalog entry programmatically if you copy what is being done in the LOBTools. I have not done this myself though. I have always added new products via the data loads and when we did need to add from an external service I just output the information to a file and loaded along with our other products. The reason was due to keeping the catalog in sync with the product management system.
Have a look at the various DataBean classes in WCS, like: CatalogEntryDataBean.
See here for WCS data beans:Link
And here for "activation" of a DataBean:Link

Azure Mobile Services - Connect to Existing Database

I'd like to create a Azure Mobile Service (.NET) that reads / writes from an existing database that is being used by an MVC 5 app. I've been trying, without luck, for the better part of a day to make this happen through the few examples that exist on the internet.
I've just now come across this SO post where Carlos Figueira says that a mobile service creates a new schema with the same name as the service name and all access is done via that schema and the user that has permission to that schema. If this is the case, how will I be able to have my mobile service connect to an existing table, if it always creates new tables in the new schema?
Also, I'm getting the impression that mobile services using .NET is much happier if I don't attempt to connect to an existing DB. Is this the case?
Azure Mobile Services will only work with tables in the new schema (with the service name). In order to work with an existing database, you need to transfer the tables to this schema, and then you will need to rename all your PK columns to "id" (lowercase). Once you have done that, the tables still don't show up in the Data tab in the management interface, but you can 'add' them and then it will connect and you can work with your existing data.
See this link for full walkthrough: http://www.strathweb.com/2012/12/using-existing-database-with-azure-mobile-services/