Skip to content

Add missing creationTime field to template.json

guillaum.pin requested to merge guillaum.pin/nexus:template_creator into master

Current Behavior:

Nexus Server logs a warning during startup due to missing creationTime field in template.json:

nexus-server nexus-server[3979]: level=warning msg="Skipping template <template_id>: Failed validating template config file: Key: 'TemplateSerialized.CreationTime' Error:Field validation for 'CreationTime' failed on the 'required' tag"

Fix:

Update the template_creator script to include the current timestamp as the creationTime value when creating new templates.

Merge request reports

Loading