Skip to content

Commit

Permalink
chore: migrate to dev.knowhowto space
Browse files Browse the repository at this point in the history
  • Loading branch information
Dima Denysenko committed Nov 14, 2023
1 parent 5673d95 commit b36265b
Show file tree
Hide file tree
Showing 23 changed files with 43 additions and 43 deletions.
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.ujar.sb</groupId>
<groupId>dev.knowhowto.sb</groupId>
<artifactId>sample-webflux-crud-secured</artifactId>
<version>23.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
Expand Down Expand Up @@ -33,7 +33,7 @@
</developers>

<parent>
<groupId>org.ujar.boot</groupId>
<groupId>dev.knowhowto.boot</groupId>
<artifactId>boot-parent-pom</artifactId>
<version>23.0.0-SNAPSHOT</version>
</parent>
Expand All @@ -48,7 +48,7 @@
<flyway.version>9.22.3</flyway.version>
<checkstyle.skip>false</checkstyle.skip>
<maven.gitcommitid.skip>false</maven.gitcommitid.skip>
<start-class>org.ujar.webfluxcrudsecured.WebfluxCrudSecuredApplication</start-class>
<start-class>dev.knowhowto.webfluxcrudsecured.WebfluxCrudSecuredApplication</start-class>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -78,7 +78,7 @@
<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>
<dependency>
<groupId>org.ujar.boot</groupId>
<groupId>dev.knowhowto.boot</groupId>
<artifactId>boot-starter-observability</artifactId>
</dependency>
<dependency>
Expand Down Expand Up @@ -182,7 +182,7 @@
<artifactId>spring-boot-starter-undertow</artifactId>
</dependency>
<dependency>
<groupId>org.ujar.boot</groupId>
<groupId>dev.knowhowto.boot</groupId>
<artifactId>boot-starter-cache</artifactId>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion src/main/docker/prometheus/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ global :
# Attach these labels to any time series or alerts when communicating with
# external systems (federation, remote storage, Alertmanager).
external_labels :
monitor : 'ujar'
monitor : 'knowhowto'

# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.ujar.webfluxcrudsecured;
package dev.knowhowto.webfluxcrudsecured;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package org.ujar.webfluxcrudsecured.client;
package dev.knowhowto.webfluxcrudsecured.client;

import lombok.extern.slf4j.Slf4j;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Component;
import org.springframework.web.reactive.function.client.WebClient;
import org.ujar.webfluxcrudsecured.entity.User;
import dev.knowhowto.webfluxcrudsecured.entity.User;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.ujar.webfluxcrudsecured.config;
package dev.knowhowto.webfluxcrudsecured.config;

import jakarta.validation.constraints.NotNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.ujar.webfluxcrudsecured.config;
package dev.knowhowto.webfluxcrudsecured.config;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.ujar.webfluxcrudsecured.config;
package dev.knowhowto.webfluxcrudsecured.config;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.ujar.webfluxcrudsecured.config;
package dev.knowhowto.webfluxcrudsecured.config;

import java.time.Duration;

Expand All @@ -12,8 +12,8 @@
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.ujar.boot.cache.CacheProperties;
import org.ujar.webfluxcrudsecured.entity.User;
import dev.knowhowto.boot.cache.CacheProperties;
import dev.knowhowto.webfluxcrudsecured.entity.User;

@Configuration
@EnableCaching
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.ujar.webfluxcrudsecured.config;
package dev.knowhowto.webfluxcrudsecured.config;

import jakarta.validation.constraints.NotNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.ujar.webfluxcrudsecured.config;
package dev.knowhowto.webfluxcrudsecured.config;

import java.nio.charset.StandardCharsets;
import java.util.Base64;
Expand All @@ -11,7 +11,7 @@
import io.jsonwebtoken.security.Keys;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;
import org.ujar.webfluxcrudsecured.entity.User;
import dev.knowhowto.webfluxcrudsecured.entity.User;

@Component
@RequiredArgsConstructor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.ujar.webfluxcrudsecured.config;
package dev.knowhowto.webfluxcrudsecured.config;

