Closed medined closed 7 years ago
The NAAN is a mandatory organization identifier. The ARK shouldn't have been minted in the first place if NAAN is empty.
Thanks for catching this!
Would a Dockerfile be welcome? And a few bash functions to show how it works?
Yes, they would be welcomed
https://github.com/medined/docker-greens - I have a bash script that builds and starts an application stack. Please review it. Let me know if anything is unclear.
When 'naan' is empty in the app.yaml, an ark like 'ark://57x43' is minted. However, when trying to delete that ark using curl, the two slashes are combined somewhere in the process. Therefore, the 'id' that is sought is 'ark:/57x43'. I see two possible resolutions, throw an exception when minted if the 'naan' is empty. Or mint the ark with only one slash in the special case when 'naan' is empty.