/
index.html
117 lines (109 loc) · 7.15 KB
/
index.html
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
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.
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Apache Isis™ SimpleApp</title>
<style type="text/css">
body {
background-color: #1A467B;
font-family: Verdana, Helvetica, Arial;
font-size: 90%;
}
li {
margin-top: 6px;
margin-bottom: 6px;
}
table {
border-collapse: collapse;
}
table, th, td {
border: 1px;
border-style: solid;
border-color: lightgray;
}
th, td {
padding: 10px;
}
#wrapper {
background-color: #ffffff;
width: 900px;
margin: 8px auto;
padding: 12px;
}
</style>
</head>
<body>
<div id="wrapper">
<img alt="Isis Logo" src="about/images/isis-logo.png" />
<p>
This app has been generated using Apache Isis'
<a href="http://isis.apache.org/guides/ugfun/ugfun.html#_ugfun_getting-started_simple%61pp-archetype" target="_blank">SimpleApp</a> archetype,
to create a purposefully minimal application that nevertheless includes fixture data, integration tests and BDD specs.
<br/>
<br/>
The application's business logic resides in a single (maven) module, <a href="https://github.com/apache/isis/tree/master/example/application/simple%61pp/module-simple" target="_blank">module-simple</a>, that in turn contains a single domain entity, <a href="https://github.com/apache/isis/blob/master/example/application/simple%61pp/module-simple/src/main/java/domainapp/modules/simple/dom/impl/SimpleObject.java" target="_blank">SimpleObject</a>. The module has its own <a href="https://github.com/apache/isis/tree/master/example/application/simple%61pp/module-simple/src/main/java/domainapp/modules/simple/fixture" target="_blank">fixtures</a>, <a href="https://github.com/apache/isis/tree/master/example/application/simple%61pp/module-simple/src/test/java/domainapp/modules/simple/dom/impl" target="_blank">unit tests</a> and <a href="https://github.com/apache/isis/tree/master/example/application/simple%61pp/module-simple/src/test/java/domainapp/modules/simple/integtests/tests" target="_blank">integration tests</a>. New modules can be created by copying this first simple module.
<br/>
<br/>
The app also defines the <a href="https://github.com/apache/isis/tree/master/example/application/simple%61pp/application" target="_blank">application</a> (maven) module; this holds <a href="https://github.com/apache/isis/tree/master/example/application/simple%61pp/application/src/main/java/domainapp/application/fixture" target="_blank">fixtures</a>, <a href="https://github.com/apache/isis/blob/master/example/application/simple%61pp/application/src/test/java/domainapp/application/integtests" target="_blank">integration/smoke tests</a> and <a href="https://github.com/apache/isis/blob/master/example/application/simple%61pp/application/src/test/java/domainapp/application/bdd" target="_blank">BDD specs</a> to exercise the entire application. It also holds the <a href="https://github.com/apache/isis/blob/master/example/application/simple%61pp/application/src/main/java/domainapp/application/manifest/DomainAppAppManifest.java" target="_blank">AppManifest</a> used to bootstrap the entire application, as well as application-scoped <a href="https://github.com/apache/isis/blob/master/example/application/simple%61pp/application/src/main/java/domainapp/application/services" target="_blank">domain services</a> (eg a home page service).
<br/>
<br/>
The app's <a href="https://github.com/apache/isis/tree/master/example/application/simple%61pp/webapp" target="_blank">webapp</a> (maven) module is used to assemble the application into a WAR file.
</p>
<p>To access the app:</p>
<ul>
<li>
<p>
<b><a href="wicket/">wicket/</a></b>
</p>
<p>
provides access to a generic UI for end-users,
Apache Isis' <a href="http://isis.apache.org/guides/ugvw/ugvw.html" target="_blank">Wicket Viewer</a>.
As its name suggests, this viewer is built on top of <a href="http://wicket.apache.org" target="_blank">Apache Wicket</a>™.
</p>
</li>
<li>
<p>
<b>
<a href="swagger-ui/index.html">swagger-ui/</a>
</b>
</p>
<p>
provides access to a Swagger UI which uses a subset of the framework's automatically
generated <a href="restful/">RESTful API</a> (provided by the
<a href="http://isis.apache.org/guides/ugvro/ugvro.html" target="_blank">Restful Objects viewer</a>). There are
three versions of the Swagger spec files (that drive the UI):
<a href="restful/swagger/public">public</a> (for use by "third-party" apps),
<a href="restful/swagger/private">private</a> (for use by internal apps), and
<a href="restful/swagger/prototyping">prototyping</a> (an extended version of the private
API). The Swagger spec files are themselves dynamically generated and can be used to generate
client-side stubs.
</p>
<p>The RESTful API can return both simple representations and also richer hypermedia representations
that are conformant with the <a href="http://restfulobjects.org" target="_blank">Restful Objects</a> spec.
The HTTP <code>Accept</code> header is used to select which representation should be generated.
</p>
</li>
</ul>
<p>
The default user/password is <b><i>sven/pass</i></b> (as configured in the
<a href="https://github.com/apache/isis/blob/master/example/application/simple%61pp/webapp/src/main/webapp/WEB-INF/shiro.ini" target="_blank">shiro.ini</a> file).
</p>
</div>
</body>
</html>