-
Notifications
You must be signed in to change notification settings - Fork 0
Pdok 17792 wms operator unittest #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…onform ansible-operator
…onform ansible-operator
…onform ansible-operator
…onform ansible-operator. ogc_webservice_proxy volumeAmounts moet readOnly zijn
…onform ansible-operator. options.VALIDATEREQUESTS
| volumeMounts = []v1.VolumeMount{ | ||
| {Name: "base", MountPath: "/srv/data", ReadOnly: false}, | ||
| {Name: "data", MountPath: "/var/www", ReadOnly: false}, | ||
| // TODO: de volgende volAmount is bedoeld voor CR met mapfile. Bouw daarvoor een aparte test voor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Er zou inderdaad nog een test toegevoegd kunnen worden voor een CR met statische mapfile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ik ga het bouwen. Thanks
| typeNamespacedNameWms.Name = sampleWms.Name | ||
| Expect(err).NotTo(HaveOccurred()) | ||
| sampleWms.Spec.Options.RewriteGroupToDataLayers = smoothoperatorutils.Pointer(false) | ||
| //sampleWms.Spec.Options.DisableWebserviceProxy = smoothoperatorutils.Pointer(true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deze regel in commentaar kan weg.
| } | ||
| volumes = append(volumes, lgVolume, figVolume) | ||
| stylingFilesVolume := v1.Volume{ | ||
| Name: "styling-files", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deze naam zou een constant kunnen zijn net zoals bovenstaande ConfigMap...VolumeNames
| } | ||
|
|
||
| if obj.Type() == pdoknlv3.ServiceTypeWMS { | ||
| stylingFilesVolAm := corev1.VolumeMount{Name: "styling-files", MountPath: "/styling", ReadOnly: true} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
De naam "styling-files" zou een constant kunnen worden.
…onform ansible-operator. review punten
…onform ansible-operator. review punten
…onform ansible-operator. review punten
Description
Unit tests uitwerken voor WMS Kind in mapserver-operator conform ansible-operator
https://kadaster.atlassian.net/browse/PDOK-17792
Type of change
Unittest bouwen
Checklist: