Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
f1105ccd
Commit
f1105ccd
authored
Mar 08, 2018
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement wadl
parent
0a901fd8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
28 deletions
+3
-28
RootController.java
...main/java/nl/uva/sne/drip/api/v1/rest/RootController.java
+3
-3
app.js
drip-api/src/main/webapp/app.js
+0
-7
index.html
drip-api/src/main/webapp/index.html
+0
-12
uploadfile.jsp
drip-api/src/main/webapp/uploadfile.jsp
+0
-3
uploadfilesuccess.jsp
drip-api/src/main/webapp/uploadfilesuccess.jsp
+0
-3
No files found.
drip-api/src/main/java/nl/uva/sne/drip/api/v1/rest/
WADL
Controller.java
→
drip-api/src/main/java/nl/uva/sne/drip/api/v1/rest/
Root
Controller.java
View file @
f1105ccd
...
...
@@ -56,8 +56,8 @@ import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandl
* @author S. Koulouzis
*/
@Controller
@RequestMapping
(
"/
user/v1.0/
"
)
public
class
WADL
Controller
{
@RequestMapping
(
"/"
)
public
class
Root
Controller
{
String
xs_namespace
=
"http://www.w3.org/2001/XMLSchema"
;
@Autowired
...
...
@@ -70,7 +70,7 @@ public class WADLController {
produces
=
MediaType
.
APPLICATION_XML_VALUE
)
public
@ResponseBody
Application
generateWadl
(
HttpServletRequest
request
)
{
Application
generateWadl
(
HttpServletRequest
request
,
@RequestParam
(
"wadl"
)
String
wadl
)
{
Enumeration
headerNames
=
request
.
getHeaderNames
();
while
(
headerNames
.
hasMoreElements
())
{
...
...
drip-api/src/main/webapp/app.js
deleted
100644 → 0
View file @
0a901fd8
var
app
=
angular
.
module
(
'flapperNews'
,
[]);
app
.
controller
(
'MainCtrl'
,
[
'$scope'
,
function
(
$scope
)
{
$scope
.
test
=
'Hello world!'
;
}]);
drip-api/src/main/webapp/index.html
deleted
100644 → 0
View file @
0a901fd8
<html>
<head>
<title>
My Angular App!
</title>
<script
src=
"https://ajax.googleapis.com/ajax/libs/angularjs/1.5.7/angular.min.js"
></script>
<script
src=
"app.js"
></script>
</head>
<body
ng-app=
"flapperNews"
ng-controller=
"MainCtrl"
>
<div>
{{test}}
</div>
</body>
</html>
\ No newline at end of file
drip-api/src/main/webapp/uploadfile.jsp
deleted
100644 → 0
View file @
0a901fd8
<html>
</html>
\ No newline at end of file
drip-api/src/main/webapp/uploadfilesuccess.jsp
deleted
100644 → 0
View file @
0a901fd8
<html>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment