Browse code

[api] BM-12657 Feat: php scheduled job

David Phan authored on 10/01/2018 07:25:03
Showing 8 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,7 @@
0
+<?xml version="1.0" encoding="UTF-8"?>
1
+<classpath>
2
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
3
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
4
+	<classpathentry kind="src" path="src/"/>
5
+	<classpathentry kind="output" path="target/classes"/>
6
+</classpath>
0 7
new file mode 100644
... ...
@@ -0,0 +1,30 @@
0
+<?xml version="1.0"?>
1
+<projectDescription>
2
+	<name>net.bluemind.scheduledjob.api.php</name>
3
+	<comment/>
4
+	<projects>
5
+	</projects>
6
+	<buildSpec>
7
+		<buildCommand>
8
+			<name>org.eclipse.jdt.core.javabuilder</name>
9
+			<arguments>
10
+			</arguments>
11
+		</buildCommand>
12
+		<buildCommand>
13
+			<name>org.eclipse.pde.ManifestBuilder</name>
14
+			<arguments>
15
+			</arguments>
16
+		</buildCommand>
17
+		<buildCommand>
18
+			<name>org.eclipse.pde.SchemaBuilder</name>
19
+			<arguments>
20
+			</arguments>
21
+		</buildCommand>
22
+		
23
+	</buildSpec>
24
+	<natures>
25
+		
26
+		<nature>org.eclipse.pde.PluginNature</nature>
27
+		<nature>org.eclipse.jdt.core.javanature</nature>
28
+	</natures>
29
+</projectDescription>
0 30
new file mode 100644
... ...
@@ -0,0 +1,9 @@
0
+Manifest-Version: 1.0
1
+Bundle-ManifestVersion: 2
2
+Bundle-Name: net.bluemind.scheduledjob.api.php
3
+Bundle-SymbolicName: net.bluemind.scheduledjob.api.php
4
+Bundle-Version: 3.1.0.qualifier
5
+Bundle-Vendor: www.blue-mind.net
6
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8
7
+Require-Bundle: net.bluemind.core.commons.php;bundle-version="1.0.0",
8
+ net.bluemind.scheduledjob.api;bundle-version="1.0.0"
0 9
new file mode 100644
... ...
@@ -0,0 +1,3 @@
0
+source.. = src/
1
+bin.includes = META-INF/,\
2
+               .
0 3
new file mode 100644
... ...
@@ -0,0 +1,32 @@
0
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2
+	<modelVersion>4.0.0</modelVersion>
3
+	<artifactId>net.bluemind.scheduledjob.api.php</artifactId>
4
+	<packaging>eclipse-plugin</packaging>
5
+
6
+	<parent>
7
+		<groupId>net.bluemind</groupId>
8
+		<artifactId>php-libs</artifactId>
9
+		<version>3.1.0-SNAPSHOT</version>
10
+	</parent>
11
+	
12
+	<build>
13
+		<plugins>
14
+			<plugin>
15
+				<groupId>net.bluemind</groupId>
16
+				<artifactId>net.bluemind.codegen.php</artifactId>
17
+
18
+				<configuration>
19
+					<apiName>net.bluemind.scheduledjob.api</apiName>
20
+				</configuration>
21
+				<executions>
22
+					<execution>
23
+						<goals>
24
+							<goal>php-gen</goal>
25
+						</goals>
26
+					</execution>
27
+				</executions>
28
+			</plugin>
29
+		</plugins>
30
+	</build>
31
+</project>
0 32
new file mode 100644
... ...
@@ -41,6 +41,7 @@
41 41
 		<module>net.bluemind.attachment.api.php</module>
42 42
 		<module>net.bluemind.mailmessage.api.php</module>
43 43
 		<module>net.bluemind.mailflow.common.api.php</module>
44
+		<module>net.bluemind.scheduledjob.api.php</module>
44 45
 	</modules>
45 46
 
46 47
 	<build>
... ...
@@ -151,6 +151,11 @@
151 151
 			<artifactId>net.bluemind.mailflow.common.api.php</artifactId>
152 152
 			<version>${project.version}</version>
153 153
 		</dependency>
154
+		<dependency>
155
+			<groupId>net.bluemind</groupId>
156
+			<artifactId>net.bluemind.scheduledjob.api.php</artifactId>
157
+			<version>${project.version}</version>
158
+		</dependency>
154 159
 	</dependencies>
155 160
 	<build>
156 161
 		<plugins>