Git Product home page Git Product logo

Comments (13)

camba1 avatar camba1 commented on June 6, 2024

Without making any modifications to the application code: The user service and the audit service do not depend on data coming from ArangoDB. So, you could just start does two services. That should give you the full visibility on running the services, pulling and modifying data, pushing data to Timescale through NATS.
So, in the Makefile start command you can just replace

docker-compose up -d usersrv customersrv productsrv promotionsrv auditsrv

with

docker-compose up -d usersrv auditsrv

You should be able to login, create and update users and see the changes flow to NATS.

FWIW, I did hear a couple of days ago that Arango is close to putting out a version that will work in the Apple M1 but they did not specify a date

from gotemp.

camba1 avatar camba1 commented on June 6, 2024

You could probably easily get the promotions to come up by commenting out the customer name lookup:
In /promotion/server/handler.go find GetPromotionById and comment out getLookups(ctx, outPromotion).
Also, in the docker-compose file, remove the customersrv from the depends_on of the promotionsrv service so it won't try to start the customer service.
Note that I have not tried this but I think it should work.

from gotemp.

dgastudio avatar dgastudio commented on June 6, 2024

Muchas gracias!
aunque http://localhost:8080/user/userSrv/auth devuelve error, al menos tengo algo con que empezar.

from gotemp.

camba1 avatar camba1 commented on June 6, 2024

De nada.
Que error te aparece?

from gotemp.

dgastudio avatar dgastudio commented on June 6, 2024

registro
Failed to join multicast group on all interfaces!

login ( default values)
user not found

from gotemp.

camba1 avatar camba1 commented on June 6, 2024

hum...eso cuando corres la application con docker-compose ? (make start). Multicast es usado por go-micro para service discovery.

from gotemp.

dgastudio avatar dgastudio commented on June 6, 2024

Hola Juan
si, multicast no funciona correctamente en macos
buscare alguna otra realizacion

from gotemp.

ProFive avatar ProFive commented on June 6, 2024

gotemp % make start
docker-compose up -d usersrv customersrv productsrv promotionsrv auditsrv
[+] Running 1/8
⠧ redis Pulling 3.8s
⠿ f3ac85625e76 Already exists 0.0s
⠏ 452c027ddcd0 Pulling fs layer 0.9s
⠏ 4d4b1033f074 Pulling fs layer 0.9s
⠏ f4879444970a Pulling fs layer 0.9s
⠏ 5d458efbd05a Waiting 0.9s
⠏ bbc6365a769e Waiting 0.9s
⠧ arangodb Pulling 3.8s
no matching manifest for linux/arm64/v8 in the manifest list entries
make: *** [start] Error 18

Have a solution to fix it?

from gotemp.

camba1 avatar camba1 commented on June 6, 2024

from gotemp.

ProFive avatar ProFive commented on June 6, 2024

@camba1
arangodb 3.10.0 is already installed and up-to-date.

docker --version
Docker version 20.10.21, build baeda1f

from gotemp.

ProFive avatar ProFive commented on June 6, 2024

@camba1 Thanks
I changed image: arangodb:3.6.4 to image: arangodb:3.10.0 => Fixed "no matching manifest for linux/arm64/v8 in the manifest list entries"

The new issue

=> CANCELED [gotemp-auditsrv internal] load metadata for docker.io/library/golang:l 0.0s
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to parse stage name "Dev": invalid reference format: repository name must be lowercase
make: *** [start] Error 17

from gotemp.

ProFive avatar ProFive commented on June 6, 2024

=> ERROR [dev 3/9] RUN go get github.com/githubnemo/CompileDaemon 0.2s

[dev 3/9] RUN go get github.com/githubnemo/CompileDaemon:
#0 0.160 go: go.mod file not found in current directory or any parent directory.

from gotemp.

camba1 avatar camba1 commented on June 6, 2024

from gotemp.

Related Issues (8)

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.