aboutsummaryrefslogtreecommitdiffstats
path: root/models-sim/policy-models-simulators/src
AgeCommit message (Collapse)AuthorFilesLines
2020-11-19Work around docker rate limit in CSITsfrankfurtJim Hahn1-1/+1
CSITs are failing regularly due to download rate limits that were recently introduced on dockerhub. Modified the Dockerfiles for the simulators that are used by the CSITs to pull the base images from nexus3 instead of dockerhub. Based on feedback from Steve Winslow, it's OK to pull base images from nexus3 provided that the docker images generated from it are not actually released. In the case of the simulators, only snapshot images are ever created. Also added the policy alpine version number to ensure the appropriate docker base is used for frankfurt. Issue-ID: POLICY-2895 Change-Id: I61393f3551c2257b75948f39add0b5163265e152 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-08-26update keystore certTaka Cho1-0/+0
new expiration date is 3/17/2021 Issue-ID: POLICY-2795 Change-Id: I6c4b636b48ca2aef8165c1f4fd19067b242aedb4 Signed-off-by: Taka Cho <takamune.cho@att.com> (cherry picked from commit 1812fc7a55aab7e15443fd85dd0f46f8f17cd178)
2020-04-09Disable sonar main args for modelsJim Hahn1-0/+5
Issue-ID: POLICY-2305 Change-Id: Ie8c45fb767ec9b2f9b1b541532fede52306c36b4 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-03-27Cleanup sonar bugs and security hotspotPamela Dragosh1-2/+2
Just some trivial sonar bugs for missing argument and a couple sonar overrides to clear security hotspots. Issue-ID: POLICY-2165 Change-Id: I392e5fee458465c66313a16a8912e23a3a119848 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-23Update new SDNR actor with v2.0 structuresJim Hahn1-0/+18
SDNR v2.0 introduced an extra "input" and "output" layer within the body of the messages. Added POJOs to match that, and updated the actor to use the new POJOs so that no extra steps are needed during serialization or deserialization. Also modified the SDNR and APPC-LCM simulators to discard request messages when looking for the response, if the sink and source topics happen to be the same. Added the SDNR simulator. Added more coverage to the SDNR actor. Fixed a sonar issue in the SDNR junit code: - use a constant instead of a literal (i.e., for "ModifyConfig") Issue-ID: POLICY-2434 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I70914a299dd5e9ee8eaccb5d42a2596cab814091
2020-03-20Bug fixes in models simulatorsJim Hahn3-33/+57
Fixed these issues: - topics weren't started - appc topics were reversed - prevent appc simulator from responding to a response (i.e., infinite loop) Issue-ID: POLICY-2434 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I1f43be72d35f874fec98f48f1a112c055c00eee5
2020-03-20Add docker file for all simulatorsJim Hahn22-0/+1373
Some CSITs may require multiple simulators. This adds a class that will start all of the simulators. A tarball is generated from which a docker image can be built. Added simulators for Topics: appc and appc-lcm. Fixed licenses in files in packages directory. Fixed per review comments: - add version to Dockerfile Issue-ID: POLICY-2434 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Id7aa9cb5a5874f7b4185273ab0d2c074198554ff