Release Notes#
Hub 1.1#
Hub 1.1 is minor version change with added functionalities and backward compatible changes.
New functionality#
File upload and download#
Cegal Hub 1.1 enables file upload and download using a Cegal Hub Agent.
File downlaod:
cegalhub agent --file-download-path='file download directory'
Makes the specified directory path available to clients. A value of ‘*’ means all paths are accessible. A value of ‘.’ means the current working directory. An empty value will use the default files path. The Hub client application can only pass explicit file names to be downloaded from the Cegal Hub Agent. No wildcard options are available to scrap the entire download location.
cegalhub client --agent-file-download="filename.fileextension"
File upload:
cegalhub agent --file-upload-path='file upload directory'
Sets the default file upload directory path available to clients. A value of ‘.’ will use the current working directory. An empty value will use the default files path. (default: <path to file>)
cegalhub client --agent-file-upload="filename.fileextension"
To allow file upload to more than one specific directory use the flag ‘file-upload-extra-path’
--file-upload-extra-path='file upload directory'
By default file overwrite is disallowed. This needs to be explictily enabled by using the flag ‘file-upload-allow-overwrite’
cegalhub agent --file-upload-path="file upload directory" --file-upload-allow-overwrite=True
Auto activate hub server#
Cegal Hub 1.1 will auto-activate a Hub Server when a user has the ‘hub_server’ claim on Keystone: This will happen when:
starting an agent from a command-line-interface
making authenticated client request (–auth flag) from a command-line-interface
making authenticated client request from a Python client
starting up Petrel with auto-connect option enabled
Changed functionalities#
allow-file-list changed to file-list-path#
When starting a Cegal Hub Agent with the option to allow it to list files the command-line-interface flag changed to --file-list-path. This allows clients to list files recursively from the given directory. A value of ‘*’ means all paths are accessible. A value of ‘.’ means the current working directory. An empty value will use the default files path.
./cegalhub agent --file-list-path *
Bug fixes#
Device flow auth#
When using device flow on a Windows desktop machine to avtivate a Hub Server a internet browser was started. This should have been prevented by the use of the –use-device-flow flag. In Hub 1.1 this is fixed.
Hub 1.0#
Hub 1.0 is the first release of Cegal Hub. It enables users to connect data and applications securely in real-time. Hub can be deployed on a local machine, on a network server, in a cloud VM, or container. It runs on Windows or Linux OS.
Hub functionality#
Hub Server - Routing messages between client and connector applications
Hub Agent - Execute messages received from the Hub Server
Hub Client - A built-in Hub client application
Hub Petrel connector - A Petrel plugin framework component to support registration of Hub-enabled functionality and Petrel project lifecycle management
Hub Python library - A Python library that acts as a client to support Cegal Hub related operations
For more detailed description of the components and functionality please go to the Getting Started section or the User Guide.