├── .gitignore ├── .metadata ├── .lock ├── .log ├── .mylyn │ └── repositories.xml.zip ├── .plugins │ ├── org.eclipse.core.resources │ │ ├── .projects │ │ │ ├── RemoteSystemsTempFiles │ │ │ │ ├── .markers.snap │ │ │ │ └── .syncinfo.snap │ │ │ ├── apptest │ │ │ │ ├── .markers.snap │ │ │ │ └── .syncinfo.snap │ │ │ └── common │ │ │ │ ├── .markers.snap │ │ │ │ └── .syncinfo.snap │ │ ├── .root │ │ │ ├── .indexes │ │ │ │ └── properties.index │ │ │ └── .markers.snap │ │ ├── .safetable │ │ │ └── org.eclipse.core.resources │ │ └── 0.snap │ ├── org.eclipse.core.runtime │ │ └── .settings │ │ │ ├── org.eclipse.core.resources.prefs │ │ │ ├── org.eclipse.debug.ui.prefs │ │ │ ├── org.eclipse.jdt.ui.prefs │ │ │ ├── org.eclipse.jst.j2ee.webservice.ui.prefs │ │ │ ├── org.eclipse.mylyn.context.core.prefs │ │ │ ├── org.eclipse.mylyn.monitor.ui.prefs │ │ │ ├── org.eclipse.mylyn.tasks.ui.prefs │ │ │ ├── org.eclipse.rse.core.prefs │ │ │ ├── org.eclipse.rse.ui.prefs │ │ │ └── org.eclipse.ui.prefs │ ├── org.eclipse.e4.workbench │ │ └── workbench.xmi │ ├── org.eclipse.jdt.core │ │ └── variablesAndContainers.dat │ ├── org.eclipse.m2e.core │ │ ├── apptest.lifecyclemapping │ │ ├── common.lifecyclemapping │ │ └── nexus │ │ │ ├── 26522e0d83a422eed93329ece7565cfc │ │ │ ├── _0.cfs │ │ │ ├── segments.gen │ │ │ ├── segments_2 │ │ │ └── write.lock │ │ │ ├── 830bc118332e77292949ed1e6d2fabe0 │ │ │ ├── _0.cfs │ │ │ ├── segments.gen │ │ │ ├── segments_2 │ │ │ └── write.lock │ │ │ └── 9fa6e943133eca84381b5f86ffa525c2 │ │ │ ├── _0.cfs │ │ │ ├── segments.gen │ │ │ ├── segments_2 │ │ │ └── write.lock │ ├── org.eclipse.m2e.logback.configuration │ │ ├── 0.log │ │ └── logback.1.5.0.20140606-0033.xml │ ├── org.eclipse.rse.core │ │ ├── .log │ │ ├── initializerMarks │ │ │ └── org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark │ │ └── profiles │ │ │ └── PRF.root_0 │ │ │ ├── FP.local.files_0 │ │ │ └── node.properties │ │ │ ├── H.local_16 │ │ │ └── node.properties │ │ │ └── node.properties │ ├── org.eclipse.rse.ui │ │ └── .log │ ├── org.eclipse.team.cvs.core │ │ └── .running │ ├── org.eclipse.ui.workbench │ │ └── workingsets.xml │ ├── org.eclipse.wst.sse.core │ │ └── task-tags.properties │ └── org.eclipse.wst.xml.core │ │ ├── default_catalog.xml │ │ └── system_catalog.xml └── version.ini ├── .project ├── .settings ├── org.eclipse.core.resources.prefs ├── org.eclipse.m2e.core.prefs └── org.eclipse.wst.common.project.facet.core.xml ├── README.md ├── common-web-starter-aaa ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── .jsdtscope │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.jsdt.ui.superType.container │ ├── org.eclipse.wst.jsdt.ui.superType.name │ └── org.eclipse.wst.validation.prefs ├── LOG_PATH_IS_UNDEFINED │ ├── app.ERROR.log │ ├── app.INFO.log │ └── app.log ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── xcompany │ │ └── xproject │ │ └── common │ │ └── web │ │ └── starter │ │ └── aaa │ │ ├── Application.java │ │ ├── AuthorizationServerConfig.java │ │ ├── CustomUsernamePasswordAuthenticationFilter.java │ │ ├── LoginController.java │ │ ├── MethodSecurityConfig.java │ │ └── SecurityConfiguration.java │ ├── resources │ ├── config │ │ ├── application-dev.properties │ │ ├── application-prod.properties │ │ ├── application-test.properties │ │ └── application.properties │ ├── data.sql │ ├── jwt.jks │ ├── keystore.jks │ ├── logback.xml │ ├── schema.sql │ └── templates │ │ ├── index.html │ │ └── login.html │ └── webapp │ ├── WEB-INF │ └── web.xml │ └── index.jsp ├── common-web-starter-test ├── .classpath ├── .project ├── .settings │ ├── .jsdtscope │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.jsdt.ui.superType.container │ ├── org.eclipse.wst.jsdt.ui.superType.name │ └── org.eclipse.wst.validation.prefs ├── LOG_PATH_IS_UNDEFINED │ ├── app.ERROR.log │ ├── app.INFO.log │ └── app.log ├── pom.xml ├── src │ └── main │ │ ├── java │ │ └── com │ │ │ └── xcompany │ │ │ └── xproject │ │ │ └── common │ │ │ └── web │ │ │ └── starter │ │ │ └── test │ │ │ ├── Application.java │ │ │ ├── MethodSecurityConfig.java │ │ │ ├── OAuth2ResourceServerConfig.java │ │ │ └── user │ │ │ ├── controller │ │ │ └── UserController.java │ │ │ ├── domain │ │ │ ├── User.java │ │ │ ├── UserDetail.java │ │ │ ├── UserDetailRepository.java │ │ │ ├── UserRepository.java │ │ │ └── UserRepositoryCustom.java │ │ │ ├── serializers │ │ │ ├── AddUserSerializer.java │ │ │ ├── UserDetailSerializer.java │ │ │ └── UserSerializer.java │ │ │ └── service │ │ │ ├── UserService.java │ │ │ └── UserServiceImpl.java │ │ ├── resources │ │ ├── config │ │ │ ├── application-dev.properties │ │ │ ├── application-prod.properties │ │ │ ├── application-test.properties │ │ │ └── application.properties │ │ ├── data.sql │ │ ├── i18n │ │ │ ├── messages_en_US.properties │ │ │ └── messages_zh_CN.properties │ │ ├── logback.xml │ │ └── schema.sql │ │ └── webapp │ │ ├── WEB-INF │ │ └── web.xml │ │ └── index.jsp └── target │ ├── classes │ ├── application.properties │ ├── banner.txt │ ├── config │ │ ├── application-dev.properties │ │ ├── application-prod.properties │ │ ├── application-test.properties │ │ └── application.properties │ ├── data.sql │ ├── i18n │ │ ├── messages.properties │ │ ├── messages_en_US.properties │ │ └── messages_zh_CN.properties │ ├── logback-base.xml │ ├── logback.xml │ └── schema.sql │ ├── maven-archiver │ └── pom.properties │ ├── maven-status │ └── maven-compiler-plugin │ │ └── compile │ │ └── default-compile │ │ ├── createdFiles.lst │ │ └── inputFiles.lst │ └── xproject-common-web-starter-test-1.0.0-RELEASE.jar.original ├── common-web-starter ├── .classpath ├── .project ├── .settings │ ├── .jsdtscope │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.component │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.jsdt.ui.superType.container │ ├── org.eclipse.wst.jsdt.ui.superType.name │ └── org.eclipse.wst.validation.prefs ├── pom.xml ├── src │ └── main │ │ ├── java │ │ └── com │ │ │ └── xcompany │ │ │ └── xproject │ │ │ └── common │ │ │ └── web │ │ │ ├── entity │ │ │ └── BaseEntity.java │ │ │ └── starter │ │ │ ├── CommonWebConfiguration.java │ │ │ ├── CommonWebConfigurationHibernateJpaSessionFactory.java │ │ │ ├── CommonWebConfigurationLogFilter.java │ │ │ ├── CommonWebConfigurationMultipart.java │ │ │ ├── CommonWebConfigurationProperties.java │ │ │ ├── CommonWebConfigurationService.java │ │ │ ├── CommonWebConfigurationSwagger.java │ │ │ ├── EnableCommonWebConfiguration.java │ │ │ ├── api │ │ │ └── CommonWebConfigurationApiDoc.java │ │ │ ├── constant │ │ │ └── ResponseCode.java │ │ │ ├── context │ │ │ └── ApplicationContextProvider.java │ │ │ ├── converter │ │ │ └── StringToTimeStampConverter.java │ │ │ ├── exception │ │ │ ├── BusinessException.java │ │ │ ├── CommonErrorController.java │ │ │ ├── CommonException.java │ │ │ ├── CommonExceptionHandler.java │ │ │ ├── IOException.java │ │ │ ├── NetworkException.java │ │ │ ├── ParamsException.java │ │ │ ├── PermissionException.java │ │ │ └── UnknownException.java │ │ │ ├── filter │ │ │ └── LoggingFilter.java │ │ │ └── http │ │ │ ├── APIResponse.java │ │ │ ├── RequestEntry.java │ │ │ └── ResponseEntry.java │ │ ├── resources │ │ ├── META-INF │ │ │ └── spring.factories │ │ ├── config │ │ │ ├── application-dev.properties │ │ │ ├── application-prod.properties │ │ │ ├── application-test.properties │ │ │ └── application.properties │ │ ├── i18n │ │ │ ├── messages_en_US.properties │ │ │ └── messages_zh_CN.properties │ │ ├── logback.xml │ │ └── public │ │ │ ├── doc │ │ │ ├── api_data.js │ │ │ ├── api_data.json │ │ │ ├── api_project.js │ │ │ ├── api_project.json │ │ │ ├── css │ │ │ │ └── style.css │ │ │ ├── fonts │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ ├── img │ │ │ │ └── favicon.ico │ │ │ ├── index.html │ │ │ ├── locales │ │ │ │ ├── ca.js │ │ │ │ ├── de.js │ │ │ │ ├── es.js │ │ │ │ ├── fr.js │ │ │ │ ├── it.js │ │ │ │ ├── locale.js │ │ │ │ ├── nl.js │ │ │ │ ├── pl.js │ │ │ │ ├── pt_br.js │ │ │ │ ├── ro.js │ │ │ │ ├── ru.js │ │ │ │ ├── zh.js │ │ │ │ └── zh_cn.js │ │ │ ├── main.js │ │ │ ├── utils │ │ │ │ ├── handlebars_helper.js │ │ │ │ └── send_sample_request.js │ │ │ └── vendor │ │ │ │ ├── bootstrap.min.css │ │ │ │ ├── bootstrap.min.js │ │ │ │ ├── diff_match_patch.min.js │ │ │ │ ├── handlebars.min.js │ │ │ │ ├── jquery.min.js │ │ │ │ ├── list.min.js │ │ │ │ ├── lodash.custom.min.js │ │ │ │ ├── path-to-regexp │ │ │ │ ├── LICENSE │ │ │ │ └── index.js │ │ │ │ ├── polyfill.js │ │ │ │ ├── prettify.css │ │ │ │ ├── prettify │ │ │ │ ├── lang-Splus.js │ │ │ │ ├── lang-aea.js │ │ │ │ ├── lang-agc.js │ │ │ │ ├── lang-apollo.js │ │ │ │ ├── lang-basic.js │ │ │ │ ├── lang-cbm.js │ │ │ │ ├── lang-cl.js │ │ │ │ ├── lang-clj.js │ │ │ │ ├── lang-css.js │ │ │ │ ├── lang-dart.js │ │ │ │ ├── lang-el.js │ │ │ │ ├── lang-erl.js │ │ │ │ ├── lang-erlang.js │ │ │ │ ├── lang-fs.js │ │ │ │ ├── lang-go.js │ │ │ │ ├── lang-hs.js │ │ │ │ ├── lang-lasso.js │ │ │ │ ├── lang-lassoscript.js │ │ │ │ ├── lang-latex.js │ │ │ │ ├── lang-lgt.js │ │ │ │ ├── lang-lisp.js │ │ │ │ ├── lang-ll.js │ │ │ │ ├── lang-llvm.js │ │ │ │ ├── lang-logtalk.js │ │ │ │ ├── lang-ls.js │ │ │ │ ├── lang-lsp.js │ │ │ │ ├── lang-lua.js │ │ │ │ ├── lang-matlab.js │ │ │ │ ├── lang-ml.js │ │ │ │ ├── lang-mumps.js │ │ │ │ ├── lang-n.js │ │ │ │ ├── lang-nemerle.js │ │ │ │ ├── lang-pascal.js │ │ │ │ ├── lang-proto.js │ │ │ │ ├── lang-r.js │ │ │ │ ├── lang-rd.js │ │ │ │ ├── lang-rkt.js │ │ │ │ ├── lang-rust.js │ │ │ │ ├── lang-s.js │ │ │ │ ├── lang-scala.js │ │ │ │ ├── lang-scm.js │ │ │ │ ├── lang-sql.js │ │ │ │ ├── lang-ss.js │ │ │ │ ├── lang-swift.js │ │ │ │ ├── lang-tcl.js │ │ │ │ ├── lang-tex.js │ │ │ │ ├── lang-vb.js │ │ │ │ ├── lang-vbs.js │ │ │ │ ├── lang-vhd.js │ │ │ │ ├── lang-vhdl.js │ │ │ │ ├── lang-wiki.js │ │ │ │ ├── lang-xq.js │ │ │ │ ├── lang-xquery.js │ │ │ │ ├── lang-yaml.js │ │ │ │ ├── lang-yml.js │ │ │ │ ├── prettify.css │ │ │ │ ├── prettify.js │ │ │ │ └── run_prettify.js │ │ │ │ ├── require.min.js │ │ │ │ ├── semver.min.js │ │ │ │ └── webfontloader.js │ │ │ ├── error │ │ │ └── 404.html │ │ │ ├── favicon.ico │ │ │ └── index.html │ │ └── webapp │ │ ├── WEB-INF │ │ └── web.xml │ │ └── index.jsp └── target │ ├── classes │ ├── META-INF │ │ └── spring.factories │ ├── application.properties │ ├── banner.txt │ ├── config │ │ ├── application-dev.properties │ │ ├── application-prod.properties │ │ ├── application-test.properties │ │ └── application.properties │ ├── i18n │ │ ├── messages.properties │ │ ├── messages_en_US.properties │ │ └── messages_zh_CN.properties │ ├── logback-base.xml │ ├── logback.xml │ └── public │ │ ├── doc │ │ ├── api_data.js │ │ ├── api_data.json │ │ ├── api_project.js │ │ ├── api_project.json │ │ ├── css │ │ │ └── style.css │ │ ├── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ ├── img │ │ │ └── favicon.ico │ │ ├── index.html │ │ ├── locales │ │ │ ├── ca.js │ │ │ ├── de.js │ │ │ ├── es.js │ │ │ ├── fr.js │ │ │ ├── it.js │ │ │ ├── locale.js │ │ │ ├── nl.js │ │ │ ├── pl.js │ │ │ ├── pt_br.js │ │ │ ├── ro.js │ │ │ ├── ru.js │ │ │ ├── zh.js │ │ │ └── zh_cn.js │ │ ├── main.js │ │ ├── utils │ │ │ ├── handlebars_helper.js │ │ │ └── send_sample_request.js │ │ └── vendor │ │ │ ├── bootstrap.min.css │ │ │ ├── bootstrap.min.js │ │ │ ├── diff_match_patch.min.js │ │ │ ├── handlebars.min.js │ │ │ ├── jquery.min.js │ │ │ ├── list.min.js │ │ │ ├── lodash.custom.min.js │ │ │ ├── path-to-regexp │ │ │ ├── LICENSE │ │ │ └── index.js │ │ │ ├── polyfill.js │ │ │ ├── prettify.css │ │ │ ├── prettify │ │ │ ├── lang-Splus.js │ │ │ ├── lang-aea.js │ │ │ ├── lang-agc.js │ │ │ ├── lang-apollo.js │ │ │ ├── lang-basic.js │ │ │ ├── lang-cbm.js │ │ │ ├── lang-cl.js │ │ │ ├── lang-clj.js │ │ │ ├── lang-css.js │ │ │ ├── lang-dart.js │ │ │ ├── lang-el.js │ │ │ ├── lang-erl.js │ │ │ ├── lang-erlang.js │ │ │ ├── lang-fs.js │ │ │ ├── lang-go.js │ │ │ ├── lang-hs.js │ │ │ ├── lang-lasso.js │ │ │ ├── lang-lassoscript.js │ │ │ ├── lang-latex.js │ │ │ ├── lang-lgt.js │ │ │ ├── lang-lisp.js │ │ │ ├── lang-ll.js │ │ │ ├── lang-llvm.js │ │ │ ├── lang-logtalk.js │ │ │ ├── lang-ls.js │ │ │ ├── lang-lsp.js │ │ │ ├── lang-lua.js │ │ │ ├── lang-matlab.js │ │ │ ├── lang-ml.js │ │ │ ├── lang-mumps.js │ │ │ ├── lang-n.js │ │ │ ├── lang-nemerle.js │ │ │ ├── lang-pascal.js │ │ │ ├── lang-proto.js │ │ │ ├── lang-r.js │ │ │ ├── lang-rd.js │ │ │ ├── lang-rkt.js │ │ │ ├── lang-rust.js │ │ │ ├── lang-s.js │ │ │ ├── lang-scala.js │ │ │ ├── lang-scm.js │ │ │ ├── lang-sql.js │ │ │ ├── lang-ss.js │ │ │ ├── lang-swift.js │ │ │ ├── lang-tcl.js │ │ │ ├── lang-tex.js │ │ │ ├── lang-vb.js │ │ │ ├── lang-vbs.js │ │ │ ├── lang-vhd.js │ │ │ ├── lang-vhdl.js │ │ │ ├── lang-wiki.js │ │ │ ├── lang-xq.js │ │ │ ├── lang-xquery.js │ │ │ ├── lang-yaml.js │ │ │ ├── lang-yml.js │ │ │ ├── prettify.css │ │ │ ├── prettify.js │ │ │ └── run_prettify.js │ │ │ ├── require.min.js │ │ │ ├── semver.min.js │ │ │ └── webfontloader.js │ │ ├── error │ │ └── 404.html │ │ ├── favicon.ico │ │ └── index.html │ ├── maven-archiver │ └── pom.properties │ └── maven-status │ └── maven-compiler-plugin │ └── compile │ └── default-compile │ ├── createdFiles.lst │ └── inputFiles.lst ├── config ├── application.properties ├── banner.txt ├── i18n │ ├── messages.properties │ ├── messages_en_US.properties │ └── messages_zh_CN.properties └── logback-base.xml └── pom.xml /.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Mobile Tools for Java (J2ME) 4 | .mtj.tmp/ 5 | 6 | # Package Files # 7 | *.jar 8 | *.war 9 | *.ear 10 | 11 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 12 | hs_err_pid* 13 | -------------------------------------------------------------------------------- /.metadata/.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.lock -------------------------------------------------------------------------------- /.metadata/.mylyn/repositories.xml.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.mylyn/repositories.xml.zip -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.markers.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.markers.snap -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.syncinfo.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.syncinfo.snap -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.resources/.projects/apptest/.markers.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.core.resources/.projects/apptest/.markers.snap -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.resources/.projects/apptest/.syncinfo.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.core.resources/.projects/apptest/.syncinfo.snap -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.resources/.projects/common/.markers.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.core.resources/.projects/common/.markers.snap -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.resources/.projects/common/.syncinfo.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.core.resources/.projects/common/.syncinfo.snap -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index: -------------------------------------------------------------------------------- 1 | /org.eclipse.core.resourcescontentCacheState2org.eclipse.jdt.corestateVersionNumber27 -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.resources/0.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.core.resources/0.snap -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | version=1 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | preferredTargets=default\:default| 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs: -------------------------------------------------------------------------------- 1 | content_assist_proposals_background=255,255,255 2 | content_assist_proposals_foreground=0,0,0 3 | eclipse.preferences.version=1 4 | fontPropagated=true 5 | org.eclipse.jdt.ui.editor.tab.width= 6 | org.eclipse.jdt.ui.formatterprofiles.version=12 7 | org.eclipse.jdt.ui.javadoclocations.migrated=true 8 | org.eclipse.jface.textfont=1|Monospace|10.0|0|GTK|1|; 9 | spelling_locale_initialized=true 10 | tabWidthPropagated=true 11 | useAnnotationsPrefPage=true 12 | useQuickDiffPrefPage=true 13 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jst.j2ee.webservice.ui.prefs: -------------------------------------------------------------------------------- 1 | areThereWebServices=false 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | mylyn.attention.migrated=true 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.monitor.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.mylyn.monitor.activity.tracking.enabled.checked=true 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.tasks.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.mylyn.tasks.ui.filters.nonmatching=true 3 | org.eclipse.mylyn.tasks.ui.filters.nonmatching.encouraged=true 4 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.rse.systemtype.local.systemType.defaultUserId=root 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.rse.preferences.order.connections=root.Local 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | showIntro=false 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat: -------------------------------------------------------------------------------- 1 | JRE_LIBJRE_SRC JRE_SRCROOT 2 | JUNIT_HOME ECLIPSE_HOMEJUNIT_SRC_HOMEM2_REPO -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.m2e.core/apptest.lifecyclemapping: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.m2e.core/apptest.lifecyclemapping -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.m2e.core/common.lifecyclemapping: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.m2e.core/common.lifecyclemapping -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.m2e.core/nexus/26522e0d83a422eed93329ece7565cfc/_0.cfs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.m2e.core/nexus/26522e0d83a422eed93329ece7565cfc/_0.cfs -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.m2e.core/nexus/26522e0d83a422eed93329ece7565cfc/segments.gen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.m2e.core/nexus/26522e0d83a422eed93329ece7565cfc/segments.gen -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.m2e.core/nexus/26522e0d83a422eed93329ece7565cfc/segments_2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.m2e.core/nexus/26522e0d83a422eed93329ece7565cfc/segments_2 -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.m2e.core/nexus/26522e0d83a422eed93329ece7565cfc/write.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.m2e.core/nexus/26522e0d83a422eed93329ece7565cfc/write.lock -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/_0.cfs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/_0.cfs -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/segments.gen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/segments.gen -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/segments_2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/segments_2 -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/write.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/write.lock -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.m2e.core/nexus/9fa6e943133eca84381b5f86ffa525c2/_0.cfs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.m2e.core/nexus/9fa6e943133eca84381b5f86ffa525c2/_0.cfs -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.m2e.core/nexus/9fa6e943133eca84381b5f86ffa525c2/segments.gen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.m2e.core/nexus/9fa6e943133eca84381b5f86ffa525c2/segments.gen -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.m2e.core/nexus/9fa6e943133eca84381b5f86ffa525c2/segments_2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.m2e.core/nexus/9fa6e943133eca84381b5f86ffa525c2/segments_2 -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.m2e.core/nexus/9fa6e943133eca84381b5f86ffa525c2/write.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.m2e.core/nexus/9fa6e943133eca84381b5f86ffa525c2/write.lock -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.rse.core/initializerMarks/org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.rse.core/initializerMarks/org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.root_0/H.local_16/node.properties: -------------------------------------------------------------------------------- 1 | # RSE DOM Node 2 | 00-name=Local 3 | 01-type=Host 4 | 03-attr.description= 5 | 03-attr.hostname=LOCALHOST 6 | 03-attr.offline=false 7 | 03-attr.promptable=false 8 | 03-attr.systemType=org.eclipse.rse.systemtype.local 9 | 03-attr.type=Local 10 | 06-child.00000.00-name=Local Connector Service 11 | 06-child.00000.01-type=ConnectorService 12 | 06-child.00000.03-attr.group=Local Connector Service 13 | 06-child.00000.03-attr.port=0 14 | 06-child.00000.03-attr.useSSL=false 15 | 06-child.00000.06-child.00000.00-name=Local Files 16 | 06-child.00000.06-child.00000.01-type=SubSystem 17 | 06-child.00000.06-child.00000.03-attr.hidden=false 18 | 06-child.00000.06-child.00000.03-attr.type=local.files 19 | 06-child.00000.06-child.00000.06-child.00000.00-name=root___root\:local.files 20 | 06-child.00000.06-child.00000.06-child.00000.01-type=FilterPoolReference 21 | 06-child.00000.06-child.00000.06-child.00000.03-attr.refID=local.files 22 | 06-child.00000.06-child.00001.00-name=Local Shells 23 | 06-child.00000.06-child.00001.01-type=SubSystem 24 | 06-child.00000.06-child.00001.03-attr.hidden=false 25 | 06-child.00000.06-child.00001.03-attr.type=local.shells 26 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.root_0/node.properties: -------------------------------------------------------------------------------- 1 | # RSE DOM Node 2 | 00-name=root 3 | 01-type=Profile 4 | 03-attr.defaultPrivate=true 5 | 03-attr.isActive=true 6 | 05-ref.00000=FP.local.files_0 7 | 05-ref.00001=H.local_16 8 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.team.cvs.core/.running: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/.metadata/.plugins/org.eclipse.team.cvs.core/.running -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.wst.sse.core/task-tags.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Wed Apr 12 13:26:45 CST 2017 3 | task-tag-projects-already-scanned=RemoteSystemsTempFiles 4 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.wst.xml.core/default_catalog.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.metadata/version.ini: -------------------------------------------------------------------------------- 1 | #Wed Apr 12 13:25:36 CST 2017 2 | org.eclipse.core.runtime=2 3 | org.eclipse.platform=4.4.0.v20140925-0400 4 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | xproject 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.wst.common.project.facet.core.builder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.m2e.core.maven2Nature 21 | org.eclipse.wst.common.project.facet.core.nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /common-web-starter-aaa/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /common-web-starter-aaa/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /common-web-starter-aaa/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | common-web-starter-aaa 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.wst.jsdt.core.javascriptValidator 10 | 11 | 12 | 13 | 14 | org.eclipse.jdt.core.javabuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.wst.common.project.facet.core.builder 20 | 21 | 22 | 23 | 24 | org.eclipse.wst.validation.validationbuilder 25 | 26 | 27 | 28 | 29 | org.eclipse.m2e.core.maven2Builder 30 | 31 | 32 | 33 | 34 | 35 | org.eclipse.jem.workbench.JavaEMFNature 36 | org.eclipse.wst.common.modulecore.ModuleCoreNature 37 | org.eclipse.jdt.core.javanature 38 | org.eclipse.m2e.core.maven2Nature 39 | org.eclipse.wst.common.project.facet.core.nature 40 | org.eclipse.wst.jsdt.core.jsNature 41 | 42 | 43 | -------------------------------------------------------------------------------- /common-web-starter-aaa/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /common-web-starter-aaa/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/resources=UTF-8 3 | encoding/=UTF-8 4 | -------------------------------------------------------------------------------- /common-web-starter-aaa/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 | org.eclipse.jdt.core.compiler.compliance=1.6 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 8 | org.eclipse.jdt.core.compiler.source=1.6 9 | -------------------------------------------------------------------------------- /common-web-starter-aaa/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /common-web-starter-aaa/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /common-web-starter-aaa/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /common-web-starter-aaa/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /common-web-starter-aaa/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /common-web-starter-aaa/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /common-web-starter-aaa/LOG_PATH_IS_UNDEFINED/app.ERROR.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/common-web-starter-aaa/LOG_PATH_IS_UNDEFINED/app.ERROR.log -------------------------------------------------------------------------------- /common-web-starter-aaa/LOG_PATH_IS_UNDEFINED/app.INFO.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/common-web-starter-aaa/LOG_PATH_IS_UNDEFINED/app.INFO.log -------------------------------------------------------------------------------- /common-web-starter-aaa/LOG_PATH_IS_UNDEFINED/app.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/common-web-starter-aaa/LOG_PATH_IS_UNDEFINED/app.log -------------------------------------------------------------------------------- /common-web-starter-aaa/src/main/java/com/xcompany/xproject/common/web/starter/aaa/LoginController.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.aaa; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.web.bind.annotation.RequestMapping; 5 | import org.springframework.web.bind.annotation.RequestMethod; 6 | 7 | @Controller 8 | public class LoginController { 9 | 10 | //private static final Logger LOGGER = LoggerFactory.getLogger(LoginController.class); 11 | 12 | @RequestMapping(value = "/", method = RequestMethod.GET) 13 | public String index() { 14 | return "index"; 15 | } 16 | 17 | @RequestMapping(value = "/login", method = RequestMethod.GET) 18 | public String login() { 19 | return "login"; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /common-web-starter-aaa/src/main/java/com/xcompany/xproject/common/web/starter/aaa/MethodSecurityConfig.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.aaa; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.security.access.expression.method.MethodSecurityExpressionHandler; 5 | import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity; 6 | import org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration; 7 | import org.springframework.security.oauth2.provider.expression.OAuth2MethodSecurityExpressionHandler; 8 | 9 | @Configuration 10 | @EnableGlobalMethodSecurity(prePostEnabled = true) 11 | public class MethodSecurityConfig extends GlobalMethodSecurityConfiguration { 12 | @Override 13 | protected MethodSecurityExpressionHandler createExpressionHandler() { 14 | return new OAuth2MethodSecurityExpressionHandler(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /common-web-starter-aaa/src/main/resources/config/application-dev.properties: -------------------------------------------------------------------------------- 1 | server.port = 8001 -------------------------------------------------------------------------------- /common-web-starter-aaa/src/main/resources/config/application-prod.properties: -------------------------------------------------------------------------------- 1 | server.port = 8001 2 | -------------------------------------------------------------------------------- /common-web-starter-aaa/src/main/resources/config/application-test.properties: -------------------------------------------------------------------------------- 1 | server.port = 8001 2 | -------------------------------------------------------------------------------- /common-web-starter-aaa/src/main/resources/data.sql: -------------------------------------------------------------------------------- 1 | USE db_aaa; 2 | 3 | BEGIN; 4 | 5 | 6 | COMMIT; 7 | -------------------------------------------------------------------------------- /common-web-starter-aaa/src/main/resources/jwt.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/common-web-starter-aaa/src/main/resources/jwt.jks -------------------------------------------------------------------------------- /common-web-starter-aaa/src/main/resources/keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/common-web-starter-aaa/src/main/resources/keystore.jks -------------------------------------------------------------------------------- /common-web-starter-aaa/src/main/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /common-web-starter-aaa/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Spring Security Example 7 | 8 | 9 |
10 |

