Comments (8)
Thanks for the report. Let me take a look it soon.
from centraldogma-go.
I capturing response body that come from centraldogma service (run via docker):
{"revision":2,"path":"/samples/a.json","type":"JSON","content":"b","url":"/api/v1/projects/projFoo/repos/repoA/contents/samples/a.json"}
The content return "b"
. If we want to return "b"
as tutorial mentioned, content must be "\"b\""
.
Is it bug on centraldogma service?
from centraldogma-go.
I read test code from https://github.com/line/centraldogma/blob/master/server/src/test/java/com/linecorp/centraldogma/server/internal/api/ContentServiceV1Test.java#L276. Looks like it's intention.
from centraldogma-go.
@minwoox Is it possible that UnmarshalJSON
strip "
out of content by using json.Unmarshal
?
ref: https://github.com/line/centraldogma-go/blob/master/content_service.go#L88
from centraldogma-go.
@wingyplus Sorry about the late response. Was on a business trip and couldn't take care of this issue.
Let me just reproduce it. Thanks!
BTW, are you using Central Dogma?
from centraldogma-go.
@minwoox Sorry for disturbing you. I see it using inside LINE Man Team (but another team not my team). And I interesting to use it in my personal project. :)
from centraldogma-go.
@wingyplus Ah that's cool! If you want to talk directly, you can use the company slack #help_centraldogma. :-)
from centraldogma-go.
@minwoox Thanks for your guide. :D
from centraldogma-go.
Related Issues (13)
- Provide the API mergeFiles
- Increase test coverage
- Improving documentation HOT 1
- Adapt HTTP/2 client HOT 7
- Unable to create repository. HOT 4
- Make Go client tolerant to replication lag HOT 4
- Feature Request: Add `--listener` option to `dogma watch` command
- Add Integration test
- Support --recursive to download all files under directory. HOT 1
- Utilize Multi Module Workspaces
- Provide a way to upload a directory HOT 1
- Modernize urfave-cli HOT 1
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 centraldogma-go.