hp-uft record checkpoint in Application area attached Object Repositoriy - hp-uft

How do i copy a recorded checkpoint from my Local Object Repository to the Application Area repository.
Steps attempted:
in the test click record button and create a Bitmap capture
not sure how to move this recorded checkpoint to the attached application area Repository.

You need to export your local repository, then you can add it to the application area

Related

Ways to Trigger a Databricks Notebook

Can someone let me know the possible ways to trigger a Databricks notebook? My preferred method is via Azure Data Factory, but my company is sadly reluctant to deploy ADF at this present moment in time.
Basically, I would like my Databricks notebook to be triggered when a blob is uploaded to Blob store. Is that possible?
You can try Auto Loader: Auto Loader supports two modes for detecting new files: directory listing and file notification.
Directory listing: Auto Loader identifies new files by listing the input directory. Directory listing mode allows you to quickly start Auto Loader streams without any permission configurations other than access to your data on cloud storage. In Databricks Runtime 9.1 and above, Auto Loader can automatically detect whether files are arriving with lexical ordering to your cloud storage and significantly reduce the amount of API calls it needs to make to detect new files.
File notification: Auto Loader can automatically set up a notification service and queue service that subscribe to file events from the input directory. File notification mode is more performant and scalable for large input directories or a high volume of files but requires additional cloud permissions for set up.
Refer - https://learn.microsoft.com/en-us/azure/databricks/spark/latest/structured-streaming/auto-loader

Clearcase UCM. Unable to deliver

I created a new development stream out of an Integration stream. On the dev stream I created a dynamic view and an activity. I then added a new directory to an existing directory using clearfsimport.
e.g. cd to the parent directory where I want to add the new dir. then run:
clearfsimport -recurse -follow -nsetevent -c "adding new version" ~/newdir .
When it's all done I try to deliver the activity using clearcase project explorer. This throws an error like so:
"Merge Manager: warning: Element xxxx is not visible in view <Integration view name>
... ... ...
If this element should be visible cancel this operation, fix the prolem, and re-run the operation"
I have been doing this every week for months now and never had an issue. I'm really not sure what am I missing here or how to fix it. If it helps, the mastership of the Integration stream was transfered from a remote replica to ours. All my previous delivers were on the remote replica. But now I have complete mastership over the integration stream.
It depends on the nature of the target view (the one in which you are doing the deliver, the one associated with the integration stream): snapshot or dynamic.
You would need to check if the parent folder of xxxx is correctly checked out (or if you can check it out).
A cleartool ls in that parent folder of 'xxx' in the target (integration) view can help to test if everything seems ok.
If you are using a snapshot view, a cleartool update before the deliver can help too.
Since the integration stream mastership has just been transferred from a remote replica to your site, I would suggest the following:
1) Make sure you have created a view associated to the integration stream on your site
2) Make sure that the default delivery view is set to your integration view. You might need to reset it using the command
cleartool deliver -reset -to your-integration-view
The command above has to be launched from your development view.
I suggest you have a look at the cleartool deliver command

Checkpoint not found when placed in Shared Object Respository

I am able to move a checkpoint from local OR to shared OR but when the code is executed it fails to find the checkpoint located in the shared OR. Anyway I can make this happen-please help?
*OR=Object Repository
Using HP UFT 11.53
NOTE: My checkpoint code is NOT in the Action1 but in a separate .vbs file which I call from the Action1. Also I am NOT using the local OR at all only using shared OR.
Have you associated this separate .vbs script with the test? If you're unaware of how to do this, I suggest you check this link:
http://www.automationrepository.com/2011/09/associate-function-library-to-qtp-script/

Cross region copy of ec2 snapshot

I am trying to write a script to snapshot my ec2 volumes and once a week move a copy of those snapshots from my current region to a different region. I have the first part down but I can't find any documentation about moving snapshots or copying snapshots cross region. I am using the aws-sdk gem. Has anyone done something similar? I see the ec2-copy-snapshot command in the CLI tools and I see the copy_snapshot method the part that confuses me is that it looks like it requires the creation of an ec2 client? Should the client be connected to the destination region? The use of the client is not clear.
So it turns out that you do need to create a client Object in the end region.
client = AWS.ec2.client.with_options({:region => #end_region})
Once you have your client then you can initiate your copy with copy_snapshot
client.copy_snapshot({:source_region => #start_region, :source_snapshot_id => snap_in_start_region.id, :description => snap_in_start_region.description})
One problem I did run into was starting a group of snapshots then switching to the end region to monitor the progress before starting another group. If you look for a specific snapshot like this.
AWS.ec2.snapshots['snap-XXXXXXXXX']
But you are configured to an incorrect region it will tell you that the snapshot does not exist once you try to interact with the snapshot, NOT when you initially request the snapshot.
In the end I just used the client to initiate copies no monitoring worked great!

Nexus OOS - Clean up the proxy/attributes/

I got a Nexus OOS instance with the following settings:
proxy of the http://repo1.maven.org/maven2/
I override the "local storage location" with a path to a network device
Everything is ok and my Nexus instance works fine... but I notice the number of inodes grows a lot.
After a little check, I can tell every inodes come from the proxy/attributes/ directory.
According to the documentation:
Stores data about the files contained in a remote repository. Each
proxy repository has a subdirectory in the proxy/attributes/ directory
and every file that Nexus has interacted with in the remote repository
has an XML file which captures such data as the: last requested
timestamp, the remote URL for a particular file, the length of the
file, and the digests for a particular file among other things. If you
need to backup the local cached contents of a proxy repository, you
should also back up the contents of the proxy repository's directory
under proxy/attributes/.
Ok I understand why there is a lot of little files in this location but I have a dummy question: to avoid to reach my inode limit, could I periodically clean up the content of proxy/attributes/, without breaking anything and does these files will be recreated 'on demand' if needed?
I find nothing about it...
Any clue will be greatly appreciated!
You can find details on the contents of the working folder here: https://docs.sonatype.com/display/SPRTNXOSS/Nexus+Workspace+Directories+Analysis
The part you're specifically interested in is this:
/Proxy: This folder contains an "attributes" subfolder, that holds as
many subfolders as many repos you have (repoId is the name of
these). This is the place where "item attributes" are persisted as lots
of very small files. These files contain information about expiration
status and are consulted during proxying. Therefore, they have impact
on proxy and group lookup speed if stored on a slow disk. These files
are recreated on demand if they are missing or corrupted and thus
don't need to be backed up.
Hope that helps, if you need more realtime assistance, feel free top hop onto the user list or irc: http://nexus.sonatype.org/project-information.html

Resources