Logged user: [USERNAME]

11 |

Roles: [ROLE_USER, ROLE_ADMIN]

12 | 13 |

apiDoc

14 |

apiTest

15 | 16 |

Logout

17 |
18 | 19 | 20 | -------------------------------------------------------------------------------- /common-web-starter-aaa/src/main/resources/templates/login.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | Spring Security Example 7 | 8 | 9 | 15 |
16 |
17 |
18 |
19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /common-web-starter-aaa/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Archetype Created Web Application 7 | 8 | -------------------------------------------------------------------------------- /common-web-starter-aaa/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Hello World!

4 | 5 | 6 | -------------------------------------------------------------------------------- /common-web-starter-test/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | common-web-starter-test 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.wst.jsdt.core.javascriptValidator 10 | 11 | 12 | 13 | 14 | org.eclipse.jdt.core.javabuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.wst.common.project.facet.core.builder 20 | 21 | 22 | 23 | 24 | org.eclipse.wst.validation.validationbuilder 25 | 26 | 27 | 28 | 29 | org.eclipse.m2e.core.maven2Builder 30 | 31 | 32 | 33 | 34 | 35 | org.eclipse.jem.workbench.JavaEMFNature 36 | org.eclipse.wst.common.modulecore.ModuleCoreNature 37 | org.eclipse.jdt.core.javanature 38 | org.eclipse.m2e.core.maven2Nature 39 | org.eclipse.wst.common.project.facet.core.nature 40 | org.eclipse.wst.jsdt.core.jsNature 41 | 42 | 43 | -------------------------------------------------------------------------------- /common-web-starter-test/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /common-web-starter-test/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/main/resources=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /common-web-starter-test/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 | org.eclipse.jdt.core.compiler.compliance=1.6 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 8 | org.eclipse.jdt.core.compiler.source=1.6 9 | -------------------------------------------------------------------------------- /common-web-starter-test/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /common-web-starter-test/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /common-web-starter-test/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /common-web-starter-test/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /common-web-starter-test/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /common-web-starter-test/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /common-web-starter-test/LOG_PATH_IS_UNDEFINED/app.ERROR.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/common-web-starter-test/LOG_PATH_IS_UNDEFINED/app.ERROR.log -------------------------------------------------------------------------------- /common-web-starter-test/LOG_PATH_IS_UNDEFINED/app.INFO.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/common-web-starter-test/LOG_PATH_IS_UNDEFINED/app.INFO.log -------------------------------------------------------------------------------- /common-web-starter-test/LOG_PATH_IS_UNDEFINED/app.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/common-web-starter-test/LOG_PATH_IS_UNDEFINED/app.log -------------------------------------------------------------------------------- /common-web-starter-test/src/main/java/com/xcompany/xproject/common/web/starter/test/Application.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.test; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.web.bind.annotation.RestController; 6 | 7 | import com.xcompany.xproject.common.web.starter.EnableCommonWebConfiguration; 8 | 9 | //same as @Configuration @EnableAutoConfiguration @ComponentScan 10 | @SpringBootApplication 11 | @EnableCommonWebConfiguration 12 | //@EnableAuthorizationServer 13 | //@EnableResourceServer 14 | @RestController 15 | public class Application { 16 | 17 | public static void main(String[] args) { 18 | // TODO Auto-generated method stub 19 | SpringApplication.run(Application.class, args); 20 | } 21 | 22 | /* 23 | * @Bean public CommandLineRunner commandLineRunner(ApplicationContext ctx) 24 | * { return args -> { 25 | * 26 | * System.out.println("Let's inspect the beans provided by Spring Boot:"); 27 | * 28 | * String[] beanNames = ctx.getBeanDefinitionNames(); 29 | * Arrays.sort(beanNames); for (String beanName : beanNames) { 30 | * System.out.println(beanName); } }; } 31 | */ 32 | } 33 | -------------------------------------------------------------------------------- /common-web-starter-test/src/main/java/com/xcompany/xproject/common/web/starter/test/MethodSecurityConfig.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.test; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.security.access.expression.method.MethodSecurityExpressionHandler; 5 | import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity; 6 | import org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration; 7 | import org.springframework.security.oauth2.provider.expression.OAuth2MethodSecurityExpressionHandler; 8 | 9 | @Configuration 10 | @EnableGlobalMethodSecurity(prePostEnabled = true) 11 | public class MethodSecurityConfig extends GlobalMethodSecurityConfiguration { 12 | @Override 13 | protected MethodSecurityExpressionHandler createExpressionHandler() { 14 | return new OAuth2MethodSecurityExpressionHandler(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /common-web-starter-test/src/main/java/com/xcompany/xproject/common/web/starter/test/user/domain/User.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.test.user.domain; 2 | 3 | import java.io.Serializable; 4 | 5 | import javax.persistence.Column; 6 | import javax.persistence.Entity; 7 | 8 | import org.hibernate.validator.constraints.NotBlank; 9 | import org.hibernate.validator.constraints.NotEmpty; 10 | 11 | import com.xcompany.xproject.common.web.entity.BaseEntity; 12 | 13 | @Entity 14 | //@Table(name = "tbl_user") 15 | public class User extends BaseEntity implements Serializable { 16 | 17 | private static final long serialVersionUID = -4501297677626543855L; 18 | 19 | @Column(nullable=false, length=32) 20 | //@NotNull 21 | @NotEmpty 22 | //@NotBlank 23 | private String name; 24 | 25 | @Column(nullable=false, length=32) 26 | //@NotNull 27 | //@NotEmpty 28 | @NotBlank 29 | private String password; 30 | 31 | 32 | public User() { 33 | super(); 34 | // TODO Auto-generated constructor stub 35 | } 36 | public User(String name, String password) { 37 | super(); 38 | this.name = name; 39 | this.password = password; 40 | } 41 | public String getName() { 42 | return name; 43 | } 44 | public void setName(String name) { 45 | this.name = name; 46 | } 47 | public String getPassword() { 48 | return password; 49 | } 50 | public void setPassword(String password) { 51 | this.password = password; 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /common-web-starter-test/src/main/java/com/xcompany/xproject/common/web/starter/test/user/domain/UserDetail.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.test.user.domain; 2 | 3 | import java.io.Serializable; 4 | 5 | import javax.persistence.Column; 6 | import javax.persistence.Entity; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import org.hibernate.validator.constraints.NotEmpty; 10 | 11 | import com.xcompany.xproject.common.web.entity.BaseEntity; 12 | 13 | @Entity 14 | //@Table(name = "tbl_user_detail") 15 | public class UserDetail extends BaseEntity implements Serializable { 16 | 17 | private static final long serialVersionUID = 3449016394840912139L; 18 | 19 | @NotNull 20 | @Column(nullable = false, length = 36) 21 | private String userId; 22 | 23 | @Column(nullable = false, length = 128) 24 | // @NotNull 25 | @NotEmpty 26 | // @NotBlank 27 | private String address; 28 | 29 | public String getUserId() { 30 | return userId; 31 | } 32 | 33 | public void setUserId(String userId) { 34 | this.userId = userId; 35 | } 36 | 37 | public String getAddress() { 38 | return address; 39 | } 40 | 41 | public void setAddress(String address) { 42 | this.address = address; 43 | } 44 | 45 | } 46 | -------------------------------------------------------------------------------- /common-web-starter-test/src/main/java/com/xcompany/xproject/common/web/starter/test/user/domain/UserDetailRepository.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.test.user.domain; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.data.jpa.repository.JpaSpecificationExecutor; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Repository 8 | public interface UserDetailRepository extends JpaRepository, JpaSpecificationExecutor { 9 | 10 | } 11 | -------------------------------------------------------------------------------- /common-web-starter-test/src/main/java/com/xcompany/xproject/common/web/starter/test/user/domain/UserRepository.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.test.user.domain; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.data.jpa.repository.JpaSpecificationExecutor; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Repository 8 | public interface UserRepository extends JpaRepository, JpaSpecificationExecutor { 9 | 10 | public User findById(String id); 11 | 12 | // @Query(value = "SELECT " 13 | // + "new com.xcompany.xproject.common.web.starter.test.user.service.QueryUserSerializer(u.id, u.name, u.createtime, u.updatetime, ud.address) " 14 | // + "FROM User u, UserDetail ud " 15 | // + "WHERE u.id = ud.user AND u.name LIKE %?1% AND u.createtime BETWEEN ?2 AND ?3"//, 16 | // //countQuery = "SELECT COUNT(u.id) FROM User u WHERE u.name LIKE %?1% AND u.createtime BETWEEN ?2 AND ?3"//, 17 | // //nativeQuery = true 18 | // ) 19 | // public Page listUserNative(@Param("name") String name, 20 | // @Param("starttime") Timestamp starttime, @Param("endtime") Timestamp endtime, 21 | // Pageable pageable 22 | // ); 23 | } 24 | -------------------------------------------------------------------------------- /common-web-starter-test/src/main/java/com/xcompany/xproject/common/web/starter/test/user/serializers/AddUserSerializer.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.test.user.serializers; 2 | 3 | import org.hibernate.validator.constraints.Length; 4 | import org.hibernate.validator.constraints.NotBlank; 5 | import org.hibernate.validator.constraints.NotEmpty; 6 | 7 | public class AddUserSerializer { 8 | @NotEmpty 9 | @Length(max=32) 10 | private String name; 11 | 12 | @NotBlank 13 | @Length(max=32) 14 | private String password; 15 | 16 | public String getName() { 17 | return name; 18 | } 19 | 20 | public void setName(String name) { 21 | this.name = name; 22 | } 23 | 24 | public String getPassword() { 25 | return password; 26 | } 27 | 28 | public void setPassword(String password) { 29 | this.password = password; 30 | } 31 | 32 | 33 | } 34 | -------------------------------------------------------------------------------- /common-web-starter-test/src/main/java/com/xcompany/xproject/common/web/starter/test/user/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.test.user.service; 2 | 3 | import java.sql.Timestamp; 4 | import java.util.List; 5 | 6 | import org.springframework.data.domain.Page; 7 | import org.springframework.data.domain.Pageable; 8 | 9 | import com.xcompany.xproject.common.web.starter.test.user.serializers.UserDetailSerializer; 10 | import com.xcompany.xproject.common.web.starter.test.user.serializers.UserSerializer; 11 | 12 | 13 | public interface UserService { 14 | 15 | public Page listUser(final String name, 16 | final Timestamp startTime, final Timestamp endTime, 17 | Pageable pageable); 18 | 19 | public Page> listUserCustom(final String name, 20 | final Timestamp startTime, final Timestamp endTime, 21 | Pageable pageable); 22 | 23 | public UserSerializer getUser(String id); 24 | 25 | public UserSerializer addUser(String name, String password); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /common-web-starter-test/src/main/resources/config/application-dev.properties: -------------------------------------------------------------------------------- 1 | server.port = 8002 2 | -------------------------------------------------------------------------------- /common-web-starter-test/src/main/resources/config/application-prod.properties: -------------------------------------------------------------------------------- 1 | server.port = 8002 -------------------------------------------------------------------------------- /common-web-starter-test/src/main/resources/config/application-test.properties: -------------------------------------------------------------------------------- 1 | server.port = 8002 -------------------------------------------------------------------------------- /common-web-starter-test/src/main/resources/config/application.properties: -------------------------------------------------------------------------------- 1 | # add/override the application-base.properties of common-web-starter 2 | spring.application.name = @artifactId@ 3 | spring.application.version = @project.version@ 4 | 5 | spring.datasource.url = jdbc:mysql://localhost:3306/db_demo??useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false 6 | spring.datasource.username = demo 7 | spring.datasource.password = demo 8 | 9 | logging.path=/var/logs/${spring.application.name} 10 | logging.elapsedtime.threshhold = 500 11 | 12 | common.web.enabled = true 13 | common.web.message = xproject.hello.world 14 | 15 | # resource server 16 | security.oauth2.client.client-id = acme 17 | security.oauth2.client.client-secret = acmesecret 18 | security.oauth2.client.access-token-uri = http://localhost:8001/api/xproject-common-web-starter-aaa/oauth/token 19 | security.oauth2.client.user-authorization-uri = http://localhost:8001/api/xproject-common-web-starter-aaa/oauth/authorize 20 | security.oauth2.resource.user-info-uri = http://localhost:8001/api/xproject-common-web-starter-aaa/user 21 | security.oauth2.resource.token-info-uri = http://localhost:8001/api/xproject-common-web-starter-aaa/oauth/check_token 22 | #security.oauth2.resource.jwt.key-uri = http://10.67.13.168:8001/api/xproject-common-web-starter-aaa/oauth/token_key 23 | #security.oauth2.resource.prefer-token-info = true 24 | 25 | -------------------------------------------------------------------------------- /common-web-starter-test/src/main/resources/data.sql: -------------------------------------------------------------------------------- 1 | USE db_demo; 2 | 3 | BEGIN; 4 | 5 | 6 | COMMIT; 7 | -------------------------------------------------------------------------------- /common-web-starter-test/src/main/resources/i18n/messages_en_US.properties: -------------------------------------------------------------------------------- 1 | ##### Don't Modify 2 | # SUCCESS 3 | 2000 = success 4 | 5 | # PermissionException 6 | 3000 = permission exception 7 | 8 | # ParamsException 9 | 4000 = params exception 10 | 11 | # BusinessException 12 | 5000 = business exception 13 | 14 | # IOException 15 | 6000 = io exception 16 | 17 | # NetworkException 18 | 7000 = net exception 19 | 20 | # UnknownException 21 | -1 = unknown exception 22 | 23 | 24 | ##### Add Your Message 25 | 4001 = invalid user data 26 | -------------------------------------------------------------------------------- /common-web-starter-test/src/main/resources/i18n/messages_zh_CN.properties: -------------------------------------------------------------------------------- 1 | ##### Don't Modify 2 | # SUCCESS 3 | 2000 = \u6210\u529F 4 | 5 | # PermissionException 6 | 3000 = \u6743\u9650\u5F02\u5E38, \u8BA4\u8BC1\u6388\u6743\u5931\u8D25 7 | 8 | # ParamsException 9 | 4000 = \u53C2\u6570\u5F02\u5E38, \u7528\u6237\u53C2\u6570\u4E0D\u5408\u6CD5 10 | 11 | # BusinessException 12 | 5000 = \u4E1A\u52A1\u5F02\u5E38, \u4E1A\u52A1\u7EA6\u675F\u6761\u4EF6\u4E0D\u6EE1\u8DB3 13 | 14 | # IOException 15 | 6000 = IO\u5F02\u5E38, \u6570\u636E\u8BFB\u5199\u5F02\u5E38 16 | 17 | # NetworkException 18 | 7000 = \u7F51\u7EDC\u901A\u4FE1\u5F02\u5E38 19 | 20 | # UnknownException 21 | -1 = \u7CFB\u7EDF\u5185\u90E8\u5F02\u5E38 22 | 23 | 24 | ##### Add Your Message 25 | 4001 = user\u6570\u636E\u4E0D\u5408\u6CD5 26 | -------------------------------------------------------------------------------- /common-web-starter-test/src/main/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 21 | 22 | -------------------------------------------------------------------------------- /common-web-starter-test/src/main/resources/schema.sql: -------------------------------------------------------------------------------- 1 | -- drop table user if exists; 2 | -- create table user (id bigint generated by default as identity, username varchar(255), age int, primary key (id)); 3 | 4 | DROP DATABASE IF EXISTS db_demo; 5 | 6 | CREATE DATABASE IF NOT EXISTS db_demo; 7 | USE db_demo; 8 | SET character_set_client='utf8'; 9 | SET character_set_connection='utf8'; 10 | SET character_set_database='utf8'; 11 | 12 | BEGIN; 13 | 14 | 15 | 16 | COMMIT; 17 | -------------------------------------------------------------------------------- /common-web-starter-test/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Archetype Created Web Application 7 | 8 | -------------------------------------------------------------------------------- /common-web-starter-test/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Hello World!

4 | 5 | 6 | -------------------------------------------------------------------------------- /common-web-starter-test/target/classes/banner.txt: -------------------------------------------------------------------------------- 1 | ==================================================================================================== 2 | App: ${application.title} 3 | Version: ${application.version} 4 | SpringBoot: ${spring-boot.version} 5 | ==================================================================================================== 6 | 7 | -------------------------------------------------------------------------------- /common-web-starter-test/target/classes/config/application-dev.properties: -------------------------------------------------------------------------------- 1 | server.port = 8002 2 | -------------------------------------------------------------------------------- /common-web-starter-test/target/classes/config/application-prod.properties: -------------------------------------------------------------------------------- 1 | server.port = 8002 -------------------------------------------------------------------------------- /common-web-starter-test/target/classes/config/application-test.properties: -------------------------------------------------------------------------------- 1 | server.port = 8002 -------------------------------------------------------------------------------- /common-web-starter-test/target/classes/config/application.properties: -------------------------------------------------------------------------------- 1 | # add/override the application-base.properties of common-web-starter 2 | spring.application.name = xproject-common-web-starter-test 3 | spring.application.version = 1.0.0-RELEASE 4 | 5 | spring.datasource.url = jdbc:mysql://localhost:3306/db_demo??useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false 6 | spring.datasource.username = demo 7 | spring.datasource.password = demo 8 | 9 | logging.path=/var/logs/${spring.application.name} 10 | logging.elapsedtime.threshhold = 500 11 | 12 | common.web.enabled = true 13 | common.web.message = xproject.hello.world 14 | 15 | # resource server 16 | security.oauth2.client.client-id = acme 17 | security.oauth2.client.client-secret = acmesecret 18 | security.oauth2.client.access-token-uri = http://localhost:8001/api/xproject-common-web-starter-aaa/oauth/token 19 | security.oauth2.client.user-authorization-uri = http://localhost:8001/api/xproject-common-web-starter-aaa/oauth/authorize 20 | security.oauth2.resource.user-info-uri = http://localhost:8001/api/xproject-common-web-starter-aaa/user 21 | security.oauth2.resource.token-info-uri = http://localhost:8001/api/xproject-common-web-starter-aaa/oauth/check_token 22 | #security.oauth2.resource.jwt.key-uri = http://10.67.13.168:8001/api/xproject-common-web-starter-aaa/oauth/token_key 23 | #security.oauth2.resource.prefer-token-info = true 24 | 25 | -------------------------------------------------------------------------------- /common-web-starter-test/target/classes/data.sql: -------------------------------------------------------------------------------- 1 | USE db_demo; 2 | 3 | BEGIN; 4 | 5 | 6 | COMMIT; 7 | -------------------------------------------------------------------------------- /common-web-starter-test/target/classes/i18n/messages.properties: -------------------------------------------------------------------------------- 1 | # warning: don't remove this file 2 | # default messages.properties 3 | -------------------------------------------------------------------------------- /common-web-starter-test/target/classes/i18n/messages_en_US.properties: -------------------------------------------------------------------------------- 1 | ##### Don't Modify 2 | # SUCCESS 3 | 2000 = success 4 | 5 | # PermissionException 6 | 3000 = permission exception 7 | 8 | # ParamsException 9 | 4000 = params exception 10 | 11 | # BusinessException 12 | 5000 = business exception 13 | 14 | # IOException 15 | 6000 = io exception 16 | 17 | # NetworkException 18 | 7000 = net exception 19 | 20 | # UnknownException 21 | -1 = unknown exception 22 | 23 | 24 | ##### Add Your Message 25 | 4001 = invalid user data 26 | -------------------------------------------------------------------------------- /common-web-starter-test/target/classes/i18n/messages_zh_CN.properties: -------------------------------------------------------------------------------- 1 | ##### Don't Modify 2 | # SUCCESS 3 | 2000 = \u6210\u529F 4 | 5 | # PermissionException 6 | 3000 = \u6743\u9650\u5F02\u5E38, \u8BA4\u8BC1\u6388\u6743\u5931\u8D25 7 | 8 | # ParamsException 9 | 4000 = \u53C2\u6570\u5F02\u5E38, \u7528\u6237\u53C2\u6570\u4E0D\u5408\u6CD5 10 | 11 | # BusinessException 12 | 5000 = \u4E1A\u52A1\u5F02\u5E38, \u4E1A\u52A1\u7EA6\u675F\u6761\u4EF6\u4E0D\u6EE1\u8DB3 13 | 14 | # IOException 15 | 6000 = IO\u5F02\u5E38, \u6570\u636E\u8BFB\u5199\u5F02\u5E38 16 | 17 | # NetworkException 18 | 7000 = \u7F51\u7EDC\u901A\u4FE1\u5F02\u5E38 19 | 20 | # UnknownException 21 | -1 = \u7CFB\u7EDF\u5185\u90E8\u5F02\u5E38 22 | 23 | 24 | ##### Add Your Message 25 | 4001 = user\u6570\u636E\u4E0D\u5408\u6CD5 26 | -------------------------------------------------------------------------------- /common-web-starter-test/target/classes/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 21 | 22 | -------------------------------------------------------------------------------- /common-web-starter-test/target/classes/schema.sql: -------------------------------------------------------------------------------- 1 | -- drop table user if exists; 2 | -- create table user (id bigint generated by default as identity, username varchar(255), age int, primary key (id)); 3 | 4 | DROP DATABASE IF EXISTS db_demo; 5 | 6 | CREATE DATABASE IF NOT EXISTS db_demo; 7 | USE db_demo; 8 | SET character_set_client='utf8'; 9 | SET character_set_connection='utf8'; 10 | SET character_set_database='utf8'; 11 | 12 | BEGIN; 13 | 14 | 15 | 16 | COMMIT; 17 | -------------------------------------------------------------------------------- /common-web-starter-test/target/maven-archiver/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Apache Maven 2 | #Fri May 12 13:38:18 CST 2017 3 | version=1.0.0-RELEASE 4 | groupId=com.xcompany.xproject 5 | artifactId=xproject-common-web-starter-test 6 | -------------------------------------------------------------------------------- /common-web-starter-test/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst: -------------------------------------------------------------------------------- 1 | com/xcompany/xproject/common/web/starter/test/Application.class 2 | com/xcompany/xproject/common/web/starter/test/user/service/UserService.class 3 | com/xcompany/xproject/common/web/starter/test/OAuth2ResourceServerConfig.class 4 | com/xcompany/xproject/common/web/starter/test/user/domain/UserDetail.class 5 | com/xcompany/xproject/common/web/starter/test/user/domain/User.class 6 | com/xcompany/xproject/common/web/starter/test/user/domain/UserRepositoryCustom$1.class 7 | com/xcompany/xproject/common/web/starter/test/user/serializers/UserDetailSerializer.class 8 | com/xcompany/xproject/common/web/starter/test/user/service/UserServiceImpl.class 9 | com/xcompany/xproject/common/web/starter/test/user/domain/UserDetailRepository.class 10 | com/xcompany/xproject/common/web/starter/test/user/controller/UserController.class 11 | com/xcompany/xproject/common/web/starter/test/MethodSecurityConfig.class 12 | com/xcompany/xproject/common/web/starter/test/user/serializers/AddUserSerializer.class 13 | com/xcompany/xproject/common/web/starter/test/user/domain/UserRepositoryCustom.class 14 | com/xcompany/xproject/common/web/starter/test/user/serializers/UserSerializer.class 15 | com/xcompany/xproject/common/web/starter/test/user/domain/UserRepository.class 16 | -------------------------------------------------------------------------------- /common-web-starter-test/target/xproject-common-web-starter-test-1.0.0-RELEASE.jar.original: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/common-web-starter-test/target/xproject-common-web-starter-test-1.0.0-RELEASE.jar.original -------------------------------------------------------------------------------- /common-web-starter/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | common-web-starter 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.wst.jsdt.core.javascriptValidator 10 | 11 | 12 | 13 | 14 | org.eclipse.jdt.core.javabuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.wst.common.project.facet.core.builder 20 | 21 | 22 | 23 | 24 | org.eclipse.wst.validation.validationbuilder 25 | 26 | 27 | 28 | 29 | org.eclipse.m2e.core.maven2Builder 30 | 31 | 32 | 33 | 34 | 35 | org.eclipse.jem.workbench.JavaEMFNature 36 | org.eclipse.wst.common.modulecore.ModuleCoreNature 37 | org.eclipse.jdt.core.javanature 38 | org.eclipse.m2e.core.maven2Nature 39 | org.eclipse.wst.common.project.facet.core.nature 40 | org.eclipse.wst.jsdt.core.jsNature 41 | 42 | 43 | -------------------------------------------------------------------------------- /common-web-starter/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /common-web-starter/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/main/resources=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /common-web-starter/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 | org.eclipse.jdt.core.compiler.compliance=1.6 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 8 | org.eclipse.jdt.core.compiler.source=1.6 9 | -------------------------------------------------------------------------------- /common-web-starter/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /common-web-starter/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /common-web-starter/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /common-web-starter/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /common-web-starter/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /common-web-starter/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /common-web-starter/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | com.xcompany.xproject 8 | xproject 9 | 1.0.0-RELEASE 10 | 11 | 12 | xproject-common-web-starter 13 | jar 14 | 15 | 16 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/CommonWebConfiguration.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter; 2 | 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; 5 | import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; 6 | import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; 7 | import org.springframework.boot.context.properties.EnableConfigurationProperties; 8 | import org.springframework.context.annotation.Bean; 9 | import org.springframework.context.annotation.Configuration; 10 | 11 | @Configuration 12 | @EnableConfigurationProperties(CommonWebConfigurationProperties.class) 13 | @ConditionalOnProperty(prefix="common.web", value = {"enabled"}, havingValue = "true", matchIfMissing = false) 14 | @ConditionalOnClass(CommonWebConfigurationService.class) 15 | public class CommonWebConfiguration { 16 | @Autowired 17 | private CommonWebConfigurationProperties properties; 18 | 19 | @Bean 20 | @ConditionalOnMissingBean(CommonWebConfigurationService.class) 21 | public CommonWebConfigurationService createService() { 22 | CommonWebConfigurationService commonWebAutoConfigurationService = new CommonWebConfigurationService(); 23 | commonWebAutoConfigurationService.setMessage(properties.getMessage()); 24 | return commonWebAutoConfigurationService; 25 | } 26 | } 27 | 28 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/CommonWebConfigurationHibernateJpaSessionFactory.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | import org.springframework.context.annotation.Configuration; 5 | import org.springframework.orm.jpa.vendor.HibernateJpaSessionFactoryBean; 6 | 7 | @Configuration 8 | public class CommonWebConfigurationHibernateJpaSessionFactory { 9 | 10 | @Bean 11 | public HibernateJpaSessionFactoryBean sessionFactory() { 12 | return new HibernateJpaSessionFactoryBean(); 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/CommonWebConfigurationLogFilter.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter; 2 | 3 | import javax.servlet.Filter; 4 | 5 | import org.springframework.context.annotation.Bean; 6 | import org.springframework.context.annotation.Configuration; 7 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; 8 | 9 | import com.xcompany.xproject.common.web.starter.filter.LoggingFilter; 10 | 11 | @Configuration 12 | public class CommonWebConfigurationLogFilter extends WebMvcConfigurerAdapter { 13 | // @Bean 14 | // public LoggerHandlerInterceptor LoggerHandlerInterceptor() { 15 | // return new LoggerHandlerInterceptor(); 16 | // } 17 | @Bean 18 | public Filter LoggingFilter() { 19 | LoggingFilter loggingFilter = new LoggingFilter(); 20 | return loggingFilter; 21 | } 22 | 23 | // @Override 24 | // public void addInterceptors(InterceptorRegistry registry) { 25 | // // TODO Auto-generated method stub 26 | // // addPathPatterns, excludePathPatterns 27 | // registry.addInterceptor(LoggerHandlerInterceptor()).addPathPatterns("/**"); 28 | // super.addInterceptors(registry); 29 | // } 30 | } 31 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/CommonWebConfigurationMultipart.java: -------------------------------------------------------------------------------- 1 | /*package com.xcompany.xproject.common.web.starter; 2 | 3 | import javax.servlet.MultipartConfigElement; 4 | 5 | import org.springframework.boot.web.servlet.MultipartConfigFactory; 6 | import org.springframework.context.annotation.Bean; 7 | import org.springframework.context.annotation.Configuration; 8 | 9 | @Configuration 10 | public class CommonWebConfigurationMultipart { 11 | 12 | @Bean 13 | public MultipartConfigElement multipartConfigElement(){ 14 | MultipartConfigFactory factory = new MultipartConfigFactory(); 15 | factory.setMaxFileSize("10MB"); 16 | factory.setMaxRequestSize("10MB"); 17 | return factory.createMultipartConfig(); 18 | } 19 | 20 | } 21 | */ -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/CommonWebConfigurationProperties.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter; 2 | 3 | import org.springframework.boot.context.properties.ConfigurationProperties; 4 | 5 | @ConfigurationProperties(prefix="common.web") 6 | public class CommonWebConfigurationProperties { 7 | 8 | private String message = "hello"; 9 | 10 | public String getMessage() { 11 | return message; 12 | } 13 | 14 | public void setMessage(String message) { 15 | this.message = message; 16 | } 17 | 18 | 19 | } 20 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/CommonWebConfigurationService.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter; 2 | 3 | import org.slf4j.Logger; 4 | import org.slf4j.LoggerFactory; 5 | 6 | public class CommonWebConfigurationService { 7 | private static final Logger LOGGER = LoggerFactory.getLogger(CommonWebConfigurationService.class); 8 | 9 | private String message; 10 | 11 | public String getMessage() { 12 | return message; 13 | } 14 | 15 | public void setMessage(String message) { 16 | this.message = message; 17 | } 18 | 19 | public String sayHello() { 20 | LOGGER.info(this.message); 21 | return this.message; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/EnableCommonWebConfiguration.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter; 2 | 3 | import java.lang.annotation.Documented; 4 | import java.lang.annotation.ElementType; 5 | import java.lang.annotation.Inherited; 6 | import java.lang.annotation.Retention; 7 | import java.lang.annotation.RetentionPolicy; 8 | import java.lang.annotation.Target; 9 | 10 | import org.springframework.context.annotation.Import; 11 | 12 | @Target(ElementType.TYPE) 13 | @Retention(RetentionPolicy.RUNTIME) 14 | @Documented 15 | @Inherited 16 | @Import(CommonWebConfiguration.class) 17 | public @interface EnableCommonWebConfiguration { 18 | 19 | } 20 | 21 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/api/CommonWebConfigurationApiDoc.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.api; 2 | 3 | import org.slf4j.Logger; 4 | import org.slf4j.LoggerFactory; 5 | import org.springframework.stereotype.Controller; 6 | import org.springframework.web.bind.annotation.RequestMapping; 7 | 8 | //Spring Profiles provide a way to segregate parts of your application configuration 9 | //and make it only available in certain environments. 10 | //Any @Component or @Configuration can be marked with @Profile to limit when it is loaded 11 | //@Configuration // or @Component 12 | //@Profile("prod") 13 | 14 | @Controller 15 | @RequestMapping("/") 16 | public class CommonWebConfigurationApiDoc { 17 | private static final Logger LOGGER = LoggerFactory.getLogger(CommonWebConfigurationApiDoc.class); 18 | 19 | @RequestMapping("doc/") 20 | public String apiDoc() { 21 | LOGGER.info("/doc/index.html"); 22 | //return "redirect:/swagger-ui.html"; 23 | return "redirect:/doc/index.html"; 24 | } 25 | 26 | @RequestMapping("test/") 27 | public String apiTest() { 28 | LOGGER.info("/swagger-ui.html"); 29 | return "redirect:/swagger-ui.html"; 30 | } 31 | } 32 | 33 | 34 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/constant/ResponseCode.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.constant; 2 | 3 | public interface ResponseCode { 4 | public static final int SUCCESS = 2000; 5 | public static final int PERMISSION_EXCEPTION = 3000; 6 | public static final int PARAMS_EXCEPTION = 4000; 7 | public static final int BUSINESS_EXCEPTION = 5000; 8 | public static final int IO_EXCEPTION = 6000; 9 | public static final int NETWORK_EXCEPTION = 7000; 10 | public static final int UNKNOWN_EXCEPTION = -1; 11 | } 12 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/context/ApplicationContextProvider.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.context; 2 | 3 | import org.springframework.beans.BeansException; 4 | import org.springframework.context.ApplicationContext; 5 | import org.springframework.context.ApplicationContextAware; 6 | import org.springframework.stereotype.Component; 7 | 8 | @Component 9 | public class ApplicationContextProvider implements ApplicationContextAware { 10 | 11 | private static ApplicationContext context; 12 | 13 | private ApplicationContextProvider() { 14 | 15 | } 16 | 17 | public static ApplicationContext getApplicationContext() { 18 | return context; 19 | } 20 | 21 | public static T getBean(String name,Class aClass){ 22 | return context.getBean(name,aClass); 23 | } 24 | 25 | @Override 26 | public void setApplicationContext(ApplicationContext ctx) throws BeansException { 27 | context = ctx; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/converter/StringToTimeStampConverter.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.converter; 2 | 3 | import java.sql.Timestamp; 4 | 5 | import org.springframework.core.convert.converter.Converter; 6 | import org.springframework.stereotype.Component; 7 | 8 | @Component 9 | public class StringToTimeStampConverter implements Converter{ 10 | 11 | @Override 12 | public Timestamp convert(String source) { 13 | // TODO Auto-generated method stub 14 | if (null != source) { 15 | return new Timestamp(Long.parseLong(source)); 16 | } else { 17 | return null; 18 | } 19 | 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/exception/BusinessException.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.exception; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | 7 | public class BusinessException extends CommonException { 8 | 9 | private static final long serialVersionUID = -4182753460188854583L; 10 | 11 | public BusinessException(int code, Object[] objects, 12 | List> errors) { 13 | super(code, objects, errors); 14 | // TODO Auto-generated constructor stub 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/exception/CommonException.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.exception; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | public class CommonException extends RuntimeException { 7 | 8 | private static final long serialVersionUID = 997200116692026722L; 9 | private int code; 10 | private Object[] objects; 11 | private List> errors; 12 | 13 | 14 | public CommonException(int code, Object[] objects, 15 | List> errors) { 16 | super(); 17 | this.code = code; 18 | this.objects = objects; 19 | this.errors = errors; 20 | } 21 | public int getCode() { 22 | return code; 23 | } 24 | public void setCode(int code) { 25 | this.code = code; 26 | } 27 | public Object[] getObjects() { 28 | return objects; 29 | } 30 | public void setObjects(Object[] objects) { 31 | this.objects = objects; 32 | } 33 | public List> getErrors() { 34 | return errors; 35 | } 36 | public void setErrors(List> errors) { 37 | this.errors = errors; 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/exception/IOException.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.exception; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | public class IOException extends CommonException { 7 | 8 | public IOException(int code, Object[] objects, 9 | List> errors) { 10 | super(code, objects, errors); 11 | // TODO Auto-generated constructor stub 12 | } 13 | 14 | private static final long serialVersionUID = -7302548304670382701L; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/exception/NetworkException.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.exception; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | public class NetworkException extends CommonException { 7 | 8 | public NetworkException(int code, Object[] objects, 9 | List> errors) { 10 | super(code, objects, errors); 11 | // TODO Auto-generated constructor stub 12 | } 13 | 14 | private static final long serialVersionUID = -5889401412547044320L; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/exception/ParamsException.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.exception; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | import org.springframework.validation.BindingResult; 7 | 8 | public class ParamsException extends CommonException { 9 | private static final long serialVersionUID = 1600465240492997865L; 10 | private BindingResult bindingResult; 11 | 12 | public ParamsException(int code, Object[] objects, 13 | List> errors, BindingResult bindingResult) { 14 | super(code, objects, errors); 15 | this.bindingResult = bindingResult; 16 | } 17 | 18 | public BindingResult getBindingResult() { 19 | return bindingResult; 20 | } 21 | public void setBindingResult(BindingResult bindingResult) { 22 | this.bindingResult = bindingResult; 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/exception/PermissionException.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.exception; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | 7 | 8 | public class PermissionException extends CommonException { 9 | 10 | private static final long serialVersionUID = -6612190356331868387L; 11 | 12 | public PermissionException(int code, Object[] objects, 13 | List> errors) { 14 | super(code, objects, errors); 15 | // TODO Auto-generated constructor stub 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/exception/UnknownException.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.exception; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | public class UnknownException extends CommonException { 7 | 8 | public UnknownException(int code, Object[] objects, 9 | List> errors) { 10 | super(code, objects, errors); 11 | // TODO Auto-generated constructor stub 12 | } 13 | 14 | private static final long serialVersionUID = 6167890843629602313L; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /common-web-starter/src/main/java/com/xcompany/xproject/common/web/starter/http/RequestEntry.java: -------------------------------------------------------------------------------- 1 | package com.xcompany.xproject.common.web.starter.http; 2 | 3 | 4 | public class RequestEntry { 5 | private String method; 6 | private String uri; 7 | private String queryString; 8 | private Long contentLength; 9 | 10 | 11 | public RequestEntry(String method, String uui, String queryString, 12 | Long contentLength) { 13 | super(); 14 | this.method = method; 15 | this.uri = uui; 16 | this.queryString = queryString; 17 | this.contentLength = contentLength; 18 | } 19 | public String getMethod() { 20 | return method; 21 | } 22 | public void setMethod(String method) { 23 | this.method = method; 24 | } 25 | public String getUui() { 26 | return uri; 27 | } 28 | public void setUui(String uui) { 29 | this.uri = uui; 30 | } 31 | public String getQueryString() { 32 | return queryString; 33 | } 34 | public void setQueryString(String queryString) { 35 | this.queryString = queryString; 36 | } 37 | public Long getContentLength() { 38 | return contentLength; 39 | } 40 | public void setContentLength(Long contentLength) { 41 | this.contentLength = contentLength; 42 | } 43 | @Override 44 | public String toString() { 45 | return "RequestEntry [method=" + method + ", uri=" + uri 46 | + ", queryString=" + queryString + ", contentLength=" 47 | + contentLength + "]"; 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/META-INF/spring.factories: -------------------------------------------------------------------------------- 1 | # com.xcompany.xproject.common.web.starter.CommonWebConfiguration,\ 2 | org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ 3 | com.xcompany.xproject.common.web.starter.CommonWebConfigurationSwagger,\ 4 | com.xcompany.xproject.common.web.starter.CommonWebConfigurationLogFilter,\ 5 | com.xcompany.xproject.common.web.starter.exception.CommonExceptionHandler,\ 6 | com.xcompany.xproject.common.web.starter.converter.StringToTimeStampConverter,\ 7 | com.xcompany.xproject.common.web.starter.api.CommonWebConfigurationApiDoc,\ 8 | com.xcompany.xproject.common.web.starter.CommonWebConfigurationHibernateJpaSessionFactory,\ 9 | com.xcompany.xproject.common.web.starter.context.ApplicationContextProvider 10 | 11 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/config/application-dev.properties: -------------------------------------------------------------------------------- 1 | server.port=8080 -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/config/application-prod.properties: -------------------------------------------------------------------------------- 1 | server.port=80 -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/config/application-test.properties: -------------------------------------------------------------------------------- 1 | server.port=80 -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/config/application.properties: -------------------------------------------------------------------------------- 1 | # add/override the application-base.properties of common-web-starter 2 | spring.application.name = @artifactId@ 3 | spring.application.version = @project.version@ 4 | 5 | spring.datasource.url = jdbc:mysql://localhost:3306/db_demo??useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false 6 | spring.datasource.username = demo 7 | spring.datasource.password = demo 8 | 9 | logging.path=/var/logs/${spring.application.name} 10 | logging.elapsedtime.threshhold = 500 11 | 12 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/i18n/messages_en_US.properties: -------------------------------------------------------------------------------- 1 | ##### Don't Modify 2 | # SUCCESS 3 | 2000 = success 4 | 5 | # PermissionException 6 | 3000 = permission exception 7 | 8 | # ParamsException 9 | 4000 = params exception 10 | 11 | # BusinessException 12 | 5000 = business exception 13 | 14 | # IOException 15 | 6000 = io exception 16 | 17 | # NetworkException 18 | 7000 = net exception 19 | 20 | # UnknownException 21 | -1 = unknown exception 22 | 23 | 24 | ##### Add Your Message 25 | 4001 = invalid user data 26 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/i18n/messages_zh_CN.properties: -------------------------------------------------------------------------------- 1 | ##### Don't Modify 2 | # SUCCESS 3 | 2000 = \u6210\u529F 4 | 5 | # PermissionException 6 | 3000 = \u6743\u9650\u5F02\u5E38, \u8BA4\u8BC1\u6388\u6743\u5931\u8D25 7 | 8 | # ParamsException 9 | 4000 = \u53C2\u6570\u5F02\u5E38, \u7528\u6237\u53C2\u6570\u4E0D\u5408\u6CD5 10 | 11 | 12 | # BusinessException 13 | 5000 = \u4E1A\u52A1\u5F02\u5E38, \u4E1A\u52A1\u7EA6\u675F\u6761\u4EF6\u4E0D\u6EE1\u8DB3 14 | 15 | # IOException 16 | 6000 = IO\u5F02\u5E38, \u6570\u636E\u8BFB\u5199\u5F02\u5E38 17 | 18 | # NetworkException 19 | 7000 = \u7F51\u7EDC\u901A\u4FE1\u5F02\u5E38 20 | 21 | # UnknownException 22 | -1 = \u7CFB\u7EDF\u5185\u90E8\u5F02\u5E38 23 | 24 | 25 | ##### Add Your Message 26 | 4001 = user\u6570\u636E\u4E0D\u5408\u6CD5 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/api_project.js: -------------------------------------------------------------------------------- 1 | define({ 2 | "name": "API Document", 3 | "version": "1.0.0", 4 | "description": "base-url: /api/myproject-demoservice", 5 | "sampleUrl": false, 6 | "defaultVersion": "0.0.0", 7 | "apidoc": "0.3.0", 8 | "generator": { 9 | "name": "apidoc", 10 | "time": "2017-04-14T13:25:15.351Z", 11 | "url": "http://apidocjs.com", 12 | "version": "0.17.5" 13 | } 14 | }); 15 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/api_project.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "API Document", 3 | "version": "1.0.0", 4 | "description": "base-url: /api/myproject-demoservice", 5 | "sampleUrl": false, 6 | "defaultVersion": "0.0.0", 7 | "apidoc": "0.3.0", 8 | "generator": { 9 | "name": "apidoc", 10 | "time": "2017-04-14T13:25:15.351Z", 11 | "url": "http://apidocjs.com", 12 | "version": "0.17.5" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/common-web-starter/src/main/resources/public/doc/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/common-web-starter/src/main/resources/public/doc/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/common-web-starter/src/main/resources/public/doc/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/common-web-starter/src/main/resources/public/doc/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/common-web-starter/src/main/resources/public/doc/img/favicon.ico -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/locales/ca.js: -------------------------------------------------------------------------------- 1 | define({ 2 | ca: { 3 | 'Allowed values:' : 'Valors permesos:', 4 | 'Compare all with predecessor': 'Comparar tot amb versió anterior', 5 | 'compare changes to:' : 'comparar canvis amb:', 6 | 'compared to' : 'comparat amb', 7 | 'Default value:' : 'Valor per defecte:', 8 | 'Description' : 'Descripció', 9 | 'Field' : 'Camp', 10 | 'General' : 'General', 11 | 'Generated with' : 'Generat amb', 12 | 'Name' : 'Nom', 13 | 'No response values.' : 'Sense valors en la resposta.', 14 | 'optional' : 'opcional', 15 | 'Parameter' : 'Paràmetre', 16 | 'Permission:' : 'Permisos:', 17 | 'Response' : 'Resposta', 18 | 'Send' : 'Enviar', 19 | 'Send a Sample Request' : 'Enviar una petició d\'exemple', 20 | 'show up to version:' : 'mostrar versió:', 21 | 'Size range:' : 'Tamany de rang:', 22 | 'Type' : 'Tipus', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/locales/de.js: -------------------------------------------------------------------------------- 1 | define({ 2 | de: { 3 | 'Allowed values:' : 'Erlaubte Werte:', 4 | 'Compare all with predecessor': 'Vergleiche alle mit ihren Vorgängern', 5 | 'compare changes to:' : 'vergleiche Änderungen mit:', 6 | 'compared to' : 'verglichen mit', 7 | 'Default value:' : 'Standardwert:', 8 | 'Description' : 'Beschreibung', 9 | 'Field' : 'Feld', 10 | 'General' : 'Allgemein', 11 | 'Generated with' : 'Erstellt mit', 12 | 'Name' : 'Name', 13 | 'No response values.' : 'Keine Rückgabewerte.', 14 | 'optional' : 'optional', 15 | 'Parameter' : 'Parameter', 16 | 'Permission:' : 'Berechtigung:', 17 | 'Response' : 'Antwort', 18 | 'Send' : 'Senden', 19 | 'Send a Sample Request' : 'Eine Beispielanfrage senden', 20 | 'show up to version:' : 'zeige bis zur Version:', 21 | 'Size range:' : 'Größenbereich:', 22 | 'Type' : 'Typ', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/locales/es.js: -------------------------------------------------------------------------------- 1 | define({ 2 | es: { 3 | 'Allowed values:' : 'Valores permitidos:', 4 | 'Compare all with predecessor': 'Comparar todo con versión anterior', 5 | 'compare changes to:' : 'comparar cambios con:', 6 | 'compared to' : 'comparado con', 7 | 'Default value:' : 'Valor por defecto:', 8 | 'Description' : 'Descripción', 9 | 'Field' : 'Campo', 10 | 'General' : 'General', 11 | 'Generated with' : 'Generado con', 12 | 'Name' : 'Nombre', 13 | 'No response values.' : 'Sin valores en la respuesta.', 14 | 'optional' : 'opcional', 15 | 'Parameter' : 'Parámetro', 16 | 'Permission:' : 'Permisos:', 17 | 'Response' : 'Respuesta', 18 | 'Send' : 'Enviar', 19 | 'Send a Sample Request' : 'Enviar una petición de ejemplo', 20 | 'show up to version:' : 'mostrar a versión:', 21 | 'Size range:' : 'Tamaño de rango:', 22 | 'Type' : 'Tipo', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/locales/fr.js: -------------------------------------------------------------------------------- 1 | define({ 2 | fr: { 3 | 'Allowed values:' : 'Valeurs autorisées :', 4 | 'Compare all with predecessor': 'Tout comparer avec ...', 5 | 'compare changes to:' : 'comparer les changements à :', 6 | 'compared to' : 'comparer à', 7 | 'Default value:' : 'Valeur par défaut :', 8 | 'Description' : 'Description', 9 | 'Field' : 'Champ', 10 | 'General' : 'Général', 11 | 'Generated with' : 'Généré avec', 12 | 'Name' : 'Nom', 13 | 'No response values.' : 'Aucune valeur de réponse.', 14 | 'optional' : 'optionnel', 15 | 'Parameter' : 'Paramètre', 16 | 'Permission:' : 'Permission :', 17 | 'Response' : 'Réponse', 18 | 'Send' : 'Envoyer', 19 | 'Send a Sample Request' : 'Envoyer une requête représentative', 20 | 'show up to version:' : 'Montrer à partir de la version :', 21 | 'Size range:' : 'Ordre de grandeur :', 22 | 'Type' : 'Type', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/locales/it.js: -------------------------------------------------------------------------------- 1 | define({ 2 | it: { 3 | 'Allowed values:' : 'Valori permessi:', 4 | 'Compare all with predecessor': 'Confronta tutto con versioni precedenti', 5 | 'compare changes to:' : 'confronta modifiche con:', 6 | 'compared to' : 'confrontato con', 7 | 'Default value:' : 'Valore predefinito:', 8 | 'Description' : 'Descrizione', 9 | 'Field' : 'Campo', 10 | 'General' : 'Generale', 11 | 'Generated with' : 'Creato con', 12 | 'Name' : 'Nome', 13 | 'No response values.' : 'Nessun valore di risposta.', 14 | 'optional' : 'opzionale', 15 | 'Parameter' : 'Parametro', 16 | 'Permission:' : 'Permessi:', 17 | 'Response' : 'Risposta', 18 | 'Send' : 'Invia', 19 | 'Send a Sample Request' : 'Invia una richiesta di esempio', 20 | 'show up to version:' : 'mostra alla versione:', 21 | 'Size range:' : 'Intervallo dimensione:', 22 | 'Type' : 'Tipo', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/locales/locale.js: -------------------------------------------------------------------------------- 1 | define([ 2 | './locales/ca.js', 3 | './locales/de.js', 4 | './locales/es.js', 5 | './locales/fr.js', 6 | './locales/it.js', 7 | './locales/nl.js', 8 | './locales/pl.js', 9 | './locales/pt_br.js', 10 | './locales/ro.js', 11 | './locales/ru.js', 12 | './locales/zh.js', 13 | './locales/zh_cn.js' 14 | ], function() { 15 | var langId = (navigator.language || navigator.userLanguage).toLowerCase().replace('-', '_'); 16 | var language = langId.substr(0, 2); 17 | var locales = {}; 18 | 19 | for (index in arguments) { 20 | for (property in arguments[index]) 21 | locales[property] = arguments[index][property]; 22 | } 23 | if ( ! locales['en']) 24 | locales['en'] = {}; 25 | 26 | if ( ! locales[langId] && ! locales[language]) 27 | language = 'en'; 28 | 29 | var locale = (locales[langId] ? locales[langId] : locales[language]); 30 | 31 | function __(text) { 32 | var index = locale[text]; 33 | if (index === undefined) 34 | return text; 35 | return index; 36 | }; 37 | 38 | function setLanguage(language) { 39 | locale = locales[language]; 40 | } 41 | 42 | return { 43 | __ : __, 44 | locales : locales, 45 | locale : locale, 46 | setLanguage: setLanguage 47 | }; 48 | }); 49 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/locales/nl.js: -------------------------------------------------------------------------------- 1 | define({ 2 | nl: { 3 | 'Allowed values:' : 'Toegestane waarden:', 4 | 'Compare all with predecessor': 'Vergelijk alle met voorgaande versie', 5 | 'compare changes to:' : 'vergelijk veranderingen met:', 6 | 'compared to' : 'vergelijk met', 7 | 'Default value:' : 'Standaard waarde:', 8 | 'Description' : 'Omschrijving', 9 | 'Field' : 'Veld', 10 | 'General' : 'Algemeen', 11 | 'Generated with' : 'Gegenereerd met', 12 | 'Name' : 'Naam', 13 | 'No response values.' : 'Geen response waardes.', 14 | 'optional' : 'optioneel', 15 | 'Parameter' : 'Parameter', 16 | 'Permission:' : 'Permissie:', 17 | 'Response' : 'Antwoorden', 18 | 'Send' : 'Sturen', 19 | 'Send a Sample Request' : 'Stuur een sample aanvragen', 20 | 'show up to version:' : 'toon tot en met versie:', 21 | 'Size range:' : 'Maatbereik:', 22 | 'Type' : 'Type', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/locales/pl.js: -------------------------------------------------------------------------------- 1 | define({ 2 | pl: { 3 | 'Allowed values:' : 'Dozwolone wartości:', 4 | 'Compare all with predecessor': 'Porównaj z poprzednimi wersjami', 5 | 'compare changes to:' : 'porównaj zmiany do:', 6 | 'compared to' : 'porównaj do:', 7 | 'Default value:' : 'Wartość domyślna:', 8 | 'Description' : 'Opis', 9 | 'Field' : 'Pole', 10 | 'General' : 'Generalnie', 11 | 'Generated with' : 'Wygenerowano z', 12 | 'Name' : 'Nazwa', 13 | 'No response values.' : 'Brak odpowiedzi.', 14 | 'optional' : 'opcjonalny', 15 | 'Parameter' : 'Parametr', 16 | 'Permission:' : 'Uprawnienia:', 17 | 'Response' : 'Odpowiedź', 18 | 'Send' : 'Wyślij', 19 | 'Send a Sample Request' : 'Wyślij przykładowe żądanie', 20 | 'show up to version:' : 'pokaż do wersji:', 21 | 'Size range:' : 'Zakres rozmiaru:', 22 | 'Type' : 'Typ', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/locales/pt_br.js: -------------------------------------------------------------------------------- 1 | define({ 2 | 'pt_br': { 3 | 'Allowed values:' : 'Valores permitidos:', 4 | 'Compare all with predecessor': 'Compare todos com antecessores', 5 | 'compare changes to:' : 'comparar alterações com:', 6 | 'compared to' : 'comparado com', 7 | 'Default value:' : 'Valor padrão:', 8 | 'Description' : 'Descrição', 9 | 'Field' : 'Campo', 10 | 'General' : 'Geral', 11 | 'Generated with' : 'Gerado com', 12 | 'Name' : 'Nome', 13 | 'No response values.' : 'Sem valores de resposta.', 14 | 'optional' : 'opcional', 15 | 'Parameter' : 'Parâmetro', 16 | 'Permission:' : 'Permissão:', 17 | 'Response' : 'Resposta', 18 | 'Send' : 'Enviar', 19 | 'Send a Sample Request' : 'Enviar um Exemplo de Pedido', 20 | 'show up to version:' : 'aparecer para a versão:', 21 | 'Size range:' : 'Faixa de tamanho:', 22 | 'Type' : 'Tipo', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/locales/ro.js: -------------------------------------------------------------------------------- 1 | define({ 2 | ro: { 3 | 'Allowed values:' : 'Valori permise:', 4 | 'Compare all with predecessor': 'Compară toate cu versiunea precedentă', 5 | 'compare changes to:' : 'compară cu versiunea:', 6 | 'compared to' : 'comparat cu', 7 | 'Default value:' : 'Valoare implicită:', 8 | 'Description' : 'Descriere', 9 | 'Field' : 'Câmp', 10 | 'General' : 'General', 11 | 'Generated with' : 'Generat cu', 12 | 'Name' : 'Nume', 13 | 'No response values.' : 'Nici o valoare returnată.', 14 | 'optional' : 'opțional', 15 | 'Parameter' : 'Parametru', 16 | 'Permission:' : 'Permisiune:', 17 | 'Response' : 'Răspuns', 18 | 'Send' : 'Trimite', 19 | 'Send a Sample Request' : 'Trimite o cerere de probă', 20 | 'show up to version:' : 'arată până la versiunea:', 21 | 'Size range:' : 'Interval permis:', 22 | 'Type' : 'Tip', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/locales/ru.js: -------------------------------------------------------------------------------- 1 | define({ 2 | ru: { 3 | 'Allowed values:' : 'Допустимые значения:', 4 | 'Compare all with predecessor': 'Сравнить с предыдущей версией', 5 | 'compare changes to:' : 'сравнить с:', 6 | 'compared to' : 'в сравнении с', 7 | 'Default value:' : 'По умолчанию:', 8 | 'Description' : 'Описание', 9 | 'Field' : 'Название', 10 | 'General' : 'Общая информация', 11 | 'Generated with' : 'Сгенерировано с помощью', 12 | 'Name' : 'Название', 13 | 'No response values.' : 'Нет значений для ответа.', 14 | 'optional' : 'необязательный', 15 | 'Parameter' : 'Параметр', 16 | 'Permission:' : 'Разрешено:', 17 | 'Response' : 'Ответ', 18 | 'Send' : 'Отправить', 19 | 'Send a Sample Request' : 'Отправить тестовый запрос', 20 | 'show up to version:' : 'показать версию:', 21 | 'Size range:' : 'Ограничения:', 22 | 'Type' : 'Тип', 23 | 'url' : 'URL' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/locales/zh.js: -------------------------------------------------------------------------------- 1 | define({ 2 | zh: { 3 | 'Allowed values​​:' : '允許值:', 4 | 'Compare all with predecessor': '預先比較所有', 5 | 'compare changes to:' : '比較變更:', 6 | 'compared to' : '對比', 7 | 'Default value:' : '默認值:', 8 | 'Description' : '描述', 9 | 'Field' : '字段', 10 | 'General' : '概括', 11 | 'Generated with' : '生成工具', 12 | 'Name' : '名稱', 13 | 'No response values​​.' : '無對應資料.', 14 | 'optional' : '選項', 15 | 'Parameter' : '參數', 16 | 'Permission:' : '允許:', 17 | 'Response' : '回應', 18 | 'Send' : '發送', 19 | 'Send a Sample Request' : '發送試用需求', 20 | 'show up to version:' : '顯示到版本:', 21 | 'Size range:' : '尺寸範圍:', 22 | 'Type' : '類型', 23 | 'url' : '網址' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/locales/zh_cn.js: -------------------------------------------------------------------------------- 1 | define({ 2 | 'zh_cn': { 3 | 'Allowed values:' : '允许值:', 4 | 'Compare all with predecessor': '与所有较早的比较', 5 | 'compare changes to:' : '将当前版本与指定版本比较:', 6 | 'compared to' : '相比于', 7 | 'Default value:' : '默认值:', 8 | 'Description' : '描述', 9 | 'Field' : '字段', 10 | 'General' : '概要', 11 | 'Generated with' : '基于', 12 | 'Name' : '名称', 13 | 'No response values.' : '无返回值.', 14 | 'optional' : '可选', 15 | 'Parameter' : '参数', 16 | 'Permission:' : '权限:', 17 | 'Response' : '返回', 18 | 'Send' : '发送', 19 | 'Send a Sample Request' : '发送示例请求', 20 | 'show up to version:' : '显示到指定版本:', 21 | 'Size range:' : '取值范围:', 22 | 'Type' : '类型', 23 | 'url' : '网址' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/path-to-regexp/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-Splus.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Jeffrey B. Arnold 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\]|\\[\s\S])*(?:\'|$)/,null,"'"]],[["com",/^#.*/],["kwd",/^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![A-Za-z0-9_.])/],["lit",/^0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?/],["lit",/^[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?[Li]?/],["lit",/^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\.\.(?:\.|[0-9]+))(?![A-Za-z0-9_.])/], 18 | ["pun",/^(?:<>?|-|==|<=|>=|<|>|&&?|!=|\|\|?|\*|\+|\^|\/|!|%.*?%|=|~|\$|@|:{1,3}|[\[\](){};,?])/],["pln",/^(?:[A-Za-z]+[A-Za-z0-9_.]*|\.[a-zA-Z_][0-9a-zA-Z\._]*)(?![A-Za-z0-9_.])/],["str",/^`.+`/]]),["r","s","R","S","Splus"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-basic.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Peter Kofler 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["str",/^(?:"(?:[^\\"\r\n]|\\.)*(?:"|$))/,null,'"'],["pln",/^\s+/,null," \r\n\t\u00a0"]],[["com",/^REM[^\r\n]*/,null],["kwd",/^\b(?:AND|CLOSE|CLR|CMD|CONT|DATA|DEF ?FN|DIM|END|FOR|GET|GOSUB|GOTO|IF|INPUT|LET|LIST|LOAD|NEW|NEXT|NOT|ON|OPEN|OR|POKE|PRINT|READ|RESTORE|RETURN|RUN|SAVE|STEP|STOP|SYS|THEN|TO|VERIFY|WAIT)\b/,null],["pln",/^[A-Z][A-Z0-9]?(?:\$|%)?/i,null],["lit",/^(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\-]?\d+)?/i, 18 | null,"0123456789"],["pun",/^.[^\s\w\.$%"]*/,null]]),["basic","cbm"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-cbm.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Peter Kofler 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["str",/^(?:"(?:[^\\"\r\n]|\\.)*(?:"|$))/,null,'"'],["pln",/^\s+/,null," \r\n\t\u00a0"]],[["com",/^REM[^\r\n]*/,null],["kwd",/^\b(?:AND|CLOSE|CLR|CMD|CONT|DATA|DEF ?FN|DIM|END|FOR|GET|GOSUB|GOTO|IF|INPUT|LET|LIST|LOAD|NEW|NEXT|NOT|ON|OPEN|OR|POKE|PRINT|READ|RESTORE|RETURN|RUN|SAVE|STEP|STOP|SYS|THEN|TO|VERIFY|WAIT)\b/,null],["pln",/^[A-Z][A-Z0-9]?(?:\$|%)?/i,null],["lit",/^(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\-]?\d+)?/i, 18 | null,"0123456789"],["pun",/^.[^\s\w\.$%"]*/,null]]),["basic","cbm"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-cl.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-el.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-erl.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Andrew Allen 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\x0B\x0C\r ]+/,null,"\t\n\x0B\f\r "],["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["lit",/^[a-z][a-zA-Z0-9_]*/],["lit",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])+\'?/,null,"'"],["lit",/^\?[^ \t\n({]+/,null,"?"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^%[^\n]*/],["kwd",/^(?:module|attributes|do|let|in|letrec|apply|call|primop|case|of|end|when|fun|try|catch|receive|after|char|integer|float,atom,string,var)\b/], 18 | ["kwd",/^-[a-z_]+/],["typ",/^[A-Z_][a-zA-Z0-9_]*/],["pun",/^[.,;]/]]),["erlang","erl"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-erlang.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Andrew Allen 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\x0B\x0C\r ]+/,null,"\t\n\x0B\f\r "],["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["lit",/^[a-z][a-zA-Z0-9_]*/],["lit",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])+\'?/,null,"'"],["lit",/^\?[^ \t\n({]+/,null,"?"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^%[^\n]*/],["kwd",/^(?:module|attributes|do|let|in|letrec|apply|call|primop|case|of|end|when|fun|try|catch|receive|after|char|integer|float,atom,string,var)\b/], 18 | ["kwd",/^-[a-z_]+/],["typ",/^[A-Z_][a-zA-Z0-9_]*/],["pun",/^[.,;]/]]),["erlang","erl"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-go.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2010 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["pln",/^(?:\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)|\'(?:[^\'\\]|\\[\s\S])+(?:\'|$)|`[^`]*(?:`|$))/,null,"\"'"]],[["com",/^(?:\/\/[^\r\n]*|\/\*[\s\S]*?\*\/)/],["pln",/^(?:[^\/\"\'`]|\/(?![\/\*]))+/i]]),["go"]); 18 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-hs.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2009 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\x0B\x0C\r ]+/,null,"\t\n\x0B\f\r "],["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])\'?/,null,"'"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^(?:(?:--+(?:[^\r\n\x0C]*)?)|(?:\{-(?:[^-]|-+[^-\}])*-\}))/],["kwd",/^(?:case|class|data|default|deriving|do|else|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|then|type|where|_)(?=[^a-zA-Z0-9\']|$)/, 18 | null],["pln",/^(?:[A-Z][\w\']*\.)*[a-zA-Z][\w\']*/],["pun",/^[^\t\n\x0B\x0C\r a-zA-Z0-9\'\"]+/]]),["hs"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-latex.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2011 Martin S. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["com",/^%[^\r\n]*/,null,"%"]],[["kwd",/^\\[a-zA-Z@]+/],["kwd",/^\\./],["typ",/^[$&]/],["lit",/[+-]?(?:\.\d+|\d+(?:\.\d*)?)(cm|em|ex|in|pc|pt|bp|mm)/i],["pun",/^[{}()\[\]=]+/]]),["latex","tex"]); 18 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-lisp.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-ll.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Nikhil Dabas 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^!?\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["com",/^;[^\r\n]*/,null,";"]],[["pln",/^[%@!](?:[-a-zA-Z$._][-a-zA-Z$._0-9]*|\d+)/],["kwd",/^[A-Za-z_][0-9A-Za-z_]*/,null],["lit",/^\d+\.\d+/],["lit",/^(?:\d+|0[xX][a-fA-F0-9]+)/],["pun",/^[()\[\]{},=*<>:]|\.\.\.$/]]),["llvm","ll"]); 18 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-llvm.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Nikhil Dabas 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^!?\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["com",/^;[^\r\n]*/,null,";"]],[["pln",/^[%@!](?:[-a-zA-Z$._][-a-zA-Z$._0-9]*|\d+)/],["kwd",/^[A-Za-z_][0-9A-Za-z_]*/,null],["lit",/^\d+\.\d+/],["lit",/^(?:\d+|0[xX][a-fA-F0-9]+)/],["pun",/^[()\[\]{},=*<>:]|\.\.\.$/]]),["llvm","ll"]); 18 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-lua.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^(?:\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)|\'(?:[^\'\\]|\\[\s\S])*(?:\'|$))/,null,"\"'"]],[["com",/^--(?:\[(=*)\[[\s\S]*?(?:\]\1\]|$)|[^\r\n]*)/],["str",/^\[(=*)\[[\s\S]*?(?:\]\1\]|$)/],["kwd",/^(?:and|break|do|else|elseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,null],["lit",/^[+-]?(?:0x[\da-f]+|(?:(?:\.\d+|\d+(?:\.\d*)?)(?:e[+\-]?\d+)?))/i], 18 | ["pln",/^[a-z_]\w*/i],["pun",/^[^\w\t\n\r \xA0][^\w\t\n\r \xA0\"\'\-\+=]*/]]),["lua"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-pascal.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Peter Kofler 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$))/,null,"'"],["pln",/^\s+/,null," \r\n\t\u00a0"]],[["com",/^\(\*[\s\S]*?(?:\*\)|$)|^\{[\s\S]*?(?:\}|$)/,null],["kwd",/^(?:ABSOLUTE|AND|ARRAY|ASM|ASSEMBLER|BEGIN|CASE|CONST|CONSTRUCTOR|DESTRUCTOR|DIV|DO|DOWNTO|ELSE|END|EXTERNAL|FOR|FORWARD|FUNCTION|GOTO|IF|IMPLEMENTATION|IN|INLINE|INTERFACE|INTERRUPT|LABEL|MOD|NOT|OBJECT|OF|OR|PACKED|PROCEDURE|PROGRAM|RECORD|REPEAT|SET|SHL|SHR|THEN|TO|TYPE|UNIT|UNTIL|USES|VAR|VIRTUAL|WHILE|WITH|XOR)\b/i, 18 | null],["lit",/^(?:true|false|self|nil)/i,null],["pln",/^[a-z][a-z0-9]*/i,null],["lit",/^(?:\$[a-f0-9]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\-]?\d+)?)/i,null,"0123456789"],["pun",/^.[^\s\w\.$@\'\/]*/,null]]),["pascal"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-proto.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2006 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.sourceDecorator({keywords:"bytes,default,double,enum,extend,extensions,false,group,import,max,message,option,optional,package,repeated,required,returns,rpc,service,syntax,to,true",types:/^(bool|(double|s?fixed|[su]?int)(32|64)|float|string)\b/,cStyleComments:!0}),["proto"]); 18 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-r.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Jeffrey B. Arnold 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\]|\\[\s\S])*(?:\'|$)/,null,"'"]],[["com",/^#.*/],["kwd",/^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![A-Za-z0-9_.])/],["lit",/^0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?/],["lit",/^[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?[Li]?/],["lit",/^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\.\.(?:\.|[0-9]+))(?![A-Za-z0-9_.])/], 18 | ["pun",/^(?:<>?|-|==|<=|>=|<|>|&&?|!=|\|\|?|\*|\+|\^|\/|!|%.*?%|=|~|\$|@|:{1,3}|[\[\](){};,?])/],["pln",/^(?:[A-Za-z]+[A-Za-z0-9_.]*|\.[a-zA-Z_][0-9a-zA-Z\._]*)(?![A-Za-z0-9_.])/],["str",/^`.+`/]]),["r","s","R","S","Splus"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-rd.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Jeffrey Arnold 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["com",/^%[^\r\n]*/,null,"%"]],[["lit",/^\\(?:cr|l?dots|R|tab)\b/],["kwd",/^\\[a-zA-Z@]+/],["kwd",/^#(?:ifn?def|endif)/],["pln",/^\\[{}]/],["pun",/^[{}()\[\]]+/]]),["Rd","rd"]); 18 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-s.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Jeffrey B. Arnold 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\]|\\[\s\S])*(?:\'|$)/,null,"'"]],[["com",/^#.*/],["kwd",/^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![A-Za-z0-9_.])/],["lit",/^0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?/],["lit",/^[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?[Li]?/],["lit",/^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\.\.(?:\.|[0-9]+))(?![A-Za-z0-9_.])/], 18 | ["pun",/^(?:<>?|-|==|<=|>=|<|>|&&?|!=|\|\|?|\*|\+|\^|\/|!|%.*?%|=|~|\$|@|:{1,3}|[\[\](){};,?])/],["pln",/^(?:[A-Za-z]+[A-Za-z0-9_.]*|\.[a-zA-Z_][0-9a-zA-Z\._]*)(?![A-Za-z0-9_.])/],["str",/^`.+`/]]),["r","s","R","S","Splus"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-ss.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-tcl.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Pyrios 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\{+/,null,"{"],["clo",/^\}+/,null,"}"],["com",/^#[^\r\n]*/,null,"#"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:after|append|apply|array|break|case|catch|continue|error|eval|exec|exit|expr|for|foreach|if|incr|info|proc|return|set|switch|trace|uplevel|upvar|while)\b/,null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i], 18 | ["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),["tcl"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-tex.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2011 Martin S. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["com",/^%[^\r\n]*/,null,"%"]],[["kwd",/^\\[a-zA-Z@]+/],["kwd",/^\\./],["typ",/^[$&]/],["lit",/[+-]?(?:\.\d+|\d+(?:\.\d*)?)(cm|em|ex|in|pc|pt|bp|mm)/i],["pun",/^[{}()\[\]=]+/]]),["latex","tex"]); 18 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-wiki.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2009 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t \xA0a-gi-z0-9]+/,null,"\t \u00a0abcdefgijklmnopqrstuvwxyz0123456789"],["pun",/^[=*~\^\[\]]+/,null,"=*~^[]"]],[["lang-wiki.meta",/(?:^^|\r\n?|\n)(#[a-z]+)\b/],["lit",/^(?:[A-Z][a-z][a-z0-9]+[A-Z][a-z][a-zA-Z0-9]+)\b/],["lang-",/^\{\{\{([\s\S]+?)\}\}\}/],["lang-",/^`([^\r\n`]+)`/],["str",/^https?:\/\/[^\/?#\s]*(?:\/[^?#\s]*)?(?:\?[^#\s]*)?(?:#\S*)?/i],["pln",/^(?:\r\n|[\s\S])[^#=*~^A-Zh\{`\[\r\n]*/]]),["wiki"]); 18 | PR.registerLangHandler(PR.createSimpleLexer([["kwd",/^#[a-z]+/i,null,"#"]],[]),["wiki.meta"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-yaml.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2015 ribrdb @ code.google.com 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:|>?]+/,null,":|>?"],["dec",/^%(?:YAML|TAG)[^#\r\n]+/,null,"%"],["typ",/^[&]\S+/,null,"&"],["typ",/^!\S*/,null,"!"],["str",/^"(?:[^\\"]|\\.)*(?:"|$)/,null,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,null,"'"],["com",/^#[^\r\n]*/,null,"#"],["pln",/^\s+/,null," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\r\n]|$)/],["pun",/^-/],["kwd",/^[\w-]+:[ \r\n]/],["pln", 18 | /^\w+/]]),["yaml","yml"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/lang-yml.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2015 ribrdb @ code.google.com 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:|>?]+/,null,":|>?"],["dec",/^%(?:YAML|TAG)[^#\r\n]+/,null,"%"],["typ",/^[&]\S+/,null,"&"],["typ",/^!\S*/,null,"!"],["str",/^"(?:[^\\"]|\\.)*(?:"|$)/,null,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,null,"'"],["com",/^#[^\r\n]*/,null,"#"],["pln",/^\s+/,null," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\r\n]|$)/],["pun",/^-/],["kwd",/^[\w-]+:[ \r\n]/],["pln", 18 | /^\w+/]]),["yaml","yml"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/doc/vendor/prettify/prettify.css: -------------------------------------------------------------------------------- 1 | .pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/error/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

