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

org.osgi.framework.uuid should be set on framework construction #95

Closed
scottslewis opened this issue Apr 25, 2018 · 4 comments
Closed

Comments

@scottslewis
Copy link
Collaborator

The framework uuid in ipopo is set to the property named 'framework.uid' in the Framework constructor. RSA requires access to the framework uuid and the spec indicates that the uuid has name: 'org.osgi.framework.uuid'. It would be helpful if the same uuid was set by the framework to both 'framework.uid' and 'org.osgi.framework.uuid'.

@tcalmant
Copy link
Owner

Agreed.
This property is set in pelix/framework.py, line 634.
As this is a read-only property, there are no problem storing the framework_uid variable with the new name, alongside the old one.

@scottslewis
Copy link
Collaborator Author

Hi Thomas. Ok, I'll produce a pull request.

scottslewis added a commit that referenced this issue Apr 25, 2018
@scottslewis
Copy link
Collaborator Author

Here is the pull request

#96

tcalmant pushed a commit that referenced this issue Apr 26, 2018
@tcalmant
Copy link
Owner

Thanks for the pull request :)

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

2 participants