Can't see my ruleset in the Decision Services tab of the Business Rules service on Bluemix - business-rules

I deployed my latest ruleset to the Business Rules service instance. However, I did not see it listed in the Decision Services tab.

I was already at the Decision Services tab in the Bluemix console, when I deployed the ruleset. I had to click "Refresh" to be able to see the latest deployed ruleset.

Related

How to see all resources in a google cloud project - from a web browser?

Background: I am coming from Azure cloud where I could see all resources in a project (resource group) by simply navigating to the resource group in https://portal.azure.com from a web browser.
Question: In GCP, I am shown an overview page when I navigate to https://console.cloud.google.com/home/dashboard?project=abc-def-ghi. I like to see all resources in this project from a web browser? Is it possible?
Yes, you can use Asset Inventory feature. You have that kind of UI
And also work by API, and you can export your assets to BigQuery to track the changes, evolutions, history,....

Unable to Deploy from GCP Marketplace - Missing Valid Default Service Account

I receive an error message while attempting to deploy anything from the marketplace into a specific GCP project.
You must have a valid default service account in order to create a
deployment, but this account could not be detected. Contact support
for help restoring the account.
Things I've Tried:
Every VM from the marketplace shows the same error message
I can deploy regular VM instance
I can see there is an enabled service account for the project with the name "Compute Engine default service account".
I am able to deploy VM's from the marketplace into other projects under the same organization
I've contacted GCP Billing support and they cannot find anything wrong from a billing perspective
Researching online shows that others that have had this issue have just rebuilt the project. It appears that service account is created by default when the project is spun up.
I'm hoping there is another way around it as this project is a host for a shared VPC deployment. There are already other projects with deployed VM's that are utilizing the host projects networks.
Thank you!
Looks like you deleted a default service account.
As mentioned in one comment some can be recreated by disable/enable the corresponding API
Below are the default service accounts I have in my project, hope it helps you to find the root cause. (these service accounts let me deploy a wordpress solution depending on what you are trying to deploy you might need more service accounts)
PROJECT-NUMBER-compute#developer.gserviceaccount.com Compute Engine
default service account
PROJECT-NUMBER#cloudservices.gserviceaccount.com Google APIs Service
Agent
PROJECT-ID#appspot.gserviceaccount.com App Engine default service
account
service-ORG-ID3#gcp-sa-cloudasset.iam.gserviceaccount.com Cloud Asset
Service Agent
service-PROJECT-NUMBER#cloud-ml.google.com.iam.gserviceaccount.com Google
Cloud ML Engine Service Agent
service-PROJECT-NUMBER#compute-system.iam.gserviceaccount.com Compute
Engine Service Agent
service-PROJECT-NUMBER#container-engine-robot.iam.gserviceaccount.com Kubernetes
Engine Service Agent
service-PROJECT-NUMBER#containerregistry.iam.gserviceaccount.com Google
Container Registry Service Agent
service-PROJECT-NUMBER#dataflow-service-producer-prod.iam.gserviceaccount.com Cloud
Dataflow Service Account
service-PROJECT-NUMBER#service-networking.iam.gserviceaccount.com Service
Networking Service Agent
The service account was intact and had the same permissions as other service accounts for working projects.
We purchased and opened a case with GCP technical support. After a little more than a week of them troubleshooting the issues, they determined there was no way to correct the problem. Their root cause was that something happened during the initial project deployment that caused some backend configuration issues. For what its worth, the project was deployed using Terraform, but its uncertain if that was a factor.
After recreating the host project, we were able to deploy from the marketplace again successfully.
If you run into this problem, save yourself the hassle and time and just recreate the project.

How to access the deployed Java apps in portal site in Cloud foundry?

