Integrating LEXIS with Waldur
Creating a LEXIS link for a resource
To create a LEXIS link integration with a Waldur resource the API request shown below can be sent (http refers to HTTPie client).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
Alternatively this can be done through UI of Waldur as shown below.
Note: To be able to create a LEXIS link for a resource using Waldur UI:
- the offering related to the resource has to have the HEAppE options below set;
- the feature
Enabled LEXIS link integrations for offerings.should be enabled in Waldur site settings.
| Option | Kind | Required | Description |
|---|---|---|---|
heappe_url |
plugin | yes | HEAppE server endpoint |
heappe_username |
plugin | yes | HEAppE service account username |
heappe_password |
secret | yes | HEAppE service account password |
heappe_cluster_id |
plugin | yes | ID of the target cluster in HEAppE |
heappe_local_base_path |
plugin | yes | Root directory on the cluster under which project directories are created |
heappe_identifier |
plugin | no | Which HEAppE instance the offering targets, e.g. it4i-heappe-prod. Distinct from the cluster ID: when a provider runs several HEAppE instances, consumers such as LEXIS use it to pick the right one |
heappe_cluster_password |
secret | no | Cluster password |
scratch_project_directory |
plugin | no | Temporary scratch directory path |
project_permanent_directory |
plugin | no | Persistent project directory path |
Plugin options are returned with the offering, including on the public offering endpoint, so heappe_identifier is visible to anyone who can see the offering. Secret options are only shown to users who can manage the offering's integration.
You can set these settings via UI, in the LEXIS integration section of the offering's integration settings:
After offering setup, you can create a LEXIS link for an existing resource:
Listing all LEXIS links
To view all LEXIS links the API request shown below can be sent.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
Response example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | |
Note: A LEXIS link can be in one of the following states:
- Pending
- Executing
- OK
- Erred
Listing LEXIS links can alternatively be done through Waldur UI by visiting resource details
or use administration menu if you are a staff user
Listing resources supporting LEXIS links
To list all resources supporting LEXIS links, the following API request can be used:
1 | |
The main filter is lexis_links_supported parameter.
The example response:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | |
Deleting LEXIS links
To delete a LEXIS link the API request shown below can be sent.
1 2 3 4 5 6 7 8 9 10 11 12 13 | |







