Skip to content

Commit

Permalink
file restructured so that pull request will (hopefully) go fine
Browse files Browse the repository at this point in the history
  • Loading branch information
arnedierick committed Mar 4, 2024
1 parent 8e57062 commit 023c86c
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import org.springframework.web.bind.annotation.RestController;

@RestController
@SpringBootApplication(scanBasePackages={"com.ugent.pidgeon","com.ugent.selab2"})
@SpringBootApplication
public class PidgeonApplication {

@RequestMapping("/")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ugent.selab2.config;
package com.ugent.pidgeon.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ugent.selab2.config;
package com.ugent.pidgeon.config;

import com.auth0.jwk.Jwk;
import com.auth0.jwk.JwkException;
Expand All @@ -8,8 +8,8 @@
import com.auth0.jwt.algorithms.Algorithm;
import com.auth0.jwt.exceptions.SignatureVerificationException;
import com.auth0.jwt.interfaces.DecodedJWT;
import com.ugent.selab2.model.Auth;
import com.ugent.selab2.model.User;
import com.ugent.pidgeon.model.Auth;
import com.ugent.pidgeon.model.User;
import org.springframework.http.HttpStatus;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.util.StringUtils;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ugent.selab2.config;
package com.ugent.pidgeon.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ugent.selab2.config;
package com.ugent.pidgeon.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.ugent.selab2.controllers;
import com.ugent.selab2.model.Auth;
import com.ugent.selab2.model.User;
package com.ugent.pidgeon.controllers;
import com.ugent.pidgeon.model.Auth;
import com.ugent.pidgeon.model.User;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ugent.selab2.model;
package com.ugent.pidgeon.model;

import org.springframework.security.authentication.AbstractAuthenticationToken;
import org.springframework.security.core.GrantedAuthority;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ugent.selab2.model;
package com.ugent.pidgeon.model;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package com.ugent.pidgeon.controllers;

import com.ugent.selab2.model.User;
import com.ugent.selab2.model.Auth;
import com.ugent.selab2.controllers.AuthTestController;
import com.ugent.pidgeon.model.User;
import com.ugent.pidgeon.model.Auth;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package com.ugent.pidgeon.model;

import com.ugent.selab2.model.Auth;
import com.ugent.selab2.model.User;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.ugent.pidgeon.model;

import com.ugent.selab2.model.User;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
Expand Down

0 comments on commit 023c86c

Please sign in to comment.