404, Not Found

4 | 5 | 6 | -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junneyang/common-web-starter/852869db0e4c09f36076ab8ee679c5920823a3c4/common-web-starter/src/main/resources/public/favicon.ico -------------------------------------------------------------------------------- /common-web-starter/src/main/resources/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 |

apiDoc

8 |

apiTest

9 | 10 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | -------------------------------------------------------------------------------- /common-web-starter/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Archetype Created Web Application 7 | 8 | -------------------------------------------------------------------------------- /common-web-starter/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Hello World!

4 | 5 | 6 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/META-INF/spring.factories: -------------------------------------------------------------------------------- 1 | # com.xcompany.xproject.common.web.starter.CommonWebConfiguration,\ 2 | org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ 3 | com.xcompany.xproject.common.web.starter.CommonWebConfigurationSwagger,\ 4 | com.xcompany.xproject.common.web.starter.CommonWebConfigurationLogFilter,\ 5 | com.xcompany.xproject.common.web.starter.exception.CommonExceptionHandler,\ 6 | com.xcompany.xproject.common.web.starter.converter.StringToTimeStampConverter,\ 7 | com.xcompany.xproject.common.web.starter.api.CommonWebConfigurationApiDoc,\ 8 | com.xcompany.xproject.common.web.starter.CommonWebConfigurationHibernateJpaSessionFactory,\ 9 | com.xcompany.xproject.common.web.starter.context.ApplicationContextProvider 10 | 11 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/banner.txt: -------------------------------------------------------------------------------- 1 | ==================================================================================================== 2 | App: ${application.title} 3 | Version: ${application.version} 4 | SpringBoot: ${spring-boot.version} 5 | ==================================================================================================== 6 | 7 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/config/application-dev.properties: -------------------------------------------------------------------------------- 1 | server.port=8080 -------------------------------------------------------------------------------- /common-web-starter/target/classes/config/application-prod.properties: -------------------------------------------------------------------------------- 1 | server.port=80 -------------------------------------------------------------------------------- /common-web-starter/target/classes/config/application-test.properties: -------------------------------------------------------------------------------- 1 | server.port=80 -------------------------------------------------------------------------------- /common-web-starter/target/classes/config/application.properties: -------------------------------------------------------------------------------- 1 | # add/override the application-base.properties of common-web-starter 2 | spring.application.name = xproject-common-web-starter 3 | spring.application.version = 1.0.0-RELEASE 4 | 5 | spring.datasource.url = jdbc:mysql://localhost:3306/db_demo??useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false 6 | spring.datasource.username = demo 7 | spring.datasource.password = demo 8 | 9 | logging.path=/var/logs/${spring.application.name} 10 | logging.elapsedtime.threshhold = 500 11 | 12 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/i18n/messages.properties: -------------------------------------------------------------------------------- 1 | # warning: don't remove this file 2 | # default messages.properties 3 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/i18n/messages_en_US.properties: -------------------------------------------------------------------------------- 1 | ##### Don't Modify 2 | # SUCCESS 3 | 2000 = success 4 | 5 | # PermissionException 6 | 3000 = permission exception 7 | 8 | # ParamsException 9 | 4000 = params exception 10 | 11 | # BusinessException 12 | 5000 = business exception 13 | 14 | # IOException 15 | 6000 = io exception 16 | 17 | # NetworkException 18 | 7000 = net exception 19 | 20 | # UnknownException 21 | -1 = unknown exception 22 | 23 | 24 | ##### Add Your Message 25 | 4001 = invalid user data 26 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/i18n/messages_zh_CN.properties: -------------------------------------------------------------------------------- 1 | ##### Don't Modify 2 | # SUCCESS 3 | 2000 = \u6210\u529F 4 | 5 | # PermissionException 6 | 3000 = \u6743\u9650\u5F02\u5E38, \u8BA4\u8BC1\u6388\u6743\u5931\u8D25 7 | 8 | # ParamsException 9 | 4000 = \u53C2\u6570\u5F02\u5E38, \u7528\u6237\u53C2\u6570\u4E0D\u5408\u6CD5 10 | 11 | 12 | # BusinessException 13 | 5000 = \u4E1A\u52A1\u5F02\u5E38, \u4E1A\u52A1\u7EA6\u675F\u6761\u4EF6\u4E0D\u6EE1\u8DB3 14 | 15 | # IOException 16 | 6000 = IO\u5F02\u5E38, \u6570\u636E\u8BFB\u5199\u5F02\u5E38 17 | 18 | # NetworkException 19 | 7000 = \u7F51\u7EDC\u901A\u4FE1\u5F02\u5E38 20 | 21 | # UnknownException 22 | -1 = \u7CFB\u7EDF\u5185\u90E8\u5F02\u5E38 23 | 24 | 25 | ##### Add Your Message 26 | 4001 = user\u6570\u636E\u4E0D\u5408\u6CD5 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/api_project.js: -------------------------------------------------------------------------------- 1 | define({ 2 | "name": "API Document", 3 | "version": "1.0.0", 4 | "description": "base-url: /api/myproject-demoservice", 5 | "sampleUrl": false, 6 | "defaultVersion": "0.0.0", 7 | "apidoc": "0.3.0", 8 | "generator": { 9 | "name": "apidoc", 10 | "time": "2017-04-14T13:25:15.351Z", 11 | "url": "http://apidocjs.com", 12 | "version": "0.17.5" 13 | } 14 | }); 15 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/api_project.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "API Document", 3 | "version": "1.0.0", 4 | "description": "base-url: /api/myproject-demoservice", 5 | "sampleUrl": false, 6 | "defaultVersion": "0.0.0", 7 | "apidoc": "0.3.0", 8 | "generator": { 9 | "name": "apidoc", 10 | "time": "2017-04-14T13:25:15.351Z", 11 | "url": "http://apidocjs.com", 12 | "version": "0.17.5" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/img/favicon.ico: -------------------------------------------------------------------------------- 1 | h( @̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈F.�j̈̈�dF.�p=)̈̈̈̈̈`@�p̈���P̈̈��`���@���̈̈̈̈̈�����@̈�Ǡ���=)=)����Ǡ��@����p�p�|̈̈�����@̈ܭP������������ܭP��@����p@zg@UD �d̈�����@̈̈���s0��P���̈��@��������������`̈�����@̈̈�Ǡ�������Ǡ̈��@���̈̈˲����̈�����@̈̈ܭP������ܭP̈��@���`@`@�z`���̈�����@̈̈̈������̈̈ҡ@�������������ː̈���ҡ@̈̈̈֞0֞0̈̈Ϗ٦@٦@٦@֞0̈̈֞0Ϗ̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈��<����� -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/locales/ca.js: -------------------------------------------------------------------------------- 1 | define({ 2 | ca: { 3 | 'Allowed values:' : 'Valors permesos:', 4 | 'Compare all with predecessor': 'Comparar tot amb versió anterior', 5 | 'compare changes to:' : 'comparar canvis amb:', 6 | 'compared to' : 'comparat amb', 7 | 'Default value:' : 'Valor per defecte:', 8 | 'Description' : 'Descripció', 9 | 'Field' : 'Camp', 10 | 'General' : 'General', 11 | 'Generated with' : 'Generat amb', 12 | 'Name' : 'Nom', 13 | 'No response values.' : 'Sense valors en la resposta.', 14 | 'optional' : 'opcional', 15 | 'Parameter' : 'Paràmetre', 16 | 'Permission:' : 'Permisos:', 17 | 'Response' : 'Resposta', 18 | 'Send' : 'Enviar', 19 | 'Send a Sample Request' : 'Enviar una petició d\'exemple', 20 | 'show up to version:' : 'mostrar versió:', 21 | 'Size range:' : 'Tamany de rang:', 22 | 'Type' : 'Tipus', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/locales/de.js: -------------------------------------------------------------------------------- 1 | define({ 2 | de: { 3 | 'Allowed values:' : 'Erlaubte Werte:', 4 | 'Compare all with predecessor': 'Vergleiche alle mit ihren Vorgängern', 5 | 'compare changes to:' : 'vergleiche Änderungen mit:', 6 | 'compared to' : 'verglichen mit', 7 | 'Default value:' : 'Standardwert:', 8 | 'Description' : 'Beschreibung', 9 | 'Field' : 'Feld', 10 | 'General' : 'Allgemein', 11 | 'Generated with' : 'Erstellt mit', 12 | 'Name' : 'Name', 13 | 'No response values.' : 'Keine Rückgabewerte.', 14 | 'optional' : 'optional', 15 | 'Parameter' : 'Parameter', 16 | 'Permission:' : 'Berechtigung:', 17 | 'Response' : 'Antwort', 18 | 'Send' : 'Senden', 19 | 'Send a Sample Request' : 'Eine Beispielanfrage senden', 20 | 'show up to version:' : 'zeige bis zur Version:', 21 | 'Size range:' : 'Größenbereich:', 22 | 'Type' : 'Typ', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/locales/es.js: -------------------------------------------------------------------------------- 1 | define({ 2 | es: { 3 | 'Allowed values:' : 'Valores permitidos:', 4 | 'Compare all with predecessor': 'Comparar todo con versión anterior', 5 | 'compare changes to:' : 'comparar cambios con:', 6 | 'compared to' : 'comparado con', 7 | 'Default value:' : 'Valor por defecto:', 8 | 'Description' : 'Descripción', 9 | 'Field' : 'Campo', 10 | 'General' : 'General', 11 | 'Generated with' : 'Generado con', 12 | 'Name' : 'Nombre', 13 | 'No response values.' : 'Sin valores en la respuesta.', 14 | 'optional' : 'opcional', 15 | 'Parameter' : 'Parámetro', 16 | 'Permission:' : 'Permisos:', 17 | 'Response' : 'Respuesta', 18 | 'Send' : 'Enviar', 19 | 'Send a Sample Request' : 'Enviar una petición de ejemplo', 20 | 'show up to version:' : 'mostrar a versión:', 21 | 'Size range:' : 'Tamaño de rango:', 22 | 'Type' : 'Tipo', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/locales/fr.js: -------------------------------------------------------------------------------- 1 | define({ 2 | fr: { 3 | 'Allowed values:' : 'Valeurs autorisées :', 4 | 'Compare all with predecessor': 'Tout comparer avec ...', 5 | 'compare changes to:' : 'comparer les changements à :', 6 | 'compared to' : 'comparer à', 7 | 'Default value:' : 'Valeur par défaut :', 8 | 'Description' : 'Description', 9 | 'Field' : 'Champ', 10 | 'General' : 'Général', 11 | 'Generated with' : 'Généré avec', 12 | 'Name' : 'Nom', 13 | 'No response values.' : 'Aucune valeur de réponse.', 14 | 'optional' : 'optionnel', 15 | 'Parameter' : 'Paramètre', 16 | 'Permission:' : 'Permission :', 17 | 'Response' : 'Réponse', 18 | 'Send' : 'Envoyer', 19 | 'Send a Sample Request' : 'Envoyer une requête représentative', 20 | 'show up to version:' : 'Montrer à partir de la version :', 21 | 'Size range:' : 'Ordre de grandeur :', 22 | 'Type' : 'Type', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/locales/it.js: -------------------------------------------------------------------------------- 1 | define({ 2 | it: { 3 | 'Allowed values:' : 'Valori permessi:', 4 | 'Compare all with predecessor': 'Confronta tutto con versioni precedenti', 5 | 'compare changes to:' : 'confronta modifiche con:', 6 | 'compared to' : 'confrontato con', 7 | 'Default value:' : 'Valore predefinito:', 8 | 'Description' : 'Descrizione', 9 | 'Field' : 'Campo', 10 | 'General' : 'Generale', 11 | 'Generated with' : 'Creato con', 12 | 'Name' : 'Nome', 13 | 'No response values.' : 'Nessun valore di risposta.', 14 | 'optional' : 'opzionale', 15 | 'Parameter' : 'Parametro', 16 | 'Permission:' : 'Permessi:', 17 | 'Response' : 'Risposta', 18 | 'Send' : 'Invia', 19 | 'Send a Sample Request' : 'Invia una richiesta di esempio', 20 | 'show up to version:' : 'mostra alla versione:', 21 | 'Size range:' : 'Intervallo dimensione:', 22 | 'Type' : 'Tipo', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/locales/locale.js: -------------------------------------------------------------------------------- 1 | define([ 2 | './locales/ca.js', 3 | './locales/de.js', 4 | './locales/es.js', 5 | './locales/fr.js', 6 | './locales/it.js', 7 | './locales/nl.js', 8 | './locales/pl.js', 9 | './locales/pt_br.js', 10 | './locales/ro.js', 11 | './locales/ru.js', 12 | './locales/zh.js', 13 | './locales/zh_cn.js' 14 | ], function() { 15 | var langId = (navigator.language || navigator.userLanguage).toLowerCase().replace('-', '_'); 16 | var language = langId.substr(0, 2); 17 | var locales = {}; 18 | 19 | for (index in arguments) { 20 | for (property in arguments[index]) 21 | locales[property] = arguments[index][property]; 22 | } 23 | if ( ! locales['en']) 24 | locales['en'] = {}; 25 | 26 | if ( ! locales[langId] && ! locales[language]) 27 | language = 'en'; 28 | 29 | var locale = (locales[langId] ? locales[langId] : locales[language]); 30 | 31 | function __(text) { 32 | var index = locale[text]; 33 | if (index === undefined) 34 | return text; 35 | return index; 36 | }; 37 | 38 | function setLanguage(language) { 39 | locale = locales[language]; 40 | } 41 | 42 | return { 43 | __ : __, 44 | locales : locales, 45 | locale : locale, 46 | setLanguage: setLanguage 47 | }; 48 | }); 49 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/locales/nl.js: -------------------------------------------------------------------------------- 1 | define({ 2 | nl: { 3 | 'Allowed values:' : 'Toegestane waarden:', 4 | 'Compare all with predecessor': 'Vergelijk alle met voorgaande versie', 5 | 'compare changes to:' : 'vergelijk veranderingen met:', 6 | 'compared to' : 'vergelijk met', 7 | 'Default value:' : 'Standaard waarde:', 8 | 'Description' : 'Omschrijving', 9 | 'Field' : 'Veld', 10 | 'General' : 'Algemeen', 11 | 'Generated with' : 'Gegenereerd met', 12 | 'Name' : 'Naam', 13 | 'No response values.' : 'Geen response waardes.', 14 | 'optional' : 'optioneel', 15 | 'Parameter' : 'Parameter', 16 | 'Permission:' : 'Permissie:', 17 | 'Response' : 'Antwoorden', 18 | 'Send' : 'Sturen', 19 | 'Send a Sample Request' : 'Stuur een sample aanvragen', 20 | 'show up to version:' : 'toon tot en met versie:', 21 | 'Size range:' : 'Maatbereik:', 22 | 'Type' : 'Type', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/locales/pl.js: -------------------------------------------------------------------------------- 1 | define({ 2 | pl: { 3 | 'Allowed values:' : 'Dozwolone wartości:', 4 | 'Compare all with predecessor': 'Porównaj z poprzednimi wersjami', 5 | 'compare changes to:' : 'porównaj zmiany do:', 6 | 'compared to' : 'porównaj do:', 7 | 'Default value:' : 'Wartość domyślna:', 8 | 'Description' : 'Opis', 9 | 'Field' : 'Pole', 10 | 'General' : 'Generalnie', 11 | 'Generated with' : 'Wygenerowano z', 12 | 'Name' : 'Nazwa', 13 | 'No response values.' : 'Brak odpowiedzi.', 14 | 'optional' : 'opcjonalny', 15 | 'Parameter' : 'Parametr', 16 | 'Permission:' : 'Uprawnienia:', 17 | 'Response' : 'Odpowiedź', 18 | 'Send' : 'Wyślij', 19 | 'Send a Sample Request' : 'Wyślij przykładowe żądanie', 20 | 'show up to version:' : 'pokaż do wersji:', 21 | 'Size range:' : 'Zakres rozmiaru:', 22 | 'Type' : 'Typ', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/locales/pt_br.js: -------------------------------------------------------------------------------- 1 | define({ 2 | 'pt_br': { 3 | 'Allowed values:' : 'Valores permitidos:', 4 | 'Compare all with predecessor': 'Compare todos com antecessores', 5 | 'compare changes to:' : 'comparar alterações com:', 6 | 'compared to' : 'comparado com', 7 | 'Default value:' : 'Valor padrão:', 8 | 'Description' : 'Descrição', 9 | 'Field' : 'Campo', 10 | 'General' : 'Geral', 11 | 'Generated with' : 'Gerado com', 12 | 'Name' : 'Nome', 13 | 'No response values.' : 'Sem valores de resposta.', 14 | 'optional' : 'opcional', 15 | 'Parameter' : 'Parâmetro', 16 | 'Permission:' : 'Permissão:', 17 | 'Response' : 'Resposta', 18 | 'Send' : 'Enviar', 19 | 'Send a Sample Request' : 'Enviar um Exemplo de Pedido', 20 | 'show up to version:' : 'aparecer para a versão:', 21 | 'Size range:' : 'Faixa de tamanho:', 22 | 'Type' : 'Tipo', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/locales/ro.js: -------------------------------------------------------------------------------- 1 | define({ 2 | ro: { 3 | 'Allowed values:' : 'Valori permise:', 4 | 'Compare all with predecessor': 'Compară toate cu versiunea precedentă', 5 | 'compare changes to:' : 'compară cu versiunea:', 6 | 'compared to' : 'comparat cu', 7 | 'Default value:' : 'Valoare implicită:', 8 | 'Description' : 'Descriere', 9 | 'Field' : 'Câmp', 10 | 'General' : 'General', 11 | 'Generated with' : 'Generat cu', 12 | 'Name' : 'Nume', 13 | 'No response values.' : 'Nici o valoare returnată.', 14 | 'optional' : 'opțional', 15 | 'Parameter' : 'Parametru', 16 | 'Permission:' : 'Permisiune:', 17 | 'Response' : 'Răspuns', 18 | 'Send' : 'Trimite', 19 | 'Send a Sample Request' : 'Trimite o cerere de probă', 20 | 'show up to version:' : 'arată până la versiunea:', 21 | 'Size range:' : 'Interval permis:', 22 | 'Type' : 'Tip', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/locales/ru.js: -------------------------------------------------------------------------------- 1 | define({ 2 | ru: { 3 | 'Allowed values:' : 'Допустимые значения:', 4 | 'Compare all with predecessor': 'Сравнить с предыдущей версией', 5 | 'compare changes to:' : 'сравнить с:', 6 | 'compared to' : 'в сравнении с', 7 | 'Default value:' : 'По умолчанию:', 8 | 'Description' : 'Описание', 9 | 'Field' : 'Название', 10 | 'General' : 'Общая информация', 11 | 'Generated with' : 'Сгенерировано с помощью', 12 | 'Name' : 'Название', 13 | 'No response values.' : 'Нет значений для ответа.', 14 | 'optional' : 'необязательный', 15 | 'Parameter' : 'Параметр', 16 | 'Permission:' : 'Разрешено:', 17 | 'Response' : 'Ответ', 18 | 'Send' : 'Отправить', 19 | 'Send a Sample Request' : 'Отправить тестовый запрос', 20 | 'show up to version:' : 'показать версию:', 21 | 'Size range:' : 'Ограничения:', 22 | 'Type' : 'Тип', 23 | 'url' : 'URL' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/locales/zh.js: -------------------------------------------------------------------------------- 1 | define({ 2 | zh: { 3 | 'Allowed values​​:' : '允許值:', 4 | 'Compare all with predecessor': '預先比較所有', 5 | 'compare changes to:' : '比較變更:', 6 | 'compared to' : '對比', 7 | 'Default value:' : '默認值:', 8 | 'Description' : '描述', 9 | 'Field' : '字段', 10 | 'General' : '概括', 11 | 'Generated with' : '生成工具', 12 | 'Name' : '名稱', 13 | 'No response values​​.' : '無對應資料.', 14 | 'optional' : '選項', 15 | 'Parameter' : '參數', 16 | 'Permission:' : '允許:', 17 | 'Response' : '回應', 18 | 'Send' : '發送', 19 | 'Send a Sample Request' : '發送試用需求', 20 | 'show up to version:' : '顯示到版本:', 21 | 'Size range:' : '尺寸範圍:', 22 | 'Type' : '類型', 23 | 'url' : '網址' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/locales/zh_cn.js: -------------------------------------------------------------------------------- 1 | define({ 2 | 'zh_cn': { 3 | 'Allowed values:' : '允许值:', 4 | 'Compare all with predecessor': '与所有较早的比较', 5 | 'compare changes to:' : '将当前版本与指定版本比较:', 6 | 'compared to' : '相比于', 7 | 'Default value:' : '默认值:', 8 | 'Description' : '描述', 9 | 'Field' : '字段', 10 | 'General' : '概要', 11 | 'Generated with' : '基于', 12 | 'Name' : '名称', 13 | 'No response values.' : '无返回值.', 14 | 'optional' : '可选', 15 | 'Parameter' : '参数', 16 | 'Permission:' : '权限:', 17 | 'Response' : '返回', 18 | 'Send' : '发送', 19 | 'Send a Sample Request' : '发送示例请求', 20 | 'show up to version:' : '显示到指定版本:', 21 | 'Size range:' : '取值范围:', 22 | 'Type' : '类型', 23 | 'url' : '网址' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/path-to-regexp/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-Splus.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Jeffrey B. Arnold 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\]|\\[\s\S])*(?:\'|$)/,null,"'"]],[["com",/^#.*/],["kwd",/^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![A-Za-z0-9_.])/],["lit",/^0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?/],["lit",/^[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?[Li]?/],["lit",/^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\.\.(?:\.|[0-9]+))(?![A-Za-z0-9_.])/], 18 | ["pun",/^(?:<>?|-|==|<=|>=|<|>|&&?|!=|\|\|?|\*|\+|\^|\/|!|%.*?%|=|~|\$|@|:{1,3}|[\[\](){};,?])/],["pln",/^(?:[A-Za-z]+[A-Za-z0-9_.]*|\.[a-zA-Z_][0-9a-zA-Z\._]*)(?![A-Za-z0-9_.])/],["str",/^`.+`/]]),["r","s","R","S","Splus"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-basic.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Peter Kofler 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["str",/^(?:"(?:[^\\"\r\n]|\\.)*(?:"|$))/,null,'"'],["pln",/^\s+/,null," \r\n\t\u00a0"]],[["com",/^REM[^\r\n]*/,null],["kwd",/^\b(?:AND|CLOSE|CLR|CMD|CONT|DATA|DEF ?FN|DIM|END|FOR|GET|GOSUB|GOTO|IF|INPUT|LET|LIST|LOAD|NEW|NEXT|NOT|ON|OPEN|OR|POKE|PRINT|READ|RESTORE|RETURN|RUN|SAVE|STEP|STOP|SYS|THEN|TO|VERIFY|WAIT)\b/,null],["pln",/^[A-Z][A-Z0-9]?(?:\$|%)?/i,null],["lit",/^(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\-]?\d+)?/i, 18 | null,"0123456789"],["pun",/^.[^\s\w\.$%"]*/,null]]),["basic","cbm"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-cbm.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Peter Kofler 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["str",/^(?:"(?:[^\\"\r\n]|\\.)*(?:"|$))/,null,'"'],["pln",/^\s+/,null," \r\n\t\u00a0"]],[["com",/^REM[^\r\n]*/,null],["kwd",/^\b(?:AND|CLOSE|CLR|CMD|CONT|DATA|DEF ?FN|DIM|END|FOR|GET|GOSUB|GOTO|IF|INPUT|LET|LIST|LOAD|NEW|NEXT|NOT|ON|OPEN|OR|POKE|PRINT|READ|RESTORE|RETURN|RUN|SAVE|STEP|STOP|SYS|THEN|TO|VERIFY|WAIT)\b/,null],["pln",/^[A-Z][A-Z0-9]?(?:\$|%)?/i,null],["lit",/^(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\-]?\d+)?/i, 18 | null,"0123456789"],["pun",/^.[^\s\w\.$%"]*/,null]]),["basic","cbm"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-cl.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-el.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-erl.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Andrew Allen 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\x0B\x0C\r ]+/,null,"\t\n\x0B\f\r "],["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["lit",/^[a-z][a-zA-Z0-9_]*/],["lit",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])+\'?/,null,"'"],["lit",/^\?[^ \t\n({]+/,null,"?"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^%[^\n]*/],["kwd",/^(?:module|attributes|do|let|in|letrec|apply|call|primop|case|of|end|when|fun|try|catch|receive|after|char|integer|float,atom,string,var)\b/], 18 | ["kwd",/^-[a-z_]+/],["typ",/^[A-Z_][a-zA-Z0-9_]*/],["pun",/^[.,;]/]]),["erlang","erl"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-erlang.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Andrew Allen 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\x0B\x0C\r ]+/,null,"\t\n\x0B\f\r "],["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["lit",/^[a-z][a-zA-Z0-9_]*/],["lit",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])+\'?/,null,"'"],["lit",/^\?[^ \t\n({]+/,null,"?"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^%[^\n]*/],["kwd",/^(?:module|attributes|do|let|in|letrec|apply|call|primop|case|of|end|when|fun|try|catch|receive|after|char|integer|float,atom,string,var)\b/], 18 | ["kwd",/^-[a-z_]+/],["typ",/^[A-Z_][a-zA-Z0-9_]*/],["pun",/^[.,;]/]]),["erlang","erl"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-go.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2010 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["pln",/^(?:\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)|\'(?:[^\'\\]|\\[\s\S])+(?:\'|$)|`[^`]*(?:`|$))/,null,"\"'"]],[["com",/^(?:\/\/[^\r\n]*|\/\*[\s\S]*?\*\/)/],["pln",/^(?:[^\/\"\'`]|\/(?![\/\*]))+/i]]),["go"]); 18 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-hs.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2009 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\x0B\x0C\r ]+/,null,"\t\n\x0B\f\r "],["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])\'?/,null,"'"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^(?:(?:--+(?:[^\r\n\x0C]*)?)|(?:\{-(?:[^-]|-+[^-\}])*-\}))/],["kwd",/^(?:case|class|data|default|deriving|do|else|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|then|type|where|_)(?=[^a-zA-Z0-9\']|$)/, 18 | null],["pln",/^(?:[A-Z][\w\']*\.)*[a-zA-Z][\w\']*/],["pun",/^[^\t\n\x0B\x0C\r a-zA-Z0-9\'\"]+/]]),["hs"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-latex.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2011 Martin S. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["com",/^%[^\r\n]*/,null,"%"]],[["kwd",/^\\[a-zA-Z@]+/],["kwd",/^\\./],["typ",/^[$&]/],["lit",/[+-]?(?:\.\d+|\d+(?:\.\d*)?)(cm|em|ex|in|pc|pt|bp|mm)/i],["pun",/^[{}()\[\]=]+/]]),["latex","tex"]); 18 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-lisp.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-ll.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Nikhil Dabas 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^!?\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["com",/^;[^\r\n]*/,null,";"]],[["pln",/^[%@!](?:[-a-zA-Z$._][-a-zA-Z$._0-9]*|\d+)/],["kwd",/^[A-Za-z_][0-9A-Za-z_]*/,null],["lit",/^\d+\.\d+/],["lit",/^(?:\d+|0[xX][a-fA-F0-9]+)/],["pun",/^[()\[\]{},=*<>:]|\.\.\.$/]]),["llvm","ll"]); 18 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-llvm.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Nikhil Dabas 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^!?\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["com",/^;[^\r\n]*/,null,";"]],[["pln",/^[%@!](?:[-a-zA-Z$._][-a-zA-Z$._0-9]*|\d+)/],["kwd",/^[A-Za-z_][0-9A-Za-z_]*/,null],["lit",/^\d+\.\d+/],["lit",/^(?:\d+|0[xX][a-fA-F0-9]+)/],["pun",/^[()\[\]{},=*<>:]|\.\.\.$/]]),["llvm","ll"]); 18 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-lsp.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-lua.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^(?:\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)|\'(?:[^\'\\]|\\[\s\S])*(?:\'|$))/,null,"\"'"]],[["com",/^--(?:\[(=*)\[[\s\S]*?(?:\]\1\]|$)|[^\r\n]*)/],["str",/^\[(=*)\[[\s\S]*?(?:\]\1\]|$)/],["kwd",/^(?:and|break|do|else|elseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,null],["lit",/^[+-]?(?:0x[\da-f]+|(?:(?:\.\d+|\d+(?:\.\d*)?)(?:e[+\-]?\d+)?))/i], 18 | ["pln",/^[a-z_]\w*/i],["pun",/^[^\w\t\n\r \xA0][^\w\t\n\r \xA0\"\'\-\+=]*/]]),["lua"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-pascal.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Peter Kofler 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$))/,null,"'"],["pln",/^\s+/,null," \r\n\t\u00a0"]],[["com",/^\(\*[\s\S]*?(?:\*\)|$)|^\{[\s\S]*?(?:\}|$)/,null],["kwd",/^(?:ABSOLUTE|AND|ARRAY|ASM|ASSEMBLER|BEGIN|CASE|CONST|CONSTRUCTOR|DESTRUCTOR|DIV|DO|DOWNTO|ELSE|END|EXTERNAL|FOR|FORWARD|FUNCTION|GOTO|IF|IMPLEMENTATION|IN|INLINE|INTERFACE|INTERRUPT|LABEL|MOD|NOT|OBJECT|OF|OR|PACKED|PROCEDURE|PROGRAM|RECORD|REPEAT|SET|SHL|SHR|THEN|TO|TYPE|UNIT|UNTIL|USES|VAR|VIRTUAL|WHILE|WITH|XOR)\b/i, 18 | null],["lit",/^(?:true|false|self|nil)/i,null],["pln",/^[a-z][a-z0-9]*/i,null],["lit",/^(?:\$[a-f0-9]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\-]?\d+)?)/i,null,"0123456789"],["pun",/^.[^\s\w\.$@\'\/]*/,null]]),["pascal"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-proto.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2006 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.sourceDecorator({keywords:"bytes,default,double,enum,extend,extensions,false,group,import,max,message,option,optional,package,repeated,required,returns,rpc,service,syntax,to,true",types:/^(bool|(double|s?fixed|[su]?int)(32|64)|float|string)\b/,cStyleComments:!0}),["proto"]); 18 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-r.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Jeffrey B. Arnold 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\]|\\[\s\S])*(?:\'|$)/,null,"'"]],[["com",/^#.*/],["kwd",/^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![A-Za-z0-9_.])/],["lit",/^0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?/],["lit",/^[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?[Li]?/],["lit",/^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\.\.(?:\.|[0-9]+))(?![A-Za-z0-9_.])/], 18 | ["pun",/^(?:<>?|-|==|<=|>=|<|>|&&?|!=|\|\|?|\*|\+|\^|\/|!|%.*?%|=|~|\$|@|:{1,3}|[\[\](){};,?])/],["pln",/^(?:[A-Za-z]+[A-Za-z0-9_.]*|\.[a-zA-Z_][0-9a-zA-Z\._]*)(?![A-Za-z0-9_.])/],["str",/^`.+`/]]),["r","s","R","S","Splus"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-rd.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Jeffrey Arnold 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["com",/^%[^\r\n]*/,null,"%"]],[["lit",/^\\(?:cr|l?dots|R|tab)\b/],["kwd",/^\\[a-zA-Z@]+/],["kwd",/^#(?:ifn?def|endif)/],["pln",/^\\[{}]/],["pun",/^[{}()\[\]]+/]]),["Rd","rd"]); 18 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-rkt.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-s.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Jeffrey B. Arnold 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\]|\\[\s\S])*(?:\'|$)/,null,"'"]],[["com",/^#.*/],["kwd",/^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![A-Za-z0-9_.])/],["lit",/^0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?/],["lit",/^[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?[Li]?/],["lit",/^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\.\.(?:\.|[0-9]+))(?![A-Za-z0-9_.])/], 18 | ["pun",/^(?:<>?|-|==|<=|>=|<|>|&&?|!=|\|\|?|\*|\+|\^|\/|!|%.*?%|=|~|\$|@|:{1,3}|[\[\](){};,?])/],["pln",/^(?:[A-Za-z]+[A-Za-z0-9_.]*|\.[a-zA-Z_][0-9a-zA-Z\._]*)(?![A-Za-z0-9_.])/],["str",/^`.+`/]]),["r","s","R","S","Splus"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-scm.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-ss.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-tcl.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Pyrios 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\{+/,null,"{"],["clo",/^\}+/,null,"}"],["com",/^#[^\r\n]*/,null,"#"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:after|append|apply|array|break|case|catch|continue|error|eval|exec|exit|expr|for|foreach|if|incr|info|proc|return|set|switch|trace|uplevel|upvar|while)\b/,null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i], 18 | ["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),["tcl"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-tex.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2011 Martin S. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["com",/^%[^\r\n]*/,null,"%"]],[["kwd",/^\\[a-zA-Z@]+/],["kwd",/^\\./],["typ",/^[$&]/],["lit",/[+-]?(?:\.\d+|\d+(?:\.\d*)?)(cm|em|ex|in|pc|pt|bp|mm)/i],["pun",/^[{}()\[\]=]+/]]),["latex","tex"]); 18 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-wiki.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2009 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t \xA0a-gi-z0-9]+/,null,"\t \u00a0abcdefgijklmnopqrstuvwxyz0123456789"],["pun",/^[=*~\^\[\]]+/,null,"=*~^[]"]],[["lang-wiki.meta",/(?:^^|\r\n?|\n)(#[a-z]+)\b/],["lit",/^(?:[A-Z][a-z][a-z0-9]+[A-Z][a-z][a-zA-Z0-9]+)\b/],["lang-",/^\{\{\{([\s\S]+?)\}\}\}/],["lang-",/^`([^\r\n`]+)`/],["str",/^https?:\/\/[^\/?#\s]*(?:\/[^?#\s]*)?(?:\?[^#\s]*)?(?:#\S*)?/i],["pln",/^(?:\r\n|[\s\S])[^#=*~^A-Zh\{`\[\r\n]*/]]),["wiki"]); 18 | PR.registerLangHandler(PR.createSimpleLexer([["kwd",/^#[a-z]+/i,null,"#"]],[]),["wiki.meta"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-yaml.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2015 ribrdb @ code.google.com 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:|>?]+/,null,":|>?"],["dec",/^%(?:YAML|TAG)[^#\r\n]+/,null,"%"],["typ",/^[&]\S+/,null,"&"],["typ",/^!\S*/,null,"!"],["str",/^"(?:[^\\"]|\\.)*(?:"|$)/,null,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,null,"'"],["com",/^#[^\r\n]*/,null,"#"],["pln",/^\s+/,null," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\r\n]|$)/],["pun",/^-/],["kwd",/^[\w-]+:[ \r\n]/],["pln", 18 | /^\w+/]]),["yaml","yml"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/lang-yml.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2015 ribrdb @ code.google.com 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:|>?]+/,null,":|>?"],["dec",/^%(?:YAML|TAG)[^#\r\n]+/,null,"%"],["typ",/^[&]\S+/,null,"&"],["typ",/^!\S*/,null,"!"],["str",/^"(?:[^\\"]|\\.)*(?:"|$)/,null,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,null,"'"],["com",/^#[^\r\n]*/,null,"#"],["pln",/^\s+/,null," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\r\n]|$)/],["pun",/^-/],["kwd",/^[\w-]+:[ \r\n]/],["pln", 18 | /^\w+/]]),["yaml","yml"]); 19 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/doc/vendor/prettify/prettify.css: -------------------------------------------------------------------------------- 1 | .pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/error/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

