I am looking for a way to automatically import a dataflow directly into a workspace.
Does anyone have a solution?
And has anyone ever managed to set up a PowerShell script with this API: https://learn.microsoft.com/en-us/rest/api/power-bi/imports/post-import-in-group
And if so, could they tell me how?
Thanks in Advance
I try to test this API in Postman and PowerShell
Related
I'm not sure how importing module in python really works in Azure Databricks. First, I was able to make it work using the following:
import sys
sys.path.append("/Workspace/Repos/Github Repo/sparkling-to-databricks/src")
from utils.some_util import *
I was able to use the imported function. But then I restarted the cluster and this would not work even though the path is in sys.path.
I also tried the following:
spark.sparkContext.addPyFile("/Workspace/Repos/Github Repo/my-repo/src/utils/some_util.py")
This did not work either. Can someone please tell me what I'm doing wrong here and suggest a solution. Thanks.
on Azure in repo's script of CI/CD for the best practices which code to use: JSON or PowerShell or CLI ?
which code from above is the best and professional way to use ?
Thank you.
As for the best practices of script of CI/CD, each of them has their own features and could be used in it.
For example, when you would like to create the script to build VMs, you could select the JSON one because through the JSON script, you could see all information of the VMs more directly than other kinds of scripts. You could see the example through https://learn.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-build-deploy-azure-pipelines?tabs=java-script .
As for building AKS, you could use Power shell to create the script as it needs fewer related properties to be defined while comparing with other scripts. You could see some examples in the following document https://learn.microsoft.com/en-us/azure/aks/kubernetes-walkthrough-powershell
To be concluded, each kind of way to create the script is available for CI/CD and you could select which you are used to using or according to the advantages of each script.
I was having trouble importing a csv, so I created a table without loading and went through the pgAdmin 4 importer - which worked! But now I want to see what it did differently to make it work. Is there a way to see the script behind the import job?
Thanks!
Check the pgAdmin4.log, You might get the complete command executed by pgAdmin4 in the log file itself.
I'm looking at a possible script to automated the rpd deployment from one environment to another (dev,test,prod). Has anyone ever worked on such a script on a Windows based platform. There is a runbat.cmd in OBIEE, however there are no instructions on how to build the script.
Any suggestions would be greatly appreciated.
Thanks
Yes, you can automate rpd deployments using wlst scripting language: to connect to weblogic, lock configuration, upload the new RPD, save changes and perform a system restart.
However you'll probably have to perform some aditional tasks to the RPD before uploading it, tipically, changing the connection information, because it will be different between enviroments. For that you'll need to automatically patch the RPD with the correct connection information, using XUDML files.
Here are two blogpost with examples on how to do this, you can adapt the scripts to your own needs:
http://www.askjohnobiee.com/2013/03/how-to-automatic-repository-deployment.html
http://adventuresinobiee.blogspot.co.uk/2013/02/scripted-rpd-deployments-using-udml-and.html
Regards
Ana GH
in SOA suite 12c, I am running a sample OSB WLST script which has from com.bea.wli.sb.security.management.configuration import ALSBConfigurationMBean
but getting an import error as no module named security, have added all the jars from %OSB_HOME%/lib/modules/.jar and %OSB_HOME%/lib/.jar, but still getting the same import error, any idea how to resolve this, also could you please help on this query, is it possible to select/attach the OWSM policy to a proxy service using the wlst script, if so please advice how it can be achieved?
Thanks for the help.
As far as classpath goes, the classpath I use to call WSLT is:
${weblogic.home}/server/lib/weblogic.jar:${osb.home}/modules/*:${osb.home}/lib/alsb.jar:${osb.home}/lib/sb-kernel-wls.jar:${osb.home}/lib/sb-kernel-impl.jar:${osb.home}/lib/sb-kernel-api.jar${osb.home}/lib/modules/*:${osb.home}/lib/transports/*
(replace with windows-style ; path separators if required)
is it possible to select/attach the OWSM policy to a proxy service using the wlst script, if so please advice how it can be achieved?
Personally, I'd extend Configurator so I could add it to the sb-jar, preferably before it goes into a Maven repository. I believe I've mentioned something similar in a question you asked previously.