Permalink
Browse files

Add the Oracle JET quick start basic template

Oracle JET (JavaScript Extenions Toolkit) can either be used through a Yeoman generator or by the quick start template 'OracleJET_QuickStartBasic' available from http://www.oracle.com/technetwork/developer-tools/jet/downloads/index.html.

Also add a forward view from /app to /app/index.html.
  • Loading branch information...
michael-simons committed Jul 24, 2016
1 parent 1cef806 commit 8158f5a90df7f7ad66ad39e79a3377bc9820cdc5
Showing 1,985 changed files with 777,584 additions and 3 deletions.
@@ -2,11 +2,23 @@
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
+import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
@SpringBootApplication
public class Application {
- public static void main(String... args) {
- SpringApplication.run(Application.class, args);
- }
+ @Configuration
+ static class WebConfig extends WebMvcConfigurerAdapter {
+
+ @Override
+ public void addViewControllers(final ViewControllerRegistry registry) {
+ registry.addViewController("/app/").setViewName("forward:/app/index.html");
+ }
+ }
+
+ public static void main(String... args) {
+ SpringApplication.run(Application.class, args);
+ }
}
@@ -0,0 +1,11 @@
+# Contributing to Oracle JET
+
+*Copyright (c) 2014,2016 Oracle and/or its affiliates
+The Universal Permissive License (UPL), Version 1.0*
+
+**Pull requests are currently not being accepted for the Oracle JET project.**
+
+We plan to provide this functionality in the future. At that time, you will need to follow [The Oracle Contributor Agreement](https://www.oracle.com/technetwork/community/oca-486395.html)
+(OCA).
+
+If you have ideas, comments, or issues related to Oracle JET, swing on by the [Oracle JET discussion forum.](https://community.oracle.com/community/development_tools/oracle-jet)
@@ -0,0 +1,47 @@
+# Oracle JET
+
+You may not use the identified files except in compliance with the
+Universal Permissive License (UPL), Version 1.0 (the "License.")
+
+You may obtain a copy of the License at
+https://opensource.org/licenses/UPL. A copy of the license is
+also reproduced below.
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+```
+Copyright (c) 2014, 2016 Oracle and/or its affiliates
+The Universal Permissive License (UPL), Version 1.0
+
+Subject to the condition set forth below, permission is hereby granted to any person obtaining
+a copy of this software, associated documentation and/or data (collectively the "Software"),
+free of charge and under any and all copyright rights in the Software, and any and all patent
+rights owned or freely licensable by each licensor hereunder covering either (i) the unmodified
+Software as contributed to or provided by such licensor, or (ii) the Larger Works (as defined below),
+to deal in both
+
+(a) the Software, and (b) any piece of software and/or hardware listed in the lrgrwrks.txt file if
+one is included with the Software (each a “Larger Work” to which the Software is contributed by such licensors),
+without restriction, including without limitation the rights to copy, create derivative works of,
+display, perform, and distribute the Software and make, use, sell, offer for sale, import, export,
+have made, and have sold the Software and the Larger Work(s), and to sublicense the foregoing rights
+on either these or other terms.
+
+This license is subject to the following condition:
+
+The above copyright notice and either this complete permission notice or at a minimum a reference
+to the UPL must be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
+LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
+THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+```
@@ -0,0 +1,50 @@
+# Oracle JET version 2.0.2
+
+## About Oracle JET
+Oracle JET is targeted at intermediate to advanced JavaScript developers working on client-side applications. It's a collection of open source JavaScript libraries along with a set of Oracle contributed JavaScript libraries that make it as simple and efficient as possible to build applications that consume and interact with Oracle products and services, especially Oracle Cloud services.
+
+This is an open source project maintained by Oracle Corp.
+
+### Features and Benefits:
+Oracle JET is a modular toolkit allowing developers to use as much or as little of the features as they desire. Watch a short overview of what Oracle JET can do for you.
+
+* Complete JavaScript development toolkit
+* Leverages popular open-source technologies
+* Full lifecycle management for template based SPA
+* Built in accessibility support
+* Support for internationalization (28 languages and 160+ locales)
+* Rich set of UI components
+* Advanced two-way binding with a common model layer
+* Powerful routing system supporting single-page application navigation
+* Smart resource management
+* For intermediate & advanced JS devs
+
+## Examples
+Here is a list of places to see Oracle JET in action:
+* [Oracle JET website](http://oraclejet.org)
+* [Oracle JET Cookbook](http://www.oracle.com/webfolder/technetwork/jet/uiComponents-formControls.html) - Every component with live code demos
+* [Sample applications and Tutorials](http://www.oracle.com/webfolder/technetwork/jet/globalExamples.html)
+
+
+## Installation
+Oracle JET provides a Yeoman generator to help scaffold up your applications. To install and build a blank app, type:
+
+```
+npm install -g yo grunt bower grunt-cli
+npm install -g generator-oraclejet
+
+yo oraclejet <app name>
+```
+See the [Oracle JET Developer Guide](http://docs.oracle.com/middleware/jet202/jet/) for complete installation details, including prerequisites.
+
+## [Documentation](http://docs.oracle.com/middleware/jet202/jet/)
+Oracle JET comes with a full [Developers Guide](http://docs.oracle.com/middleware/jet202/jet/) to help with Getting Started and many common issues.
+
+## [Contributing](https://github.com/oracle/oraclejet/tree/master/CONTRIBUTING.md)
+Oracle JET is an open source project. Pull Requests are currently not being accepted. See
+[CONTRIBUTING](https://github.com/oracle/oraclejet/tree/master/CONTRIBUTING.md)
+for details.
+
+## [License](https://github.com/oracle/oraclejet/tree/master/LICENSE.md)
+Copyright (c) 2014, 2016 Oracle and/or its affiliates
+The Universal Permissive License (UPL), Version 1.0
Oops, something went wrong.

0 comments on commit 8158f5a

Please sign in to comment.