Activity Spec Service - Implementation

Correcting error message.
InternalEmptyObject not required to be serializable.
Fixed review comments on Patch Set 10. Not all fixed
Adding services profile in main sdc pom.Moving Static imports at end.
Patch Set 7 changes
Patch Set 6 - Removing javax.inject. Remove user from interface and
Changing scope to be singleton. Correcting error message
Patch Set 4 Not fixing Spring related review comments in this patch set
Patch Set 4 Fixed review comments related to unused dependency
Fixed review comments for plugin version. Corrected License
Adding Activity Spec Service Implementation
Not adding to main sdc pom as of now

Change-Id: I5285c0ab3b71b492d18ca442ebd52b59ab0eabdc
Issue-ID: SDC-1048
Signed-off-by: sheetalm <sheetal.mudholkar@amdocs.com>
diff --git a/services/activity-spec/activity-spec-web/activity-spec-war/pom.xml b/services/activity-spec/activity-spec-web/activity-spec-war/pom.xml
new file mode 100644
index 0000000..dba3209
--- /dev/null
+++ b/services/activity-spec/activity-spec-web/activity-spec-war/pom.xml
@@ -0,0 +1,78 @@
+<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">
+    <modelVersion>4.0.0</modelVersion>
+        
+    <artifactId>activityspec-war</artifactId>
+    <name>activityspec-war</name>
+    <packaging>war</packaging>
+        
+    <parent>
+        <groupId>org.openecomp.activityspec</groupId>
+        <artifactId>activity-spec-web</artifactId>
+        <version>1.2.0-SNAPSHOT</version>
+        <relativePath>../</relativePath>
+    </parent>
+        
+    <dependencies>
+        <dependency>
+                <groupId>org.openecomp.activityspec</groupId>
+                <artifactId>activity-spec-service</artifactId>
+                <version>${project.version}</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+                <plugin>
+                    <artifactId>maven-war-plugin</artifactId>
+                    <version>${mvn.war.version}</version>
+                    <configuration>
+                        <attachClasses>true</attachClasses>
+                        <webResources>
+                            <resource>
+                                <!-- this is relative to the pom.xml directory -->
+                                <directory>${basedir}/target/generated/swagger-ui</directory>
+                            </resource>
+                        </webResources>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>com.github.kongchen</groupId>
+                    <artifactId>swagger-maven-plugin</artifactId>
+                    <version>${mvn.swagger.version}</version>
+                    <configuration>
+                        <apiSources>
+                            <apiSource>
+                                <springmvc>false</springmvc>
+                                <locations>org.openecomp.activityspec</locations>
+                                <schemes>http</schemes>
+                                <basePath>/activityspec-api</basePath>
+                                <info>
+                                    <title>Rest API</title>
+                                    <version>v1.0, build #${buildNumber}</version>
+                                    <description>Rest API Documentation</description>
+                                    <termsOfService>
+                                        http://www.github.com/kongchen/swagger-maven-plugin
+                                    </termsOfService>
+                                </info>
+                                <templatePath>${basedir}/templates/strapdown.html.hbs</templatePath>
+                                <outputPath>${basedir}/target/generated/api.html</outputPath>
+                                <swaggerDirectory>${basedir}/target/generated/swagger-ui
+                                </swaggerDirectory>
+                            </apiSource>
+                        </apiSources>
+                    </configuration>
+                    <executions>
+                        <execution>
+                            <phase>compile</phase>
+                            <goals>
+                                <goal>generate</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
+            </plugins>
+    </build>
+        
+</project>
\ No newline at end of file