Skip to content

Commit

Permalink
Make json pretty printed.
Browse files Browse the repository at this point in the history
  • Loading branch information
CamaradeRoman committed May 31, 2024
1 parent 38bdb9a commit 4be049a
Show file tree
Hide file tree
Showing 91 changed files with 17,744 additions and 91 deletions.
19 changes: 18 additions & 1 deletion test-common/src/main/resources/bitbucket/commit-2.json
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
{"hash":"ce1b7175c9b4914cf2fc03c0f28046509f820597","message":"ISSUE-3 First commit","date":1716986486000,"author":{"name":"admin","avatar":"http://localhost:7990/users/admin/avatar.png?s=48"},"parents":["7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1"],"link":"http://localhost:7990/projects/test/repos/repository-2/commits/ce1b7175c9b4914cf2fc03c0f28046509f820597","repository":{"sshUrl":"ssh://git@localhost:7990/test/repository-2.git","link":"http://localhost:7990/projects/test/repos/repository-2/browse","avatar":"http://localhost:7990/projects/test/avatar.png?s=48"}}
{
"hash": "ce1b7175c9b4914cf2fc03c0f28046509f820597",
"message": "ISSUE-3 First commit",
"date": 1716986486000,
"author": {
"name": "admin",
"avatar": "http://localhost:7990/users/admin/avatar.png?s=48"
},
"parents": [
"7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1"
],
"link": "http://localhost:7990/projects/test/repos/repository-2/commits/ce1b7175c9b4914cf2fc03c0f28046509f820597",
"repository": {
"sshUrl": "ssh://git@localhost:7990/test/repository-2.git",
"link": "http://localhost:7990/projects/test/repos/repository-2/browse",
"avatar": "http://localhost:7990/projects/test/avatar.png?s=48"
}
}
19 changes: 18 additions & 1 deletion test-common/src/main/resources/bitbucket/commit-3.json
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
{"hash":"7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1","message":"ISSUE-1 Initial implementation","date":1716986279000,"author":{"name":"admin","avatar":"http://localhost:7990/users/admin/avatar.png?s=48"},"parents":["49bfe6a125a88cddd90c74b75b196c40fd380685"],"link":"http://localhost:7990/projects/test/repos/repository-2/commits/7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1","repository":{"sshUrl":"ssh://git@localhost:7990/test/repository-2.git","link":"http://localhost:7990/projects/test/repos/repository-2/browse","avatar":"http://localhost:7990/projects/test/avatar.png?s=48"}}
{
"hash": "7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1",
"message": "ISSUE-1 Initial implementation",
"date": 1716986279000,
"author": {
"name": "admin",
"avatar": "http://localhost:7990/users/admin/avatar.png?s=48"
},
"parents": [
"49bfe6a125a88cddd90c74b75b196c40fd380685"
],
"link": "http://localhost:7990/projects/test/repos/repository-2/commits/7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1",
"repository": {
"sshUrl": "ssh://git@localhost:7990/test/repository-2.git",
"link": "http://localhost:7990/projects/test/repos/repository-2/browse",
"avatar": "http://localhost:7990/projects/test/avatar.png?s=48"
}
}
Original file line number Diff line number Diff line change
@@ -1 +1,28 @@
{"commit":{"hash":"ce1b7175c9b4914cf2fc03c0f28046509f820597","message":"ISSUE-3 First commit","date":1716986486000,"author":{"name":"admin","avatar":"http://localhost:7990/users/admin/avatar.png?s=48"},"parents":["7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1"],"link":"http://localhost:7990/projects/test/repos/repository-2/commits/ce1b7175c9b4914cf2fc03c0f28046509f820597","repository":{"sshUrl":"ssh://git@localhost:7990/test/repository-2.git","link":"http://localhost:7990/projects/test/repos/repository-2/browse","avatar":"http://localhost:7990/projects/test/avatar.png?s=48"}},"totalFiles":1,"files":[{"type":"MODIFY","path":"src/source-1.txt","link":"http://localhost:7990/projects/test/repos/repository-2/commits/ce1b7175c9b4914cf2fc03c0f28046509f820597#src/source-1.txt"}]}
{
"commit": {
"hash": "ce1b7175c9b4914cf2fc03c0f28046509f820597",
"message": "ISSUE-3 First commit",
"date": 1716986486000,
"author": {
"name": "admin",
"avatar": "http://localhost:7990/users/admin/avatar.png?s=48"
},
"parents": [
"7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1"
],
"link": "http://localhost:7990/projects/test/repos/repository-2/commits/ce1b7175c9b4914cf2fc03c0f28046509f820597",
"repository": {
"sshUrl": "ssh://git@localhost:7990/test/repository-2.git",
"link": "http://localhost:7990/projects/test/repos/repository-2/browse",
"avatar": "http://localhost:7990/projects/test/avatar.png?s=48"
}
},
"totalFiles": 1,
"files": [
{
"type": "MODIFY",
"path": "src/source-1.txt",
"link": "http://localhost:7990/projects/test/repos/repository-2/commits/ce1b7175c9b4914cf2fc03c0f28046509f820597#src/source-1.txt"
}
]
}
Original file line number Diff line number Diff line change
@@ -1 +1,28 @@
{"commit":{"hash":"7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1","message":"ISSUE-1 Initial implementation","date":1716986279000,"author":{"name":"admin","avatar":"http://localhost:7990/users/admin/avatar.png?s=48"},"parents":["49bfe6a125a88cddd90c74b75b196c40fd380685"],"link":"http://localhost:7990/projects/test/repos/repository-2/commits/7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1","repository":{"sshUrl":"ssh://git@localhost:7990/test/repository-2.git","link":"http://localhost:7990/projects/test/repos/repository-2/browse","avatar":"http://localhost:7990/projects/test/avatar.png?s=48"}},"totalFiles":1,"files":[{"type":"ADD","path":"src/source-1.txt","link":"http://localhost:7990/projects/test/repos/repository-2/commits/7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1#src/source-1.txt"}]}
{
"commit": {
"hash": "7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1",
"message": "ISSUE-1 Initial implementation",
"date": 1716986279000,
"author": {
"name": "admin",
"avatar": "http://localhost:7990/users/admin/avatar.png?s=48"
},
"parents": [
"49bfe6a125a88cddd90c74b75b196c40fd380685"
],
"link": "http://localhost:7990/projects/test/repos/repository-2/commits/7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1",
"repository": {
"sshUrl": "ssh://git@localhost:7990/test/repository-2.git",
"link": "http://localhost:7990/projects/test/repos/repository-2/browse",
"avatar": "http://localhost:7990/projects/test/avatar.png?s=48"
}
},
"totalFiles": 1,
"files": [
{
"type": "ADD",
"path": "src/source-1.txt",
"link": "http://localhost:7990/projects/test/repos/repository-2/commits/7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1#src/source-1.txt"
}
]
}
29 changes: 28 additions & 1 deletion test-common/src/main/resources/bitbucket/commit-with-files.json
Original file line number Diff line number Diff line change
@@ -1 +1,28 @@
{"commit":{"hash":"fa20861b90c54efbffeb48837f4044bc23b55238","message":"ISSUE-2 First commit","date":1716986401000,"author":{"name":"admin","avatar":"http://localhost:7990/users/admin/avatar.png?s=48"},"parents":["7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1"],"link":"http://localhost:7990/projects/test/repos/repository-2/commits/fa20861b90c54efbffeb48837f4044bc23b55238","repository":{"sshUrl":"ssh://git@localhost:7990/test/repository-2.git","link":"http://localhost:7990/projects/test/repos/repository-2/browse","avatar":"http://localhost:7990/projects/test/avatar.png?s=48"}},"totalFiles":3,"files":[{"type":"DELETE","path":"src/source-1.txt","link":"http://localhost:7990/projects/test/repos/repository-2/commits/fa20861b90c54efbffeb48837f4044bc23b55238#src/source-1.txt"}]}
{
"commit": {
"hash": "fa20861b90c54efbffeb48837f4044bc23b55238",
"message": "ISSUE-2 First commit",
"date": 1716986401000,
"author": {
"name": "admin",
"avatar": "http://localhost:7990/users/admin/avatar.png?s=48"
},
"parents": [
"7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1"
],
"link": "http://localhost:7990/projects/test/repos/repository-2/commits/fa20861b90c54efbffeb48837f4044bc23b55238",
"repository": {
"sshUrl": "ssh://git@localhost:7990/test/repository-2.git",
"link": "http://localhost:7990/projects/test/repos/repository-2/browse",
"avatar": "http://localhost:7990/projects/test/avatar.png?s=48"
}
},
"totalFiles": 3,
"files": [
{
"type": "DELETE",
"path": "src/source-1.txt",
"link": "http://localhost:7990/projects/test/repos/repository-2/commits/fa20861b90c54efbffeb48837f4044bc23b55238#src/source-1.txt"
}
]
}
19 changes: 18 additions & 1 deletion test-common/src/main/resources/bitbucket/commit.json
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
{"hash":"fa20861b90c54efbffeb48837f4044bc23b55238","message":"ISSUE-2 First commit","date":1716986401000,"author":{"name":"admin","avatar":"http://localhost:7990/users/admin/avatar.png?s=48"},"parents":["7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1"],"link":"http://localhost:7990/projects/test/repos/repository-2/commits/fa20861b90c54efbffeb48837f4044bc23b55238","repository":{"sshUrl":"ssh://git@localhost:7990/test/repository-2.git","link":"http://localhost:7990/projects/test/repos/repository-2/browse","avatar":"http://localhost:7990/projects/test/avatar.png?s=48"}}
{
"hash": "fa20861b90c54efbffeb48837f4044bc23b55238",
"message": "ISSUE-2 First commit",
"date": 1716986401000,
"author": {
"name": "admin",
"avatar": "http://localhost:7990/users/admin/avatar.png?s=48"
},
"parents": [
"7df7b682b6be1dd1e3c81ef776d5d6da44ac8ee1"
],
"link": "http://localhost:7990/projects/test/repos/repository-2/commits/fa20861b90c54efbffeb48837f4044bc23b55238",
"repository": {
"sshUrl": "ssh://git@localhost:7990/test/repository-2.git",
"link": "http://localhost:7990/projects/test/repos/repository-2/browse",
"avatar": "http://localhost:7990/projects/test/avatar.png?s=48"
}
}
999 changes: 998 additions & 1 deletion test-common/src/main/resources/bitbucket/commits-2.json

Large diffs are not rendered by default.

Loading

0 comments on commit 4be049a

Please sign in to comment.