Automatic File Tracking
The Ionbay and Ionrow components are integrated in such a way that Ionbay notifications can automatically be sent to Ionrow if the bay created within Ionbay has a parent that matches the row ID from Ionrow. This allows users to track and monitor changes to their data within Ionbay, and to automatically receive notifications within Ionrow when these changes occur.
Enable tracking
To enable this integration, the user must first create a new bay within Ionbay using the ionflow bay add command. The --parent flag should be used to specify the row ID from Ionrow that the bay should be associated with.
For example, to create a new bay with a parent row ID of my-row-id, the following command can be used:
ionflow bay add --parent my-row-id
Once the bay has been created, Ionbay will automatically send notifications to Ionrow whenever a change is detected within the bay. These notifications will be associated with the specified row ID, and they will appear within Ionrow in real-time.
The Ionrow interface provides users with the ability to explore files within their bays. They can view file size, nested directories, and explore all artifacts easily using the interface.
To access the file explorer, users can navigate to the Ionrow interface and select the bay that they want to explore. The interface will display a list of all files and directories within the bay, including their sizes and any nested directories.
Users can then click on a file or directory to view its contents and explore its artifacts. The interface will display a preview of the file or directory, along with any additional information such as the file size or the number of nested directories.
Usage
Once a bay is created using the ionflow bay add
command, a directory path will be returned. This directory path will be in the form of /var/lib/ionbay/parent-row-id/A1
, where parent-row-id is the ID of the parent row that the bay is associated with and A1 is the ID of the bay. Any files placed into this directory will automatically be associated with the parent-row-id row in Ionrow.
The directory path for the bay can be used to store and manage files in the same way as any other directory on the system. Users can use normal commands such as rm
and mv
to delete or move files within the directory, and these actions will automatically be tracked by Ionbay and reflected in the Ionrow interface.
In addition, any changes to the files within the bay directory will be automatically detected and tracked by Ionbay. This includes changes to the contents of the files, as well as any changes to the file names or locations within the directory. These changes will be reflected in real-time in the Ionrow interface, allowing users to track and monitor their data within the service.
Finally, any nested directories will automatically be tracked as well.