Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [config-dev] Config for Jakarta EE 12 and MP.next
  • From: Reza Rahman <reza_rahman@xxxxxxxx>
  • Date: Wed, 5 Feb 2025 07:56:18 -0500
  • Delivered-to: config-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/config-dev/>
  • List-help: <mailto:config-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/config-dev>, <mailto:config-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/config-dev>, <mailto:config-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-topic: Re: [config-dev] Config for Jakarta EE 12 and MP.next
  • Ui-outboundreport: notjunk:1;M01:P0:W3V8mx01ZP4=;lby7Dsem3gF+fQWauJfd5PQgulF 6R7LQIVNhSCFETO5aPPDXqhNK17ISfYeivFrm6er9T5CcPgDCF6P8OBY+VipG4bS9A7gfFKxK wqu/6KXTabaIOweiGdLf35yMP5+C/bOlleS6Ka7mQY5vICHrrntX4xq4IvUOOuXeyXeMlmDBB u5mCyeq1ckDEf0RQU368KNzScyqjQ1YzhNH+JCUOqbc8f+5kI7j0pFq6/gI+WqskMtMl/duGk NZ3lmmF9lYsjSLvVKCeR7YfehFrMyUaGnQ7OXzKVnytJ2hxRR/jD6KlARrNjAYRvXMvFQCRzp 1oM+pm8Pg1fBwaNmMDN5dUICVOkXpN3NhT9wIzxd8M7+a/BOA4/+0D8hIbXd6p6lp3hRO/BBD PA7TvTpRo21Eko+ZAF7SZCLgug3UhmAG657tSXIy6f8vsGhvNodYMhRqw3MDrDaymSdh3a15Y 0qFOqGeJcwHfLCCwlDSpNB3oUEeftPForjoFQfcud8r03nLhw6IoO8wlIoo+E30ttP1WAC3Ss XCW2n8NV84xLbcZOIejaULWz/xMwWG2bx6cWJt3VLyCQK2C1hdj8MDXUpmvKQFPG2+L59qnzk 5UtjZY/yP2M5J3faxHvC8FcNlHrOk/H5ddoLukZL/iw8uChui60rKJ5TxAVgDikeL6a9b2rA5 GceteqfeQvAYN89K9e3YJuxLUzocTvqQXQJDe1PslifFmst1HWsKdFWjqucBaDKPnUwJhUUic 5zSU/BQ1ilcsdlyuVfljS5xbuyjndkfmzFSd2XvRSf/jSd0+GO0cPBFUzfWxwbMHxmCQ/dXuI rHyoVzUqrDVy7npz3cMbhNGT1Yn8CJK1G9o951xBPyjPXp1W1lVZ9UG380NeXV6lDCDXPGcbf pEa/sZKy/puaHhVOr8QXXSyP9hFtJ+QmztAmSK3OsOsfExHMED8b6EHO7T7nQxtkw1VXZE/+P WNxxl+4kLyJjD6zkpyl+qlNWNnVnlIozIJG3kgZ3eDzoKzGIUhFKtI1au0dTnJtt6B6soeZO4 ekWCVG+oyv4YZ7PiC/Po9C8gyFO8Qf+LhB6/Bb+42J9C1BLP8MeH8nNoQ6JkAnv9Vek6f+aH0 yhr2xgETbJUjhhkJBYUoMb6deyebyJTTWzzvu5FlgCg+Vu7l0VteeDzayewSYKqinXFYPzKEQ bFtXiHvVq/g5EfxhpZMyOqjGYIKxB6bV+r+mmKFZ1pREh7kZpsmBRIpzzXZNcazLh2eFeAzb4 i2mHYFZ8DRhmt3rnZT8DAeeO/HW7tXBTlnFw6mrUBKkKMoC57S0pohrERRoTNsO7a4JQCwt7a 1HSVHpyDsKarr8ZXEjP+ZvraQ==

Just using application.properties is a good idea indeed.

I am sure Ed and Jared will respond, but I believe the idea here is to allow both Jakarta EE and MicroProfile to evolve independently in accordance with their own needs and also collaborate when best seen fit.
 

From: config-dev <config-dev-bounces@xxxxxxxxxxx> on behalf of Roberto Cortez via config-dev <config-dev@xxxxxxxxxxx>
Sent: Wednesday, February 5, 2025 7:24 AM
To: Jakarta Config project developer discussions <config-dev@xxxxxxxxxxx>
Cc: Roberto Cortez <radcortez@xxxxxxxxx>; microprofile@xxxxxxxxxxxxxxxx <microprofile@xxxxxxxxxxxxxxxx>
Subject: Re: [config-dev] Config for Jakarta EE 12 and MP.next
 
Hi,

A few comments inline. Thank you!

Cheers,
Roberto

On 4 Feb 2025, at 18:18, Jared Anderson via config-dev <config-dev@xxxxxxxxxxx> wrote:

This email is a follow up to the discussion at the 2025-02-04 Jakarta EE platform call.
In that call, we discussed an approach where Jakarta EE 12 could effectively use MicroProfile Config "as is" with some important non-technical accommodations.
  1. The APIs for Jakarta Config would be the MicroProfile Config APIs, but with jakarta namespace. Yes, a copy/paste.

After the initial copy/paste, how would things evolve? Would Jakarta keep the APIs in-sync? What restricts Jakarta from using the API as-is? 

  1. The implementation may delegate to the MicroProfile Config implementation.
  2. The Spec document would be one-line: see the corresponding MicroProfile config spec document.  May need additional text to talk about the difference in namespace and adding in jakarta-config.properties until a new MP Config version added that to its specification.  See #5 below.
  3. The TCK would be a copy/paste of the MicroProfile Config TCK and updating the name space and adding jakarta-config.properties testing
  4. Need to introduce a new line in the ConfigSource (MicroProfile Config API)
    • “Some configuration sources are known as default configuration sources. These configuration sources are normally available in all automatically-created configurations, and can be manually added to manually-created configurations as well. The default configuration sources are:
  • 1. System properties, with an ordinal value of 400
  • 2. Environment properties, with an ordinal value of 300
  • 3. The /META-INF/jakarta-config.properties resource, with an ordinal value of 200
  • 4. The /META-INF/microprofile-config.properties resource, with an ordinal value of 100

How about dropping microprofile-config.properties (keep it for compatibility) and jakarta-config.properties, and use application.properties? This one is already used by many popular runtimes like Spring, Quarkus, and Micronaut, to name a few. 

Let's continue discussion using this "both lists on the To: line" approach rather than introduce another venue, such as the cn4j mailing list (eclipse archive).
Sincerely,
Ed Burns and Jared Anderson
Jakarta EE 12 release co-coordinators
_______________________________________________
config-dev mailing list
config-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://accounts.eclipse.org


Back to the top