404, Not Found

4 | 5 | 6 | -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/favicon.ico: -------------------------------------------------------------------------------- 1 |  h(  �J���J���J���J���J���J���J���J���J���J���J���J���J���J����H���H���H���H���H��J���J���J���J���J���J���J����H���H���H���H���H��J���J���J���J���J���J���J����H���H���H���H���H��J���J���J���J���J���J���J����H���H���H���H���H��J���J���J���J���J���J���J����H���H���H���H���H��J���J���J���J���J���J���J�� ��� ��� ��� ��� ��� ���]G��]G��]G��]G��]G��]G��]G��]G�� ��� ��� ��� ��� ��� ���]G��]G��]G��]G��]G��]G��]G��]G�� ��� ��� ��� ��� ��� ���]G��]G��]G��]G��]G��]G��]G��]G�� ��� ��� ��� ��� ��� ���]G��]G��]G��]G��]G��]G��]G��]G�� ��� ��� ��� ��� ��� ���]G��]G��]G��]G��]G��]G��]G��]G�� ��� ��� ��� ��� ��� ���]G��]G��]G��]G��]G��]G��]G��]G��]G��]G��]G��]G��]G��]G��]G��]G��]G��]G��]G��]G��]G��]G��]G��]G������������������� -------------------------------------------------------------------------------- /common-web-starter/target/classes/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 |

