Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Plan
Issues
27
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
ARSnova Backend
Commits
89c5a451
There was an error fetching the commit references. Please try again later.
Commit
89c5a451
authored
5 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Patches
Plain Diff
Move existing configuration controller to legacy API
parent
7080f4e7
1 merge request
!161
Config endpoint
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/thm/arsnova/controller/v2/ConfigurationController.java
+4
-3
4 additions, 3 deletions
...de/thm/arsnova/controller/v2/ConfigurationController.java
with
4 additions
and
3 deletions
src/main/java/de/thm/arsnova/controller/ConfigurationController.java
→
src/main/java/de/thm/arsnova/controller/
v2/
ConfigurationController.java
+
4
−
3
View file @
89c5a451
...
...
@@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package
de.thm.arsnova.controller
;
package
de.thm.arsnova.controller
.v2
;
import
java.util.HashMap
;
import
java.util.Map
;
...
...
@@ -30,14 +30,15 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
de.thm.arsnova.config.properties.SystemProperties
;
import
de.thm.arsnova.controller.AbstractController
;
/**
* The ConfigurationController provides frontend clients with information necessary to correctly interact with the
* backend and other frontends as well as settings for ARSnova. The the alternative /arsnova-config route is necessary
* in case the backend application is deployed as root context.
*/
@Controller
@RequestMapping
({
"/configuration"
,
"/arsnova-config"
})
@Controller
(
"v2ConfigurationController"
)
@RequestMapping
({
"/
v2/
configuration"
,
"/
v2/
arsnova-config"
})
public
class
ConfigurationController
extends
AbstractController
{
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
ConfigurationController
.
class
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment