From 9ae8b35108a2f3f2b9db2425dd585e9e1e8fd1bf Mon Sep 17 00:00:00 2001 From: Jeremy Clerc Date: Mon, 29 Jan 2024 16:46:54 +0100 Subject: [PATCH] fix default api endpoint value /script/ is added wherever we need so we can still use the api for other things. Helper libs and tests already got rid of the extra /script/ fixes #136 --- attributes/api.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attributes/api.rb b/attributes/api.rb index e78c8a8..a43e6ca 100644 --- a/attributes/api.rb +++ b/attributes/api.rb @@ -1,6 +1,6 @@ default['nexus3']['api']['script_cookbook'] = 'nexus3' default['nexus3']['api']['type'] = 'groovy' -default['nexus3']['api']['endpoint'] = 'http://localhost:8081/service/rest/v1/script/' +default['nexus3']['api']['endpoint'] = 'http://localhost:8081/service/rest/v1/' default['nexus3']['api']['username'] = 'admin' default['nexus3']['api']['password'] = 'admin123' default['nexus3']['api']['ignore_failure'] = true