I deployed a Java application in SAP Cloud platform cloud foundry environment. I wonder how to access this application on Portal site in cloud foundry.
Can someone please help me?
Thanks,
Sankeerth
Bringing the Java application with a frontend into a Portal requires several steps outlined in this blog post.
On a high level, you need to:
Create a Portal site in your Cloud Foundry space.
Switch to the design time editor on Neo and create a tile for your application.
Configure the routes for the Fiori Launchpad and setup the authentication and trust management.
Deploy the launchpad to your Cloud Foundry space.
First, please identify the correct SAP Cloud Platform Cockpit. For the trial landscape the link is https://account.hanatrial.ondemand.com/cockpit#/region/cf-eu10/overview.
Afterwards, select your global account and sub-account and go to spaces on the left.
In the SAP Cloud Platform Cockpit tab spaces, you select the space you have deployed to. Then you go to applications and should see an application with the name you specified during the deployment. Click on the application and you should see application details, logging output and a link to the deployed application.
The deployment parameters space and application name have to be specified during the deployment. If you use the SAP S/4HANA Cloud SDK Pipeline, you specify it in the pipeline_config.yml. If you use cf push, you specify it during cf login and as parameter for cf push or in the manifest.yml.
Hope that helps or did you mean the Fiori Launchpad?

Azure: Moving an App Service to another existing App Service Plan

I'm attempting to move an App Service from one service plan to another. When I use the portal to do so, the other App Service plan is not displaying.
Both App Services are in the same Location and Resource Group.
The two App Services Plans are in the same location and have the same pricing tier.
I use the "Change App Service Plan" option for the web app. The only App Service Plan that is displayed is the current one. There is also a "Create New" option.
So, in summary:
1) Why is the other App Service Plan not able to be selected.
2) How can I move the App Service (Web App) to the other App Service Plan.
The reason why you are not able to see the other App Service Plan when you try to change the App Service Plan is due to current limitations in moving the Azure web app resources.
The other App Service Plan which you intend to move your Web Apps to is in another resource group with existing Azure Web Apps, which is not supported currently
Azure Web Apps current move limitations updated 01/04/2016
Hope this answer your question.
Not sure if it is something recent, but it seems it is finally possible. The option is in the main resource menu as "Change App Service plan". See:
I was able to move an app service(website) and also its deployment slot to a different plan (with same parameters and location - but did not try if this is a requirement).
Yes, we can now move the App Service Plan using the Change App Service Plan.
But sometime you will get No App Service Plan Found as this is the known restriction for the moving App Service plan.
Restrictions
We can move the App service plan only if the new plan is in the same resource group and geographical location.- These two conditions is is to ensure the new plan is in same webspace
Webspace
Azure deploys each new App Service plan into a deployment unit, internally called a webspace. Each region can have many webspaces, but your app can only move between plans that are created in the same webspace. An App Service Environment is an isolated webspace, so apps can be moved between plans in the same App Service Environment, but not between plans in different App Service Environments.
You can’t specify the webspace you want when creating a plan, but it’s possible to ensure that a plan is created in the same webspace as an existing plan. In brief, all plans created with the same resource group and region combination are deployed into the same webspace. For example, if you created a plan in resource group A and region B, then any plan you subsequently create in resource group A and region B is deployed into the same webspace. Note that plans can’t move webspaces after they’re created, so you can’t move a plan into “the same webspace” as another plan by moving it to another resource group.
You can find this in the official doc here and here
You can also refer this SO
You can configure a backup and restore on the new App Service under the new APp Service Plan.
Backup an app: https://learn.microsoft.com/en-us/azure/app-service/manage-backup#:~:text=The%20Backup%20and%20Restore%20feature,or%20restoring%20to%20another%20app.
Put your code in DevOps and deploy it to the new service plan and point DNS.
thank you for the tips
i found a work around. you can move app service plan to the same resource group, and then you can move apps from one plan to another.
Move resource first will do a check, after that you can review and finally move.

Deploy .ASMX Web Service to Windows Azure

I am totally new to Azure, I have stumbled across it as a I wish to farm out a Web Service for updating our database without hosting it internally and potentially involving any security risks.
Therefore I have got myself a free Azure Web Trial to see if its worth it. I have an .ASMX based Web Service (Because this is all I know to build) and I wish to deploy it to Windows Azure.
Is this at all possible?
Cheers,
James
Yes I've done just that myself. Add an AzureCloudService project to your solution (requires the Azure sdk); create as an empty project, do not select any web or worker roles as part of the project creation.
Under the Cloud service select Roles -> Add -> Web Role project in solution...
and select your existing web service project
From the context menu on the Cloud Service project you will be able to package or publish to Azure.
You could do that inside Visual Studio, right click on the name of the project and then click publish, and of course after that you will be asked to log into your azure account and with a click you'll have your web service deployed and ready to be consumed.