Move adsal into its own subdirectory. Moved various adsal components into an opendaylight/adsal subdir, gave it a parent pom, and changed the root parent pom to have the opendaylight/adsal as a module. Change-Id: I1d0e5a7b2a50c65559c2f80dd47cab491b68d561 Signed-off-by: Ed Warnicke <eaw@cisco.com>
Added DELETE on cors.allowed.methods for a few missing nb bundles. Also added toString() method to a few Neutron backend classes. Change-Id: I484b785384c802bc47463567f5f0d7670eb044c3 Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
Address @XmlSeeAlso limitation. Provide the ability to inject the JAXB types without having the need to explicitly define the inherited types with @XmlSeelAlso. Introduced BundleScanner service which scans bundle classes for annotations dynamically and provides proper artifacts for NB applications to bootstrap. Eliminate the need for NB application extensions. Change-Id: I08b6a30a551f63a304732e8fdda9a594d1a6ca93 Signed-off-by: Prasanth Pallamreddy <ppallamr@cisco.com>
Added CorsFilter to enable secure cross site scripting This is in addition to Ed's original Cors Filter changes. Default Cors Config doesnt seem to work in certain scenarios. Added some custom configurations and also added it per-bundle (started with Flow & i will add it to other bundles once this is verified). Also, by default AngularJS like frameworks uses HTTP OPTIONS method to check for server options and that doesnt carry authentication headers. Hence in order for the cors to work properly, we have to ignore authentication for OPTIONS method alone. This is taken care in the web.xml configuration for all the northbound bundle. See: http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#CORS_Filter And: http://en.wikipedia.org/wiki/Cross-origin_resource_sharing This is done to allow a web page using javascript to be able to make calls to our REST APIs even though it does not originate in our domain. Added CorsFilter bundle in Third Party to bring in the class as a Fragment on the org.apache.catalina bundle. Added CorsFilter to the web/root web.xml file so it will be used for all WebApps. Fixed the northbound integration tests Change-Id: I29435c5820613982ef691e03a1d446bc7f958537 Signed-off-by: Madhu Venugopal <vmadhu@cisco.com>
Reverting because it caused instability to the northbound, wondering why verify didn't catch those. Revert "Added CorsFilter to enable secure cross site scripting" This reverts commit 8cbcc63bbb004b50c66ce3c65d0b8d7943c8ffac Change-Id: I41e292b91dfff6c7ceefe33f92f63c081ca2e499
Added CorsFilter to enable secure cross site scripting This is in addition to Ed's original Cors Filter changes. Default Cors Config doesnt seem to work in certain scenarios. Added some custom configurations and also added it per-bundle (started with Flow & i will add it to other bundles once this is verified). Also, by default AngularJS like frameworks uses HTTP OPTIONS method to check for server options and that doesnt carry authentication headers. Hence in order for the cors to work properly, we have to ignore authentication for OPTIONS method alone. This is taken care in the web.xml configuration for all the northbound bundle. See: http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#CORS_Filter And: http://en.wikipedia.org/wiki/Cross-origin_resource_sharing This is done to allow a web page using javascript to be able to make calls to our REST APIs even though it does not originate in our domain. Added CorsFilter bundle in Third Party to bring in the class as a Fragment on the org.apache.catalina bundle. Added CorsFilter to the web/root web.xml file so it will be used for all WebApps. Change-Id: I5fc6a53f2046816984fab722b841730c0eee396a Signed-off-by: Madhu Venugopal <vmadhu@cisco.com>
Enable checkstyle for other non-source files Just to make sure there is uniformity of threatment, also other files are being exposed to checkstyle, limited to space and tabs rules. Along with the rules, bulk changing the code to avoid breakages in the build. Change-Id: I11c6a10d00fc7fc6a14d41369e2a39fd6ad01d6b Signed-off-by: Giovanni Meo <gmeo@cisco.com>
Changing NB API authentication/authorization to use Tomcat Valve. Affected modules 1. Flow Programmer 2. Host Tracker 3. Static Roting 4. Statistics 5. Subnets 6. Switch Manager 7. Topology 8. Loadbalancer Change-Id: I94267ed1878c49b9615e956aa816473361ded8f2 Signed-off-by: Venkatraghavan Sankarasubbu <vensanka@cisco.com>
OpenDaylight Controller functional modules. Change-Id: I1cd6668738099e8db3cfe83f812a92c922ced38c Signed-off-by: Madhu Venugopal <vmadhu@cisco.com>