Skip to content

Commit db5a9e0

Browse files
authored
Merge pull request #135 from vidispine/release-1.31
Release 1.31
2 parents a9c9088 + f67c426 commit db5a9e0

File tree

13 files changed

+113
-92
lines changed

13 files changed

+113
-92
lines changed

hull-vidispine-addon/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Basic chart description and version
22
apiVersion: v1
3-
appVersion: 1.30.0
3+
appVersion: 1.31.0
44
description: hull-vidispine-addon
55
name: hull-vidispine-addon
6-
version: 1.30.6
6+
version: 1.31.0

hull-vidispine-addon/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ Describes a particular entity on a subresource on an endpoint which is communica
186186
| `contentType` | The content type header for POST or PUT of the entity `config` and the accept header for all calls. Supported choices are `application/json`, `application/xml` and `text/plain`. Defaults to `application/json`. | `application/json` | `POST` <br> `PUT`
187187
| `postQueryParams` | Query Parameters to add to the Url of a POST command. Not a frequent use case but required to submit for example the `guid` of a UseCaseDefinition to migrate. | | `POST`
188188
| `putInsteadOfPost` | Some APIs use PUTting instead of POSTing for creation of new entities. If the subresource uses PUTting instead of POSTing, set this parameter to `true`. | `false` | `POST` <br> `PUT`
189+
| `multiPartFormData` | Setting this switch to `true` allows to POST single files as multiPartFormData. If `true`, the `config` section is expected to contain a single deliberately named key whose value is the relative file path to the file which is to be POSTed. For example, the following data will post the `myicon.svg` file to the API endpoint: <br><br>`multiPartFormData:`&#160;`true`<br>`config:`<br>&#160;&#160;`files:`&#160;`icons/myicon.svg`<br><br>Physical files need to be stored under `files/hull-vidispine-addon/installation/sources` or a direct subfolder of this path.| `false` | `POST`
189190
| `putUriExcludeIdentifier` | Some APIs handle PUTting of entities by PUTing to the parent resource and specifying the entity to create in the body. If the subresource handles PUTting in that way, set this parameter to `true`. If `false` or unspecified, PUT calls will be made to the path which ends with the entities __identifier__. | `false` | `PUT`
190191
| `putQueryParams` | Query Parameters to add to the Url of a PUT command. | | `PUT`
191192
| `remove` | The entity will be DELETEd if it exists. If both `register` and `remove` is true, any found entity is first removed if it exists before it is being created. | `false` | `DELETE`
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Basic chart description and version
22
apiVersion: v1
3-
appVersion: 1.30.0
3+
appVersion: 1.31.0
44
description: hull-test
55
name: hull-test
6-
version: 1.30.0
6+
version: 1.31.0
77
dependencies:
88
- name: hull
9-
version: "1.30.4"
9+
version: "1.31.0"
1010
repository: "https://vidispine.github.io/hull"
Binary file not shown.
Binary file not shown.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: hull
33
repository: https://vidispine.github.io/hull
4-
version: 1.30.4
5-
digest: sha256:334b440f70f4179f176fa61b0e71b2f62c1d80573dbd22d1e89cf6813246b7e0
6-
generated: "2024-07-31T18:53:19.1473599+02:00"
4+
version: 1.31.1
5+
digest: sha256:576263879bbb1616bb924f56a90e381218a44a3f7b4a201aa124a3fe6ec5d1d9
6+
generated: "2024-10-02T10:02:53.0596199+02:00"

hull-vidispine-addon/files/test/HULL/specs/concepts/metadata_basic.cpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ General label section must be populated with overriden names
99
* All test objects have key "metadata§labels§app.kubernetes.io/managed-by" with value "Helm"
1010
* All test objects have key "metadata§labels§app.kubernetes.io/name" with value "a-shorter-name"
1111
* All test objects have key "metadata§labels§app.kubernetes.io/part-of" with value "undefined"
12-
* All test objects have key "metadata§labels§app.kubernetes.io/version" with value "1.30.0"
12+
* All test objects have key "metadata§labels§app.kubernetes.io/version" with value "1.31.0"
1313

1414
Static names can be created
1515

@@ -66,7 +66,7 @@ General label section must be populated
6666
* All test objects have key "metadata§labels§app.kubernetes.io/managed-by" with value "Helm"
6767
* All test objects have key "metadata§labels§app.kubernetes.io/name" with value of key "chart" from scenario data_store
6868
* All test objects have key "metadata§labels§app.kubernetes.io/part-of" with value "undefined"
69-
* All test objects have key "metadata§labels§app.kubernetes.io/version" with value "1.30.0"
69+
* All test objects have key "metadata§labels§app.kubernetes.io/version" with value "1.31.0"
7070

7171
Static names can be created
7272

hull-vidispine-addon/files/test/HULL/specs/job.spec

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ Test creation of objects and features.
7373
* Test Object has key "spec§template§spec§containers§0§volumeMounts§3§mountPath" with value "/custom-installation-files"
7474
* Test Object has key "spec§template§spec§containers§0§volumeMounts§4§name" with value "etcssl"
7575
* Test Object has key "spec§template§spec§containers§0§volumeMounts§4§mountPath" with value "/etc/ssl/certs"
76-
* Test Object has key "spec§template§spec§containers§0§volumeMounts§5§name" with value "installation"
77-
* Test Object has key "spec§template§spec§containers§0§volumeMounts§5§mountPath" with value "/script/installation.yaml"
78-
* Test Object has key "spec§template§spec§containers§0§volumeMounts§5§subPath" with value "installation.yaml"
7976

