cf-mta-examples icon indicating copy to clipboard operation
cf-mta-examples copied to clipboard

fix order of mta extensions for extension-descriptor-different-environments example

Open cschuerings opened this issue 1 year ago • 2 comments

The extension-descriptor-different-environments example is currently not working as two extensions prod.mtaext and prod-scale-vertically.mtaext extend the same ID my-mta and hence the order can not be determined.

Running cf deploy -f -e prod.mtaext,prod-scale-vertically.mtaext shows the following logs:

Using extension descriptor with ID: "my-mta-prod"
Provided but unused extension descriptors because extend another MTA ID or extends order is not correct: [my-mta-prod]
Detected MTA schema version: "3"
Detected deployed MTA with ID "my-mta" and version "1.0.0"
Detected new MTA version: "1.0.0"
Deployed MTA version: "1.0.0"

Currently:

  • my-mta-prod -> my-mta
  • my-mta-prod-scale-vertically

This PR contains a fix, which specifies the order of extensions as follows:

  • my-mta-prod-scale-vertically -> my-mta-prod -> my-mta

Hint: The fix is already mentioned in the corresponding readme for the example.

cschuerings avatar May 22 '24 11:05 cschuerings

CLA assistant check
All committers have signed the CLA.

cla-assistant[bot] avatar May 22 '24 11:05 cla-assistant[bot]

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

cla-assistant[bot] avatar May 22 '24 11:05 cla-assistant[bot]

Thank you very much for the fix!

IvanBorislavovDimitrov avatar Dec 11 '24 13:12 IvanBorislavovDimitrov