Charles Moulliard

Results 386 comments of Charles Moulliard

> being a CRON job that would poweroff servers every night. As k8s cluster offers such an option, we could just create a Scheduled Pod responsible to execute the playbook...

Hetzner dont provide option to shutdown or start Cloud VMs On Wed, Feb 19, 2020 at 3:31 PM Chris Laprun wrote: > Doing it automatically only makes sense since we're...

> Should we have 2 pods one to shutdown and another one to start. I could build the Ansible playbooks that do these tasks. One pod is enough and we...

> ```java > redirect(Todos::todos); > ``` If validation fails, that makes sense to redirect at the condition that you redirect to perhaps another page as here `redirect` is used no...

> Mind that with the suggested syntax, there is no need for comments anymore, it's self explainatory. For sure but I suggest then something like this as example ;-) ```...

This syntax is even better ``` if(validationFailed()) { throw new RedirectException(Todos::todos, getValidationErrors()); } ``` Question: - Will the errors be passed to the Qute Template using `{errors}` ? - Will...

> For your template in `resources/templates/Application/index.html` But then you cannot declare a page at the root of the templates such as `resources/templates/index.html` ?

> but what's the point? To have a home page containing menus, submenus, ... from where we can access the different parts of the application which are then managed by...

> This should use `resources/templates/index.html`, That fails ``` Caused by: io.quarkus.qute.TemplateException: No template matching the path App/index could be found for: io.halkyon.App$Templates.index at io.quarkus.qute.deployment.QuteProcessor.collectCheckedTemplates(QuteProcessor.java:348) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at...

> This is not how to do it, check out our sample Todo application, and use an include to that all your pages have the same structure. If I understand...