8077
* Test Object has key "spec§template§spec§volumes" with array value that has "6" items
8178
* Test Object has key "spec§template§spec§volumes§0§name" with value "certs-opensearch"
@@ -108,9 +105,6 @@ Test creation of objects and features.
108105
* Test Object has key "spec§template§spec§containers§0§volumeMounts§5§mountPath" with value "/custom-installation-files"
109106
* Test Object has key "spec§template§spec§containers§0§volumeMounts§6§name" with value "etcssl"
110107
* Test Object has key "spec§template§spec§containers§0§volumeMounts§6§mountPath" with value "/etc/ssl/certs"
111-
* Test Object has key "spec§template§spec§containers§0§volumeMounts§7§name" with value "installation"
112-
* Test Object has key "spec§template§spec§containers§0§volumeMounts§7§mountPath" with value "/script/installation.yaml"
113-
* Test Object has key "spec§template§spec§containers§0§volumeMounts§7§subPath" with value "installation.yaml"
114108

115109
* Test Object has key "spec§template§spec§volumes" with array value that has "7" items
116110
* Test Object has key "spec§template§spec§volumes§0§name" with value "certs"

hull-vidispine-addon/files/test/HULL/specs/secret.spec

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ Test creation of objects and features.
3838
* Set test object to "release-name-hull-test-transformation_resolved"
3939
* Test Object has key "data§concrete_file_4_resolved.txt" with Base64 encoded value of "This is a text file with a pointer to a transformation."
4040

41-
## Default Secret
42-
* Render
43-
44-
* Set test object to "release-name-hull-test-hull-install"
45-
* Test Object has key "data§installation.yaml" with non empty value
4641
___
4742

4843
* Clean the test execution folder

hull-vidispine-addon/hull-vidispine-addon.yaml

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -644,60 +644,6 @@ hull:
644644
- custom-installation-files-setup
645645
- _HULL_OBJECT_TYPE_DEFAULT_
646646
data:
647-
installation.yaml:
648-
inline: |-
649-
{{- with (index $.Values "hull").config.general.data.installation }}
650-
{{- $configScope := . -}}
651-
{{- $configScopeEndpoints := dict -}}
652-
{{- if hasKey . "endpoints" -}}
653-
{{- $configScopeEndpoints = .endpoints -}}
654-
{{- end -}}
655-
{{- range $path, $_ := $.Files.Glob "files/hull-vidispine-addon/installation/endpoints/*.yaml" -}}
656-
{{- $configScopeEndpoints = mergeOverwrite $configScopeEndpoints (dict (base $path | trimSuffix ".yaml") (fromYaml ($.Files.Get $path))) -}}
657-
{{- end -}}
658-
{{- range $endpoint, $endpointval := $configScopeEndpoints -}}
659-
{{- $endpointScope := $endpointval -}}
660-
{{- if $endpointval.endpoint -}}
661-
{{- $subresources := dict -}}
662-
{{- if hasKey $endpointval "subresources" -}}
663-
{{- $subresources = $endpointval.subresources -}}
664-
{{- end -}}
665-
{{- range $path, $_ := $.Files.Glob (printf "%s/%s/%s" "files/hull-vidispine-addon/installation/endpoints" $endpoint "*.yaml") -}}
666-
{{- $subresources = mergeOverwrite $subresources (dict (base $path | trimSuffix ".yaml") (fromYaml ($.Files.Get $path))) -}}
667-
{{- end -}}
668-
{{- range $subresource, $subresourceval := $subresources }}
669-
{{- $subresourceScope := $subresourceval -}}
670-
{{- $entities := dict -}}
671-
{{- if hasKey $subresourceval "entities" -}}
672-
{{- $entities = $subresourceval.entities -}}
673-
{{- else -}}
674-
{{- $u := set $subresourceval "entities" dict }}
675-
{{- end -}}
676-
{{- range $path, $_ := $.Files.Glob (printf "%s/%s/%s/%s" "files/hull-vidispine-addon/installation/endpoints" $endpoint $subresource "*.yaml") -}}
677-
{{- $entities = mergeOverwrite $entities (dict (base $path | trimSuffix ".yaml") (fromYaml ($.Files.Get $path))) -}}
678-
{{- end -}}
679-
{{- range $entity, $entityval := $entities }}
680-
{{- $mergedDict := dict -}}
681-
{{- if hasKey $subresourceval "_DEFAULTS_" -}}
682-
{{- $mergedDict = deepCopy $subresourceval._DEFAULTS_ -}}
683-
{{- end -}}
684-
{{- $t := mergeOverwrite $mergedDict $entityval -}}
685-
{{- $z := set (index $.Values "hull").config.general.data.installation "endpoints" $configScopeEndpoints }}
686-
{{- if typeIs "map[string]interface {}" $mergedDict -}}
687-
{{- if hasKey $mergedDict "config" -}}
688-
{{- $configDict := $mergedDict.config -}}
689-
{{- end }}
690-
{{- end }}
691-
{{- $t1 := set $subresourceval.entities $entity $mergedDict -}}
692-
{{- end }}
693-
{{- end }}
694-
{{- else -}}
695-
{{- $configScopeEndpoints = unset $configScopeEndpoints $endpoint -}}
696-
{{- end }}
697-
{{- end }}
698-
{{- $_ := include "hull.util.transformation" (dict "PARENT_CONTEXT" $ "SOURCE" $configScope "CALLER" nil "CALLER_KEY" nil "SOURCE_PATH" list) -}}
699-
{{- toYaml $configScope -}}
700-
{{ end }}
701647
Installer.ps1:
702648
enabled: _HT*hull.config.general.data.installation.config.debug.debugInstallerScript
703649
inline: |-

0 commit comments

Comments
 (0)