Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MNT-24127] Added Endpoint To Calculate Folder Size #2709

Merged
merged 283 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from 243 commits
Commits
Show all changes
283 commits
Select commit Hold shift + click to select a range
80cb5b6
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 26, 2024
7daf9c0
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 26, 2024
2bf9dac
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 26, 2024
e1d3469
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 26, 2024
e5617d8
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 26, 2024
9b0337c
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 26, 2024
b1ad278
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 26, 2024
95e256b
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 26, 2024
a16ac95
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 26, 2024
9d9d5ee
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 26, 2024
c3e03ca
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 27, 2024
2deb4f4
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 27, 2024
c2a5948
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 27, 2024
44ecf9f
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 27, 2024
5deb2b4
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 27, 2024
ea9231c
Merge branch 'master' of github.com:Alfresco/alfresco-community-repo …
mohit-singh4 Jun 27, 2024
63d6de7
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 27, 2024
9d313bd
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 27, 2024
5e024c9
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 27, 2024
6aaa24d
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 27, 2024
9180053
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 27, 2024
8424c1b
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 27, 2024
d4ef724
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 27, 2024
dfcfa87
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 27, 2024
5ec0609
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 28, 2024
ef4d1d8
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 28, 2024
2b2a754
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jun 28, 2024
3f8be2b
Merge branch 'master' of github.com:Alfresco/alfresco-community-repo …
mohit-singh4 Jul 2, 2024
6040b13
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jul 2, 2024
98a9d64
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jul 2, 2024
1f1d80d
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jul 2, 2024
a2e48a4
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jul 2, 2024
bf7f6da
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jul 2, 2024
d0e3c69
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jul 2, 2024
87ea444
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jul 2, 2024
5f7b97b
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jul 2, 2024
2022c38
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jul 2, 2024
f9f199d
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jul 2, 2024
225c521
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integ…
mohit-singh4 Jul 2, 2024
b47e055
[feature/MNT-24127] EndpointToCalculateFolderSize
mohit-singh4 Jul 22, 2024
88d10f2
[feature/MNT-24127] EndpointToCalculateFolderSize
mohit-singh4 Jul 22, 2024
9578891
[feature/MNT-24127] EndpointToCalculateFolderSize
mohit-singh4 Jul 22, 2024
4e86bb7
[feature/MNT-24127] EndpointToCalculateFolderSize
mohit-singh4 Jul 22, 2024
10b436d
[feature/MNT-24127] EndpointToCalculateFolderSize
mohit-singh4 Jul 22, 2024
3c7f5b5
[feature/MNT-24127] EndpointToCalculateFolderSize
mohit-singh4 Jul 22, 2024
1c8c6ff
[feature/MNT-24127] EndpointToCalculateFolderSize
mohit-singh4 Jul 22, 2024
6798785
[feature/MNT-24127] Endpoint Added To Calculate Folder Size
mohit-singh4 Jul 23, 2024
464fc20
[feature/MNT-24127] Endpoint Added To Calculate Folder Size
mohit-singh4 Jul 23, 2024
2a1ee7d
[feature/MNT-24127] Endpoint Added To Calculate Folder Size
mohit-singh4 Jul 23, 2024
ec22805
[feature/MNT-24127] Endpoint Added To Calculate Folder Size
mohit-singh4 Jul 23, 2024
4edc87c
[feature/MNT-24127] Endpoint Added To Calculate Folder Size
mohit-singh4 Jul 23, 2024
2f35962
[feature/MNT-24127] Endpoint Added To Calculate Folder Size
mohit-singh4 Jul 23, 2024
43ca025
Some Optimization for NodeSize Calculation.
kavitshah-gl Jul 24, 2024
6206be9
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Jul 29, 2024
b3b8b91
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Jul 29, 2024
244d10f
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Jul 29, 2024
4a43eaa
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Jul 29, 2024
742ab36
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Jul 29, 2024
0f6bb34
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Jul 30, 2024
3287937
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Jul 30, 2024
9f109e9
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Jul 30, 2024
4fbca55
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Jul 30, 2024
af7ebb0
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Jul 30, 2024
3581f54
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Jul 31, 2024
76611fd
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Jul 31, 2024
0ce1745
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Jul 31, 2024
044b054
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Jul 31, 2024
b88af16
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Jul 31, 2024
4faa421
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Jul 31, 2024
5e9a99d
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Jul 31, 2024
2c879c7
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Aug 1, 2024
586990d
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Aug 1, 2024
51f8142
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Aug 1, 2024
7a16e30
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Aug 1, 2024
58cd9db
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Aug 1, 2024
fbfcdfe
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Aug 1, 2024
aa2acb1
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Aug 1, 2024
1073677
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Aug 1, 2024
44f4299
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Aug 1, 2024
873dfe2
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Aug 1, 2024
0c5cc98
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Aug 2, 2024
e5dfe0e
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Aug 2, 2024
6af94b0
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Aug 3, 2024
7f2aaeb
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Aug 3, 2024
b9f0b8d
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Aug 3, 2024
50cd40a
[feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to c…
mohit-singh4 Aug 3, 2024
420100e
[feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoint to c…
mohit-singh4 Aug 3, 2024
17ddfdb
[feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoint to c…
mohit-singh4 Aug 3, 2024
25ba6ef
[feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoint to c…
mohit-singh4 Aug 4, 2024
90e6bb8
[feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoint to c…
mohit-singh4 Aug 5, 2024
bd6d21f
[feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoint to c…
mohit-singh4 Aug 5, 2024
a61c1e9
[feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoint to c…
mohit-singh4 Aug 5, 2024
8f8045e
[feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoint to c…
mohit-singh4 Aug 5, 2024
fcc393e
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance …
mohit-singh4 Aug 6, 2024
0e34ea7
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance …
mohit-singh4 Aug 6, 2024
0a38c0c
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance …
mohit-singh4 Aug 6, 2024
be674a2
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance …
mohit-singh4 Aug 6, 2024
33626b4
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance …
mohit-singh4 Aug 7, 2024
1e0d40a
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance …
mohit-singh4 Aug 7, 2024
6711904
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance …
mohit-singh4 Aug 7, 2024
94006dc
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance …
mohit-singh4 Aug 7, 2024
76fdba7
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance …
mohit-singh4 Aug 7, 2024
d0f133d
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance …
mohit-singh4 Aug 7, 2024
7300e5b
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance …
mohit-singh4 Aug 7, 2024
1287ab4
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance …
mohit-singh4 Aug 7, 2024
933a0e6
[feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoints imp…
mohit-singh4 Aug 7, 2024
cb9c051
[feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoints imp…
mohit-singh4 Aug 7, 2024
8927470
[feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoints imp…
mohit-singh4 Aug 8, 2024
c01445b
[feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoints imp…
mohit-singh4 Aug 8, 2024
569d9e8
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding endpoints to…
mohit-singh4 Aug 13, 2024
a225f66
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding endpoints to…
mohit-singh4 Aug 13, 2024
0721099
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding endpoints to…
mohit-singh4 Aug 13, 2024
f3f099d
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding endpoints to…
mohit-singh4 Aug 13, 2024
ed3c189
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding endpoints to…
mohit-singh4 Aug 13, 2024
b431077
[feature/MNT-24127-EndpointToCalculateFolderSize] Adding endpoints to…
mohit-singh4 Aug 13, 2024
9f28594
Merge branch 'master' of github.com:Alfresco/alfresco-community-repo …
mohit-singh4 Aug 22, 2024
a9878d9
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
5279b99
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
dca8b79
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
f0549d1
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
4a0ca9a
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
c854cd7
Merge branch 'master' of github.com:Alfresco/alfresco-community-repo …
Aug 22, 2024
2fb2f31
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
6153c12
Merge branch 'master' of github.com:Alfresco/alfresco-community-repo …
Aug 22, 2024
a8c87f7
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
83d7986
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
c3a0ebc
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
c9e6ab2
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
2642067
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
46240eb
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
9606d8e
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
5a1ea33
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
6191003
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
cfbae04
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
3f86162
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
f4c36ad
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
16f93ad
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
29d17ec
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
5117604
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 22, 2024
d690797
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 23, 2024
5e711c1
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 23, 2024
142529d
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 23, 2024
7eff128
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 23, 2024
d3b9ef1
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 23, 2024
00bfbff
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 23, 2024
385254b
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 23, 2024
2469ff3
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 23, 2024
6a8d9e0
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 23, 2024
f86142c
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 23, 2024
d92f599
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 23, 2024
21b8354
Merge branch 'master' of github.com:Alfresco/alfresco-community-repo …
Aug 28, 2024
7af7c29
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 28, 2024
fed54a3
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 28, 2024
a9901ef
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 28, 2024
a9bae63
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 28, 2024
a31adb1
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 28, 2024
a747e7b
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 28, 2024
2da3ce6
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Aug 30, 2024
9782555
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Sep 2, 2024
a620e91
Changes as per the Relationship Api Framework implementation.
kavitshah-gl Sep 3, 2024
0959f82
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Sep 4, 2024
98a3469
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Sep 4, 2024
d1c3ca5
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Sep 4, 2024
280bbf6
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Sep 4, 2024
c603a77
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Sep 4, 2024
aa8bff4
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Sep 4, 2024
e40afc1
Merge branch 'master' of github.com:Alfresco/alfresco-community-repo …
Sep 4, 2024
3b49f50
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Sep 4, 2024
817548a
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Sep 4, 2024
ed20ea1
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Sep 4, 2024
6f1138f
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints f…
Sep 4, 2024
1e42e13
Merge branch 'master' of github.com:Alfresco/alfresco-community-repo …
Sep 12, 2024
47799cd
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 12, 2024
4c6633b
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 12, 2024
289011b
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 12, 2024
1516ab9
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 13, 2024
e1949ee
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 13, 2024
0b8612d
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 16, 2024
5cd8ea2
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 16, 2024
8fa7f9c
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 16, 2024
3b7601f
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 19, 2024
3450f9b
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 19, 2024
6aaffe4
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 19, 2024
76239a9
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 19, 2024
269a621
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 19, 2024
4fa084b
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 19, 2024
cc612bf
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 19, 2024
674bcb6
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 19, 2024
1048c43
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 20, 2024
681b0ef
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 20, 2024
e0bc0e6
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 20, 2024
5b14722
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 23, 2024
697f8d8
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 24, 2024
40efd93
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Sep 24, 2024
38e5f56
Merge branch 'master' of github.com:Alfresco/alfresco-community-repo …
Oct 7, 2024
aecb029
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 7, 2024
c071099
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 7, 2024
79e2cb6
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 7, 2024
18901c7
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 7, 2024
1027bc1
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 8, 2024
d386924
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 8, 2024
013cfb1
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 8, 2024
26c79b4
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 8, 2024
2603547
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 8, 2024
ba393a5
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 9, 2024
e33feb2
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 9, 2024
b7a3a5a
Merge branch 'master' of github.com:Alfresco/alfresco-community-repo …
Oct 9, 2024
ebce052
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 9, 2024
7187b5b
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 9, 2024
b8d08f0
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 9, 2024
c320d77
Merge branch 'master' of github.com:Alfresco/alfresco-community-repo …
Oct 18, 2024
76f5375
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 18, 2024
29d25ea
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 18, 2024
16e57ae
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 18, 2024
855ab53
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 18, 2024
74cc4c0
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 18, 2024
9692257
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 18, 2024
d49d4c2
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 18, 2024
7f95d62
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 19, 2024
6d6fbbe
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 19, 2024
3922c07
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 19, 2024
28e5f76
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 20, 2024
f399135
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 20, 2024
29e76f3
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 20, 2024
05e2bcd
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 20, 2024
7a74f79
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 21, 2024
8388a1d
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 21, 2024
fae21b6
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 21, 2024
e9d8b1e
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 21, 2024
bfa3f04
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 21, 2024
e65e0d5
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 21, 2024
f8fd9b4
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 21, 2024
ed42c00
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 21, 2024
1745693
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 21, 2024
3e6be45
[feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review c…
Oct 22, 2024
b271bf5
[feature/MNT-24127-EndpointToCalculateFolderSize] Creating Integerati…
Oct 29, 2024
9d0de45
Merge branch 'master' of github.com:Alfresco/alfresco-community-repo …
Oct 29, 2024
1295f70
[feature/MNT-24127-EndpointToCalculateFolderSize] Creating Integerati…
Oct 29, 2024
4bf216a
[feature/MNT-24127-EndpointToCalculateFolderSize] Creating Integerati…
Oct 29, 2024
d4294cf
[feature/MNT-24127-EndpointToCalculateFolderSize] Creating Integerati…
Oct 29, 2024
63814e0
[feature/MNT-24127-EndpointToCalculateFolderSize] Creating Integerati…
Oct 29, 2024
7a3a05f
[feature/MNT-24127-EndpointToCalculateFolderSize] Creating Integerati…
Oct 29, 2024
8ba10aa
[feature/MNT-24127-EndpointToCalculateFolderSize] Some Changes in Nod…
Nov 4, 2024
1f25b13
Merge branch 'master' of github.com:Alfresco/alfresco-community-repo …
Nov 4, 2024
c7ef004
[feature/MNT-24127-EndpointToCalculateFolderSize] Some Changes in Nod…
Nov 4, 2024
36a1649
[feature/MNT-24127-EndpointToCalculateFolderSize] Some Changes in Nod…
Nov 4, 2024
18bcfc9
[feature/MNT-24127-EndpointToCalculateFolderSize] Some Changes in Nod…
Nov 5, 2024
52f37ed
[feature/MNT-24127-EndpointToCalculateFolderSize] Checking size-detai…
Nov 7, 2024
6aec711
Merge branch 'master' of github.com:Alfresco/alfresco-community-repo …
Nov 7, 2024
4c3eca5
[feature/MNT-24127-EndpointToCalculateFolderSize] Checking size-detai…
Nov 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@
"filename": "remote-api/src/test/java/org/alfresco/rest/api/tests/AbstractBaseApiTest.java",
"hashed_secret": "d033e22ae348aeb5660fc2140aec35850c4da997",
"is_verified": false,
"line_number": 120,
"line_number": 111,
"is_secret": false
}
],
Expand Down Expand Up @@ -1888,5 +1888,5 @@
}
]
},
"generated_at": "2024-10-02T10:18:47Z"
}
"generated_at": "2024-10-09T09:32:52Z"
}
36 changes: 36 additions & 0 deletions remote-api/src/main/java/org/alfresco/rest/api/SizeDetails.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* #%L
* Alfresco Remote API
* %%
* Copyright (C) 2005 - 2024 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Alfresco is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L%
*/
package org.alfresco.rest.api;

import org.alfresco.repo.node.sizedetails.NodeSizeDetailsServiceImpl.NodeSizeDetails;

public interface SizeDetails
{
NodeSizeDetails generateNodeSizeDetailsRequest(String nodeId);

NodeSizeDetails getNodeSizeDetails(String nodeId, String jobId);

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
/*
* #%L
* Alfresco Remote API
* %%
* Copyright (C) 2005 - 2024 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Alfresco is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L%
*/
package org.alfresco.rest.api.impl;

import java.util.Optional;

import org.springframework.beans.factory.InitializingBean;

import org.alfresco.model.ContentModel;
import org.alfresco.repo.node.sizedetails.NodeSizeDetailsService;
import org.alfresco.repo.node.sizedetails.NodeSizeDetailsServiceImpl.NodeSizeDetails;
import org.alfresco.repo.node.sizedetails.NodeSizeDetailsServiceImpl.NodeSizeDetails.STATUS;
import org.alfresco.rest.api.Nodes;
import org.alfresco.rest.api.SizeDetails;
import org.alfresco.rest.framework.core.exceptions.InvalidNodeTypeException;
import org.alfresco.rest.framework.core.exceptions.NotFoundException;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.util.GUID;
import org.alfresco.util.ParameterCheck;

public class SizeDetailsImpl implements SizeDetails, InitializingBean
{
private final Nodes nodes;
private final NodeSizeDetailsService nodeSizeDetailsService;

public SizeDetailsImpl(Nodes nodes, NodeSizeDetailsService nodeSizeDetailsService)
{
this.nodes = nodes;
this.nodeSizeDetailsService = nodeSizeDetailsService;
}

/**
* generateNodeSizeDetailsRequest : providing HTTP STATUS 202 with jobId.
*/
@Override
public NodeSizeDetails generateNodeSizeDetailsRequest(String nodeId)
{
NodeRef nodeRef = nodes.validateOrLookupNode(nodeId);
validateType(nodeRef);

Optional<NodeSizeDetails> nodeSizeDetails = nodeSizeDetailsService.getSizeDetails(nodeId);
String actionId = nodeSizeDetails.map(NodeSizeDetails::getJobId)
.orElseGet(() -> executeSizeDetails(nodeRef));

return new NodeSizeDetails(actionId);
}

/**
* getNodeSizeDetails : providing HTTP STATUS 200 with NodeSizeDetails data from cache.
*/
@Override
public NodeSizeDetails getNodeSizeDetails(final String nodeId, final String jobId)
{
NodeRef nodeRef = nodes.validateOrLookupNode(nodeId);
validateType(nodeRef);

Optional<NodeSizeDetails> optionalDetails = nodeSizeDetailsService.getSizeDetails(nodeId);
return optionalDetails.map(details -> {
String cachedJobId = details.getJobId();
if (cachedJobId != null && !jobId.equalsIgnoreCase(cachedJobId))
{
throw new NotFoundException("jobId does not exist");
}
return details;
})
.orElseGet(() -> new NodeSizeDetails(nodeId, STATUS.NOT_INITIATED));
}

/**
* Executing Asynchronously.
*/
private String executeSizeDetails(NodeRef nodeRef)
{
String jobId = GUID.generate();
NodeSizeDetails nodeSizeDetails = new NodeSizeDetails(nodeRef.getId(), jobId, STATUS.PENDING);
nodeSizeDetailsService.putSizeDetails(nodeRef.getId(), nodeSizeDetails);
nodeSizeDetailsService.invokeSizeDetailsExecutor(nodeRef, jobId);
return jobId;
}

private void validateType(NodeRef nodeRef) throws InvalidNodeTypeException
{
if (!nodes.isSubClass(nodeRef, ContentModel.TYPE_FOLDER, false))
{
throw new InvalidNodeTypeException("Node id " + nodeRef.getId() + " does not represent a folder.");
}
}

@Override
public void afterPropertiesSet() throws Exception
{
ParameterCheck.mandatory("nodes", this.nodes);
ParameterCheck.mandatory("nodeSizeDetailsServiceImpl", this.nodeSizeDetailsService);
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
/*
* #%L
* Alfresco Remote API
* %%
* Copyright (C) 2005 - 2024 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Alfresco is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L%
*/

package org.alfresco.rest.api.nodes;

import java.util.List;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.extensions.webscripts.Status;

import org.alfresco.repo.node.sizedetails.NodeSizeDetailsServiceImpl.NodeSizeDetails;
import org.alfresco.rest.api.SizeDetails;
import org.alfresco.rest.framework.WebApiDescription;
import org.alfresco.rest.framework.WebApiParam;
import org.alfresco.rest.framework.WebApiParameters;
import org.alfresco.rest.framework.core.ResourceParameter;
import org.alfresco.rest.framework.core.exceptions.RelationshipResourceNotFoundException;
import org.alfresco.rest.framework.resource.RelationshipResource;
import org.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction;
import org.alfresco.rest.framework.resource.parameters.Parameters;
import org.alfresco.util.ParameterCheck;

@RelationshipResource(name = "size-details", entityResource = NodesEntityResource.class, title = "Node Size Details")
public class NodeSizeDetailsRelation implements RelationshipResourceAction.ReadById<NodeSizeDetails>,
RelationshipResourceAction.Create<NodeSizeDetails>, InitializingBean
{

private SizeDetails sizeDetails;

public void setSizeDetails(SizeDetails sizeDetails)
{
this.sizeDetails = sizeDetails;
}

@Override
public void afterPropertiesSet()
{
ParameterCheck.mandatory("sizeDetails", this.sizeDetails);
}

@WebApiDescription(title = "Create node-size details request", successStatus = Status.STATUS_ACCEPTED)
@WebApiParam(name = "nodeSizeEntity", title = "Node Size Details Request",
description = "Request for processing Node Size.", kind = ResourceParameter.KIND.HTTP_BODY_OBJECT,
allowMultiple = false)
@Override
public List<NodeSizeDetails> create(String nodeId, List<NodeSizeDetails> nodeSizeEntity, Parameters parameters)
{
return List.of(sizeDetails.generateNodeSizeDetailsRequest(nodeId));
}

@WebApiDescription(title = "Get Node Size Details", description = "Get the Node Size Details")
@WebApiParameters({@WebApiParam(name = "nodeId", title = "The unique id of the Node being addressed",
description = "A single Node id"),
@WebApiParam(name = "jobId", title = "Job Id to get the NodeSizeDetails", description = "JobId")})
@Override
public NodeSizeDetails readById(String nodeId, String jobId, Parameters parameters)
throws RelationshipResourceNotFoundException
{
return sizeDetails.getNodeSizeDetails(nodeId, jobId);
}
}
23 changes: 23 additions & 0 deletions remote-api/src/main/resources/alfresco/public-rest-context.xml
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,25 @@
</property>
</bean>

<bean id="sizeDetailsImpl" class="org.alfresco.rest.api.impl.SizeDetailsImpl">
<constructor-arg name="nodes" ref="nodes" />
<constructor-arg name="nodeSizeDetailsService" ref="NodeSizeDetailsService" />
</bean>

<bean id="sizeDetails" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<value>org.alfresco.rest.api.SizeDetails</value>
</property>
<property name="target">
<ref bean="sizeDetailsImpl" />
</property>
<property name="interceptorNames">
<list>
<idref bean="legacyExceptionInterceptor" />
</list>
</property>
</bean>

<bean class="org.alfresco.rest.api.rules.NodeRuleSettingsRelation">
<property name="ruleSettings" ref="RuleSettings" />
</bean>
Expand Down Expand Up @@ -1770,4 +1789,8 @@
</list>
</property>
</bean>

<bean class="org.alfresco.rest.api.nodes.NodeSizeDetailsRelation">
<property name="sizeDetails" ref="sizeDetails" />
</bean>
</beans>
Loading