light-4j: light-codegen fails to generate project
I've tried to generate project out of sample petstore openapi.json supplied. I used light-codegen to generate endpoints and model.
I did install light-codegen:
git clone https://github.com/networknt/light-codegen.git
cd light-codegen
mvn clean install
Then I run codegen from my project folder:
java -jar ../../networknt/light-codegen/codegen-cli/target/codegen-cli.jar -f openapi -o /tmp/petstore -m openapi.json -c config.json
I see the following error in the output:
openapi openapi.json config.json /tmp/petstore
19:16:00.766 [main] INFO com.networknt.config.Config - daily config cache refresh
19:16:00.772 [main] INFO com.networknt.config.Config - Unable to load config from externalized folder for service.yml in
19:16:00.772 [main] INFO com.networknt.config.Config - Trying to load config from classpath directory for file service.yml
19:16:00.774 [main] INFO com.networknt.config.Config - Config loaded from default folder for service.yml
19:16:04.799 [main] INFO com.fizzed.rocker.runtime.RockerRuntime - Rocker version 0.22.0
19:16:04.801 [main] INFO com.fizzed.rocker.runtime.RockerRuntime - Rocker template reloading not activated
java.nio.file.NoSuchFileException: /tmp/petstore/src/test/resources/config/client.keystore
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.nio.file.Files.newOutputStream(Files.java:216)
at java.nio.file.Files.copy(Files.java:3016)
at com.networknt.codegen.rest.OpenApiGenerator.generate(OpenApiGenerator.java:367)
at com.networknt.codegen.Cli.run(Cli.java:98)
at com.networknt.codegen.Cli.main(Cli.java:50)
Do I need to supply client.keystore somehow?
config.json
{
"name": "petstore",
"version": "3.0.1",
"groupId": "com.networknt",
"artifactId": "petstore",
"rootPackage": "com.networknt.petstore",
"handlerPackage":"com.networknt.petstore.handler",
"modelPackage":"com.networknt.petstore.model",
"overwriteHandler": true,
"overwriteHandlerTest": true,
"overwriteModel": true,
"httpPort": 8080,
"enableHttp": false,
"httpsPort": 8443,
"enableHttps": true,
"enableHttp2": true,
"enableRegistry": false,
"supportDb": false,
"supportH2ForTest": false,
"supportClient": false,
"specChangeCodeReGenOnly": true,
"dockerOrganization": "networknt"
}
openapi.json: https://github.com/networknt/light-example-4j/blob/master/rest/perstore-with-codegen/petstore-spec/config/openapi.json
java microservices light-4j
add a comment |
I've tried to generate project out of sample petstore openapi.json supplied. I used light-codegen to generate endpoints and model.
I did install light-codegen:
git clone https://github.com/networknt/light-codegen.git
cd light-codegen
mvn clean install
Then I run codegen from my project folder:
java -jar ../../networknt/light-codegen/codegen-cli/target/codegen-cli.jar -f openapi -o /tmp/petstore -m openapi.json -c config.json
I see the following error in the output:
openapi openapi.json config.json /tmp/petstore
19:16:00.766 [main] INFO com.networknt.config.Config - daily config cache refresh
19:16:00.772 [main] INFO com.networknt.config.Config - Unable to load config from externalized folder for service.yml in
19:16:00.772 [main] INFO com.networknt.config.Config - Trying to load config from classpath directory for file service.yml
19:16:00.774 [main] INFO com.networknt.config.Config - Config loaded from default folder for service.yml
19:16:04.799 [main] INFO com.fizzed.rocker.runtime.RockerRuntime - Rocker version 0.22.0
19:16:04.801 [main] INFO com.fizzed.rocker.runtime.RockerRuntime - Rocker template reloading not activated
java.nio.file.NoSuchFileException: /tmp/petstore/src/test/resources/config/client.keystore
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.nio.file.Files.newOutputStream(Files.java:216)
at java.nio.file.Files.copy(Files.java:3016)
at com.networknt.codegen.rest.OpenApiGenerator.generate(OpenApiGenerator.java:367)
at com.networknt.codegen.Cli.run(Cli.java:98)
at com.networknt.codegen.Cli.main(Cli.java:50)
Do I need to supply client.keystore somehow?
config.json
{
"name": "petstore",
"version": "3.0.1",
"groupId": "com.networknt",
"artifactId": "petstore",
"rootPackage": "com.networknt.petstore",
"handlerPackage":"com.networknt.petstore.handler",
"modelPackage":"com.networknt.petstore.model",
"overwriteHandler": true,
"overwriteHandlerTest": true,
"overwriteModel": true,
"httpPort": 8080,
"enableHttp": false,
"httpsPort": 8443,
"enableHttps": true,
"enableHttp2": true,
"enableRegistry": false,
"supportDb": false,
"supportH2ForTest": false,
"supportClient": false,
"specChangeCodeReGenOnly": true,
"dockerOrganization": "networknt"
}
openapi.json: https://github.com/networknt/light-example-4j/blob/master/rest/perstore-with-codegen/petstore-spec/config/openapi.json
java microservices light-4j
add a comment |
I've tried to generate project out of sample petstore openapi.json supplied. I used light-codegen to generate endpoints and model.
I did install light-codegen:
git clone https://github.com/networknt/light-codegen.git
cd light-codegen
mvn clean install
Then I run codegen from my project folder:
java -jar ../../networknt/light-codegen/codegen-cli/target/codegen-cli.jar -f openapi -o /tmp/petstore -m openapi.json -c config.json
I see the following error in the output:
openapi openapi.json config.json /tmp/petstore
19:16:00.766 [main] INFO com.networknt.config.Config - daily config cache refresh
19:16:00.772 [main] INFO com.networknt.config.Config - Unable to load config from externalized folder for service.yml in
19:16:00.772 [main] INFO com.networknt.config.Config - Trying to load config from classpath directory for file service.yml
19:16:00.774 [main] INFO com.networknt.config.Config - Config loaded from default folder for service.yml
19:16:04.799 [main] INFO com.fizzed.rocker.runtime.RockerRuntime - Rocker version 0.22.0
19:16:04.801 [main] INFO com.fizzed.rocker.runtime.RockerRuntime - Rocker template reloading not activated
java.nio.file.NoSuchFileException: /tmp/petstore/src/test/resources/config/client.keystore
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.nio.file.Files.newOutputStream(Files.java:216)
at java.nio.file.Files.copy(Files.java:3016)
at com.networknt.codegen.rest.OpenApiGenerator.generate(OpenApiGenerator.java:367)
at com.networknt.codegen.Cli.run(Cli.java:98)
at com.networknt.codegen.Cli.main(Cli.java:50)
Do I need to supply client.keystore somehow?
config.json
{
"name": "petstore",
"version": "3.0.1",
"groupId": "com.networknt",
"artifactId": "petstore",
"rootPackage": "com.networknt.petstore",
"handlerPackage":"com.networknt.petstore.handler",
"modelPackage":"com.networknt.petstore.model",
"overwriteHandler": true,
"overwriteHandlerTest": true,
"overwriteModel": true,
"httpPort": 8080,
"enableHttp": false,
"httpsPort": 8443,
"enableHttps": true,
"enableHttp2": true,
"enableRegistry": false,
"supportDb": false,
"supportH2ForTest": false,
"supportClient": false,
"specChangeCodeReGenOnly": true,
"dockerOrganization": "networknt"
}
openapi.json: https://github.com/networknt/light-example-4j/blob/master/rest/perstore-with-codegen/petstore-spec/config/openapi.json
java microservices light-4j
I've tried to generate project out of sample petstore openapi.json supplied. I used light-codegen to generate endpoints and model.
I did install light-codegen:
git clone https://github.com/networknt/light-codegen.git
cd light-codegen
mvn clean install
Then I run codegen from my project folder:
java -jar ../../networknt/light-codegen/codegen-cli/target/codegen-cli.jar -f openapi -o /tmp/petstore -m openapi.json -c config.json
I see the following error in the output:
openapi openapi.json config.json /tmp/petstore
19:16:00.766 [main] INFO com.networknt.config.Config - daily config cache refresh
19:16:00.772 [main] INFO com.networknt.config.Config - Unable to load config from externalized folder for service.yml in
19:16:00.772 [main] INFO com.networknt.config.Config - Trying to load config from classpath directory for file service.yml
19:16:00.774 [main] INFO com.networknt.config.Config - Config loaded from default folder for service.yml
19:16:04.799 [main] INFO com.fizzed.rocker.runtime.RockerRuntime - Rocker version 0.22.0
19:16:04.801 [main] INFO com.fizzed.rocker.runtime.RockerRuntime - Rocker template reloading not activated
java.nio.file.NoSuchFileException: /tmp/petstore/src/test/resources/config/client.keystore
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.nio.file.Files.newOutputStream(Files.java:216)
at java.nio.file.Files.copy(Files.java:3016)
at com.networknt.codegen.rest.OpenApiGenerator.generate(OpenApiGenerator.java:367)
at com.networknt.codegen.Cli.run(Cli.java:98)
at com.networknt.codegen.Cli.main(Cli.java:50)
Do I need to supply client.keystore somehow?
config.json
{
"name": "petstore",
"version": "3.0.1",
"groupId": "com.networknt",
"artifactId": "petstore",
"rootPackage": "com.networknt.petstore",
"handlerPackage":"com.networknt.petstore.handler",
"modelPackage":"com.networknt.petstore.model",
"overwriteHandler": true,
"overwriteHandlerTest": true,
"overwriteModel": true,
"httpPort": 8080,
"enableHttp": false,
"httpsPort": 8443,
"enableHttps": true,
"enableHttp2": true,
"enableRegistry": false,
"supportDb": false,
"supportH2ForTest": false,
"supportClient": false,
"specChangeCodeReGenOnly": true,
"dockerOrganization": "networknt"
}
openapi.json: https://github.com/networknt/light-example-4j/blob/master/rest/perstore-with-codegen/petstore-spec/config/openapi.json
java microservices light-4j
java microservices light-4j
edited Nov 19 at 21:35
asked Nov 19 at 21:25
user1697575
2,41811629
2,41811629
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
In the configuration, the supportClient is set as false. In this case, there is no need to have client.keystore to be generated. I am guessing this is the directory issue.
If you want to generate the petstore project in openapi, then the best way is to run the generator from your workspace with both light-codegen and model-config as subfolders in it.
java -jar light-codegen/codegen-cli/target/codegen-cli.jar -f openapi -o /tmp/petstore -m model-config/rest/openapi/petstore/1.0.0/openapi.json -c model-config/rest/openapi/petstore/1.0.0/config.json
The configuration in light-example-4j/rest/petstore-with-maven/petstore-spec/config is not for the code generation from command line but from maven plugin.
If you want to generate code from that folder, here is the command line.
java -jar light-codegen/codegen-cli/target/codegen-cli.jar -f openapi -o /tmp/petstore -m light-example-4j/rest/perstore-with-codegen/petstore-spec/config/openapi.yaml -c light-example-4j/rest/perstore-with-codegen/petstore-spec/config/config.json
I have tried both commands and they are all working fine on my desktop. Let me know your steps in detail so that I can replicate the issue. Thanks.
Thank you Steve. when I set "supportClient": true the problem goes away and toll does generate the project. BTW, I don't have locally model-config project. I guess it might be a bug for the codegen tool when "supportClient" is set to false?
– user1697575
Nov 20 at 13:57
Also I noticed that generated project folder doesn't contain pom.xml build. Only src sub-folder is present. Is it expected?
– user1697575
Nov 20 at 14:03
In the second statement above, I am using the openapi.yaml and config.json in the light-example-4j without any issue. Would you be able to describe the steps in detail so that I can replicate on my local? Thanks.
– Steve Hu
Nov 20 at 14:27
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53382865%2flight-4j-light-codegen-fails-to-generate-project%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
In the configuration, the supportClient is set as false. In this case, there is no need to have client.keystore to be generated. I am guessing this is the directory issue.
If you want to generate the petstore project in openapi, then the best way is to run the generator from your workspace with both light-codegen and model-config as subfolders in it.
java -jar light-codegen/codegen-cli/target/codegen-cli.jar -f openapi -o /tmp/petstore -m model-config/rest/openapi/petstore/1.0.0/openapi.json -c model-config/rest/openapi/petstore/1.0.0/config.json
The configuration in light-example-4j/rest/petstore-with-maven/petstore-spec/config is not for the code generation from command line but from maven plugin.
If you want to generate code from that folder, here is the command line.
java -jar light-codegen/codegen-cli/target/codegen-cli.jar -f openapi -o /tmp/petstore -m light-example-4j/rest/perstore-with-codegen/petstore-spec/config/openapi.yaml -c light-example-4j/rest/perstore-with-codegen/petstore-spec/config/config.json
I have tried both commands and they are all working fine on my desktop. Let me know your steps in detail so that I can replicate the issue. Thanks.
Thank you Steve. when I set "supportClient": true the problem goes away and toll does generate the project. BTW, I don't have locally model-config project. I guess it might be a bug for the codegen tool when "supportClient" is set to false?
– user1697575
Nov 20 at 13:57
Also I noticed that generated project folder doesn't contain pom.xml build. Only src sub-folder is present. Is it expected?
– user1697575
Nov 20 at 14:03
In the second statement above, I am using the openapi.yaml and config.json in the light-example-4j without any issue. Would you be able to describe the steps in detail so that I can replicate on my local? Thanks.
– Steve Hu
Nov 20 at 14:27
add a comment |
In the configuration, the supportClient is set as false. In this case, there is no need to have client.keystore to be generated. I am guessing this is the directory issue.
If you want to generate the petstore project in openapi, then the best way is to run the generator from your workspace with both light-codegen and model-config as subfolders in it.
java -jar light-codegen/codegen-cli/target/codegen-cli.jar -f openapi -o /tmp/petstore -m model-config/rest/openapi/petstore/1.0.0/openapi.json -c model-config/rest/openapi/petstore/1.0.0/config.json
The configuration in light-example-4j/rest/petstore-with-maven/petstore-spec/config is not for the code generation from command line but from maven plugin.
If you want to generate code from that folder, here is the command line.
java -jar light-codegen/codegen-cli/target/codegen-cli.jar -f openapi -o /tmp/petstore -m light-example-4j/rest/perstore-with-codegen/petstore-spec/config/openapi.yaml -c light-example-4j/rest/perstore-with-codegen/petstore-spec/config/config.json
I have tried both commands and they are all working fine on my desktop. Let me know your steps in detail so that I can replicate the issue. Thanks.
Thank you Steve. when I set "supportClient": true the problem goes away and toll does generate the project. BTW, I don't have locally model-config project. I guess it might be a bug for the codegen tool when "supportClient" is set to false?
– user1697575
Nov 20 at 13:57
Also I noticed that generated project folder doesn't contain pom.xml build. Only src sub-folder is present. Is it expected?
– user1697575
Nov 20 at 14:03
In the second statement above, I am using the openapi.yaml and config.json in the light-example-4j without any issue. Would you be able to describe the steps in detail so that I can replicate on my local? Thanks.
– Steve Hu
Nov 20 at 14:27
add a comment |
In the configuration, the supportClient is set as false. In this case, there is no need to have client.keystore to be generated. I am guessing this is the directory issue.
If you want to generate the petstore project in openapi, then the best way is to run the generator from your workspace with both light-codegen and model-config as subfolders in it.
java -jar light-codegen/codegen-cli/target/codegen-cli.jar -f openapi -o /tmp/petstore -m model-config/rest/openapi/petstore/1.0.0/openapi.json -c model-config/rest/openapi/petstore/1.0.0/config.json
The configuration in light-example-4j/rest/petstore-with-maven/petstore-spec/config is not for the code generation from command line but from maven plugin.
If you want to generate code from that folder, here is the command line.
java -jar light-codegen/codegen-cli/target/codegen-cli.jar -f openapi -o /tmp/petstore -m light-example-4j/rest/perstore-with-codegen/petstore-spec/config/openapi.yaml -c light-example-4j/rest/perstore-with-codegen/petstore-spec/config/config.json
I have tried both commands and they are all working fine on my desktop. Let me know your steps in detail so that I can replicate the issue. Thanks.
In the configuration, the supportClient is set as false. In this case, there is no need to have client.keystore to be generated. I am guessing this is the directory issue.
If you want to generate the petstore project in openapi, then the best way is to run the generator from your workspace with both light-codegen and model-config as subfolders in it.
java -jar light-codegen/codegen-cli/target/codegen-cli.jar -f openapi -o /tmp/petstore -m model-config/rest/openapi/petstore/1.0.0/openapi.json -c model-config/rest/openapi/petstore/1.0.0/config.json
The configuration in light-example-4j/rest/petstore-with-maven/petstore-spec/config is not for the code generation from command line but from maven plugin.
If you want to generate code from that folder, here is the command line.
java -jar light-codegen/codegen-cli/target/codegen-cli.jar -f openapi -o /tmp/petstore -m light-example-4j/rest/perstore-with-codegen/petstore-spec/config/openapi.yaml -c light-example-4j/rest/perstore-with-codegen/petstore-spec/config/config.json
I have tried both commands and they are all working fine on my desktop. Let me know your steps in detail so that I can replicate the issue. Thanks.
answered Nov 20 at 1:58
Steve Hu
12615
12615
Thank you Steve. when I set "supportClient": true the problem goes away and toll does generate the project. BTW, I don't have locally model-config project. I guess it might be a bug for the codegen tool when "supportClient" is set to false?
– user1697575
Nov 20 at 13:57
Also I noticed that generated project folder doesn't contain pom.xml build. Only src sub-folder is present. Is it expected?
– user1697575
Nov 20 at 14:03
In the second statement above, I am using the openapi.yaml and config.json in the light-example-4j without any issue. Would you be able to describe the steps in detail so that I can replicate on my local? Thanks.
– Steve Hu
Nov 20 at 14:27
add a comment |
Thank you Steve. when I set "supportClient": true the problem goes away and toll does generate the project. BTW, I don't have locally model-config project. I guess it might be a bug for the codegen tool when "supportClient" is set to false?
– user1697575
Nov 20 at 13:57
Also I noticed that generated project folder doesn't contain pom.xml build. Only src sub-folder is present. Is it expected?
– user1697575
Nov 20 at 14:03
In the second statement above, I am using the openapi.yaml and config.json in the light-example-4j without any issue. Would you be able to describe the steps in detail so that I can replicate on my local? Thanks.
– Steve Hu
Nov 20 at 14:27
Thank you Steve. when I set "supportClient": true the problem goes away and toll does generate the project. BTW, I don't have locally model-config project. I guess it might be a bug for the codegen tool when "supportClient" is set to false?
– user1697575
Nov 20 at 13:57
Thank you Steve. when I set "supportClient": true the problem goes away and toll does generate the project. BTW, I don't have locally model-config project. I guess it might be a bug for the codegen tool when "supportClient" is set to false?
– user1697575
Nov 20 at 13:57
Also I noticed that generated project folder doesn't contain pom.xml build. Only src sub-folder is present. Is it expected?
– user1697575
Nov 20 at 14:03
Also I noticed that generated project folder doesn't contain pom.xml build. Only src sub-folder is present. Is it expected?
– user1697575
Nov 20 at 14:03
In the second statement above, I am using the openapi.yaml and config.json in the light-example-4j without any issue. Would you be able to describe the steps in detail so that I can replicate on my local? Thanks.
– Steve Hu
Nov 20 at 14:27
In the second statement above, I am using the openapi.yaml and config.json in the light-example-4j without any issue. Would you be able to describe the steps in detail so that I can replicate on my local? Thanks.
– Steve Hu
Nov 20 at 14:27
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53382865%2flight-4j-light-codegen-fails-to-generate-project%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown