Чтобы создать новый Maven проект с нуля и добавить в него зависимость от tarantool-spring-data-32
, выполните следующие шаги:
Используйте Maven Archetype Plugin для создания нового проекта. В этом примере мы создадим простой Java проект:
diff --git a/pom.xml b/pom.xml | |
index 975111a..8d917f9 100644 | |
--- a/pom.xml | |
+++ b/pom.xml | |
@@ -19,15 +19,10 @@ | |
<artifactId>spring-boot-starter</artifactId> | |
<version>3.2.12</version> | |
</dependency> | |
- <dependency> | |
- <groupId>org.springframework.boot</groupId> |
diff --git a/pom.xml b/pom.xml | |
index 674664b..975111a 100644 | |
--- a/pom.xml | |
+++ b/pom.xml | |
@@ -14,5 +14,20 @@ | |
<version>3.8.1</version> | |
<scope>test</scope> | |
</dependency> | |
+ <dependency> | |
+ <groupId>org.springframework.boot</groupId> |
Установить коннектор по инструкции.
Внутри ВК, можно использовать gitlab.corp.mail.ru container-registry, который пошарен на весь ВК.
https://gitlab.corp.mail.ru/groups/tarantool/java/-/packages/175963
Установить образы можно с customer_zone tarantool.io
TODO: содержание и делать акцент на шагах вербально и диалогом
Установить коннектор по инструкции.
Внутри ВК, можно использовать gitlab.corp.mail.ru container-registry, который пошарен на весь ВК.
https://gitlab.corp.mail.ru/groups/tarantool/java/-/packages/175963
mvn release:perform -DconnectionUrl=scm:git:[email protected]:your_org/your_repo.git -Dtag=10.3.3 |
msgpack = require'msgpack' | |
datetime = require'datetime' | |
conn = require('net.box').connect('localhost:3301') | |
IPROTO_REQUEST_TYPE = 0x00 | |
IPROTO_SYNC = 0x01 | |
IPROTO_TUPLE = 0x21 | |
IPROTO_FUNCTION_NAME = 0x22 | |
IPROTO_EXPR = 0x27 |
import json | |
import requests | |
import argparse | |
parser = argparse.ArgumentParser() | |
parser.add_argument("--user", help="User name", required=True) | |
parser.add_argument("--token", help="YOUR API KEY", required=True) | |
parser.add_argument("--from_datetime", help="From datetime (ISO 8601), e.g. 2022-07-01T00:00:00", required=True) | |
parser.add_argument("--to_datetime", help="To datetime (ISO 8601), e.g. 2022-09-30T00:00:00", required=True) |
#include <pthread.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <unistd.h> | |
pthread_mutex_t lock_number_of_threads; | |
void* merge_sort_threaded() { | |
pthread_mutex_lock(&lock_number_of_threads); | |
sleep(123123123); |
box.cfg{ listen = 3301 } | |
rawset(_G, 'queue', require('queue')) | |
box.schema.user.grant('guest', 'super', nil, nil, {if_not_exists = true}) | |
require 'console'.start() |