Skip to content

Commit

Permalink
feat: remove support for v1 api.
Browse files Browse the repository at this point in the history
  • Loading branch information
ballade0d committed Oct 18, 2024
1 parent 1a7903c commit 6c85a81
Show file tree
Hide file tree
Showing 36 changed files with 43 additions and 353 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
- uses: actions/download-artifact@v3
with:
name: app
name: evento-lark
- name: Rename jar
run: mv -v *.jar evento-lark.jar
- name: Deploy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package fun.sast.evento.lark.api.v2.admin;
package fun.sast.evento.lark.api.admin;

import fun.sast.evento.lark.api.security.Permission;
import fun.sast.evento.lark.api.security.RequirePermission;
import fun.sast.evento.lark.api.v2.value.V2;
import fun.sast.evento.lark.api.value.V2;
import fun.sast.evento.lark.domain.event.entity.Attachment;
import fun.sast.evento.lark.domain.event.service.AttachmentService;
import jakarta.annotation.Resource;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package fun.sast.evento.lark.api.v2.admin;
package fun.sast.evento.lark.api.admin;

import fun.sast.evento.lark.api.security.Permission;
import fun.sast.evento.lark.api.security.RequirePermission;
import fun.sast.evento.lark.api.v2.value.V2;
import fun.sast.evento.lark.api.value.V2;
import fun.sast.evento.lark.domain.event.entity.Event;
import fun.sast.evento.lark.domain.event.service.EventService;
import fun.sast.evento.lark.domain.event.value.EventCreate;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package fun.sast.evento.lark.api.v2.admin;
package fun.sast.evento.lark.api.admin;

import fun.sast.evento.lark.api.security.Permission;
import fun.sast.evento.lark.api.security.RequirePermission;
import fun.sast.evento.lark.api.v2.value.V2;
import fun.sast.evento.lark.api.value.V2;
import fun.sast.evento.lark.domain.common.value.Pagination;
import fun.sast.evento.lark.domain.event.entity.Feedback;
import fun.sast.evento.lark.domain.event.service.FeedbackService;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package fun.sast.evento.lark.api.v2.admin;
package fun.sast.evento.lark.api.admin;

import fun.sast.evento.lark.api.security.Permission;
import fun.sast.evento.lark.api.security.RequirePermission;
import fun.sast.evento.lark.api.v2.value.V2;
import fun.sast.evento.lark.api.value.V2;
import fun.sast.evento.lark.domain.lark.service.LarkDepartmentService;
import fun.sast.evento.lark.domain.lark.service.LarkRoomService;
import jakarta.annotation.Resource;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package fun.sast.evento.lark.api.v2.admin;
package fun.sast.evento.lark.api.admin;

import fun.sast.evento.lark.api.security.Permission;
import fun.sast.evento.lark.api.security.RequirePermission;
import fun.sast.evento.lark.api.v2.value.V2;
import fun.sast.evento.lark.api.value.V2;
import fun.sast.evento.lark.domain.event.entity.Slide;
import fun.sast.evento.lark.domain.event.service.SlideService;
import jakarta.annotation.Resource;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fun.sast.evento.lark.api.v2.admin;
package fun.sast.evento.lark.api.admin;

import fun.sast.evento.lark.api.security.Permission;
import fun.sast.evento.lark.api.security.RequirePermission;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package fun.sast.evento.lark.api.v2.client;
package fun.sast.evento.lark.api.client;

import fun.sast.evento.lark.api.v2.value.V2;
import fun.sast.evento.lark.api.value.V2;
import fun.sast.evento.lark.domain.event.service.AttachmentService;
import jakarta.annotation.Resource;
import org.springframework.cache.annotation.Cacheable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package fun.sast.evento.lark.api.v2.client;
package fun.sast.evento.lark.api.client;

import fun.sast.evento.lark.api.v2.value.V2;
import fun.sast.evento.lark.api.value.V2;
import fun.sast.evento.lark.domain.common.value.Pagination;
import fun.sast.evento.lark.domain.event.entity.Event;
import fun.sast.evento.lark.domain.event.service.EventService;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package fun.sast.evento.lark.api.v2.client;
package fun.sast.evento.lark.api.client;

import fun.sast.evento.lark.api.v2.value.V2;
import fun.sast.evento.lark.api.value.V2;
import fun.sast.evento.lark.domain.event.entity.Feedback;
import fun.sast.evento.lark.domain.event.service.FeedbackService;
import jakarta.annotation.Resource;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package fun.sast.evento.lark.api.v2.client;
package fun.sast.evento.lark.api.client;

import fun.sast.evento.lark.api.v2.value.V2;
import fun.sast.evento.lark.api.value.V2;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package fun.sast.evento.lark.api.v2.client;
package fun.sast.evento.lark.api.client;

import fun.sast.evento.lark.api.v2.value.V2;
import fun.sast.evento.lark.api.value.V2;
import fun.sast.evento.lark.domain.event.entity.Slide;
import fun.sast.evento.lark.domain.event.service.SlideService;
import jakarta.annotation.Resource;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fun.sast.evento.lark.api.v2.client;
package fun.sast.evento.lark.api.client;

import fun.sast.evento.lark.domain.event.service.SubscriptionService;
import fun.sast.evento.lark.domain.subscription.event.EventStateUpdateEvent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/login")
@RequestMapping("/api/v2/login")
@AllArgsConstructor
class LoginController {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import fun.sast.evento.lark.api.security.Permission;
import fun.sast.evento.lark.api.security.RequirePermission;
import fun.sast.evento.lark.api.v2.value.V2;
import fun.sast.evento.lark.api.value.V2;
import fun.sast.evento.lark.domain.event.service.UserService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 6c85a81

Please sign in to comment.