How to import/export the tracking setting of a policy - biztalk

I've noted from the MSDN page that policy isn't exportable to a bindings file.
Is there another way to import/export the tracking setting?

Try looking at the following MSDN page which describes the method by first exporting only the policy using BTSTask into an MSI and afterwards using BTSTask to import them again.
BTSTask does not provide a specific command for importing policies;
however you can use the ExportApp command of BTSTask to selectively
export only the policies in an application that you want, including no
other application artifacts. Then you can use the ImportApp command to
import the .msi file into an application in a different BizTalk group.
This is the approach described in this topic. When you do this, the
policy is automatically imported and published in the BizTalk group
and added to the specified application.
Hope this helps!

Related

how to develop a custom connector in SailPoint

I am novices to the field of Identity and Access management.
Till now I know, Sail point has provided the some direct connectors to integrate the known systems like LDAP, HR systems, OIM, Databases..
And sailpoint also provided the support for disconnected applications with the use of Custom connectors.
Here, My question is how to develop a custom connector..?
I do not have jar file provided by sailpoint which contain "AbstractConnector" class.
So that I can write my own class and develop..?
I also so not understand, what to do with that class?(if i have a jar)
How sailpoint will refer to that class..
Do we need to deploy that class to somewhere...
Here I am expecting the complete flow to develop and deploy the custom connector..
If anyone is working please help..
If you unzip your identityiq.war, you'll find a JAR file called WEB-INF/lib/connector-bundle.jar. This is the JAR where you'll find AbstractConnector. Once you've written your connector code, you will need to compile it and bundle it into a JAR file, which you will place into WEB-INF/lib.
Finally, you will need to update the ConnectorRegistry object (under Configuration on the debug screen) to reference the new class, which will make it available as an Application type. If it has custom connection parameters (as most do), you will also need an xhtml page that will be embedded into the Sailpoint UI to prompt the user configuring the Application.
If you have Compass access, they have a whitepaper called Custom Connectors that you will find helpful.
All that said, I encourage you to try to find a way to use an out-of-box connector if possible.
Most of the times it will be better if you use the DelimitedFile connector, you can import a CSV of identity data, and make it work within Sailpoint's workflow. You will be able to map fields, correlate accounts and create multi-valued group memberships rapidly. Of course, this means that Sailpoint will not be connected directly to the application, and you will have to develop a workflow to extract the identities and upload them. But at least, you can integrate without going the Custom Connector way.

Database backup Azure Resource Manager

Is there a way in Azure Resource manager to take a copy of an existing database? Currently I know there is a database import option, which points to a bacpac file in Blob Storage and creates a new database from that file, but the process to create the file is a manual one at this point. With that, what is the current process to create bacpacs and put them in Blob storage in an automated way through ARM?
There is a way to specify the createMode of your database in the ARM template. This is very undocumented stuff but I found this in the REST api documentation and then just tried in the ARM template.
You can specify the properties "createMode" and "sourceDatabaseId".
I am not using this functionality because the sourceDatabaseId needs to be in the same subscription which was not the case with me. So i export the bacpac manually and then use an ARM template to import the bacpac (which also is undocumented but I commented the ARM template used here: https://azure.microsoft.com/en-us/documentation/articles/sql-database-import/)

How can you programatically export a receive location?

How can you programatically export a BizTalk receive location?
And extending the question ... receive ports and send ports
There's a few ways to approach this, each with benefits and drawbacks.
WMI: http://msdn.microsoft.com/en-us/library/aa547992.aspx
The drawback is this is by Assembly, so you'd have to enumerate them first.
BTSTask.exe: http://msdn.microsoft.com/en-us/library/aa559686.aspx Better, since it allows you to specify an Assembler or an Application. There's no object model, but executing from another program or script works fine.
PowerShell Provider for BizTalk: http://psbiztalk.codeplex.com/
The way to go if you're scripting in PowerShell already.
You should just be able to export the bindings to an xml file and import them in your target environment. This article outlines the steps...
http://msdn.microsoft.com/en-us/library/aa560753.aspx
Further if you are going to be doing deployments to multiple environments you should look at the BizTalk Deployment Framework...
http://biztalkdeployment.codeplex.com/

Programmatically define WCF-BasicHttp/WCF-WSHttp setting while consuming WCF service in BizTalk orchestration

I was trying to consume an already written WCF service into my BizTalk orchestration. But while configuring the ports and port types for the consumption, found that the 'WCF service consumption wizard' in Visual Studio offers HTTP transport-type as the only option and no WCF-BasicHttp/WCF-WSHttp transport-type options are available.
However, we can always do the required WCF-BasicHttp/WCF-WSHttp settings by importing the required bindings file from the BizTalk Admin Console, Is there a programmatic way for the developers to do the same from inside the Visual Studio (instead of specifying those bindings later from the Admin Console)?
The binding files are just XML, so you can create those programmatically. Modify the XML as you see fit, either by hand (e.g., in the built-in XML editor) or by using some sort of custom code.
Typically we use multiple binding files per environment, including one that just works with everything on localhost for developers. You just pick the one that you want and import it into BizTalk or write a script automatically import it for you (such as after build).
You can also take a look BizTalk Deployment Framework. For more of that.
Michael Stephenson has a great post on using MSBuild to automate your deployments, including the BizTalk binding files, here.

BtsTask to import policy

I am looking for a way to import BRE generated policy with its vocabularies into BizTalk application from a command line (in order to script it) leveraging BtsTask command line tool.
I've searched around, and couldn't find a firm answer.
If the msi for your application includes the BRE rules for that app, then the ImportApp command of BTSTask will publish them to the BRE for that environment. There isn't a separate BTSTask command for importing policies by themselves. If for some reason you want to import just the policy with no other artifacts, you can do so by exporting just the rules into an msi by themselves, then use BTSTask ImportApp to import the msi.
Check out this link for more info:
http://msdn.microsoft.com/en-us/library/aa577374.aspx
You can use the PowerShell provider for BizTalk.
This allows you to script, amont other things, policy and vocabulary deployment.
This can provide an alternative to MSBuild which is more geared, in my opinion, to the development than to be used to support operations management.
The provider is available on CodePlex:
http://psbiztalk.codeplex.com

Resources