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

License environment variable is inconsistent with the rest of the Particular platform #386

Open
PhilBastian opened this issue Jun 24, 2024 · 1 comment

Comments

@PhilBastian
Copy link

PhilBastian commented Jun 24, 2024

Describe the suggested improvement

Is your improvement related to a problem? Please describe.

The environment variable to store the license string for AWS Lambda (and other cloud platforms) is NSERVICEBUS_LICENSE. This differs from the main PARTICULARSOFTWARE_LICENSE variable used by Core and other desktop-based packages in the platform. This doesn't affect production deployment, but it does mean that the development experience requires two variables to be set if the developer is also working with other parts of the platform.

Describe the suggested solution

Deprecate NSERVICEBUS_LICENSE for this package in favour of PARTICULARSOFTWARE_LICENSE

Describe alternatives you've considered

None

related issues Particular/NServiceBus.AzureFunctions.Worker.ServiceBus#529 and Particular/NServiceBus.AzureFunctions.InProcess.ServiceBus#826

Additional Context

No response

@PhilBastian PhilBastian changed the title License environment variable is inconsistent with the rest of the particular platform License environment variable is inconsistent with the rest of the Particular platform Jun 24, 2024
@danielmarbach danielmarbach reopened this Jul 1, 2024
@tmasternak
Copy link
Member

The fact that AWS provides read-only access to the filesystem, means that AWS Lambda users can't take advantage of the trial license experience i.e. we can't generate a trial license for them on the first run of and endpoint. More context: https://discuss.particular.net/t/aws-lambda-failed-to-initialize-the-license/4027

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

No branches or pull requests

3 participants