[
https://issues.jboss.org/browse/TEIIDSB-121?page=com.atlassian.jira.plugi...
]
Steven Hawkins commented on TEIIDSB-121:
----------------------------------------
Just trying to simplistically reproduce this locally and I'm not seeing the same
behavior.
I'm using 100 tables each with 100 columns. All have a single relationship to another
table. That gives me a ~550KB edm file and a 2.7 MB openapi or swagger file generated in
about 7 seconds on a vm constrained to 256MB of memory. This is the same using teiid
spring boot or with using a teiid embedded test using jetty.
It seems like there is something more specific to the form / content of your metadata.
Would it be possible for you to provide your edm file?
2. For more complex metadata (30MB size of Edm) i can't get
response in my localhost (i5 ant other). Its my mistake.
That's a pretty large edm file. Can you describe that scenario?
cpu utilization on 100% when generate openapi doc by metadata
-------------------------------------------------------------
Key: TEIIDSB-121
URL:
https://issues.jboss.org/browse/TEIIDSB-121
Project: Teiid Spring Boot
Issue Type: Bug
Components: datasource, OData
Affects Versions: 1.2.0
Reporter: Renat Eskenin
Assignee: Steven Hawkins
Priority: Major
When i get request as
http://localhost:8080/odata/swagger.json or
http://localhost:8080/odata/datasource/Account/swagger.json or
http://localhost:8080/odata/datasource/swagger.json
cpu utilization 100% and i do not get any response.
We have 2 bad approach:
1. In org.teiid.olingo.web.OpenApiHandler:151 teiid create tmp file in filesystem.
Its bad because in Docker k8s systems applications can't create any files in FS.
2. In org.apache.xalan.transformer.TransformerImpl:709 we get system freeze (CPU
utilization 100% infinite)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)