-
Notifications
You must be signed in to change notification settings - Fork 10
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
Feedback #21
Comments
seems right, we'll do this
ExApp need to know it, to not spam network with requests. It is a private capability, not public.
Docker daemon works the same for We decided to make deploy method pluggable, so it can be expandable with Kubernetes in future, or usual Python Virtual environment for example, if someone will be interested in implementing such methods. |
I have named ExApp commands as it was done in Core apps commands, that's why they grouped by folders (namespaces) and I think it's pretty readable.
I have been thinking about generic way of naming of scopes, but I'm not sure it will be too convenient to support its changes also in constants. It's more complicated if we allow to register scopes outside by others. But if it's OK to make constants just for our API Scopes then it makes sense. For now, we do not considering constants usage, it's not required in our code.
Yes, good catch, will adjust it.
As Alexander already answered, daemon (containers orchestrator) can be local or remote. And we want to make it extensible, so we could register another daemon types in a future (factorize it), e.g. Kubernetes.
It's one of the flows to discuss. For now it's not declared statically, ExApp registers it manually in their enable/disable process.
Yes you are right, we can remove it, I have used AppEcosystemAuth for the first time in annotations. Vue frontend stuff it's just boilerplate for now, we do not touch it yet. I probably will need some help with it later. Thank you for feedback! |
Resolves: #21 Changes: - [x] do not update sensitive flag each time config value updated - [x] remove deprecated and unused `IControllerMethodReflector` in `AppEcosystemAuthMiddleware`
We should add optional |
Relates to nextcloud/app_api/issues/21 Signed-off-by: Alexander Piskun <[email protected]>
I re-read the feedback again and it seems like everything that has been written here has already been done, so I’m closing it.. |
I have a follow up point to clarify on this thread. While the Kubernetes is a future thought, some of us are running Nextcloud on Kubernetes and want to leverage apps that require the AppAPI and the Deploy Daemon - but I'm a little stuck here as docker-in-docker methods are not going to work and not something I want at all. Is there a way currently to deploy the daemon on kube for compatability but manually define and deploy pods for the external apps, basically just using the daemon to support connections to admin created deployments and not allowing it to create anything? |
Hey hey, first of all, it was very nice to read your code. It's a huge app and it's already pretty clean 👍 💙
Here are some random remarks and questions:
$this
in the callbackEnable
toEnableApp
orEnableExApp
so it's more obvious it does not mean "enable the external app system".public const
in theExAppApiScopeService
class.IControllerMethodReflector
is deprecated (inAppEcosystemAuthMiddleware
). Is there any obstacle to use Php8 method attributes? Not a big deal but it might save us maintenance/time to directly use Php8 stuff.can be replaced with
Which I think will be easier to migrate to Vue 3
Looking forward to continue the discussion in a call.
The text was updated successfully, but these errors were encountered: