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

feat: add SAP Notes notes download? #21

Open
ansibleforsap opened this issue Apr 17, 2024 · 3 comments
Open

feat: add SAP Notes notes download? #21

ansibleforsap opened this issue Apr 17, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@ansibleforsap
Copy link

Hi, would it be possible to add the ability to download SNOTES from the Support Portal? I have an ansible playbook that needs to get the latest compatible OS-release for the respective HANA version (Note 2235581)

@sean-freeman sean-freeman changed the title Add notes download? feat: Add notes download? Apr 17, 2024
@sean-freeman
Copy link
Member

sean-freeman commented Apr 17, 2024

NOTE: I would recommend you change your handle....

@ansibleforsap Yes it would be possible, but the contribution will have to come from the community. See discussion in #15

To summarise the other issue:

  • due to conflict of interest, I would be unable to review any PR for any community contribution
  • an Ansible Module would need to be written that re-uses the underlying Python Modules
  • the Ansible Module should only retrieve the data from the APIs, and not execute anything on the target system (that can be done by higher-level Ansible Role)
  • the API Metadata endpoints will need to interpreted to create this Ansible Module, I have adjusted the below to show which API Metadata endpoints are related to this use case
https://api.sap.com/odata/1.0/catalog.svc/$metadata

https://launchpad.support.sap.com/services/odata/svt/snogwslpsearch/$metadata

-- snogwslpsearch/SAPNotes(0000000)
-- snogwslpsearch/ComponentFilterSet('HAN%2A')

https://launchpad.support.sap.com/services/odata/svt/snogwsnnf/$metadata

-- snogwsnnf/Header(Number=0000000,LanguageKey=\'undefined\')
-- snogwsnnf/Doc(Number=0000000,LanguageKey=\'E\')?
-- snogwsnnf/Doc(Number=0000000l,LanguageKey=\'E\')/CVSS
-- snogwsnnf/Doc(Number=0000000l,LanguageKey=\'E\')/SoftComponents
-- snogwsnnf/Doc(Number=0000000l,LanguageKey=\'E\')/SupportPackages
-- snogwsnnf/Doc(Number=0000000l,LanguageKey=\'E\')/Patches
-- snogwsnnf/Doc(Number=0000000l,LanguageKey=\'E\')/CorrInstructions
-- snogwsnnf/Doc(Number=0000000l,LanguageKey=\'E\')/Preconditions
-- snogwsnnf/Doc(Number=0000000l,LanguageKey=\'E\')/ReferencesTo
-- snogwsnnf/Doc(Number=0000000l,LanguageKey=\'E\')/ReferencedBy

@ansibleforsap
Copy link
Author

Hmm i see. I am afraid i lack the neccessary skills to implement what you described :/

What's up with my handle? O.o

@sean-freeman sean-freeman added the help wanted Extra attention is needed label Apr 17, 2024
@sean-freeman
Copy link
Member

We can leave this open, I've added a label to do the GH Issue.

Your handle implies you are part of the initiative team, and now you have opened a GH Issue within the GH Org - your handle will appear when people raise new Issues etc. Changing the handle would avoid that potential outcome, which would potentially spam your email address and also might cause us to miss an end-users help request / comment.

@sean-freeman sean-freeman changed the title feat: Add notes download? feat: add SAP Notes notes download? Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants