Skip to content

Commit

Permalink
batazor/shortlink -> shortlink-org/shortlink
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Login <[email protected]>
  • Loading branch information
batazor committed Jan 3, 2023
1 parent 44cf941 commit 88478e5
Show file tree
Hide file tree
Showing 384 changed files with 955 additions and 974 deletions.
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/add-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ assignees: ''

### Add store - [NAME]

- [ ] Add implementation for the interface [DB](https://github.com/batazor/shortlink/blob/84fa2a365f09396f92556febde2e711c1682a780/internal/pkg/db/type.go#L9)
https://github.com/batazor/shortlink/blob/84fa2a365f09396f92556febde2e711c1682a780/internal/pkg/db/type.go#L9
- [ ] Add option of switcher https://github.com/batazor/shortlink/blob/84fa2a365f09396f92556febde2e711c1682a780/internal/pkg/db/db.go#L27
- [ ] Add tests ([simple example](https://github.com/batazor/shortlink/blob/main/internal/pkg/db/mongo/mongo_test.go))
- [ ] Add implementation for the interface [DB](https://github.com/shortlink-org/shortlink/blob/84fa2a365f09396f92556febde2e711c1682a780/internal/pkg/db/type.go#L9)
https://github.com/shortlink-org/shortlink/blob/84fa2a365f09396f92556febde2e711c1682a780/internal/pkg/db/type.go#L9
- [ ] Add option of switcher https://github.com/shortlink-org/shortlink/blob/84fa2a365f09396f92556febde2e711c1682a780/internal/pkg/db/db.go#L27
- [ ] Add tests ([simple example](https://github.com/shortlink-org/shortlink/blob/main/internal/pkg/db/mongo/mongo_test.go))
4 changes: 2 additions & 2 deletions .run/api.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
</ENTRIES>
</EXTENSION>
<kind value="PACKAGE" />
<package value="github.com/batazor/shortlink/internal/services/api/cmd" />
<package value="github.com/shortlink-org/shortlink/internal/services/api/cmd" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/cmd/api/api.go" />
<method v="2" />
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/batch.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<go_parameters value="-race -v -tags=unit -cover"/>
<root_directory value="$PROJECT_DIR$"/>
<kind value="FILE"/>
<package value="github.com/batazor/shortlink"/>
<package value="github.com/shortlink-org/shortlink"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$/internal/pkg/batch/batch_test.go"/>
<framework value="gotest"/>
<method v="2"/>
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/billing.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<env name="GRPC_SERVER_PORT" value="50054"/>
</envs>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/internal/services/billing/cmd"/>
<package value="github.com/shortlink-org/shortlink/internal/services/billing/cmd"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$/cmd/billing/billing.go" />
<method v="2" />
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/cli.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
</ENTRIES>
</EXTENSION>
<kind value="PACKAGE" />
<package value="github.com/batazor/shortlink/cmd/cli" />
<package value="github.com/shortlink-org/shortlink/cmd/cli" />
<directory value="$PROJECT_DIR$/" />
<filePath value="$PROJECT_DIR$/cmd/cli/ast.go" />
<method v="2" />
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/csi.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
</ENTRIES>
</EXTENSION>
<kind value="PACKAGE" />
<package value="github.com/batazor/shortlink/internal/services/csi/cmd" />
<package value="github.com/shortlink-org/shortlink/internal/services/csi/cmd" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/cmd/k8s/csi/csi.go" />
<method v="2" />
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/db_aerospike.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<go_parameters value="-tags=unit"/>
<root_directory value="$PROJECT_DIR$"/>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/internal/pkg/db/aerospike"/>
<package value="github.com/shortlink-org/shortlink/internal/pkg/db/aerospike"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$"/>
<framework value="gotest"/>
<method v="2"/>
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/db_clickhouse.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<go_parameters value="-tags=unit"/>
<root_directory value="$PROJECT_DIR$"/>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/internal/pkg/db/clickhouse"/>
<package value="github.com/shortlink-org/shortlink/internal/pkg/db/clickhouse"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$"/>
<framework value="gotest"/>
<method v="2"/>
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/db_edgedb.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<go_parameters value="-tags=unit"/>
<root_directory value="$PROJECT_DIR$"/>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/internal/pkg/db/edgedb"/>
<package value="github.com/shortlink-org/shortlink/internal/pkg/db/edgedb"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$"/>
<framework value="gotest"/>
<pattern value="^\QTestEdgeDB\E$"/>
<method v="2" />
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/db_mongo.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<go_parameters value="-tags=unit"/>
<root_directory value="$PROJECT_DIR$"/>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/internal/pkg/db/mongo"/>
<package value="github.com/shortlink-org/shortlink/internal/pkg/db/mongo"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$"/>
<framework value="gotest"/>
<method v="2"/>
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/db_neo4j.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<go_parameters value="-tags=unit"/>
<root_directory value="$PROJECT_DIR$"/>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/internal/pkg/db/neo4j"/>
<package value="github.com/shortlink-org/shortlink/internal/pkg/db/neo4j"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$"/>
<framework value="gotest"/>
<method v="2"/>
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/db_redis.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<go_parameters value="-tags=unit"/>
<root_directory value="$PROJECT_DIR$"/>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/internal/pkg/db/redis"/>
<package value="github.com/shortlink-org/shortlink/internal/pkg/db/redis"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$"/>
<framework value="gotest"/>
<method v="2"/>
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/db_sqlite.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<go_parameters value="-tags=unit"/>
<root_directory value="$PROJECT_DIR$"/>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/internal/pkg/db/sqlite"/>
<package value="github.com/shortlink-org/shortlink/internal/pkg/db/sqlite"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$"/>
<framework value="gotest"/>
<method v="2"/>
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/generate golang_c4.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<env name="GRPC_SERVER_ENABLED" value="false"/>
</envs>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/pkg/c4"/>
<package value="github.com/shortlink-org/shortlink/pkg/c4"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$/pkg/c4/main.go" />
<method v="2" />
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/io_uring.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<working_directory value="$PROJECT_DIR$/pkg/shortdb/io_uring"/>
<root_directory value="$PROJECT_DIR$"/>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/pkg/shortdb/io_uring"/>
<package value="github.com/shortlink-org/shortlink/pkg/shortdb/io_uring"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$"/>
<framework value="gotest"/>
<method v="2"/>
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/knative_kafka-to-elasticsearch.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
value="{&quot;backend&quot;:&quot;zipkin&quot;,&quot;debug&quot;:&quot;true&quot;,&quot;sample-rate&quot;:&quot;1&quot;,&quot;zipkin-endpoint&quot;:&quot;http://otel-collector.observability:9411/api/v2/spans&quot;}"/>
</envs>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/internal/services/knative/sync-search/kafka-to-elasticsearch"/>
<package value="github.com/shortlink-org/shortlink/internal/services/knative/sync-search/kafka-to-elasticsearch"/>
<directory value="$PROJECT_DIR$"/>
<filePath
value="$PROJECT_DIR$/internal/services/knative/sync-search/kafka-to-elasticsearch/kafka-to-elasticsearch.go"/>
<method v="2"/>
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/link.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<env name="STORE_TYPE" value="postgres"/>
</envs>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/internal/services/link/cmd"/>
<package value="github.com/shortlink-org/shortlink/internal/services/link/cmd"/>
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/cmd/link/link.go" />
<method v="2" />
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/logger.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
</ENTRIES>
</EXTENSION>
<kind value="PACKAGE" />
<package value="github.com/batazor/shortlink/internal/services/logger/cmd" />
<package value="github.com/shortlink-org/shortlink/internal/services/logger/cmd" />
<directory value="$PROJECT_DIR$/" />
<filePath value="$PROJECT_DIR$/cmd/logger/logger.go" />
<method v="2" />
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/metadata.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
</ENTRIES>
</EXTENSION>
<kind value="PACKAGE" />
<package value="github.com/batazor/shortlink/internal/services/metadata/cmd" />
<package value="github.com/shortlink-org/shortlink/internal/services/metadata/cmd" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/cmd/metadata/metadata.go" />
<method v="2" />
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/mq_kafka.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<working_directory value="$PROJECT_DIR$/internal/pkg/mq/v1/kafka"/>
<root_directory value="$PROJECT_DIR$"/>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/internal/pkg/mq/v1/kafka"/>
<package value="github.com/shortlink-org/shortlink/internal/pkg/mq/v1/kafka"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$"/>
<framework value="gotest"/>
<pattern value="^\QTestKafka\E$"/>
<method v="2"/>
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/mq_redpanda.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<working_directory value="$PROJECT_DIR$/internal/pkg/mq/v1/kafka"/>
<root_directory value="$PROJECT_DIR$"/>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/internal/pkg/mq/v1/kafka"/>
<package value="github.com/shortlink-org/shortlink/internal/pkg/mq/v1/kafka"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$"/>
<framework value="gotest"/>
<pattern value="^\QTestRedPanda\E$"/>
<method v="2"/>
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/notify.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
</ENTRIES>
</EXTENSION>
<kind value="PACKAGE" />
<package value="github.com/batazor/shortlink/internal/services/notify/cmd" />
<package value="github.com/shortlink-org/shortlink/internal/services/notify/cmd" />
<directory value="$PROJECT_DIR$/" />
<filePath value="$PROJECT_DIR$/cmd/notify/bot.go" />
<method v="2" />
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/pkg_logger.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<go_parameters value="-tags=unit"/>
<root_directory value="$PROJECT_DIR$"/>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/internal/pkg/logger"/>
<package value="github.com/shortlink-org/shortlink/internal/pkg/logger"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$"/>
<framework value="gotest"/>
<method v="2"/>
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/saga.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<go_parameters value="-tags=unit"/>
<root_directory value="$PROJECT_DIR$"/>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/pkg/saga"/>
<package value="github.com/shortlink-org/shortlink/pkg/saga"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$"/>
<framework value="gotest"/>
<method v="2"/>
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/shortdb-operator.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<env name="ENABLE_WEBHOOKS" value="false" />
</envs>
<kind value="PACKAGE" />
<package value="github.com/batazor/shortlink/pkg/shortdb-operator" />
<package value="github.com/shortlink-org/shortlink/pkg/shortdb-operator" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/pkg/shortdb-operator/main.go" />
<method v="2" />
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/shortdb.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<module name="shortlink" />
<working_directory value="$PROJECT_DIR$" />
<kind value="PACKAGE" />
<package value="github.com/batazor/shortlink/pkg/shortdb/cli" />
<package value="github.com/shortlink-org/shortlink/pkg/shortdb/cli" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/internal/pkg/database/cli/cli.go" />
<method v="2" />
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/shortdb_ benchmark engine.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<working_directory value="$PROJECT_DIR$/pkg/shortdb/engine"/>
<root_directory value="$PROJECT_DIR$"/>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/pkg/shortdb/engine"/>
<package value="github.com/shortlink-org/shortlink/pkg/shortdb/engine"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$"/>
<framework value="gobench"/>
<method v="2"/>
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/shortdb_ benchmark parser.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<working_directory value="$PROJECT_DIR$/pkg/shortdb/parser/v1/tests"/>
<root_directory value="$PROJECT_DIR$"/>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/pkg/shortdb/parser/v1/tests"/>
<package value="github.com/shortlink-org/shortlink/pkg/shortdb/parser/v1/tests"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$"/>
<framework value="gobench"/>
<method v="2"/>
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/shortdb_ engine.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<go_parameters value="-race"/>
<root_directory value="$PROJECT_DIR$"/>
<kind value="PACKAGE"/>
<package value="github.com/batazor/shortlink/pkg/shortdb/engine"/>
<package value="github.com/shortlink-org/shortlink/pkg/shortdb/engine"/>
<directory value="$PROJECT_DIR$"/>
<filePath value="$PROJECT_DIR$"/>
<framework value="gotest"/>
<method v="2"/>
</configuration>
</component>
</component>
Loading

0 comments on commit 88478e5

Please sign in to comment.