Giter VIP home page Giter VIP logo

candi's Issues

Layout Documentation

Candi sudah memiliki perkembangan yang sangat complex, dan sangat membutuhkan documentation agar dapat lebih dikenal di kalangan programmer. Agar dapat mempermudah pengembangan candi saya memiliki sebuah template website menggunakan GOHUGO yang sangat mudah untuk di deploy dan menata documentation.
Untuk melihat detailnya dapat merujuk ke link berikut.

https://github.com/triadmoko/docs-candi

cc: @agungdwiprasetyo

Change cron expression

Need improvement in cron expression like in https://crontab.guru, because in Candi cron worker created with 100% pure internal Go library (using reflect select channel), not using external library.

Current cron expression is non-standard crontab (using string pattern and parse it to time duration):

// MountHandlers mount handler group
func (h *CronHandler) MountHandlers(group *types.WorkerHandlerGroup) {
	group.Add(cronworker.CreateCronJobKey("cron task name", "", "00:00:00@daily"), h.cronHandler)
}

Need improve to:

// MountHandlers mount handler group
func (h *CronHandler) MountHandlers(group *types.WorkerHandlerGroup) {
	group.Add(cronworker.CreateCronJobKey("cron task name", "", "0 0 * * *"), h.cronHandler)
}

TaskQueueWorker tidak berjalan secara default ketika menggunakan MariaDB

Ketika menggunakan TaskQueueWorker dan memilih MariaDB sebagai databasenya, secara default tidak bisa jalan. Begini errornya,

image

Sepertinya ini terkait dengan query yg di run ketika menggunakan persistent,
image

Penggunaan nama field interval dan key sepertinya jadi issue di MariaDB,

interval VARCHAR(255) NOT NULL DEFAULT '',

key VARCHAR(255) PRIMARY KEY NOT NULL DEFAULT '',

Di MariaDB, jika kita mau pakai nama reserved word field, harus di dalam backtick (`).

Ada masukan @agungdwiprasetyo & @golangid/candi-reviewer ?

mockrepo dan mocksharedrepo tidak di buat saat init service

Ada beberapa test file yang di buat sama cli tapi mock tidak dibuat oleh cli

	mockrepo "monorepo/services/auth/pkg/mocks/modules/token/repository"
	mocksharedrepo "monorepo/services/auth/pkg/mocks/shared/repository"

file yang di atas sudah coba cari di dalam folder juga tidak ada

ERROR: redis ping: ERR Client sent AUTH, but no password is set

Pada docker compose

services:
  redis:
    image: redis:5.0.5-alpine
    container_name: redis
    environment:
      - REDIS_PASSWORD=pass
      - REDIS_PORT=6379
      - REDIS_DB=0
    volumes:
      - redis:/data
    networks:
      - backend
    ports:
      - "6379:6379"
    restart: always
    expose:
      - 6379

Untuk environment masih sama seperti yang di buat cli

REDIS_READ_DSN=redis://:pass@localhost:6379/0
REDIS_WRITE_DSN=redis://:pass@localhost:6379/0

reproduce error:

  • candi init - buat service di monorepo
  • candi -run

maka akan keluar error seperti berikut ini (candi v1.10.3)

image

Getting `mkdir` error when init service

Hi, Candi Team,

I am starting to use this plugin to create my new candi-project, but I am getting an error message when initialize the service in my windows 11 pc, here is the capture :
image

Can you guys help me with this issue ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.