Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Commit

Permalink
2.2.2 Switch to enunciate 2.x
Browse files Browse the repository at this point in the history
Change-Id: I29dc7cc72e8dc9a7d35fb17685c2971d42fd319d
Signed-off-by: Matthias Steiner <matthias.steiner@inscope.net>
  • Loading branch information
steinermatt committed Jun 17, 2016
1 parent cd533db commit 8a30413
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 13 deletions.
2 changes: 1 addition & 1 deletion enterprise-granny-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.sap.hana.cloud.samples</groupId>
<artifactId>enterprise-granny</artifactId>
<version>2.2.1-BUILD-SNAPSHOT</version>
<version>2.2.2</version>
</parent>

<artifactId>enterprise-granny-client</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion enterprise-granny-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.sap.hana.cloud.samples</groupId>
<artifactId>enterprise-granny</artifactId>
<version>2.2.1-BUILD-SNAPSHOT</version>
<version>2.2.2</version>
</parent>

<artifactId>enterprise-granny-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion enterprise-granny-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.sap.hana.cloud.samples</groupId>
<artifactId>enterprise-granny</artifactId>
<version>2.2.1-BUILD-SNAPSHOT</version>
<version>2.2.2</version>
</parent>

<artifactId>enterprise-granny-service</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
@Produces({ "application/json" })
@com.webcohesion.enunciate.metadata.Facet(value="Addressbook API", documentation="Provides REST endpoints to manage address data.")
@com.webcohesion.enunciate.metadata.rs.ResourceLabel(value="Contact Service")
@com.webcohesion.enunciate.metadata.rs.ServiceContextRoot(value="/api/v1")
public class ContactFacadeImpl extends BaseFacade
{
@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/resources/img/ensw_granny_logo_144.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/resources/img/ensw_granny_logo_114.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/resources/img/ensw_granny_logo_72.png">
<link rel="apple-touch-icon-precomposed" href="/resources/img/ensw_granny_logo_57.png">


<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">

Expand All @@ -62,6 +68,9 @@

<link rel="shortcut icon" href="${favicon}" type="image/x-icon" />
[/#if]

<!-- fonts -->
<link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
Expand Down Expand Up @@ -127,7 +136,7 @@

<footer class="footer">
<div class="container">
<p class="text-muted">[#if copyright??]Copyright &copy; <script type="text/javascript" language="javascript">d = new Date;document.write(d.getFullYear());</script> <span xmlns:cc="http://creativecommons.org/ns#" property="cc:attributionName">${copyright}</span>. [/#if]Generated by <a href="http://enunciate.webcohesion.com">Enunciate</a>.</p>
<p class="text-muted">[#if copyright??]Copyright &copy; <script type="text/javascript" language="javascript">d = new Date;document.write(d.getFullYear());</script> <span xmlns:cc="http://creativecommons.org/ns#" property="cc:attributionName">${copyright}</span>. [/#if]</p>
</div>
</footer>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<enunciate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://enunciate.webcohesion.com/schemas/enunciate-2.0.0.xsd">
xsi:noNamespaceSchemaLocation="http://enunciate.webcohesion.com/schemas/enunciate-2.5.0.xsd">


<title>Granny's Addressbook</title>
<copyright>SAP SE</copyright>
<title>Granny's Addressbook - Contact Management Service</title>
<description>Provides REST endpoints to manage address data.</description>
<copyright>SAP SE</copyright>

<terms>Apache License, Version 2.0 </terms>
<application>/api/v1</application>

<application root="/api/v1" />

<api-classes>
<include pattern="com.sap.hana.cloud.samples.granny.model.*" />

Expand All @@ -17,13 +19,16 @@
<exclude pattern="org.eclipse.persistence.jpa.rs.**" />
</api-classes>


<modules>
<jaxrs datatype-detection="aggressive" />
<jackson />
<docs docsDir="../../../webapp/docs" docsSubdir="/" disableRestMountpoint="true"/>

<swagger disabled="true" />
<docs docsDir="../../../webapp/docs" docsSubdir="../docs"
faviconUri="/resources/img/favicon.ico"
freemarkerTemplate="docs.fmt"
includeApplicationPath="true"
disableResourceLinks="false" />

<swagger disabled="true"/>

<gwt-json-overlay disabled="true" />
<idl disabled="true" />
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<artifactId>enterprise-granny</artifactId>
<name>enterprise-granny</name>
<packaging>pom</packaging>
<version>2.2.1-BUILD-SNAPSHOT</version>
<version>2.2.2</version>
<description>A sample address book application demonstrating the interplay of popular open-source libraries. [WIP]</description>

<properties>
Expand Down

0 comments on commit 8a30413

Please sign in to comment.