Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
83b745b
Removed bintray
dreedyman Apr 9, 2021
a8da821
renamed AnalysisModel to ExploreModel
mwsobol Apr 25, 2021
d51539c
Use Object in Accessor.isAlive(), not Exerter
dreedyman Apr 26, 2021
4b4fdde
Add DATA_PORT system property
dreedyman Apr 26, 2021
20b9614
Merge branch 'multiFi' of https://github.com/mwsobol/SORCER-multiFi i…
dreedyman Apr 26, 2021
5fdb7f3
added design development support
mwsobol May 13, 2021
7bc876d
added initial DesignContext
mwsobol May 17, 2021
12d9c87
testing DesignDevelopment test cases
mwsobol May 19, 2021
ad900fc
testing DesignDevelopment test cases
mwsobol May 19, 2021
497dbdc
8.8.3.18
mwsobol May 21, 2021
10e7834
refactored Design
mwsobol May 24, 2021
c9f8ff1
developed Transdesign class
mwsobol May 25, 2021
d7b3f77
8.8.3.19
mwsobol May 25, 2021
9774537
refactored exceptions and support for distributed Sellar
mwsobol May 28, 2021
caae612
refactoring interfaces for ResponseModel proxy
mwsobol May 29, 2021
5b13a18
8.8.3.21
mwsobol May 29, 2021
998482b
removed id and status from Mogram interface
mwsobol May 30, 2021
7a16919
resolved get with getAt
mwsobol Jun 1, 2021
c05543b
Mogram interface refactored
mwsobol Jun 2, 2021
0461097
fixed loading gradle plugins offline from .m2 (enclave use-case)
burtonsa Jun 4, 2021
70192f8
reconciled interfaces Mogram with Contextion
mwsobol Jun 6, 2021
41d502f
tests fixed for refactored interfaces Mogram-Contextion-Discipline
mwsobol Jun 6, 2021
253e8dc
Merge branch 'multiFi' of github.com:mwsobol/SORCER-multiFi into multiFi
mwsobol Jun 6, 2021
5e6ef5a
discipline via signature support
mwsobol Jun 17, 2021
fb39d8e
discipline via signature support
mwsobol Jun 17, 2021
55af3f5
added simplified signatures
mwsobol Jun 17, 2021
b28436d
explore and analyze operators with short signatures
mwsobol Jun 18, 2021
cb200c3
cleanup
mwsobol Jun 22, 2021
4998ca8
cleanup for testing
mwsobol Jun 23, 2021
f0903b9
cleanup for testing
mwsobol Jun 23, 2021
31e428c
testing TBT
mwsobol Jun 29, 2021
c218fbb
testing aet-struct MDA with analyze
mwsobol Jun 30, 2021
c60820d
added tests for mataobjects
mwsobol Jul 4, 2021
2505c3b
mstc-eng testing
mwsobol Jul 7, 2021
ee73c2f
refactored domains and disciplines active paths declaration
mwsobol Jul 9, 2021
f73f498
added Checkpoint class and tests
mwsobol Jul 27, 2021
fa31dae
developed TransdisciplineService class
mwsobol Jul 27, 2021
4b35119
developed TransdisciplineService and Checkpoint classes
mwsobol Jul 27, 2021
24637ea
operators added for handling Checkpoint
mwsobol Jul 28, 2021
8df325f
operators updated for handling Checkpoint
mwsobol Jul 30, 2021
a81f911
cleanup
mwsobol Aug 2, 2021
93b684b
8.8.3.41
mwsobol Aug 2, 2021
7237fe5
refactored traceList in ServiceContext, still should be improved with…
mwsobol Aug 4, 2021
84b50aa
trace added for tasks
mwsobol Aug 5, 2021
62d187a
8.8.3.43
mwsobol Aug 5, 2021
3880b6c
tracelist unset as in ServiceContext
mwsobol Aug 10, 2021
a4d81f2
cleanup for dobleproxying
mwsobol Aug 11, 2021
032d9a1
added ContextionType for Context
mwsobol Aug 15, 2021
f6b0ca5
added ContextionType for Context
mwsobol Aug 15, 2021
88e56af
cleanup
mwsobol Aug 15, 2021
e20b66c
dev and dvlp reconciled
mwsobol Aug 15, 2021
ba4e14f
support for IntentContext and Transdesign
mwsobol Aug 16, 2021
3c1ee59
refactored transdesign
mwsobol Aug 17, 2021
7920391
cleanup transdesign
mwsobol Aug 17, 2021
2640e31
Fix config type for MATCH_ON_OPSYS
dreedyman Aug 20, 2021
a7aa9d9
added morpher and FidelityManager attributes to Transdesigm
mwsobol Aug 23, 2021
b041b5f
added initial Design Morphers (in and out - MultiFiSlot)
mwsobol Aug 23, 2021
adb2d7a
added in/out morphers to MorphMogram with two test cases
mwsobol Sep 4, 2021
c09f25a
added the selection of a discipline intent in Transdesign per select …
mwsobol Sep 5, 2021
609b370
implemented DesignFidelityManager
mwsobol Sep 6, 2021
7c98f2a
Merge branch 'multiFi' of github.com:mwsobol/SORCER-multiFi into multiFi
mwsobol Sep 6, 2021
ee4793d
operators for intents select fidelities
mwsobol Sep 6, 2021
f798055
operators for intents select fidelities
mwsobol Sep 13, 2021
d482b1f
version with project in place of morph
mwsobol Sep 16, 2021
3fdd9a9
made Desibn as Consumer
mwsobol Sep 20, 2021
448bde2
Fixes for web directory traversal
dreedyman Sep 21, 2021
432535f
Use WebServiceFactory to create Jetty
dreedyman Sep 21, 2021
b1e95d8
Remove rio-cert system property
dreedyman Sep 21, 2021
667faf8
Remove uneeded jar, add start
dreedyman Sep 21, 2021
28c19b5
Correct package name
dreedyman Sep 21, 2021
3b958e3
Remove obsolete dependencies, exclude jetty classes
dreedyman Sep 21, 2021
405e7fa
Update to rio 5.14.2
dreedyman Sep 22, 2021
d8c2eb3
Merge branch 'multiFi' of https://github.com/mwsobol/SORCER-multiFi i…
dreedyman Sep 22, 2021
36265d8
added Intent interface
mwsobol Sep 25, 2021
c274c1d
added Intent interface
mwsobol Sep 25, 2021
08b46ec
added Intent interface
mwsobol Sep 26, 2021
3a00f98
cleanup
mwsobol Sep 26, 2021
207e906
TDML intent operators cleanup
mwsobol Sep 26, 2021
285b321
Remove rio-project.org
dreedyman Sep 27, 2021
fdb3e88
Merge remote-tracking branch 'origin/multiFi' into multiFi
dreedyman Sep 28, 2021
4965838
added Morpheror
mwsobol Sep 30, 2021
2562040
added Morpheror
mwsobol Sep 30, 2021
c2c5a8d
added Morpheror
mwsobol Sep 30, 2021
ea74071
Merge branch 'multiFi' of github.com:mwsobol/SORCER-multiFi into multiFi
mwsobol Sep 30, 2021
1b95eef
added morph design development Fis
mwsobol Oct 1, 2021
e998e9b
made Design as Request
mwsobol Oct 2, 2021
4964379
support for mFi morphers
mwsobol Oct 3, 2021
7975e7a
added disciple fidelity in design
mwsobol Oct 4, 2021
f8e85f2
added disciple fidelity in design
mwsobol Oct 4, 2021
36710ba
added context subject (target) set/get operators
mwsobol Oct 5, 2021
f99098f
support for dev morph fidelities
mwsobol Oct 6, 2021
24af1f7
support for dev morph fidelities
mwsobol Oct 6, 2021
15c8a29
input developer morhers in Design added
mwsobol Oct 7, 2021
f91315d
input/output developer morhers in Design added
mwsobol Oct 8, 2021
0a29761
refactored multifidelity types
mwsobol Nov 7, 2021
443217a
refactored multifidelity types
mwsobol Nov 7, 2021
dfc6f89
renamed fis to prj for Projections
mwsobol Nov 15, 2021
31efd27
renamed fis to prj for Projections
mwsobol Nov 15, 2021
950470e
8.8.3.85
mwsobol Nov 16, 2021
4e5890c
new var name-space
mwsobol Nov 18, 2021
f7322cd
new nested var name-space
mwsobol Nov 21, 2021
a51e68a
testing collaborations
mwsobol Nov 29, 2021
343b429
support for MatrixEvaluator
mwsobol Dec 9, 2021
cad720a
support for subvars
mwsobol Dec 13, 2021
936ed45
support for subvars
mwsobol Dec 13, 2021
8af2817
support for matrix differentiator
mwsobol Dec 16, 2021
e56e1db
support for matrix differentiator
mwsobol Dec 16, 2021
fb1cf43
support for matrix differentiator
mwsobol Dec 17, 2021
8fc9e87
support for matrix differentiator
mwsobol Dec 17, 2021
9c0fca3
support for matrix differentiator
mwsobol Dec 17, 2021
de6564f
8.8.3.95
mwsobol Dec 22, 2021
81012c2
added selectedProjection
mwsobol Dec 26, 2021
65543d2
added selectFi
mwsobol Dec 28, 2021
1620616
cleanup
mwsobol Dec 31, 2021
f9edd3a
with init CombinedDifferentiator
mwsobol Jan 1, 2022
a9b13fd
next version
mwsobol Jan 4, 2022
0f00817
gradient functionality types revised
mwsobol Jan 6, 2022
31f4e97
8.8.3.103
mwsobol Jan 9, 2022
47791ea
8.8.3.105
mwsobol Jan 10, 2022
e23aaa8
8.8.3.106
mwsobol Jan 15, 2022
dba0ee5
added RC class
mwsobol Jan 17, 2022
478a165
cleanup
mwsobol Jan 25, 2022
3428ad1
added computerBuilder, IProcessor, ComputerMakerTest
vkmguy Jan 29, 2022
2a515f7
Merge branch 'master' into vikram
vkmguy Jan 29, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions bin/browser/bin/sorcer-browser.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@
<pathelement location="${rio.lib}/groovy-all-${groovy.version}.jar" />
<pathelement location="${jini.lib}/jsk-lib-${river.version}.jar" />
<pathelement location="${jini.lib}/jsk-platform-${river.version}.jar" />
<pathelement location="${jini.lib}/start-${river.version}.jar" />
<pathelement location="${jini.lib}/outrigger-dl-${river.version}.jar" />
<pathelement location="${jini.lib}/serviceui-${river.version}.jar" />
<pathelement location="${rio.lib}/rio-platform-${rio.version}.jar" />
<pathelement location="${rio-dl.lib}/rio-api-${rio.version}.jar" />
<pathelement location="${rio.lib}/rio-start-${rio.version}.jar" />
<pathelement location="${rio.lib}/rio-lib-${rio.version}.jar" />
<pathelement location="${rio.lib}/logging/slf4j-api-${slf4j.version}.jar" />
<pathelement location="${rio.lib}/logging/jul-to-slf4j-${slf4j.version}.jar" />
Expand All @@ -62,7 +63,7 @@
<sysproperty key="java.protocol.handler.pkgs" value="net.jini.url|sorcer.util.bdb.sos|org.rioproject.url" />
<sysproperty key="java.security.policy" value="../policy/ssb.policy" />
<sysproperty key="rio.home" value="${rio.home}"/>
<sysproperty key="org.rioproject.keystore" value="${rio.home}/config/security/rio-cert.ks"/>
<!-- <sysproperty key="org.rioproject.keystore" value="${rio.home}/config/security/rio-cert.ks"/>-->
<sysproperty key="java.rmi.server.useCodebaseOnly" value="false" />
<sysproperty key="java.net.preferIPv4Stack" value="true" />
<sysproperty key="ssb.logFile" value="${sorcer.home}/bin/browser/logs/browser.log" />
Expand Down
3 changes: 0 additions & 3 deletions bin/shell/bin/startShell
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,6 @@ fi
RIO_CLASSPATH="$RIO_HOME/lib/rio-platform-$rio_version.jar:\
$RIO_HOME/lib/rio-lib-$rio_version.jar:\
$RIO_HOME/lib/rio-start-$rio_version.jar:\
$RIO_HOME/lib-dl/rio-api-$rio_version.jar:\
$RIO_HOME/lib-dl/monitor-api-$rio_version.jar:\
$RIO_HOME/lib/logging/slf4j-api-$slf4j_version.jar:\
$RIO_HOME/lib/logging/logback-core-$logback_version.jar:\
$RIO_HOME/lib/logging/logback-classic-$logback_version.jar:\
Expand Down Expand Up @@ -344,7 +342,6 @@ startShell ( ) {
-Dmodeling.version="$modeling_version" \
-Dsorcer.home="$SORCER_HOME" \
-Drio.home="$RIO_HOME" \
-Dorg.rioproject.keystore="$RIO_HOME"/config/security/rio-cert.ks \
-Djava.protocol.handler.pkgs="net.jini.url|sorcer.util.url|org.rioproject.url" \
-Djava.net.preferIPv4Stack="true" \
-Dtools.jar="$TOOLS_JAR" \
Expand Down
6 changes: 3 additions & 3 deletions bin/shell/configs/nsh-init.config
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ sorcer.tools.shell.ServiceShell {
// application name/startupFile pairs for non-interactive shells, e.g., nsh --browser
applications = new String[] {
"browser", home + "${/}bin${/}browser${/}bin${/}sorcer-browser-spawn.xml",
"f1", home + "${/}modules${/}examples${/}ex6${/}bin${/}f1-req-run.xml",
"f5", home + "${/}modules${/}examples${/}ex6${/}bin${/}f5-req-run.xml",
"f5a", home + "${/}modules${/}examples${/}bin${/}f5a-req-run.xml"
"f1", home + "${/}modules${/}examples${/}ex6${/}bin${/}f1-srv-run.xml",
"f5", home + "${/}modules${/}examples${/}ex6${/}bin${/}f5-srv-run.xml",
"f5a", home + "${/}modules${/}examples${/}bin${/}f5a-srv-run.xml"
};

exertionDeploymentConfig = "${iGrid.home}/bin/sorcer/jobber/configs/ExertionDeploymentConfig.groovy";
Expand Down
8 changes: 2 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ String ref = new File(rootProject.projectDir, ".git/HEAD").text
int ndx = ref.lastIndexOf("/")
String branch = ref.substring(ndx+1).trim()
String branchRef = branch.equals("master")?"":"-$branch"

version = "8.8.5$branchRef"

version = "8.8.3.107$branchRef"
apply plugin: 'idea'
idea {
project {
Expand Down Expand Up @@ -157,7 +155,6 @@ subprojects {
mavenLocal()
if (!enclave) {
maven { url "https://repo.repsy.io/mvn/mwsobol/sorcersoft"}
maven { url "https://dl.bintray.com/dreedyman/maven"}
maven { url "https://repo.repsy.io/mvn/dreedy/maven" }
mavenCentral()
} else {
Expand Down Expand Up @@ -249,8 +246,7 @@ if (JavaVersion.current().isJava8Compatible()) {
*/
task allJavadoc(type: Javadoc) {
options.links = ['http://docs.oracle.com/javase/8/docs/api/',
'https://river.apache.org/doc/api/',
'http://www.rio-project.org/apidocs']
'https://river.apache.org/doc/api/']
exclude '**/*Test.java'
exclude '**/edu/*'
description = 'Creates SORCER API Specification, view them in build/javadoc/index.html'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
import net.jini.id.Uuid;
import sorcer.core.UEID;
import sorcer.service.Exec;
import sorcer.service.Routine;
import sorcer.service.ExertionInfo;
import sorcer.service.Routine;
import sorcer.service.MonitorException;

import java.rmi.RemoteException;
Expand Down Expand Up @@ -52,12 +52,12 @@ public interface MonitorUIManagement {
/**
* The spec requires that this method gets all the monitorable exertion
* infos from all the monitor managers and return a Hashtable where
*
*
* key -> ExertionReferenceID execute -> Some info regarding this exertion
*
*
* @throws RemoteException
* if there is a communication error
*
*
*/
Map<Uuid, ExertionInfo> getMonitorableExertionInfo(Exec.State aspect, Principal principal)
throws RemoteException, MonitorException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,16 @@
*/
package sorcer.core.monitor;

import net.jini.id.Uuid;
import sorcer.service.Exec;
import sorcer.service.MonitorException;
import sorcer.service.Monitorable;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.security.Principal;
import java.util.Map;

public interface MonitoringManagement extends Monitorable, MonitorManagement,
MonitorSessionManagement, MonitorUIManagement, Remote {

}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* @author Dennis Reedy
*/
public interface Monitor {
enum Status {SUBMITTED, ACTIVE, COMPLETED, FAILED }
enum Status { SUBMITTED, ACTIVE, COMPLETED, FAILED }

/**
* Clients first register with the {@code Monitor} service in order provide status. Clients are responsible
Expand Down
45 changes: 43 additions & 2 deletions core/sorcer-dl/src/main/java/sorcer/service/Arg.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import sorcer.core.Index;
import sorcer.core.Tag;
import sorcer.service.modeling.Conditional;
import sorcer.service.modeling.Functionality;

import java.io.Serializable;
Expand Down Expand Up @@ -50,6 +51,14 @@ public static ContextDomain selectDomain(Arg[] args) {
return null;
}

public static Conditional selectCheckpoint(Arg[] args) {
for (Arg arg : args) {
if (arg instanceof Conditional)
return (Conditional) arg;
}
return null;
}

public static Context selectContext(Arg[] args) {
for (Arg arg : args) {
if (arg instanceof Context)
Expand All @@ -74,8 +83,8 @@ public static Mogram selectMogram(Arg[] args) {
return null;
}

public static List<Fidelity> selectFidelities(Arg[] args) {
List<Fidelity> fiList = new ArrayList<>();
public static List<Fi> selectFidelities(Arg[] args) {
List<Fi> fiList = new ArrayList<>();
for (Arg arg : args) {
if (arg instanceof Fidelity)
fiList.add((Fidelity) arg);
Expand All @@ -101,6 +110,38 @@ public static Service selectService(Arg[] args) {
return null;
}

public static Signature.Type selectSignatureType(Arg[] args) {
for (Arg arg : args) {
if (arg instanceof Signature.Type)
return (Signature.Type) arg;
}
return null;
}

public static Response.Type selectResponseType(Arg[] args) {
for (Arg arg : args) {
if (arg instanceof Response.Type)
return (Response.Type) arg;
}
return null;
}

public static Context.Type selectContextType(Arg[] args) {
for (Arg arg : args) {
if (arg instanceof Context.Type)
return (Context.Type) arg;
}
return null;
}

public static Functionality.Type selectFunctionalityType(Arg[] args) {
for (Arg arg : args) {
if (arg instanceof Functionality.Type)
return (Functionality.Type) arg;
}
return null;
}

public static Path selectPath(Arg[] args) {
for (Arg arg : args) {
if (arg instanceof Path)
Expand Down
11 changes: 10 additions & 1 deletion core/sorcer-dl/src/main/java/sorcer/service/ArgSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
* limitations under the License.
*/

import sorcer.core.Tag;

import java.rmi.RemoteException;
import java.util.*;

Expand Down Expand Up @@ -134,7 +136,14 @@ public Arg[] toArray() {
Arg[] va = new Arg[size()];
return toArray(va);
}


public static ArgSet asSet(Object[] array) {
ArgSet vl = new ArgSet();
for (Object v : array)
vl.add(new Tag(v.toString()));
return vl;
}

public static ArgSet asSet(Arg[] array) {
ArgSet vl = new ArgSet();
for (Arg v : array)
Expand Down
39 changes: 34 additions & 5 deletions core/sorcer-dl/src/main/java/sorcer/service/Context.java
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ public interface Context<T> extends ContextDomain, Selfable, Response, Serializa
final static String MDA_PATH = "domain" + SorcerConstants.CPS + "mda"
+ SorcerConstants.CPS + "component";

final static String DEV_PATH = "design" + SorcerConstants.CPS + "dev"
+ SorcerConstants.CPS + "component";

final static String EXPLORER_PATH = "domain" + SorcerConstants.CPS + "explorer"
+ SorcerConstants.CPS + "component";

Expand All @@ -201,6 +204,8 @@ public interface Context<T> extends ContextDomain, Selfable, Response, Serializa

final static String DOMAIN_OUTPUTS_PATH = "transdomain" + SorcerConstants.CPS + "domain" + SorcerConstants.CPS + "outputs";

final static String CHECKPOINT_ITERATION = "checkpoint" + SorcerConstants.CPS + "iteration";

/**
* An object to specify no context execute.
*/
Expand Down Expand Up @@ -761,10 +766,10 @@ public T getValue(Path path, Arg... args)
*
* @param path
* the attribute-based path
* @return the value as-is at the path
* @throws ContextException
* @return
*/
public T asis(String path);
public Object asis(String path);

public T asis(Path path) throws ContextException;

Expand Down Expand Up @@ -951,7 +956,7 @@ public T putInoutValue(String path, T value, String association)

public int size();

Discipline getChild(String name) throws ContextException;
Contextion getChild(String name) throws ContextException;

public Return getContextReturn();

Expand All @@ -961,8 +966,32 @@ public T putInoutValue(String path, T value, String association)

public void setContextReturn(Return requestPath);

public enum Type {
ASSOCIATIVE, SHARED, POSITIONAL, LIST, SCOPE, INDEXED, ARRAY
public enum Type implements Arg {
ASSOCIATIVE, SHARED, POSITIONAL, LIST, SCOPE, INDEXED, ARRAY, DESIGN, CONTEXT, RESPONSE;

@Override
public String getName() {
return toString();
}

@Override
public Object execute(Arg... args) throws ServiceException, RemoteException {
return this;
}
}

public enum IntentType implements Arg {
DATA, EXEC, EXERT, EVALUATE, DEVELOP, ANALYZE, MDA, SEARCH, OPTIMIZE, OPTI, EXPLORE, MADO, SVISE, HVISE;

@Override
public String getName() {
return toString();
}

@Override
public Object execute(Arg... args) throws ServiceException, RemoteException {
return this;
}
}

final static String PARAMETER_TYPES = "context/parameter/types";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public interface ContextDomain extends Domain {
ContextDomain add(Identifiable... objects) throws ContextException,
RemoteException;

Path getPath(String path) throws ContextException;
Path getPath(String path) throws ContextException, RemoteException;

Object getValue(Path path, Arg... args) throws ContextException, RemoteException;
}
Loading