Skip to content

Commit

Permalink
Fixes #227 - Rename API to REST (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem authored Jul 24, 2024
1 parent ee55487 commit 906ef6b
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 30 deletions.
11 changes: 0 additions & 11 deletions api/src/main/webapp/WEB-INF/web.xml

This file was deleted.

10 changes: 0 additions & 10 deletions api/src/main/webapp/index.html

This file was deleted.

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<modules>
<module>docker</module>
<module>repo</module>
<module>rest</module>
<module>ui</module>
<module>api</module>
</modules>
<profiles>
<!--
Expand Down
4 changes: 2 additions & 2 deletions api/pom.xml → rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<version>24.8.0-SNAPSHOT</version>
</parent>
<groupId>com.manorrock.aegean</groupId>
<artifactId>api</artifactId>
<artifactId>aegean-rest</artifactId>
<version>24.8.0-SNAPSHOT</version>
<packaging>war</packaging>
<name>Manorrock Aegean - API</name>
<name>Manorrock Aegean - REST</name>
<properties>
<!-- dependencies -->
<jakarta.version>10.0.0</jakarta.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
package com.manorrock.aegean.api;
package com.manorrock.aegean.rest;

import jakarta.annotation.PostConstruct;
import jakarta.enterprise.context.ApplicationScoped;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
package com.manorrock.aegean.api;
package com.manorrock.aegean.rest;

import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
package com.manorrock.aegean.api;
package com.manorrock.aegean.rest;

/**
* The repository.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
package com.manorrock.aegean.api;
package com.manorrock.aegean.rest;

import jakarta.ws.rs.Consumes;
import jakarta.ws.rs.DELETE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
package com.manorrock.aegean.api;
package com.manorrock.aegean.rest;

import jakarta.ws.rs.ApplicationPath;
import jakarta.ws.rs.core.Application;
Expand All @@ -34,5 +34,5 @@
* @author Manfred Riem ([email protected])
*/
@ApplicationPath("")
public class AegeanApiApplication extends Application {
public class RestApplication extends Application {
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/beans_4_0.xsd"
Expand Down
10 changes: 10 additions & 0 deletions rest/src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<web-app xmlns="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd"
version="6.0">
<session-config>
<session-timeout>30</session-timeout>
</session-config>
</web-app>
File renamed without changes.

0 comments on commit 906ef6b

Please sign in to comment.