[jboss-svn-commits] JBL Code SVN: r23279 - in labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client: bin and 3 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Oct 3 00:00:49 EDT 2008
Author: michael.neale at jboss.com
Date: 2008-10-03 00:00:49 -0400 (Fri, 03 Oct 2008)
New Revision: 23279
Removed:
labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/.classpath
labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/.project
labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/bin/com/notidiots/MortgageApplicationTest.class
labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/bin/mortgageapproval.properties
labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/src/com/notidiots/MortgageApplicationTest.java
labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/src/mortgageapproval.properties
Log:
not needed here
Deleted: labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/.classpath
===================================================================
--- labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/.classpath 2008-10-03 03:59:23 UTC (rev 23278)
+++ labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/.classpath 2008-10-03 04:00:49 UTC (rev 23279)
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="lib" path="lib/drools-core-5.0.0.MR2.jar"/>
- <classpathentry kind="lib" path="lib/mvel-2.0M2.jar"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
Deleted: labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/.project
===================================================================
--- labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/.project 2008-10-03 03:59:23 UTC (rev 23278)
+++ labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/.project 2008-10-03 04:00:49 UTC (rev 23279)
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>mortgage-client</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
Deleted: labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/bin/com/notidiots/MortgageApplicationTest.class
===================================================================
(Binary files differ)
Deleted: labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/bin/mortgageapproval.properties
===================================================================
--- labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/bin/mortgageapproval.properties 2008-10-03 03:59:23 UTC (rev 23278)
+++ labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/bin/mortgageapproval.properties 2008-10-03 04:00:49 UTC (rev 23279)
@@ -1,33 +0,0 @@
-##
-## RuleAgent configuration file example
-##
-
-#setting this means the rulebase will be created fresh whenever there are
-#changes
-newInstance=true
-
-#this points to a binary compiled rule package, you can have spaces
-#seperating multiple files
-#file=/foo/bar/boo.pkg /foo/bar/boo2.pkg
-
-#this specifies that packages may appear in a directory
-#it will pick up whatever files are dumped in there (.pkg files like above)
-#dir=/my/dir
-
-#this specifies a list of urls for packages - these urls
-#are those that are exposed by the BRMS
-url=http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/mortgages/TEST
-
-#the following can be used with the urls to keep a local cache
-#so if the runtime server is restarted, the BRMS does not need
-#to be available
-#localCacheDir=
-
-#this specifies the frequency at which the sources will be checked for
-#changes (in seconds). If you don't set this, it will mean that you have
-#to manually poll
-poll=30
-
-
-#this specifies the name of this config, necessary in case logging is used.
-name=MyConfig
\ No newline at end of file
Deleted: labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/src/com/notidiots/MortgageApplicationTest.java
===================================================================
--- labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/src/com/notidiots/MortgageApplicationTest.java 2008-10-03 03:59:23 UTC (rev 23278)
+++ labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/src/com/notidiots/MortgageApplicationTest.java 2008-10-03 04:00:49 UTC (rev 23279)
@@ -1,37 +0,0 @@
-package com.notidiots;
-
-import org.drools.RuleBase;
-import org.drools.agent.RuleAgent;
-import org.drools.rule.FactType;
-
-public class MortgageApplicationTest {
-
- /**
- * @param args
- * @throws IllegalAccessException
- * @throws InstantiationException
- */
- public static void main(String[] args) throws InstantiationException, IllegalAccessException {
- RuleAgent agent = RuleAgent.newRuleAgent("/mortgageapproval.properties");
- RuleBase rb = agent.getRuleBase();
-
- FactType appType = rb.getFactType("mortgages.LoanApplication");
- FactType incomeType = rb.getFactType("mortgages.IncomeSource");
-
- Object application = appType.newInstance();
- Object income = incomeType.newInstance();
-
- appType.set(application, "amount", 25000);
- appType.set(application, "deposit", 1500);
- appType.set(application, "lengthYears", 20);
-
- incomeType.set(income, "type", "Job");
- incomeType.set(income, "amount", 65000);
-
-
- rb.newStatelessSession().execute(new Object[] {application, income});
-
- System.out.println(application);
- }
-
-}
Deleted: labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/src/mortgageapproval.properties
===================================================================
--- labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/src/mortgageapproval.properties 2008-10-03 03:59:23 UTC (rev 23278)
+++ labs/jbossrules/trunk/drools-examples/drools-examples-brms/mortgage-client/src/mortgageapproval.properties 2008-10-03 04:00:49 UTC (rev 23279)
@@ -1,33 +0,0 @@
-##
-## RuleAgent configuration file example
-##
-
-#setting this means the rulebase will be created fresh whenever there are
-#changes
-newInstance=true
-
-#this points to a binary compiled rule package, you can have spaces
-#seperating multiple files
-#file=/foo/bar/boo.pkg /foo/bar/boo2.pkg
-
-#this specifies that packages may appear in a directory
-#it will pick up whatever files are dumped in there (.pkg files like above)
-#dir=/my/dir
-
-#this specifies a list of urls for packages - these urls
-#are those that are exposed by the BRMS
-url=http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/mortgages/TEST
-
-#the following can be used with the urls to keep a local cache
-#so if the runtime server is restarted, the BRMS does not need
-#to be available
-#localCacheDir=
-
-#this specifies the frequency at which the sources will be checked for
-#changes (in seconds). If you don't set this, it will mean that you have
-#to manually poll
-poll=30
-
-
-#this specifies the name of this config, necessary in case logging is used.
-name=MyConfig
\ No newline at end of file
More information about the jboss-svn-commits
mailing list