aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-04-13Remove boxed types in MavenLikeVersioningGary Wu1-27/+17
Remove the unnecessary use of boxed types in MavenLikeVersioning. Change-Id: I8b96db9e753f80860b95b84473bb8d2b61e2328e Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-04-11Fix resources leaks: CatalogDatabaseGary Wu3-27/+24
Change-Id: I3274dc7a64637cd7cf18d705258c0fc4985171ee Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-04-11Fix logic error in HealthCheckHandlerGary Wu1-1/+1
Change-Id: I0d67ad98e2e9b409774532715da3959e47e27d13 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-04-11Add missing defensive copy to APIResponseGary Wu1-7/+9
APIResponse is supposed to be immutable, but was exposing its internals in the getResponseBodyAsByteArray() method. This change adds the missing defensive copy in that method. Change-Id: I8a424a4cb72eb703fb425ffbd30ea70d6592f85a Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-04-11Simplify MsoHeatEnvironmentParameter methodsGary Wu1-12/+3
Change-Id: I199008128f28903ea28ecfba437511c4c4a6c8e7 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-04-11[MSO-8] Update the maven dependencyxg353y840-38682/+90998
Update the maven depenency for sdc-distribution-client to cooperate with the sdc changes. Change-Id: I2da936e5c40cb68c7181bb78307192dd5655b5dc Signed-off-by: xg353y <xg353y@intl.att.com>
2017-04-10Remove unnecessary use of Calendar.getInstance()Gary Wu8-46/+23
Calendar.getInstance() is expensive and unnecessary when we only need the system time. This change replaces the uses of Calendar.getInstance() with System.currentTimeMillis(). Change-Id: I476f8850f5eb88d20cf7249cca5bb2e9b671b45a Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-04-10Merge "Update readme to replace openecomp with onap"Christophe Closset1-23/+23
2017-04-04Update readme to replace openecomp with onapJeremy Phelps1-23/+23
Change-Id: I423b1354d53eb8a55ff9d09a96fc7c15202caa13 Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
2017-03-30Merge "Update domain URLs from openecomp.org to onap.org"Christophe Closset3-5/+5
2017-03-29Update domain URLs from openecomp.org to onap.orgAndrew Grimberg3-5/+5
The openecomp.org namespace is deprecated in favor of the onap.org namespace Change-Id: Icca272615a21c5c07d4c4341759752e758a45957 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2017-03-29Update .gitreview with onap URLAndrew Grimberg1-1/+1
Change-Id: I8066eca557ad0343b902488485c0c509c129a27d Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2017-03-27Docker image tags reworkedDeterme, Sebastien (sd378r)1-0/+32
Add a groovy script to the pom of the docker module to generate an additional tag to mso and mso-arquillian images. Change-Id: Ica50c2c7166b4401179de711d8ba3e66c7fa129b Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-03-14Merge "Fix OSX build failure:gid # is too big >2097151"Christophe Closset1-0/+1
2017-03-13Update to version 1.1.0ChrisC30-105/+105
Change-Id: Id054e7a04ce88450c3cfe108c8259c4d287681c8 Signed-off-by: ChrisC <cc697w@intl.att.com>
2017-03-09Fix OSX build failure:gid # is too big >2097151Mandeep Khinda1-0/+1
Change-Id: Iad5b15cab366adbaf231919ec0381ee74ccd7976 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2017-03-09Update configuration for maven siteAnaël Closson1-2/+3
Change-Id: Ic8b46a7fd2c41b47dd11d4dc4a998de17f53223b Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-03-08Merge "Remove duplicate docker-compose"Christophe Closset1-34/+0
2017-03-08Merge "Do not start chef-solo if mso-docker.json is empty"Christophe Closset1-3/+8
2017-03-08Remove duplicate docker-composeAlexis de Talhouët1-34/+0
docker-config repo is holding the docker-compose file, along with all the config files required for mso. Change-Id: I0dec96fd6f767d93154e24611b47373bd2245226 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2017-03-08Do not start chef-solo if mso-docker.json is emptyAlexis de Talhouët1-3/+8
Chef-solo is started both from the docker container [1] and from the start-jboss-server.sh script [2]. The Dockerfile is configured to erase the mso-docker.json configuration once applied, so when the container is started, and the strat-jboss-server.sh tries to play the recipes again, it fails as the environment file is empty. This patch adds a check to see if the file is empty, if not, we play the chef-solo recipes again, to overwrite the config. [1]: https://gerrit.openecomp.org/r/gitweb?p=mso.git;a=blob;f=packages/docker/src/main/docker/docker-files/Dockerfile.mso-chef-final;h=ff7f44bcfdba6fa0328cbd50803d3dc80a2a1def;hb=refs/heads/master#l57 [2]: https://gerrit.openecomp.org/r/gitweb?p=mso.git;a=blob;f=packages/docker/src/main/docker/docker-files/scripts/start-jboss-server.sh;h=2e9b9da27dd3d01fcf5ebc304ac03b15142fde53;hb=refs/heads/master#l16 Change-Id: I34573dedaaafbeb6b511f47b72e6e0cefea4e1d5 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2017-03-08Merge "Adding tagging to our staging images"Christophe Closset2-2/+7
2017-03-08Adding tagging to our staging imagesJulienBe2-2/+7
Tags will look like : version-STAGING-commitId If no 'mso.git.commit' passed, last part will be blank Change-Id: I4ba4dc1c6f292e8f1f4d2d0470678712546796e4 Signed-off-by: JulienBe <jb379x@att.com>
2017-03-08OpenECOMP DNS config changeeh552t1-13/+13
In the readme.md file that give an example of value for asdcAddress in mso-docker.json and remove spaces at end of lines Change-Id: I36d19b452951ecf3f5fdf09c4a96c7393b67f808 Signed-off-by: eh552t <eh552t@intl.att.com>
2017-03-07Merge "Hard-code MSO gerrit url"Christophe Closset1-2/+5
2017-03-07Hard-code MSO gerrit urlAlexis de Talhouët1-2/+5
env.GIT_NO_PROJECT is only used in Jenkins. Downstream user don't have knowledge of this variable, but are failing to build because of it. The gerrit url shouldn't be subject to change, hence hard-coding its value in a maven property. Change-Id: Ieed47a282636eafd0556242f56dc0b4d3596ea29 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2017-03-07Remove AT&T HTTP proxy URL from Dockerfile(s)Alexis de Talhouët1-3/+3
As this is now open-source code, they shouldn't be any reference to AT&T proxy settings. One can still configure the HTTP proxy by providing its proxy address, and by enabling it in docker-files/settings.xml. Change-Id: I190dc9e01349a9948b2103fb1791191e89b7399d Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2017-03-06Prepare for Release 1.0.0ChrisC3-4/+4
Change-Id: I54ab6edea94e61dd5dbfdb945bda2f51b5d8fc39 Signed-off-by: ChrisC <cc697w@intl.att.com>
2017-02-20Dynamic and configurable paths for distributionDeterme, Sebastien (sd378r)1-3/+5
Add configurable paths for distributionManagement release and snapshot deploy Change-Id: I3b823dbb1e48409febd8740d4913cf74778f9455 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-02-17Docker image names have switched opencompAnaël Closson1-1/+1
Change-Id: I72c9e82172ec3224656e5db73ae354ad85835dd6 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-02-17Rework Database access classesDeterme, Sebastien (sd378r)4-174/+84
The Catalog Db and Requests DB have been reworked to be extendable by project using MSO opensource. Useless hibernate cfg.xml file have been removed too. Change-Id: I15579bde3913c9faf8eded6f92d6b5239cca512c Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-02-16Use LF env variables for git+sshAnaël Closson1-2/+2
Change-Id: I89a253d84141aafe5ff75b7306514c3f5c897302 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-02-16Docker should clone config firstAnaël Closson2-1/+37
Mso-config and chef-config repos should be clone for docker image builds. Those repositories are taken from official openecomp.org repositories. Change-Id: I754472cc2e28c2ec2021b2c853566e12f8c9fe6b Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-02-15Move Nexus URL base to a propertyAndrew Grimberg1-5/+6
Move the Nexus URL base to a property and fix up all the references to use the new property. This way it is easier to make sure that all URLs are referencing the correct Nexus URL Change-Id: Icabcac4d6b3c968f57678022c0802e394882d826 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2017-02-14Merge "Modification of the MsoLogger methods"Christophe Closset1-436/+589
2017-02-14Update SoapUI tests for APIH Infraxg353y3-88/+242
Adding more failure test cases in the APIH Infra SoapUI file. Update the necessarily file to expose arquillian mariadb port and download mariadb driver so that it could be used in SoapUI test cases. Change-Id: I9c3028128530878b432b521aebd0993f1c9e7dd5 Signed-off-by: xg353y <xg353y@intl.att.com>
2017-02-14Modification of the MsoLogger methodsDeterme, Sebastien (sd378r)1-436/+589
Method Signature changed to let new opensource based project define their own Log Enum Change-Id: I3e010695c6567fbbf8ea0efbea2c89c50938680d Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-02-14Added Staging maven repoeh552t1-0/+5
Added the staging maven repository to be able to build as openstack is not yet in release repository Change-Id: I4ec58433762d1fb6ce707f63f3e26c10a940e51f Signed-off-by: eh552t <eh552t@intl.att.com>
2017-02-10Merge "Removal of powermock injection in WAR"Christophe Closset1-0/+10
2017-02-10Removal of powermock injection in WARDeterme, Sebastien (sd378r)1-0/+10
THere were transitive dependencies to powermock due to the import of the EELF library. This has been excluded from the MSO common lib, and therefore no War importing it will have the powermock anymore Change-Id: I1d3170d52d9e76ffc002adf4f94f55c2bb3d7828 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-02-10Merge changes I6e49fa9d,Icf9b8fc3Christophe Closset8-372/+2119
* changes: SoapUI tests for APIH Infra SoapUI tests for APIH Infra
2017-02-10SoapUI tests for APIH Infraeh552t3-373/+372
Replaces tabs by spaces in MsoRequest.java removed references to com.att in endpoints Change-Id: I6e49fa9d82669d3e205023bf16a40f48e4f56b12 Signed-off-by: eh552t <eh552t@intl.att.com>
2017-02-09Merge "Remove repositories as Docker files dependency"Christophe Closset6-368/+29
2017-02-09Filling part of the blanksJulienBe1-42/+15
Change-Id: Id1175af5e59ef8df92971afa563584e262c6daae Signed-off-by: JulienBe <jb379x@att.com>
2017-02-09SoapUI tests for APIH Infraeh552t7-71/+1819
Added some soapUI tests for testing APIH Infra in Arquilian. Some bug fixes in the Tenant Adapter and VNF adapter SoapUIs. BugFix in case of bad ModelType in a request we gor null pointer Exception. Change-Id: Icf9b8fc344d15860ac8dd11984894b07ecf5b085 Signed-off-by: eh552t <eh552t@intl.att.com>
2017-02-09Remove repositories as Docker files dependencyAnaël Closson6-368/+29
Docker files used to clone git repositories for internal configuration managements. The git repositories should now be clone outside of the image building process and put in a specific directory. See src/main/docker/docker-files/chef-configs/readme.md. Change-Id: I4f8700b5f6e89821d223b7bacae51effb95daf9f Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-02-09Adding docker-composeJulienBe1-0/+34
Change-Id: I84fc67e1c0c83f2831549ac10acd8bfe22315ff6 Signed-off-by: JulienBe <jb379x@att.com>
2017-02-08Update naming to match openecompAnaël Closson6-15/+14
Change-Id: I972f55fa679958e5d76076d991a0a1de3a7d1de1 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-02-08Using openecomp instead of ecompAnaël Closson1-8/+8
Change-Id: I61683cefa4b297cd961c621701eca3dd2eb00186 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-02-08Invalid group id for opensource releaseAnaël Closson1-1/+1
Change-Id: Ic6e50a51634c8900a1055427226e2d509cb4e394 Signed-off-by: Anaël Closson <ac2550@intl.att.com>