Age | Commit message (Collapse) | Author | Files | Lines |
|
and edgerules for the junits that are dependent on them
Issue-ID: AAI-2193
Change-Id: I310ad37b14fb1296016ebbde2cf8eedd9c9c8aff
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
GremlinGroovy shell singleton and groovy builder singleton
were changed from being singleton because we found
that the classes that were dynamically loaded
were never cleaned up by the garbage collector
which caused a huge increase in the memory consumption
for the traversal microservice which uses this
The conversions from singleton was already committed
but the singleton was not cleaned up earlier
Issue-ID: AAI-1811
Change-Id: Ib74d85be4c1053e7b482fa5b89b562b2352ff803
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-1811
Change-Id: I307731ee35d8a644ae995c4b372345a7ebeca0a1
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
|
|
Currently the findSubGraph is being invoked
and causing additional calls to the database by backing
a tree backed vertex and slowing the performance of GET ALLs
Original intention of both of them was to pre fetch depth 0, 1, and 2
at once so we don't have to get them at each depth but since
that was not done right there is extra amount of time
After the aai-uri migration to ensure all vertexes
have the aai-uri and also to make sure they are unique across graph
we don't need to traverse a vertex to find the parents to build aai-uri
it was done previously when there was no aai-uri to derive the uri of a
given vertex and its not necessary anymore so there would be performance
improvements of vserver when there are a lot of relationships
Currently the edge labels are retrieved for each vertex a
and b and the performance of the GET with relationships will be
propotional to the GET request and how many cousin edges it has
and the more cousin edges there are the more slower the response time
will be as for each cousin vertex its trying to get the edge in between
so the code is modified to only go to the database for the edge label
when there are multiple edge labels (cousin edges) between a and b
If there are only one edge label and its a cousin vertex then we
can use the edge rule to be able to figure out the edge label
Improve PUT on the cloud region by modifying the getEdgesBetween
method which currently was retrieving all the parent
child edges between a and b and then only using the first edge
The traversal itself was too complicated and was costly in terms of
database retrieval and calls and optimized the code to utilize the
edge information so we can modify the query to db at runtime
based on the information provided so when a 10000 vservers under a
tenant adding a new vserver under tenant would be slow because of the
old query performance as it was taking some time there but with this
optimization, its only spending at most a millisecond or 2 in that
method
Also noticed that when a PUT operation takes place, the method
calls the related objects to create a dmaap event which was in turn
calling the findParents and actually utilizing the parents to create the
dmaap event and would spend quite a lot of time here because of the
expensive call of the findParents in this case we need those vertexes
So optimized the code so based on a given vertex, we have the aai-uri
and the newly added metadata uriTemplate to break the aai-uri into
its parent aai-uri and grand parent aai-uri and so forth
With this breakdown, we can get the list of aai-uris which are parents,
grandparents and then use the aai-uri to look them up which is O(1)
lookup time due to the fact they are unique indexes
The time it takes when doing a traversal to find the parents is
propotional to the number of edges but this will be optimistic
Another area which was improved was the json path execution of the
edge rules so when the edge rules get loaded into memory it creates a
document object, it utilizes the jsonpath to query information about
the edge rules but the only thing here is each time it gets called
the query gets invoked and uses jsonpath to retrieve the edge rules when
we can cached them based on the filter so that the user executed and if
the filter is the same as before, the expected edge rules will return
the same
Too much time was spent making the query and retrieving and building the
edgerules
So a cache is a perfect way to optimize this part
Issue-ID: AAI-1987
Change-Id: Ieb8237de3fd31136ceac14bf4a8216a7ab3b7179
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Integrate the aai-core into using the aai-schema-ingest
library to be agnostic to the schema changes
Remove any references to aai-schema dependency in aai-core
Reorder the components so the aai-schema-ingest is first installed
Moved the edge rules to the aai-schema as they are linked to schema
Rework the generation of the aai-schema to using aai-schema-ingest library
Also remove the yaml and html folders as they get generated on the fly
So when maven pushes the aai-schema jar, the jar contains the generated
yaml, html and xsd files at runtime due to the gerrit limit of filesize
Issue-ID: AAI-1455
Change-Id: I87ecd9eb2fc96a09d3a6399955637674f6e7fb21
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Issue-ID: AAI-962
Change-Id: Ib4aa4ec3453f2c7099e1d7191917b44b323f2bb6
Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
|
|
Issue-ID: AAI-949
Change-Id: I70029806d3c96f7732778d27a8c7ff75dc5059de
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|
|
Fixed Schema - mismatch in the java attributes and xml attributes
Added dependentOn for HpaFeatureAtrributes
Added unit test for HPASchema
Added sample payload for HPACapabilities inside flavor
Issue-ID: AAI-742
Change-Id: I3525376886f10bee99aa0ce3f0a6b2a5efbaa9b1
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Issue-ID: AAI-33
Change-Id: I897566e79eb7505232b692e551f6347e69fafed6
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
Issue-ID: AAI-536
Change-Id: I2ea654af0be91d233cc6cd5d50ee0186ef3a9a89
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
Issue-ID: AAI-493
Change-Id: I5f39ce9bb19cfb9607b659bed82066cae7569ecc
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
Issue-ID: AAI-649
Change-Id: Ia855abe83692d86f4243f98ca75737c991da8976
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
Issue-ID: AAI-540
Change-Id: I1aaadbba1236921901e6d5859f0263786e9ab2ae
Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
|
|
Issue-ID: AAI-524
Change-Id: I33dd31315992e2efb2d6d390ffc523655b55a84c
Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
|
|
Deletion of other vertices is now only determined by the delete-other-v
property. For containment relationships, this property is now explicitly
set instead of being implied by the containment property. ie Deletion
now
only checks delete-other-v not containment, and containment
relationships
have been updated to still function the same as before.
Issue-ID: AAI-517
Change-Id: I808752c286c621f82b521590b1a51cf996031557
Signed-off-by: Threefoot, Jane (jt6620) <jt6620@att.com>
|
|
Update the pom to use 1.2.0-SNAPSHOT
and add v12 oxm and json and ensure
the esr stuff is properly included
Issue-ID: AAI-514
Change-Id: I96ceb7dbaa6de7650d55a79e2d1b18f5d1815f06
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
Issue-ID: AAI-61 AAI-82
Change-Id: Iae98d4bf4c693c0a3203158bff98c3c5e739f453
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
Issue-ID: AAI-215
Change-Id: I783fc2207aa782a1b8bb55a730a341fa89b4c094
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
Issue-ID: AAI-215
Change-Id: Ied7d885274d83fa183880ca683a2c440818e66dc
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
Also added test coverage, including refactoring of test resources to
simplify test suites.
Issue-ID: AAI-277
Change-Id: Ibfdc81342a139d121740f10bccc66a7420b61945
Signed-off-by: Threefoot, Jane (jt6620) <jt6620@att.com>
|
|
the schema and core files
Change-Id: Id1b3469ba298b2137665e8ad16b4d74121d434a2
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
declared by direction
Change-Id: I8eacd870980c558e8c1f92b72f73c6f86aabc890
Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
|
|
Change-Id: I6189a8175425f4b7301659fce96f4c359dc6473a
Signed-off-by: Lin, Jerry (jl319x) <jl319x@att.com>
|
|
Change-Id: I0837371aab38bbe159d472ac0ed4c84c57cdc81d
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
Change-Id: I778a56f525cba0ebd39d24d366fc9f0935be71f2
Signed-off-by: Threefoot, Jane (jt6620) <jt6620@att.com>
|
|
Change the namespace openecomp to onap
Also change the package names
Change-Id: I1f3c25dfa7b5218aeba19930a905701476894542
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
updated swagger html generation to generate v11
Added to introspection version v11. Update latest aaipropertes to v11
Created v10 versioned edge rules.java
Created v11 oxm using the v10 oxm
Change-Id: Ic56e86b15b8b18fa1ac70dfba5f7e08f58df843f
Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
|
|
Change-Id: If2ebc7acd38c3a268c1461b05f1b7ff1bc0c8548
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
Change-Id: Ifd6e05a807b1bc5246cd2442cb54495b84100e83
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
Change-Id: Ia4758a3d7e462e5120fa1db7ebe97adaeac3ebc2
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
Change-Id: If25f0890de84b4a6a001fd669de3d6e0241a474c
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|
|
Change-Id: I2760ca1e2c661028be946a4335d07b1b7671a4b4
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
|