import org.springframework.http.HttpHeaders;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.ujar.webfluxcrudsecured.config;
package dev.knowhowto.webfluxcrudsecured.config;

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 org.ujar.webfluxcrudsecured.config;
package dev.knowhowto.webfluxcrudsecured.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.ujar.webfluxcrudsecured.dto;
package dev.knowhowto.webfluxcrudsecured.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.ujar.webfluxcrudsecured.entity;
package dev.knowhowto.webfluxcrudsecured.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.ujar.webfluxcrudsecured.entity;
package dev.knowhowto.webfluxcrudsecured.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.ujar.webfluxcrudsecured.entity;
package dev.knowhowto.webfluxcrudsecured.entity;

public enum UserRole {
ROLE_USER, ROLE_ADMIN
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.ujar.webfluxcrudsecured.repository;
package dev.knowhowto.webfluxcrudsecured.repository;

import org.springframework.data.repository.reactive.ReactiveCrudRepository;
import org.ujar.webfluxcrudsecured.entity.Department;
import dev.knowhowto.webfluxcrudsecured.entity.Department;
import reactor.core.publisher.Mono;

public interface DepartmentRepository extends ReactiveCrudRepository<Department, Integer> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.ujar.webfluxcrudsecured.repository;
package dev.knowhowto.webfluxcrudsecured.repository;

import org.springframework.data.r2dbc.repository.Query;
import org.springframework.data.repository.reactive.ReactiveCrudRepository;
import org.ujar.webfluxcrudsecured.entity.User;
import dev.knowhowto.webfluxcrudsecured.entity.User;
import reactor.core.publisher.Flux;

public interface UserRepository extends ReactiveCrudRepository<User, Integer> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.ujar.webfluxcrudsecured.service;
package dev.knowhowto.webfluxcrudsecured.service;

import java.util.List;
import java.util.function.BiFunction;
Expand All @@ -7,11 +7,11 @@
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.ujar.webfluxcrudsecured.dto.UserDepartmentDTO;
import org.ujar.webfluxcrudsecured.entity.Department;
import org.ujar.webfluxcrudsecured.entity.User;
import org.ujar.webfluxcrudsecured.repository.DepartmentRepository;
import org.ujar.webfluxcrudsecured.repository.UserRepository;
import dev.knowhowto.webfluxcrudsecured.dto.UserDepartmentDTO;
import dev.knowhowto.webfluxcrudsecured.entity.Department;
import dev.knowhowto.webfluxcrudsecured.entity.User;
import dev.knowhowto.webfluxcrudsecured.repository.DepartmentRepository;
import dev.knowhowto.webfluxcrudsecured.repository.UserRepository;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import reactor.core.scheduler.Schedulers;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.ujar.webfluxcrudsecured.web;
package dev.knowhowto.webfluxcrudsecured.web;

import io.swagger.annotations.ApiResponse;
import io.swagger.annotations.ApiResponses;
Expand All @@ -11,8 +11,8 @@
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestController;
import org.ujar.webfluxcrudsecured.client.UserClient;
import org.ujar.webfluxcrudsecured.entity.User;
import dev.knowhowto.webfluxcrudsecured.client.UserClient;
import dev.knowhowto.webfluxcrudsecured.entity.User;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.ujar.webfluxcrudsecured.web;
package dev.knowhowto.webfluxcrudsecured.web;

import java.util.List;

Expand All @@ -15,9 +15,9 @@
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestController;
import org.ujar.webfluxcrudsecured.dto.UserDepartmentDTO;
import org.ujar.webfluxcrudsecured.entity.User;
import org.ujar.webfluxcrudsecured.service.UserService;
import dev.knowhowto.webfluxcrudsecured.dto.UserDepartmentDTO;
import dev.knowhowto.webfluxcrudsecured.entity.User;
import dev.knowhowto.webfluxcrudsecured.service.UserService;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.ujar.webfluxcrudsecured;
package dev.knowhowto.webfluxcrudsecured;

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
Expand Down

0 comments on commit b36265b

Please sign in to comment.