Comments (13)
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.
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.
Muchas gracias!
aunque http://localhost:8080/user/userSrv/auth devuelve error, al menos tengo algo con que empezar.
from gotemp.
De nada.
Que error te aparece?
from gotemp.
registro
Failed to join multicast group on all interfaces!
login ( default values)
user not found
from gotemp.
hum...eso cuando corres la application con docker-compose ? (make start). Multicast es usado por go-micro para service discovery.
from gotemp.
Hola Juan
si, multicast no funciona correctamente en macos
buscare alguna otra realizacion
from gotemp.
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.
from gotemp.
@camba1
arangodb 3.10.0 is already installed and up-to-date.
docker --version
Docker version 20.10.21, build baeda1f
from gotemp.
@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.
=> 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.
from gotemp.
Related Issues (8)
- Date input field does not work properly in safari desktop
- Login state is lost on reload
- User service and associated GUI : firstName is misspelled in search parameter
- Standardize the way validity dates are sent out from the services
- User is missing the modified by field
- user registration needs its own endpoint
- import repo from bitbucket
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gotemp.