Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nexus 3.8 will have a new URL for Rest API calls #14

Closed
dannyk81 opened this issue Dec 13, 2017 · 9 comments
Closed

Nexus 3.8 will have a new URL for Rest API calls #14

dannyk81 opened this issue Dec 13, 2017 · 9 comments
Assignees
Labels
enhancement Related to new features, performance....
Milestone

Comments

@dannyk81
Copy link
Contributor

dannyk81 commented Dec 13, 2017

We should be aware of the planned change, described in this PR sonatype/nexus-book-examples#20 and in NEXUS-14940 ticket.

It seems to be targeted for some Nexus 3.7.x version (later than 3.7.0), the URL for the REST API will change from service/siesta/... to service/rest/...

I believe this will only affect the following:

url: "http://localhost:{{ nexus_default_port }}{{ nexus_default_context_path }}service/siesta/rest/v1/script/{{ script_name }}/run"

url: "http://localhost:{{ nexus_default_port }}{{ nexus_default_context_path }}service/siesta/rest/v1/script/{{ item }}"

url: "http://localhost:{{ nexus_default_port }}{{ nexus_default_context_path }}service/siesta/rest/v1/script"

@zeitounator
Copy link
Member

Hi @dannyk81. Thanks for pointing this out. I've been looking around but did not find any potential release date for v3.7. If you have any idea, let me know. I'll try to follow up and test early if I can find an rc version before final release. From what I understand, the change should be quite trivial.

@zeitounator zeitounator added this to the Release 2.1 milestone Dec 13, 2017
@zeitounator zeitounator changed the title Nexus 3.7.0 (probably) will have a new URL for Rest API calls Nexus 3.7.x will have a new URL for Rest API calls Dec 15, 2017
@zeitounator
Copy link
Member

sonatype/nexus-book-examples#20 (comment)

Changes will be incorporated later in time (not 3.7.0). Updated ticket title and description.

@zeitounator zeitounator added the on hold Changes / decision / precisions / time needed label Dec 15, 2017
@dannyk81
Copy link
Contributor Author

Yep, looks like this was delayed.

We'll keep an 👁 on it

@zeitounator zeitounator removed this from the Release 2.1 milestone Dec 22, 2017
@samherve
Copy link
Contributor

Looks like 3.7.1 is out : https://help.sonatype.com/display/NXRM3/2017+Release+Notes#id-2017ReleaseNotes-RepositoryManager3.7.1 ! Also, I confirm (from docker image https://hub.docker.com/r/sonatype/nexus3/, version 3.7.1-02) that the old endpoints don't work anymore

@dannyk81
Copy link
Contributor Author

Are you sure? according to this (https://issues.sonatype.org/browse/NEXUS-14940) the change is intergated into 3.8.0

@samherve
Copy link
Contributor

I'll triple-check and come back with a confirmation.

@zeitounator
Copy link
Member

The latest role version is installing 3.7.1-02 by default and all test are passing on travis. I'm using it on production.

@zeitounator zeitounator changed the title Nexus 3.7.x will have a new URL for Rest API calls Nexus 3.8 will have a new URL for Rest API calls Jan 31, 2018
@dannyk81
Copy link
Contributor Author

dannyk81 commented Feb 5, 2018

3.8 is out 😄

REST API deprecating /siesta
The "/service/siesta/rest/v1/script" endpoint has been moved to "/service/rest/v1/script".
NEXUS-14940

@zeitounator zeitounator added this to the Release 2.1 milestone Feb 6, 2018
@zeitounator zeitounator self-assigned this Feb 6, 2018
@zeitounator zeitounator added enhancement Related to new features, performance.... and removed on hold Changes / decision / precisions / time needed labels Feb 6, 2018
@zeitounator
Copy link
Member

As you can see above in the activity, this is implemented on the dev_2.1 branch. Release pending. A single ticket left in the corresponding project: https://github.com/ansible-ThoTeam/nexus3-oss/projects/2

brianveltman added a commit to brianveltman/nexus3-oss that referenced this issue Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Related to new features, performance....
Projects
None yet
Development

No branches or pull requests

3 participants