You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
adding wsdl2rest support to camel-project generator camel-tooling#11
-- initial cut with fat jar and running the wsdl2rest tool with inputs
-- updating to support full paths and a logging.props file
-- Updating version for when we include wsdl2rest functionality
-- also updating the travis file to build the wsdl2rest jar
-- additional work on test and wsdl2rest call
-- additional fixes
-- Setting jar to specific version vs asterisk and returning to broken
test
-- updates to make wsdl2rest run in a promise camel-tooling#11
-- Increasing the mocha timeout in the travis configuration camel-tooling#11
-- addressing some review feedback
-- updating tests to run with npm test call
-- reset readme.md
-- updating console messages to better reflect what's happening to user
-- adding --debug flag for wsdl2rest
-- fixing log4j issue
-- adding appropriate dependencies to pom for wsdl2rest projects
-- fixing issue when using URL to non-local WSDL
-- adding test for non-local WSDL
-- adding validation to avoid java and wsdl2rest combo
-- adding function to avoid hardcoding wsdl2rest fat jar version
-- addressing more feedback
-- fixing test for jar finding function
-- increased mocha test timeout to 15000
Signed-off-by: Brian Fitzpatrick <[email protected]>
* 'Camel project name' defaults to the name of the directory in which you start the generator.
102
-
* 'Camel version' defaults to 2.18.1 but if you provide a different version, that version then becomes the default for the next time the generator is run.
103
-
* 'DSL type' defaults to 'spring' but if you change it to a valid DSL type such as 'blueprint', 'spring', or 'java', that becomes the default for the next time the generator is run. If you enter an invalid value, the generator will present an error ">> Camel DSL must be either 'spring', 'blueprint', or 'java'.".
103
+
* 'Camel version' defaults to 2.22.1 but if you provide a different version, that version then becomes the default for the next time the generator is run.
104
+
* 'Camel DSL type' defaults to 'spring' but if you change it to a valid DSL type such as 'blueprint', 'spring', or 'java', that becomes the default for the next time the generator is run. If you enter an invalid value, the generator will present an error ">> Camel DSL must be either 'spring', 'blueprint', or 'java'.".
104
105
* 'Package name' defaults to 'com.' + the name of the directory (i.e. 'com.myproject'). This default does not change if you provide a different value.
105
106
106
107
## Development Notes
@@ -122,6 +123,14 @@ Then create a directory you wish to create a Camel project in and run the genera
122
123
> yo camel-project
123
124
```
124
125
126
+
## Running the Generator from the Command Line (*NEW*)
127
+
With version 0.1.2 we have added command-line capabilities for providing argument values for the prompted information. Without prompting, this allows us to use the generator as part of a larger script to help prep a new project in a more automated fashion.
128
+
129
+
This allows us to do things like the following and avoid having to go through the prompts:
130
+
```
131
+
> yo camel-project appname=MyApp camelVersion=2.19.1 camelDSL=spring package=com.myapp
132
+
```
133
+
125
134
### Running the Mocha tests
126
135
First you must install mocha with npm.
127
136
```
@@ -132,14 +141,10 @@ Then, in the main generator-camel-project directory:
132
141
> mocha
133
142
```
134
143
135
-
## Known issues
144
+
## Running the Generated Templates
136
145
137
-
Generated templates for spring and Java DSLs can be run with:
146
+
Generated templates for spring, blueprint, and Java DSLs can be run with:
138
147
```
139
148
> mvn install
140
149
> mvn camel:run
141
150
```
142
-
143
-
Unfortunately, the blueprint version does not run successfully. Working on finding a solution.
144
-
Created https://github.com/camel-tooling/generator-camel-project/issues/1
0 commit comments