apiDoc

8 |

apiTest

9 | 10 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | -------------------------------------------------------------------------------- /common-web-starter/target/maven-archiver/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Apache Maven 2 | #Fri May 12 13:38:17 CST 2017 3 | version=1.0.0-RELEASE 4 | groupId=com.xcompany.xproject 5 | artifactId=xproject-common-web-starter 6 | -------------------------------------------------------------------------------- /config/banner.txt: -------------------------------------------------------------------------------- 1 | ==================================================================================================== 2 | App: ${application.title} 3 | Version: ${application.version} 4 | SpringBoot: ${spring-boot.version} 5 | ==================================================================================================== 6 | 7 | -------------------------------------------------------------------------------- /config/i18n/messages.properties: -------------------------------------------------------------------------------- 1 | # warning: don't remove this file 2 | # default messages.properties 3 | -------------------------------------------------------------------------------- /config/i18n/messages_en_US.properties: -------------------------------------------------------------------------------- 1 | ##### Don't Modify 2 | # SUCCESS 3 | 2000 = success 4 | 5 | # PermissionException 6 | 3000 = permission exception 7 | 8 | # ParamsException 9 | 4000 = params exception 10 | 11 | # BusinessException 12 | 5000 = business exception 13 | 14 | # IOException 15 | 6000 = io exception 16 | 17 | # NetworkException 18 | 7000 = net exception 19 | 20 | # UnknownException 21 | -1 = unknown exception 22 | 23 | 24 | ##### Add Your Message 25 | -------------------------------------------------------------------------------- /config/i18n/messages_zh_CN.properties: -------------------------------------------------------------------------------- 1 | ##### Don't Modify 2 | # SUCCESS 3 | 2000 = \u6210\u529F 4 | 5 | # PermissionException 6 | 3000 = \u6743\u9650\u5F02\u5E38, \u8BA4\u8BC1\u6388\u6743\u5931\u8D25 7 | 8 | # ParamsException 9 | 4000 = \u53C2\u6570\u5F02\u5E38, \u7528\u6237\u53C2\u6570\u4E0D\u5408\u6CD5 10 | 11 | # BusinessException 12 | 5000 = \u4E1A\u52A1\u5F02\u5E38, \u4E1A\u52A1\u7EA6\u675F\u6761\u4EF6\u4E0D\u6EE1\u8DB3 13 | 14 | # IOException 15 | 6000 = IO\u5F02\u5E38, \u6570\u636E\u8BFB\u5199\u5F02\u5E38 16 | 17 | # NetworkException 18 | 7000 = \u7F51\u7EDC\u901A\u4FE1\u5F02\u5E38 19 | 20 | # UnknownException 21 | -1 = \u7CFB\u7EDF\u5185\u90E8\u5F02\u5E38 22 | 23 | 24 | ##### Add Your Message 25 | 26 | 27 | 28 | --------------------------------------------------------------------------------