Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
feature: migrate bpm-server to bpm-repo
Browse files Browse the repository at this point in the history
  • Loading branch information
lmoesle committed Nov 14, 2023
1 parent e737700 commit 7116c05
Show file tree
Hide file tree
Showing 38 changed files with 51 additions and 156 deletions.
12 changes: 0 additions & 12 deletions bpm-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -257,18 +257,6 @@
<version>${apache.commons.validator}</version>
</dependency>

<!-- Internal Libs -->
<dependency>
<groupId>de.muenchen.allgemein</groupId>
<artifactId>muenchen-allgemein-graceful-shutdown</artifactId>
<version>2.2.10-3-JDK11</version>
</dependency>
<dependency>
<groupId>de.muenchen.allgemein</groupId>
<artifactId>muenchen-allgemein-nfc-converter</artifactId>
<version>2.2.10-3-JDK11</version>
</dependency>

</dependencies>

<build>
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik
* der Landeshauptstadt München, 2021
*/
package de.muenchen.digiwf.bpm.server;
package io.miragon.bpmrepo.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
Expand All @@ -17,10 +17,10 @@
@EnableJpaRepositories(basePackages = { "de.muenchen.digiwf.bpm.server" })
@EntityScan(basePackages = { "de.muenchen.digiwf.bpm.server" })
@EnableScheduling
public class MicroServiceApplication {
public class BpmServerApplication {

public static void main(final String[] args) {
SpringApplication.run(MicroServiceApplication.class, args);
SpringApplication.run(BpmServerApplication.class, args);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik
* der Landeshauptstadt München, 2021
*/
package de.muenchen.digiwf.bpm.server.configuration;
package io.miragon.bpmrepo.server.configuration;

import org.apache.commons.lang3.StringUtils;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik
* der Landeshauptstadt München, 2021
*/
package de.muenchen.digiwf.bpm.server.configuration;
package io.miragon.bpmrepo.server.configuration;

import com.github.benmanes.caffeine.cache.Caffeine;
import com.github.benmanes.caffeine.cache.Ticker;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package de.muenchen.digiwf.bpm.server.configuration;
package io.miragon.bpmrepo.server.configuration;

import com.asyncapi.v2.binding.kafka.KafkaOperationBinding;
import com.asyncapi.v2.model.info.Info;
import com.asyncapi.v2.model.server.Server;
import de.muenchen.digiwf.bpm.server.deployment.event.DeploymentEvent;
import de.muenchen.digiwf.bpm.server.deployment.handler.DeploymentProperties;
import io.miragon.bpmrepo.server.deployment.event.DeploymentEvent;
import io.miragon.bpmrepo.server.deployment.handler.DeploymentProperties;
import io.github.stavshamir.springwolf.asyncapi.types.ProducerData;
import io.github.stavshamir.springwolf.configuration.AsyncApiDocket;
import io.github.stavshamir.springwolf.configuration.EnableAsyncApi;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik
* der Landeshauptstadt München, 2021
*/
package de.muenchen.digiwf.bpm.server.configuration;
package io.miragon.bpmrepo.server.configuration;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.security.oauth2.resource.UserInfoTokenServices;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik
* der Landeshauptstadt München, 2021
*/
package de.muenchen.digiwf.bpm.server.configuration;
package io.miragon.bpmrepo.server.configuration;


import io.miragon.bpmrepo.core.artifact.domain.enums.DeploymentStatus;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik
* der Landeshauptstadt München, 2021
*/
package de.muenchen.digiwf.bpm.server.configuration;
package io.miragon.bpmrepo.server.configuration;

import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik
* der Landeshauptstadt München, 2021
*/
package de.muenchen.digiwf.bpm.server.configuration;
package io.miragon.bpmrepo.server.configuration;

import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik
* der Landeshauptstadt München, 2021
*/
package de.muenchen.digiwf.bpm.server.configuration;
package io.miragon.bpmrepo.server.configuration;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.muenchen.digiwf.bpm.server.configuration;
package io.miragon.bpmrepo.server.configuration;

public class StreamingHeaders {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.muenchen.digiwf.bpm.server.configuration;
package io.miragon.bpmrepo.server.configuration;

import io.swagger.v3.oas.models.Components;
import io.swagger.v3.oas.models.ExternalDocumentation;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.muenchen.digiwf.bpm.server.deployment;
package io.miragon.bpmrepo.server.deployment;

import io.miragon.bpmrepo.core.artifact.api.transport.ArtifactTypeTO;
import io.miragon.bpmrepo.core.artifact.plugin.ArtifactTypesPlugin;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package de.muenchen.digiwf.bpm.server.deployment;
package io.miragon.bpmrepo.server.deployment;

import de.muenchen.digiwf.bpm.server.deployment.event.DeploymentEvent;
import de.muenchen.digiwf.bpm.server.deployment.handler.DeploymentHandler;
import io.miragon.bpmrepo.server.deployment.event.DeploymentEvent;
import io.miragon.bpmrepo.server.deployment.handler.DeploymentHandler;
import io.miragon.bpmrepo.core.artifact.plugin.DeploymentPlugin;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.muenchen.digiwf.bpm.server.deployment;
package io.miragon.bpmrepo.server.deployment;

import lombok.Getter;
import lombok.Setter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.muenchen.digiwf.bpm.server.deployment.event;
package io.miragon.bpmrepo.server.deployment.event;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.muenchen.digiwf.bpm.server.deployment.event;
package io.miragon.bpmrepo.server.deployment.event;

import lombok.AllArgsConstructor;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package de.muenchen.digiwf.bpm.server.deployment.handler;
package io.miragon.bpmrepo.server.deployment.handler;


import de.muenchen.digiwf.bpm.server.deployment.event.DeploymentEvent;
import io.miragon.bpmrepo.server.deployment.event.DeploymentEvent;
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Profile;
import org.springframework.messaging.Message;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package de.muenchen.digiwf.bpm.server.deployment.handler;
package io.miragon.bpmrepo.server.deployment.handler;


import de.muenchen.digiwf.bpm.server.deployment.event.DeploymentEvent;
import io.miragon.bpmrepo.server.deployment.event.DeploymentEvent;
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Profile;
import org.springframework.messaging.Message;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package de.muenchen.digiwf.bpm.server.deployment.handler;
package io.miragon.bpmrepo.server.deployment.handler;

import de.muenchen.digiwf.bpm.server.deployment.event.DeploymentEvent;
import io.miragon.bpmrepo.server.deployment.event.DeploymentEvent;
import org.springframework.messaging.Message;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.muenchen.digiwf.bpm.server.deployment.handler;
package io.miragon.bpmrepo.server.deployment.handler;

import lombok.Getter;
import lombok.Setter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package de.muenchen.digiwf.bpm.server.deployment.handler;
package io.miragon.bpmrepo.server.deployment.handler;


import de.muenchen.digiwf.bpm.server.deployment.event.DeploymentEvent;
import io.miragon.bpmrepo.server.deployment.event.DeploymentEvent;
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Profile;
import org.springframework.messaging.Message;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package de.muenchen.digiwf.bpm.server.deployment.handler;
package io.miragon.bpmrepo.server.deployment.handler;


import de.muenchen.digiwf.bpm.server.deployment.event.DeploymentEvent;
import io.miragon.bpmrepo.server.deployment.event.DeploymentEvent;
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Profile;
import org.springframework.messaging.Message;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.muenchen.digiwf.bpm.server.deploymentstatus.event;
package io.miragon.bpmrepo.server.deploymentstatus.event;

import lombok.AllArgsConstructor;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.muenchen.digiwf.bpm.server.deploymentstatus.event;
package io.miragon.bpmrepo.server.deploymentstatus.event;

import io.miragon.bpmrepo.core.artifact.adapter.DeploymentAdapter;
import io.miragon.bpmrepo.core.artifact.domain.enums.DeploymentStatus;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik
* der Landeshauptstadt München, 2021
*/
package de.muenchen.digiwf.bpm.server.security;
package io.miragon.bpmrepo.server.security;

import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.security.access.prepost.PreAuthorize;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.muenchen.digiwf.bpm.server.security;
package io.miragon.bpmrepo.server.security;

import io.miragon.bpmrepo.core.security.UserContext;
import lombok.RequiredArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c): it@M - Dienstleister für Informations- und Telekommunikationstechnik
* der Landeshauptstadt München, 2021
*/
package de.muenchen.digiwf.bpm.server.security;
package io.miragon.bpmrepo.server.security;

import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.muenchen.digiwf.bpm.server.security;
package io.miragon.bpmrepo.server.security;

import io.miragon.bpmrepo.core.security.UserContext;
import lombok.RequiredArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.muenchen.digiwf.bpm.server.security;
package io.miragon.bpmrepo.server.security;

import io.miragon.bpmrepo.core.user.domain.service.UserService;
import lombok.RequiredArgsConstructor;
Expand Down
7 changes: 2 additions & 5 deletions bpm-server/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,14 @@ spring:
enabled: true

# Define the keycloak development realm here
realm: P82
keycloak.auth-server-url:
realm: ${SSO_REALM}
keycloak.auth-server-url: ${SSO_BASE_URL}

security:
# possible values: none, all, changing (With changing, only changing requests such as POST, PUT, DELETE are logged)
logging.requests: all
oauth2:
resource:
jwk:
key-set-uri:
user-info-uri:
prefer-token-info: false
client:
client-id: bpm-server
Expand Down
3 changes: 0 additions & 3 deletions bpm-server/src/main/resources/application-testdata.properties

This file was deleted.

Loading

0 comments on commit 7116c05

Please sign in to comment.