Giter Site home page Giter Site logo

phantomjinx / hawtio-camel-catalog-schema-generator-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hawtio/camel-catalog-schema-generator-plugin

1.0 1.0 0.0 59 KB

Schema generator converting the Camel-Catalog to a javascript schema model

License: Apache License 2.0

Shell 3.18% Java 96.82%

hawtio-camel-catalog-schema-generator-plugin's Introduction

Hawtio Camel Catalog Schema Generator

This package contains the maven generator mojo used to convert the Camel Catalog into a JSON object that can be consumed by javascript clients.

The mojo should be called from a client project's pom.xml as such:

  <build>
    <plugins>
      <plugin>
        <groupId>io.hawt</groupId>
        <artifactId>hawtio-camel-catalog-generator-plugin</artifactId>
        <version>${version.io.hawt.plugin}</version>
        <executions>
          <execution>
            <id>generate-camel-model</id>
            <goals>
              <goal>generate-camel-model</goal>
            </goals>
            <configuration>
              <buildDir>.</buildDir>
              <schemaFile>camelModel.js</schemaFile>
            </configuration>
          </execution>
        </executions>
      </plugin>
    ...
    ...

The result will be a file named camelModel.js generated in the build directory. This can be then consumed as a javascript source file in the client application.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.