TD-45: to dev.vality (#2)

This commit is contained in:
Baikov Dmitrii 2022-01-27 06:02:54 -08:00 committed by GitHub
parent 393382c8b9
commit 18e4a0cbb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 63 additions and 37 deletions

10
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,10 @@
name: Maven Build Artifact
on:
pull_request:
branches:
- '*'
jobs:
build:
uses: valitydev/base-workflow/.github/workflows/maven-library-build.yml@v1

16
.github/workflows/deploy.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Maven Deploy Artifact
on:
push:
branches:
- 'master'
- 'main'
jobs:
deploy:
uses: valitydev/base-workflow/.github/workflows/maven-library-deploy.yml@v1
secrets:
server-username: ${{ secrets.OSSRH_USERNAME }}
server-password: ${{ secrets.OSSRH_TOKEN }}
deploy-secret-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
deploy-secret-key-password: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}

4
.gitmodules vendored
View File

@ -1,4 +0,0 @@
[submodule "build_utils"]
path = build_utils
url = git@github.com:rbkmoney/build_utils.git
branch = master

13
Jenkinsfile vendored
View File

@ -1,13 +0,0 @@
#!groovy
build('db-common-lib', 'docker-host') {
checkoutRepo()
loadBuildUtils()
def javaLibPipeline
runStage('load JavaLib pipeline') {
javaLibPipeline = load("build_utils/jenkins_lib/pipeJavaLib.groovy")
}
def buildImageTag = "917afcdd0c0a07bf4155d597bbba72e962e1a34a"
javaLibPipeline(buildImageTag)
}

@ -1 +0,0 @@
Subproject commit a7655bc60c877a65cdfe3d9b668021d970d88a76

20
pom.xml
View File

@ -4,20 +4,20 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.rbkmoney</groupId>
<groupId>dev.vality</groupId>
<artifactId>library-parent-pom</artifactId>
<version>1.0.4</version>
<version>1.0.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
<artifactId>db-common-lib</artifactId>
<version>0.0.5</version>
<version>0.0.1</version>
<name>db-common-lib</name>
<description>Abstract dao and row mappers</description>
<url>https://github.com/rbkmoney/db-common-lib</url>
<url>https://github.com/valitydev/db-common-lib</url>
<licenses>
<license>
@ -29,9 +29,9 @@
<developers>
<developer>
<name>Vitaly Banin</name>
<email>v.banin@rbkmoney.com</email>
<organization>RBK.money</organization>
<organizationUrl>https://rbk.money</organizationUrl>
<email>v.banin@vality.dev</email>
<organization>Vality</organization>
<organizationUrl>https://vality.dev</organizationUrl>
</developer>
</developers>
@ -40,7 +40,7 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<jooq.version>3.13.2</jooq.version>
<geck.common.version>0.6.11</geck.common.version>
<geck.common.version>0.0.1</geck.common.version>
</properties>
<dependencyManagement>
@ -57,7 +57,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
<version>2.5.3</version>
<version>2.6.0</version>
<scope>provided</scope>
</dependency>
<dependency>
@ -67,7 +67,7 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.rbkmoney.geck</groupId>
<groupId>dev.vality.geck</groupId>
<artifactId>common</artifactId>
<version>${geck.common.version}</version>
<scope>provided</scope>

18
renovate.json Normal file
View File

@ -0,0 +1,18 @@
{
"extends": [
"config:base"
],
"packageRules": [
{
"matchPackagePatterns": [
"*"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch"
}
]
}

View File

@ -1,4 +1,4 @@
package com.rbkmoney.dao;
package dev.vality.dao;
public class DaoException extends RuntimeException {

View File

@ -1,4 +1,4 @@
package com.rbkmoney.dao;
package dev.vality.dao;
import org.jooq.Query;
import org.springframework.jdbc.core.RowMapper;

View File

@ -1,7 +1,7 @@
package com.rbkmoney.dao.impl;
package dev.vality.dao.impl;
import com.rbkmoney.dao.DaoException;
import com.rbkmoney.dao.GenericDao;
import dev.vality.dao.DaoException;
import dev.vality.dao.GenericDao;
import org.jooq.*;
import org.jooq.conf.ParamType;
import org.jooq.impl.DSL;

View File

@ -1,6 +1,6 @@
package com.rbkmoney.mapper;
package dev.vality.mapper;
import com.rbkmoney.geck.common.util.TypeUtil;
import dev.vality.geck.common.util.TypeUtil;
import org.jooq.Field;
import org.jooq.Table;
import org.jooq.TableRecord;

View File

@ -1,6 +1,6 @@
package com.rbkmoney.dao.impl;
package dev.vality.dao.impl;
import com.rbkmoney.dao.DaoException;
import dev.vality.dao.DaoException;
import org.jooq.DataType;
import org.jooq.Param;
import org.jooq.Query;