ot4i / ace-docker

73 stars 167 forks source link

Change the bar filename if identical bar names given #168

Closed IBMJames closed 3 years ago

IBMJames commented 3 years ago

Relevant issue, Epic or stories.

Description of what this PR accomplishes and why it's needed

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

2021-09-20T10:47:06.452Z No existing file on that path so continuing <<### -- First file downloads and saves as normal
2021-09-20T10:47:06.452Z Will saving bar as: /home/aceuser/initial-config/bars/CustomerDatabaseV1.bar
2021-09-20T10:47:06.452Z Getting configuration from content server
2021-09-20T10:47:06.452Z Using the following url: https://db-01-quickstart-dash:3443/v1/directories/CustomerDatabaseV1?archive=true
2021-09-20T10:47:06.452Z Using ca file /home/aceuser/ssl/cacert.pem
2021-09-20T10:47:06.485Z Configuration pulled from content server successfully
2021-09-20T10:47:06.485Z Previous path already in use. Testing filename: /home/aceuser/initial-config/bars/CustomerDatabaseV1-1.bar <<### -- Second file downloads and adjusts the name and retests the path
2021-09-20T10:47:06.485Z No existing file on that path so continuing
2021-09-20T10:47:06.485Z Will saving bar as: /home/aceuser/initial-config/bars/CustomerDatabaseV1-1.bar

Link to ot4i-ace-docker test build: