Hi Jimmy,
I am trying to push a small commit to test out the process:
modified: ../aai-core/src/main/resources/swagger.html.ftl
new file: src/main/resources/aai_swagger_html/aai_swagger_v14.html
new file: src/main/resources/aai_swagger_yaml/aai_swagger_v14.yaml
It's an updated template for the Swagger HTML generated file and the newly
generated v14 files including CCVPN schema changes.
$ git commit
[master c81fd7e] Update copyright notice Add table of contents links under
Summary heading for navigating long document Re-indent list bodies to optimise
size of generated output, reduces final output size by half in new v14 schema.
Add v14 HTML and YAML files
3 files changed, 278005 insertions(+), 240 deletions(-)
create mode 100644
aai-schema/src/main/resources/aai_swagger_html/aai_swagger_v14.html
create mode 100644
aai-schema/src/main/resources/aai_swagger_yaml/aai_swagger_v14.yaml
However, the push to gerrit gives an error because the generated file is too
large!
$ git push origin HEAD:refs/for/master
Enumerating objects: 26, done.
Counting objects: 100% (26/26), done.
Delta compression using up to 4 threads.
Compressing objects: 100% (14/14), done.
Writing objects: 100% (15/15), 345.67 KiB | 2.11 MiB/s, done.
Total 15 (delta 7), reused 0 (delta 0)
error: Object too large (7,546,913 bytes), rejecting the pack. Max object size
limit is 5,242,880 bytes.
error: remote unpack failed: error Object too large (7,546,913 bytes),
rejecting the pack. Max object size limit is 5,242,880 bytes.
To ssh://gerrit.onap.org:29418/aai/aai-common
! [remote rejected] HEAD -> refs/for/master (n/a (unpacker error))
error: failed to push some refs to
'ssh://[email protected]:29418/aai/aai-common'
The v13 HTML file seems to just sneak under the "Max object size limit" but
with the growth of schema elements in v14, this will be a blocker.
For now, I can reset the commit to drop the HTML file or reduce it to just an
empty placeholder file, but how can this be fixed for when the real commit is
done?
Thanks,
Keong
Customer Experience and Platform Integration R&D Dept
--
Keong Lim, Huawei Technologies Co. Ltd ([email protected])
Ground Floor, Suite 1, 5 Lakeside Drive, BURWOOD EAST VIC 3151 AUSTRALIA
--
"If ye love wealth better than liberty, the tranquillity of servitude than the
animating contest of freedom-go from us in peace. We ask not your counsels
or arms. Crouch down and lick the hands which feed you. May your chains sit
lightly upon you, and may posterity forget that ye were our countrymen!"
- Samuel Adams
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11809): https://lists.onap.org/g/onap-discuss/message/11809
Mute This Topic: https://lists.onap.org/mt/24245925/21656
Mute #aai: https://lists.onap.org/mk?hashtag=aai&subid=2740164
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-