hawtio / hawtio-next

Next generation Hawtio UI console
https://hawt.io
Apache License 2.0
7 stars 22 forks source link

Where is hawtio-json-schema-generator maven plugin now located? #79

Closed phantomjinx closed 1 year ago

phantomjinx commented 1 year ago

This maven plugin is used to generate the required version of the camel model json. It is published to maven central but the source is only available from the hawtio/hawtio 1.x branch. It was then removed(?). Where is it now located if at all and if it was never moved elsewhere, should it be??

tadayosi commented 1 year ago

Right, we still uses 1.x version from the old branch because it just works fine. We can restore it to the latest 3.x branch if needed. Or you can use it as-is for the time being.

phantomjinx commented 1 year ago

Right, we still uses 1.x version from the old branch because it just works fine. We can restore it to the latest 3.x branch if needed. Or you can use it as-is for the time being.

Might be good to publish it to its own repository. I'll maybe have a look at that next week.

tadayosi commented 1 year ago

Yes, splitting it into another repo under hawtio org is another option. I'm not sure if we can reuse the same settings and credentials to publish a Maven plugin to Maven Central, but please go ahead with the option.

phantomjinx commented 1 year ago

@tadayosi

Have migrated and updated the generator to https://github.com/phantomjinx/hawtio-camel-catalog-schema-generator. Can you review and provide any comments, please?

Changes

tadayosi commented 1 year ago

@phantomjinx Thanks, that's great! I think it's almost ok, but there are a few minor comments.

Implementation

Styling and structure

That said, overall it looks great already and we can start improving it from here. Why don't we transfer the project to hawtio org?

I think the remaining thing to do is:

tadayosi commented 1 year ago

One more question.

Added components to model schema;

What does it mean from the Hawtio.next point of view? Do we need to change the Camel plugin to utilise the new info from the model?

UPDATE: Ah, ok. It's needed for https://github.com/hawtio/hawtio-next/issues/21#issuecomment-1485544118.

phantomjinx commented 1 year ago

What does it mean from the Hawtio.next point of view? Do we need to change the Camel plugin to utilise the new info from the model?

The camel-model package will end up with a new camelModel.ts once the co-ordinates in its pom will be updated. However, even before its published, I can update the camelModel.ts manually with a locally generated version.

phantomjinx commented 1 year ago

0.0.1 published in mvnrepository