How to migrate products between catalogs in IBM Bluemix API Connect? - ibm-cloud

How do we migrate Products from one catalog to another in IBM API Connect?
We publish API's to dev catalog and once we are done developing ,they need to be moved to test catalog.

You can use the apic command line toolkit to do that.
There are examples of different scenarios in the readme page here: https://github.com/ibm-apiconnect/cli
e.g. to clone all the apis in a given catalog:
apic apis:clone

Related

Alfresco - Replace /Sites by Company home?

I'm using Alfresco 6 community edition in which I configured some sites, each site is associated with one tenant. (I saw last year alfresco multitenancy could be deprecated in community edition, so I chose to use sites).
But I heard it could be possible (and better) to use company home instead of sites to isolate my tenants.
I thought "Company Home" was the top level in the repository, how could I configured different company home in the same alfresco installation? I didn't found anything about this. Is it really possible? Did I miss something? Any info about this could help me.
To be complete, I connect my java application to alfresco using alfresco rest API.
The top folder in the Alfresco repository is called Company Home, although it will be referred to with the name repository in the Alfresco Share user interface. You can't have multiple companyHome in any alfresco installation.
https://docs.alfresco.com/5.1/concepts/dev-repository-concepts.html
Features not supported in a multi-tenant environment
There are some features and components that are not supported in a multi-tenant production environment. Not sure your feature occur under the below list.
Using multi-tenancy you can configure multiple, independent tenants on a single Alfresco Content Services instance. However, multi-tenancy is not supported in the following products and features:
Alfresco Desktop Sync
Alfresco Governance Services
Smart Folders
Content replication
Encrypted Content Store
Document Transformation Engine
EMC Centera Connector
Alfresco Mobile Applications (they use the default tenant and can't switch between tenants)
Alfresco Outlook Integration
Alfresco Media Management
Activiti Workflow Console
Arjun - Opentext
Adding on to Arjun's answer, you cannot have multiple roots/company home directories. You also cannot have multiple Sites folders. And, the Sites folder is flat, ie, all sites are immediate children of the Sites folder.
So, if you are trying to "roll your own" multi-tenancy, you will not be able to do so by segregating sites by parent folder per tenant.
Best to make them all private sites and just handle the segregation in your custom app.

Unable to add a service to IBM Watson Studio

I cannot create a project in IBM Watson Studio for an online course (sponsored by IBM by the way). I keep getting this 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 am performing the following steps:
1.Watson Studio
2.Create (Lite Plan Option)
3.Get Started
4.Create Project
5.Create Empty Project
6.Select Storage Service --> Here I get the error message
I need to create a Jupyter Notebook in IBM Watson Studio in order to complete the course.
I've deleted the Watson instance and started from scratch several times. I have also created a new account and tried the solutions posted on this forum for similar cases, without success.
Thank you in advance for your help
Looks like you have Lite account on IBM Cloud and here's the limitation with the account type
You can provision one instance of any service in the IBM Cloud catalog
that has a Lite plan.
You can check What's available with your Lite account of IBM Cloud here.
You may have to delete the other service provisioned under Lite plan before creating the Cloud Object Storage service or you can choose the Standard plan of Cloud Object storage service.
To check the Lite services which you already created in your account, navigate to Resource list. You may have to delete

API metering and analytics using API connect on Bluemix

I provisioned API connect in Bluemix using various plans. None of the plans gives me the ability to add custom analytics, setting up developer portal and api metering.
The videos available on youtube shows the above functionality. Am I missing something or is it the case that these features are available for on-prem installation of API connect and not with API connect on Bluemix.
As long as you sign up for the Lite, Professional, or Enterprise level plans, you should have access to what you saw in the videos.
Analytics are viewable via the Catalog where your APIs are published. You'll see a tab specifically for this and you can customize the dashboards there.
The developer portal must be enabled via Catalog settings. Here's more information on how to accomplish that: https://www.ibm.com/support/knowledgecenter/en/SSFS6T/com.ibm.apic.devportal.doc/tapim_tutorial_using_ADP.html

Why does IBM API Connect run differently in Bluemix than locally?

I just set up my local environment to use IBM API Connect and it gives me "extra options" to make the database. Now i'm using IBM API Connect inside IBM Bluemix and it doesn't have those "extra options" :/ I'd like to use it from IBM Bluemix to start migrating to the cloud, thanks in advance.
(I said this in a comment, but it should be an answer...)
The APIC Designer, which you run locally, helps define your models and connections, you then deploy that to Bluemix. You don't edit it on Bluemix itself.
The Local Developer toolkit gets installed on your computer for modeling and creating the api's through Strongloop or Kitura. After you have created your api's to run and publish them, bluemix publix cloud is used where you get a free developer portal and Node.js runtime environment for running your applications/micro-services.

How to change database schema in an Azure Mobile App .NET backend?

I've found documentation on how to change a database schema for an Azure Mobile Service .NET backend, but I haven't found similar documentation for Azure Mobile Apps. For those who haven't been paying close attention, Azure Mobile Services was Microsoft's original backend-as-a-service, and it has now been replaced by Azure Mobile Apps.
The documentation I reference above mentions using ClearDatabaseSchemaIfModelChanges and ClearDatabaseSchemaAlways. Neither appears to be available in an Azure Mobile App.
How can I start with the quickstart ToDo app and modify the .NET backend to include an additional database column?
Behind the scenes, the Azure Mobile Apps SDK uses Entity Framework. You need to adjust your DTO / Model and then add a database migration.