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

Organization-wide ranges #72

Open
cegekaJG opened this issue Feb 27, 2024 · 1 comment
Open

Organization-wide ranges #72

cegekaJG opened this issue Feb 27, 2024 · 1 comment

Comments

@cegekaJG
Copy link

Our company has a few different apps that can be reused for multiple clients. AL Object ID Ninja can ensure that all objects within an app get assigned a unique ID, but it can't tell me if an ID is already being used by a different app that may or may not have to be installed on the same environment.
Here's my suggestion for a possible workflow:

  1. Request the backend to create a "Project Token"
  2. Add the project token as an organization secret on GitHub
  3. In a repository, add a .objidconfig file containing the name of the secret (or enter the token explicitly)
  4. Done. The reserved IDs of the repository can now be shared with other repositories using the same project token.

This way, it would be possible to reuse the same object range for all apps without collisions, and even use multiple project tokens to make sure the ID doesn't collide with client-specific IDs.

@cegekaJG
Copy link
Author

I've noticed that this feature is already somewhat covered with App Pools: https://github.com/vjekob/al-objid/blob/master/vscode-extension/docs/app-pools.md
I'm not sure if it's possible to assign an app to multiple pools however, so I'm leaving the ticket open for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant