Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vorbereitungen multitenant Branch in main Branch mergen #1000

Open
clean-coder opened this issue Sep 17, 2024 · 3 comments
Open

Vorbereitungen multitenant Branch in main Branch mergen #1000

clean-coder opened this issue Sep 17, 2024 · 3 comments
Assignees

Comments

@clean-coder
Copy link
Collaborator

No description provided.

@clean-coder
Copy link
Collaborator Author

clean-coder commented Sep 17, 2024

Backend Merge Konflikte

ClientConfigController.java

  • hat einen neueren Stand im main, d.h. Stand vom main nehmen
  • aber dieser wird mit dem Code vom multitenant Branch nicht mehr funktionieren. Folgende Anpassung im Code muss manuell gemacht werden:
    @GetMapping("/config")
    public ResponseEntity<ClientConfigDto> getConfig(HttpServletRequest request) {
        return ResponseEntity
                .status(HttpStatus.OK)
                .body(configService.getConfigBasedOnActiveEnv(request.getServerName()));
    }

QuarterPersistenceServiceIT.java

  • hat einen neueren Stand im main, d.h. Stand vom main nehmen
  • manuelle Anpassung: das Schema muss gesetzt werden
    @BeforeEach
    void setUp() {
        TenantContext.setCurrentTenant(TestHelper.SCHEMA_PITC);
    }

    @AfterEach
    void tearDown() {
        TenantContext.setCurrentTenant(null);
    }

@clean-coder clean-coder self-assigned this Sep 17, 2024
@clean-coder
Copy link
Collaborator Author

FrontEnd Merge Konflikte

TODO

@clean-coder
Copy link
Collaborator Author

Erledigt, da der Merge bereits gemacht worden ist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants