-
Notifications
You must be signed in to change notification settings - Fork 197
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
Create models for ALM APIs #215
Comments
I would like to deep dive into this awesome library internals and implement this issue if there are no objections. |
Should I continue working on the ALM API? If yes, could you assign the issue to me, so that we have an indication that the work is in progress? |
Hi @s-KaiNet , sorry for not seeing your message earlier on. We would love to get your contributions in this area!! Feel free to reach out if you've questions, for now I've assigned this to you. |
You've probably seen this one already: in PnP Framework we did built ALM support a long time ago (https://github.com/pnp/pnpframework/blob/dev/src/lib/PnP.Framework/ALM/AppManager.cs). Might help with the PnP Core SDK version of it. Once the PnP Core SDK one is fully baked we can replace the PnP Framework internals with what PnP Core SDK offers. Also please be aware that we're in the process of adding a PnP.Core.Admin library and we need to decide where to add the ALM features: PnP.Core, PnP.Core.Admin or somehow spread across both (PnP.Core.Admin can use PnP.Core but PnP.Core cannot use PnP.Core.Admin classes and methods). As said in previous comment, happy to get into a call and discuss. Thanks for helping out @s-KaiNet 🚀💪 |
Hi @jansenbe, great, thank you! Yeah, I saw AppManager from PnP.Framework. In PnP.Framework it's implemented as a separate class. My initial idea for the ALM API was to leverage the new PnP Core SDK model and implement it as a regular
However with your information regarding Admin library it seems that my initial idea was not so good.
Taking all above into the account, my view regarding the ALM API implementation is below:
I'm happy to see any comments or suggestions regarding my view. If you're agree with above statements I will continue the implementation. |
Tagging @PaoloPia and @pkbullock to ensure they've seen this as well. I do like your planned approach @s-KaiNet , feels indeed better to have the ALM features hosted in PnP.Core.Admin. Imagine there's an I do like the model of adding a new extension method Thanks again for taking up this task, happy to get in a meeting with you to further discuss if needed. |
@s-KaiNet : I've pushed a change that introduced |
@jansenbe I have a question regarding the API itself. I will really appreciate it if you or other team members, who are deeply involved in the library development, are able to provide their input. In the official documentation, we have only a few methods available for the TenantAppCatalog endpoint (Add, SyncSolutionToTeams). However, when looking at the metadata it appears that currently there are some more methods. Another story is that there is also a site collection app catalog endpoint. Here we have a lot fewer methods than in the TenantAppCatalog.
|
Hi @s-KaiNet , About the site collection versus tenant app catalog differences: having an Regarding the extra methods on the tenant app catalog: there are some useful methods and properties that can be implemented, if you can spare the extra cycles then feel free to add these. This can also happen later in a second phase if that works better for you. |
@jansenbe I'm 90% done with the ALM API. I have one question though. In the PnP.Framework we have SyncToTeams method. It seems that the corresponding SP REST endpoint doesn't work at all with Bearer tokens and OAuth authentication. I created an issue at sp-dev-docs repo where you can find a bit more details. Also, I found a thread in m365 cli repo where they also rejected this API endpoint since it doesn't work with the JWT access tokens. Taking into account all the above, I assume that we shouldn't include all |
@s-KaiNet , yes that's fine. API calls that cannot work with an access token cannot be used in PnP Core SDK and should be fixed by Microsoft. |
Category
Describe the feature
Contributing
We encourage and welcome contributions for the PnP Core SDK, if you are interested, please comment below to engage with the team. If you want to learn about how to get started, please refer to this guide: https://pnp.github.io/pnpcore/articles/contributor/readme.html
The team is constantly improving the guidance on supporting contributors, if you have any feedback or need help please feel free to start a discussion.
The text was updated successfully, but these errors were encountered: