Serverless-spark Dialog

Description
Serverless-spark Dialog The Serverless-spark dialog is used to create a new independent computing service written in Python, utilizing the PySpark library.
Name field Specifies the name for the function. Input rules require that only lowercase letters (a-z) and numbers (0-9) are allowed, with no spaces permitted.
Comments field Specifies additional text to provide a brief description of the function's purpose.
{ANYNODE} field Specifies the {ANYNODE} where the function will be built and deployed.
Runtime field Specifies the runtime to be used for the function.
Lake Engine field Specifies the open table format for the data lake.
Lake Bucket field Specifies the S3 Object Storage bucket that will be used as the data lake storage.
View S3 Access Policy switch Toggles the view of the S3 Access Policy for this cluster.
Create button Saves the function's configuration and provisions it.
Cancel button Abort and close the dialog.

Serverless-spark Actions Menu

Description
Serverless-spark Actions Menu On the right-hand side of the Serverless-spark list view, you will find the "Actions" menu that displays shortcut icons and the dropdown menu icon. Below, we have listed the actions for the Serverless-spark module.
Copy ID item Stores the Function ID in the clipboard.
Edit Function item Opens the Serverless-spark window in edit mode, allowing modifications.
Publish to Stacks item Opens the "Publish to Stacks" confirmation dialog. If confirmed, the function is published to the sky.central.docker registry, making it available for reuse as a Solution Stack.
Delete Function item Opens a confirmation dialog that, if confirmed, deletes the key.

Serverless-spark Window

Description
Serverless-spark Window The Serverless-spark Window provides an interface with a code editor, deployment options, and tools for modifying the function's settings.
Files tree Displays the files and folders within the function's code space.
Plus button Allows you to create a new file or folder.
Save button Saves the function's configurations and the currently active code editor.
Deploy button Saves the function's configurations and the currently active code editor, then starts the build and deployment process for the function.
Test button Initializes the test configuration and executes the function for testing purposes.
Delete button Deletes the currently active file or folder. Note that you must double-click a file or folder to activate it before deletion.
Editor tab The code editor area displays a file and allows for its modification.
Test tab Displays the JSON data input area, which is used for testing the function.
Settings tab Displays the function's settings, such as Memory, Timeout, Environment Variables, and Build Commands, which can be adjusted for deployment.
Trigger tab Displays the configuration for invoking the function through an Event Hub. If enabled, the function will be triggered as soon as the Event Hub receives a message, which will then be forwarded to the function.
Repositories tab Displays the configuration for pulling from or pushing to a Git repository for the function's code space.
Log View tab Is used to view the logs of the function.


The serverless-spark Policy


The following is a list of policy grants that define and regulate access permissions for both users and the API. To manage these policies, please use the Roles dialog.

Grants

Description

API Command
full Grants full access ALL
delete Permits the deletion of the item. delete
delete-file Permits deletion of a file. delete-file
delete-folder Permits deletion of a folder. delete-folder
deploy-function Permits the deployment of the function. deploy-function
edit Permits access to the "Edit" dialog.  
get-folder Permits the retrieval of the contents of a folder.  
git-pull Permits the retrieval of the code from a Git repository. git-pull
git-push Permits the storage of the code to a Git repository. git-push
list Permits listing in the List View area or as JSON objects. list
monitor Permits the retrieval of the function logs. logs
new Permits access to the new "Provisioning" dialog.  
new-file Permits the creation of a new file.  
new-folder Permits the creation of a new folder. new-folder
publish Permits the publishing of the function in the registry. publish
read-file Permits the retrieval of the contents of a file. read-file
save Permits execution of the provisioning process. create, update
status Permits the retrieval of the status of the function. status
test-function Permits the testing of the function. test-function
write-file Permits writing contents to a file. write-file