summaryrefslogtreecommitdiffstats
path: root/appc-lifecycle-management/pom.xml
blob: 08fae11fa99046a3d0fbdd8160ca450c12598876 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <parent>
        <groupId>org.onap.appc</groupId>
        <artifactId>appc</artifactId>
        <version>1.3.0-SNAPSHOT</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <artifactId>appc-lifecycle-management</artifactId>
    <packaging>pom</packaging>
    <name>APPC Lifecycle Management</name>
    <description>APPC Lifecycle Management</description>

    <dependencies>
        <dependency>
            <groupId>org.onap.appc</groupId>
            <artifactId>appc-common</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.felix</groupId>
                    <artifactId>maven-bundle-plugin</artifactId>
                    <extensions>true</extensions>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
    <!-- ================================================================================== -->
    <!-- The modules we build -->
    <!-- ================================================================================== -->
    <modules>
        <module>appc-lifecycle-management-api</module>
        <module>state-machine-lib</module>
        <module>appc-lifecycle-management-core</module>
        <module>appc-lifecycle-management-features</module>
        <module>appc-lifecycle-management-installer</module>
    </modules>

</project>
either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Unless otherwise specified, all documentation contained herein is licensed * under the Creative Commons License, Attribution 4.0 Intl. (the "License"); * you may not use this documentation except in compliance with the License. * You may obtain a copy of the License at * * https://creativecommons.org/licenses/by/4.0/ * * Unless required by applicable law or agreed to in writing, documentation * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * ============LICENSE_END============================================ * * */ package org.onap.portalapp.controller.sample; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.onap.portalsdk.core.controller.RestrictedBaseController; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.servlet.ModelAndView; /** * Controller for a network map view that uses iframes. The view is restricted * to authenticated users. */ @Controller @RequestMapping("/") public class NetMapController extends RestrictedBaseController { @RequestMapping(value = { "/net_map" }, method = RequestMethod.GET) public ModelAndView plot(HttpServletRequest request) { Map<String, Object> model = new HashMap<String, Object>(); model.put("frame_int", "net_map_int"); // This view resolves to page frame_insert.jsp return new ModelAndView("frame_insert", model); } @RequestMapping(value = { "/net_map_int" }, method = RequestMethod.GET) public ModelAndView plot2() { // The view name defaults to the request without any suffix. final String defaultViewName = null; // This view resolves to page net_map.jsp return new ModelAndView(defaultViewName); } }