quarkusio / registry.quarkus.io

Quarkus Extension Registry application
https://registry.quarkus.io
Apache License 2.0
10 stars 11 forks source link

Parameterize properties in the registry descriptor #23

Closed gastaldi closed 3 years ago

gastaldi commented 3 years ago

Some descriptor properties are hardcoded. They should be parameterized:

gastaldi commented 3 years ago

@aloubyansky I introduced a quarkus.registry.groupId config property to declare the descriptor groupId, but what is the URL the client uses to retrieve the JSON descriptor itself?

Is it always /io/quarkus/registry/quarkus-registry-descriptor/1.0-SNAPSHOT/quarkus-registry-descriptor-1.0-SNAPSHOT.json? What is the expected URL if quarkus.registry.groupId=com.redhat, for example?

aloubyansky commented 3 years ago

/io/quarkus/registry/ is the groupId path. Which is also the reversed host name, by default, i.e. registry.quarkus.io. So if we plan something like registry.quarkus.redhat.com as the host name then the groupId should be com.redhat.quarkus.registry and the path - com/redhat/quarkus/registry.