from CDAP documentation exists an HTTPS post-run plugin to trigger pipeline start based on the successful execution of another pipeline (Scheduling). I'm trying to use this functionality in GCP Data Fusion but the plugin even if installed (because I can see it from Control Center) seems to be not available.
I also tried to install manually the plugin HTTP Plugin v2.2.0 as stated in the documentation but has only sink and source action. Also if I try to use the plugin an error is displayed
HTTP Properties 1.2.0 (No widgets JSON found for the plugin. Please check the documentation on how to add.)
this error seems related to the fact that Data Fusion is trying to use version 1.2.0 (the one already installed) with properties of version 2.2.0.
Any suggestions on how to solve this issue?
Update
I can see the two vesions http-plugin from Control Center
but I cannot set the version
Problem about http plugin hasn't been solved but I found the existence of pipeline trigger to execute pipeline based on status of another pipeline, this feateure is only available with Enterprise edition.
I believe you can find HTTPCallback post action plugin for the particular batch pipeline attaching appropriate pipeline alert.
Following Configure menu from the main dashboard plate:
Create the new Alert object invoking HTTPCallback plugin properties list:
Depending on the version of the you Data Fusion instance, it may still be defaulting to the old version of the plugin. To select the new version of the plugin you should:
Navigate to the Studio
Hover your mouse over the HTTP plugin in the sidebar
After a second or so, a box will appear with the plugin details. You will see the current version of the plugin and a button beside it that says "Change", click on this button. If you don't see this button that means you only have one version of the plugin in your instance.
You will see a list of all the versions of the plugin in this instance, select the one you want. The version you select will be the new default version.
You should now be able to use v2.2.0 of the plugin.
Related
I have a package whose previously installed versions contain a series of poorly designed custom actions: they do stuff that can be done out of the box. Thus I'm removing those for the future versions.
A series of bugs is casued by a condition for those custom actions - they all run the second time during an uninstall step during an upgrade. In order to circumvent the undesirable behavior I'd like to supply a Custom Action which modifies the database of a previously installed application if one was detected.
Given an application name, version and custom action name, how can I disable it for an uninstall step during a custom action on upgrade?
My attempt to ammend the Custom Action condition failed when I run my code within a C++ custom action during an upgrade installation: MsiOpenDatabaseW throws access violation when executed within an msi custom action
Basically I am using MsiOpenDatabaseW to modify the cached msi database. It works when running within a standalone executable, but causes access violation within a Custom Action.
You need to amend the 'Condition' of the InstallExecuteSequence/InstallUISequence for the Custom Action of the cached (installed) MSI. An example can be found here, which searches for the cached MSI based on the ProductCode and amends the Condition of a Custom Action in the InstallExecuteSequence:
https://www.alkanesolutions.co.uk/2012/12/08/editing-msi-files-in-the-windows-installer-cache/
EDIT: Some colleagues wrote a free guide on installation testing. Maybe it will be useful in the future, to avoid such costly mistakes.
A simpler solution I recommend is to manually fix the condition on your machine and rebuild the MSI.
Then take this MSI and include it in the next version of your application, and run a custom action to re-cache it, before the RemoveExistingProduct standard action.
msiexec /fv <path of the fixed msi>
This way, the installer with the wrong condition is re-cached before the upgrade is triggered and you don't need to write code that actually modifies the cached MSI dirrectly
I would like to test GEO map gadget using WSO2 DAS.
I have a stream with geo coordinates (e.g.: latitude=51.509865, longitude=-0.118092). My goal is to show points on the map in real time (real time datasource) using Geo Map chart type. I set only Id, latitude and longitude properties (default for others). In the result I see the map without points any points.
I cannot find detailed information and examples in documentation.
Is it possible or I have to use GPL - Siddhi Geo Extension?
As per the documentation
Download GPL feature as mentioned in the Prerequisites section.
As per the steps in the GPL feature installing documentation,
Start WSO2 DAS
Log into the DAS Management Console.
Click Configure in the side toolbar, and then click Features.
Click Repository Management, and then click Add Repository.
Enter the details as shown below to add the created P2 repository.
Click the Available Features tab.
In the Repository parameter, select the WSO2 GPL Feature Repository repository you previously added.
Remove the tick for "Group features by category" Click Find Features. Once all the features are listed, select the "GPL - Siddhi Geo Extension" feature and install.
Copy the two extension JAR files in the / samples/cep/utils/geo-dashboard-extensions/ directory to the /repository/components/lib/ directory.
Navigate to the /repository/resources/geo-dashboard directory and copy all the folders into the /repository/deployment/server directory.
Download GeoTools GIS toolkit
Copy the following client JAR files from downloaded directory to /repository/components/lib/
gt-geojson-13.1.jar
gt-main-13.1.jar
gt-metadata-13.1.jar
jai_core-1.1.3.jar
jai_imageio-1.1.jar
Download JTS Topology Suite.
Copy jts-1.8.jar from /lib directory to both /repository/components/lib directory
Copy /samples/capp/org_wso2_carbon_geo_dashboard-1.0.0.car to /repository/deployment/server/carbonapps
Add <\Role>GeoDashboard</Role> to /repository/conf/carbon.xml under <\ServerRoles> parent tag
Add the Geo_DB datasource as mentioned in the 3rd step of prerequisites.
Restart the DAS server and you can access the dashboard via this url
You can then simulate some events through the simulator and see.
Click Tools in the side toolbar, and then click Simulator.
Add the following and send the event.
You will be able to see the sent information (Zoom out the map)
Best Regards,
Ramindu.
I have a tool which requires boto3's direct connect functionality. However I cannot tell from which version onwards boto3 includes this functionality.
Is there any way to obtain the older version of the docs to see at which point direct connects were added?
At this point in time the latest is 1.4.4.
boto3 development is an open source initiative. So you can always checkout botocre development repository for the release notes, or ask question there.
changelog.rst will show a brief list of changes.
Then use following command to switch to specify tag version and look for the date of commit.
git checkout tags/<version_name>
When setting up a basic A/B test on a component using page editor, I received error with the following appearing in the log:
Exception: System.InvalidOperationException
Message: Test item is not in workflow
Source: Sitecore.Analytics
at Sitecore.Analytics.Data.Items.TestDefinitionItem.Start()
at Sitecore.Shell.Applications.WebEdit.Commands.Testing.StartTest.Run(ClientPipelineArgs args)
Attempting to start test created a Multivariate Test Definition Item with empty workflow section in the Test Lab
I'm thinking that those Workflow fields should have been appropriately set when using the UI on the page editor to create and start the test.
I guess I'll try reflector to find that error message in the binaries and keep digging.
Sitecore Version: 6.5.0 (rev. 120706)
I realize this is an old question, but I just encountered the same thing in 8.1 update 3. In my case it was because the workflow associated with testing (Analytics Testing Workflow, unless you've made your own) had been deleted on my local installation. Restoring it from one of our other servers made the error go away.
In Sitecore 8.1 and above there is a setting which can be turned on to allow the content authors to start test via experience editor.
Please add the below settings either as patch config file or
You can edit the value in the config file (Sitecore.ContentTesting.config).
Setting name is “ContentTesting.AlwaysShowTestCandidateNotification”
I have created a windows install deployment for my C++ application using VS2010. However my problem is that I don't know how can I squeeze in some of my own code to the installation wizard (and is it possible at all?). The problem is that during installation I want:
ask the user to provide his installation key,
grab the hardware fingerprint (I already have an algorithm for that with WMI),
sent both keys using my own c++ communication libraries (so NOT the browser),
continue the installation after receiving a confirmation from the server.
Moreover, this would require adding custom items to the installation wizard like the input field for installation key, or pop up boxes witch error warring like:
Couldn't connect to the server. Please check your internet connection before continuing with the installation.
So it's in fact a 2 level question:
How to run my C++ source files during the installation wizard?
How to add custom element to the installation wizard GUI?
So far it has been hard to find anything helpful in Google. :/
Check Windows Installer, more specifically Custom Actions:
The developer of an installer package may write code to serve their own purpose, delivered in a DLL. This can be executed during the installation sequences, including when the user clicks a button in the user interface, or during the InstallExecuteSequence. Custom Actions typically validate product license keys, or initialise more complex services. Developers should normally provide inverse custom actions for use during uninstallation.
Msiexec provides a way to break after loading a specified custom action DLL but before invoking the action.