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

This commit is contained in:
Baikov Dmitrii 2022-01-26 03:02:01 -08:00 committed by GitHub
parent 11f2126046
commit 879c4cd26b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 59 additions and 61 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

View File

@ -1 +0,0 @@
* @rbkmoney/java-team

40
Jenkinsfile vendored
View File

@ -1,40 +0,0 @@
#!groovy
// -*- mode: groovy -*-
build('swag-fraudbusters', 'docker-host') {
checkoutRepo()
loadBuildUtils()
def pipeDefault
def gitUtils
runStage('load pipeline') {
env.JENKINS_LIB = "build_utils/jenkins_lib"
pipeDefault = load("${env.JENKINS_LIB}/pipeDefault.groovy")
gitUtils = load("${env.JENKINS_LIB}/gitUtils.groovy")
}
pipeDefault() {
runStage('init') {
withGithubSshCredentials {
sh 'make wc_init'
}
}
runStage('build') {
sh 'make wc_build'
}
// Java
runStage('Build client & server') {
withCredentials([[$class: 'FileBinding', credentialsId: 'java-maven-settings.xml', variable: 'SETTINGS_XML']]) {
if (env.BRANCH_NAME == 'master' || env.BRANCH_NAME.startsWith('epic/')) {
sh 'make SETTINGS_XML=${SETTINGS_XML} BRANCH_NAME=${BRANCH_NAME} java.swag.deploy_client'
sh 'make SETTINGS_XML=${SETTINGS_XML} BRANCH_NAME=${BRANCH_NAME} java.swag.deploy_server'
} else {
sh 'make SETTINGS_XML=${SETTINGS_XML} BRANCH_NAME=${BRANCH_NAME} java.swag.compile_client'
sh 'make SETTINGS_XML=${SETTINGS_XML} BRANCH_NAME=${BRANCH_NAME} java.swag.compile_server'
}
}
}
}
}

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

View File

@ -1,4 +1,4 @@
RBKmoney Fraudbusters proxy inspector API является интерфейсом для
Vality Fraudbusters proxy inspector API является интерфейсом для
сервиса поиска мошеннических операций.
Мы предоставляем REST API поверх HTTP-протокола, схема которого описывается в

View File

@ -1,14 +1,14 @@
openapi: 3.0.3
info:
version: 1.0.0
title: RBKmoney Fraudbusters API
title: Vality Fraudbusters API
description:
$ref: './docs/api.md'
termsOfService: 'https://rbk.money/'
termsOfService: 'https://vality.dev/'
contact:
name: RBKmoney Support Team
email: support@rbk.money
url: 'https://developer.rbk.money'
name: Vality Support Team
email: support@vality.dev
url: 'https://developer.vality.dev'
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -37,4 +37,4 @@ paths:
/fraudbusters/withdrawals:
$ref: ./paths/withdrawals.yaml
servers:
- url: 'https://api.rbk.money/org/v1'
- url: 'https://api.vality.dev/org/v1'

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "rbkmoney-fraudbusters-api",
"name": "vality-fraudbusters-api",
"version": "1.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "rbkmoney-fraudbusters-api",
"name": "vality-fraudbusters-api",
"version": "1.0.0",
"dependencies": {
"@redocly/openapi-cli": "^1.0.0-beta.9",

View File

@ -1,5 +1,5 @@
{
"name": "rbkmoney-fraudbusters-api",
"name": "vality-fraudbusters-api",
"version": "1.0.0",
"dependencies": {
"@redocly/openapi-cli": "^1.0.0-beta.9",

10
pom.xml
View File

@ -5,13 +5,13 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.rbkmoney</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
<groupId>dev.vality</groupId>
<artifactId>library-parent-pom</artifactId>
<version>1.0.2</version>
</parent>
<artifactId>swag-fraudbusters</artifactId>
<version>1.0.1-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Messages</name>
@ -19,7 +19,7 @@
</description>
<properties>
<default.package>com.rbkmoney.swag.fraudbusters</default.package>
<default.package>dev.vality.swag.fraudbusters</default.package>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven-plugin-version>1.0.0</maven-plugin-version>
<java.version>11</java.version>

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"
}
]
}