diff --git a/.gitignore b/.gitignore index 15eb707f20..a08442ac11 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /report/ /commit_authors.txt /id_ed25519 +**/*-sources.jar \ No newline at end of file diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/.checkstyle b/de.dlr.sc.virsat.external.lib.jersey.apache/.checkstyle new file mode 100644 index 0000000000..18174367fb --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.jersey.apache/.checkstyle @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/.classpath b/de.dlr.sc.virsat.external.lib.jersey.apache/.classpath new file mode 100644 index 0000000000..036ee90bad --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.jersey.apache/.classpath @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/.project b/de.dlr.sc.virsat.external.lib.jersey.apache/.project new file mode 100644 index 0000000000..740ee16f09 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.jersey.apache/.project @@ -0,0 +1,40 @@ + + + de.dlr.sc.virsat.external.lib.jersey.apache + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.m2e.core.maven2Nature + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + net.sf.eclipsecs.core.CheckstyleNature + + diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/edu.umd.cs.findbugs.core.prefs b/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/edu.umd.cs.findbugs.core.prefs new file mode 100644 index 0000000000..eaaad8dbb0 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/edu.umd.cs.findbugs.core.prefs @@ -0,0 +1,144 @@ +#SpotBugs User Preferences +#Tue Jan 21 14:54:00 CET 2020 +detectorAppendingToAnObjectOutputStream=AppendingToAnObjectOutputStream|true +detectorAtomicityProblem=AtomicityProblem|true +detectorBadAppletConstructor=BadAppletConstructor|false +detectorBadResultSetAccess=BadResultSetAccess|true +detectorBadSyntaxForRegularExpression=BadSyntaxForRegularExpression|true +detectorBadUseOfReturnValue=BadUseOfReturnValue|true +detectorBadlyOverriddenAdapter=BadlyOverriddenAdapter|true +detectorBooleanReturnNull=BooleanReturnNull|true +detectorCallToUnsupportedMethod=CallToUnsupportedMethod|false +detectorCheckExpectedWarnings=CheckExpectedWarnings|false +detectorCheckImmutableAnnotation=CheckImmutableAnnotation|true +detectorCheckRelaxingNullnessAnnotation=CheckRelaxingNullnessAnnotation|true +detectorCheckTypeQualifiers=CheckTypeQualifiers|true +detectorCloneIdiom=CloneIdiom|true +detectorComparatorIdiom=ComparatorIdiom|true +detectorConfusedInheritance=ConfusedInheritance|true +detectorConfusionBetweenInheritedAndOuterMethod=ConfusionBetweenInheritedAndOuterMethod|true +detectorCovariantArrayAssignment=CovariantArrayAssignment|false +detectorCrossSiteScripting=CrossSiteScripting|true +detectorDefaultEncodingDetector=DefaultEncodingDetector|true +detectorDoInsideDoPrivileged=DoInsideDoPrivileged|true +detectorDontCatchIllegalMonitorStateException=DontCatchIllegalMonitorStateException|true +detectorDontIgnoreResultOfPutIfAbsent=DontIgnoreResultOfPutIfAbsent|true +detectorDontUseEnum=DontUseEnum|true +detectorDroppedException=DroppedException|true +detectorDumbMethodInvocations=DumbMethodInvocations|true +detectorDumbMethods=DumbMethods|true +detectorDuplicateBranches=DuplicateBranches|true +detectorEmptyZipFileEntry=EmptyZipFileEntry|false +detectorEqualsOperandShouldHaveClassCompatibleWithThis=EqualsOperandShouldHaveClassCompatibleWithThis|true +detectorExplicitSerialization=ExplicitSerialization|true +detectorFinalizerNullsFields=FinalizerNullsFields|true +detectorFindBadCast2=FindBadCast2|true +detectorFindBadForLoop=FindBadForLoop|true +detectorFindCircularDependencies=FindCircularDependencies|false +detectorFindComparatorProblems=FindComparatorProblems|true +detectorFindDeadLocalStores=FindDeadLocalStores|true +detectorFindDoubleCheck=FindDoubleCheck|true +detectorFindEmptySynchronizedBlock=FindEmptySynchronizedBlock|true +detectorFindFieldSelfAssignment=FindFieldSelfAssignment|true +detectorFindFinalizeInvocations=FindFinalizeInvocations|true +detectorFindFloatEquality=FindFloatEquality|true +detectorFindHEmismatch=FindHEmismatch|true +detectorFindInconsistentSync2=FindInconsistentSync2|true +detectorFindJSR166LockMonitorenter=FindJSR166LockMonitorenter|true +detectorFindLocalSelfAssignment2=FindLocalSelfAssignment2|true +detectorFindMaskedFields=FindMaskedFields|true +detectorFindMismatchedWaitOrNotify=FindMismatchedWaitOrNotify|true +detectorFindNakedNotify=FindNakedNotify|true +detectorFindNonShortCircuit=FindNonShortCircuit|true +detectorFindNullDeref=FindNullDeref|true +detectorFindNullDerefsInvolvingNonShortCircuitEvaluation=FindNullDerefsInvolvingNonShortCircuitEvaluation|true +detectorFindOpenStream=FindOpenStream|true +detectorFindPuzzlers=FindPuzzlers|true +detectorFindRefComparison=FindRefComparison|true +detectorFindReturnRef=FindReturnRef|true +detectorFindRoughConstants=FindRoughConstants|true +detectorFindRunInvocations=FindRunInvocations|true +detectorFindSelfComparison=FindSelfComparison|true +detectorFindSelfComparison2=FindSelfComparison2|true +detectorFindSleepWithLockHeld=FindSleepWithLockHeld|true +detectorFindSpinLoop=FindSpinLoop|true +detectorFindSqlInjection=FindSqlInjection|true +detectorFindTwoLockWait=FindTwoLockWait|true +detectorFindUncalledPrivateMethods=FindUncalledPrivateMethods|true +detectorFindUnconditionalWait=FindUnconditionalWait|true +detectorFindUninitializedGet=FindUninitializedGet|true +detectorFindUnrelatedTypesInGenericContainer=FindUnrelatedTypesInGenericContainer|true +detectorFindUnreleasedLock=FindUnreleasedLock|true +detectorFindUnsatisfiedObligation=FindUnsatisfiedObligation|true +detectorFindUnsyncGet=FindUnsyncGet|true +detectorFindUseOfNonSerializableValue=FindUseOfNonSerializableValue|true +detectorFindUselessControlFlow=FindUselessControlFlow|true +detectorFindUselessObjects=FindUselessObjects|true +detectorFormatStringChecker=FormatStringChecker|true +detectorHugeSharedStringConstants=HugeSharedStringConstants|true +detectorIDivResultCastToDouble=IDivResultCastToDouble|true +detectorIncompatMask=IncompatMask|true +detectorInconsistentAnnotations=InconsistentAnnotations|true +detectorInefficientIndexOf=InefficientIndexOf|false +detectorInefficientInitializationInsideLoop=InefficientInitializationInsideLoop|false +detectorInefficientMemberAccess=InefficientMemberAccess|false +detectorInefficientToArray=InefficientToArray|false +detectorInfiniteLoop=InfiniteLoop|true +detectorInfiniteRecursiveLoop=InfiniteRecursiveLoop|true +detectorInheritanceUnsafeGetResource=InheritanceUnsafeGetResource|true +detectorInitializationChain=InitializationChain|true +detectorInitializeNonnullFieldsInConstructor=InitializeNonnullFieldsInConstructor|true +detectorInstantiateStaticClass=InstantiateStaticClass|true +detectorIntCast2LongAsInstant=IntCast2LongAsInstant|true +detectorInvalidJUnitTest=InvalidJUnitTest|true +detectorIteratorIdioms=IteratorIdioms|true +detectorLazyInit=LazyInit|true +detectorLoadOfKnownNullValue=LoadOfKnownNullValue|true +detectorLostLoggerDueToWeakReference=LostLoggerDueToWeakReference|true +detectorMethodReturnCheck=MethodReturnCheck|true +detectorMultithreadedInstanceAccess=MultithreadedInstanceAccess|true +detectorMutableEnum=MutableEnum|true +detectorMutableLock=MutableLock|true +detectorMutableStaticFields=MutableStaticFields|true +detectorNaming=Naming|true +detectorNoteUnconditionalParamDerefs=NoteUnconditionalParamDerefs|true +detectorNumberConstructor=NumberConstructor|true +detectorOptionalReturnNull=OptionalReturnNull|true +detectorOverridingEqualsNotSymmetrical=OverridingEqualsNotSymmetrical|true +detectorPreferZeroLengthArrays=PreferZeroLengthArrays|true +detectorPublicSemaphores=PublicSemaphores|false +detectorQuestionableBooleanAssignment=QuestionableBooleanAssignment|true +detectorReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass=ReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass|true +detectorReadReturnShouldBeChecked=ReadReturnShouldBeChecked|true +detectorRedundantConditions=RedundantConditions|true +detectorRedundantInterfaces=RedundantInterfaces|true +detectorRepeatedConditionals=RepeatedConditionals|true +detectorRuntimeExceptionCapture=RuntimeExceptionCapture|true +detectorSerializableIdiom=SerializableIdiom|true +detectorStartInConstructor=StartInConstructor|true +detectorStaticCalendarDetector=StaticCalendarDetector|true +detectorStringConcatenation=StringConcatenation|true +detectorSuperfluousInstanceOf=SuperfluousInstanceOf|true +detectorSuspiciousThreadInterrupted=SuspiciousThreadInterrupted|true +detectorSwitchFallthrough=SwitchFallthrough|true +detectorSynchronizationOnSharedBuiltinConstant=SynchronizationOnSharedBuiltinConstant|true +detectorSynchronizeAndNullCheckField=SynchronizeAndNullCheckField|true +detectorSynchronizeOnClassLiteralNotGetClass=SynchronizeOnClassLiteralNotGetClass|true +detectorSynchronizingOnContentsOfFieldToProtectField=SynchronizingOnContentsOfFieldToProtectField|true +detectorURLProblems=URLProblems|true +detectorUncallableMethodOfAnonymousClass=UncallableMethodOfAnonymousClass|true +detectorUnnecessaryMath=UnnecessaryMath|true +detectorUnreadFields=UnreadFields|true +detectorUselessSubclassMethod=UselessSubclassMethod|false +detectorVarArgsProblems=VarArgsProblems|true +detectorVolatileUsage=VolatileUsage|true +detectorWaitInLoop=WaitInLoop|true +detectorWrongMapIterator=WrongMapIterator|true +detectorXMLFactoryBypass=XMLFactoryBypass|true +detector_threshold=2 +effort=default +excludefilter0=../spotbugs-exclude.xml|true +filter_settings=Medium|BAD_PRACTICE,CORRECTNESS,MT_CORRECTNESS,PERFORMANCE,STYLE|false|20 +filter_settings_neg=MALICIOUS_CODE,SECURITY,EXPERIMENTAL,NOISE,I18N| +includefilter0=../spotbugs-include.xml|true +run_at_full_build=false diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.core.resources.prefs b/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..99f26c0203 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.core.runtime.prefs b/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000000..deae05a977 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +line.separator=\r\n diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.jdt.core.prefs b/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..9f6ece88bd --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.m2e.core.prefs b/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000000..f897a7f1cb --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.mylyn.team.ui.prefs b/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.mylyn.team.ui.prefs new file mode 100644 index 0000000000..426f180206 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.mylyn.team.ui.prefs @@ -0,0 +1,2 @@ +commit.comment.template=Write a Heading here - (Task \#${task.key})\r\n\r\nPut your Message here.\r\n\r\n---\r\nTask \#${task.key}\: ${task.description} +eclipse.preferences.version=1 diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.pde.prefs b/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.pde.prefs new file mode 100644 index 0000000000..2174e4fd5b --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.jersey.apache/.settings/org.eclipse.pde.prefs @@ -0,0 +1,34 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=2 +compilers.p.build.java.compiler=2 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=2 +compilers.p.missing-version-export-package=2 +compilers.p.missing-version-import-package=2 +compilers.p.missing-version-require-bundle=2 +compilers.p.no-required-att=0 +compilers.p.no.automatic.module=1 +compilers.p.not-externalized-att=2 +compilers.p.service.component.without.lazyactivation=1 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/META-INF/MANIFEST.MF b/de.dlr.sc.virsat.external.lib.jersey.apache/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..ce595bb1e8 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.jersey.apache/META-INF/MANIFEST.MF @@ -0,0 +1,71 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: VirSat External Lib - Jersey Apache +Bundle-SymbolicName: de.dlr.sc.virsat.external.lib.jersey.apache +Bundle-Version: 4.13.0.qualifier +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-Vendor: DLR (German Aerospace Center) +Require-Bundle: de.dlr.sc.virsat.external.lib +Bundle-Activator: de.dlr.virsat.external.lib.jersey.apache.Activator +Automatic-Module-Name: de.dlr.sc.virsat.external.lib.jersey.apache +Bundle-ClassPath: ., + externalLib/maven/httpclient.jar, + externalLib/maven/httpcore.jar, + externalLib/maven/commons-logging.jar, + externalLib/maven/org.eclipse.equinox.security.jar +Export-Package: org.apache.commons.logging, + org.apache.commons.logging.impl, + org.apache.http, + org.apache.http.annotation, + org.apache.http.auth, + org.apache.http.auth.params, + org.apache.http.client, + org.apache.http.client.config, + org.apache.http.client.entity, + org.apache.http.client.methods, + org.apache.http.client.params, + org.apache.http.client.protocol, + org.apache.http.client.utils, + org.apache.http.concurrent, + org.apache.http.config, + org.apache.http.conn, + org.apache.http.conn.params, + org.apache.http.conn.routing, + org.apache.http.conn.scheme, + org.apache.http.conn.socket, + org.apache.http.conn.ssl, + org.apache.http.conn.util, + org.apache.http.cookie, + org.apache.http.cookie.params, + org.apache.http.entity, + org.apache.http.impl, + org.apache.http.impl.auth, + org.apache.http.impl.bootstrap, + org.apache.http.impl.client, + org.apache.http.impl.conn, + org.apache.http.impl.conn.tsccm, + org.apache.http.impl.cookie, + org.apache.http.impl.entity, + org.apache.http.impl.execchain, + org.apache.http.impl.io, + org.apache.http.impl.pool, + org.apache.http.io, + org.apache.http.message, + org.apache.http.params, + org.apache.http.pool, + org.apache.http.protocol, + org.apache.http.ssl, + org.apache.http.util, + org.eclipse.equinox.internal.security.auth, + org.eclipse.equinox.internal.security.auth.events, + org.eclipse.equinox.internal.security.auth.ext.loader, + org.eclipse.equinox.internal.security.auth.nls, + org.eclipse.equinox.internal.security.credentials, + org.eclipse.equinox.internal.security.storage, + org.eclipse.equinox.internal.security.storage.friends, + org.eclipse.equinox.internal.security.storage.provider, + org.eclipse.equinox.security.auth, + org.eclipse.equinox.security.auth.credentials, + org.eclipse.equinox.security.auth.module, + org.eclipse.equinox.security.storage, + org.eclipse.equinox.security.storage.provider diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/about_files/THIRD-PARTY.txt b/de.dlr.sc.virsat.external.lib.jersey.apache/about_files/THIRD-PARTY.txt new file mode 100644 index 0000000000..35d98af55e --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.jersey.apache/about_files/THIRD-PARTY.txt @@ -0,0 +1,7 @@ + +Lists of 5 third-party dependencies. + (Apache 2.0) Apache Commons Codec (commons-codec:commons-codec:1.9 - http://commons.apache.org/proper/commons-codec/) + (Apache 2.0) Apache Commons Logging (commons-logging:commons-logging:1.2 - http://commons.apache.org/proper/commons-logging/) + (Apache 2.0) Apache HttpClient (org.apache.httpcomponents:httpclient:4.5.2 - http://hc.apache.org/httpcomponents-client) + (Apache 2.0) Apache HttpCore (org.apache.httpcomponents:httpcore:4.4.4 - http://hc.apache.org/httpcomponents-core-ga) + (Eclipse Public License - v 2.0) Equinox Java Authentication and Authorization Service (JAAS) (org.eclipse.platform:org.eclipse.equinox.security:1.3.500 - http://www.eclipse.org/platform) diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/build.properties b/de.dlr.sc.virsat.external.lib.jersey.apache/build.properties new file mode 100644 index 0000000000..38fd53fd3d --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.jersey.apache/build.properties @@ -0,0 +1,11 @@ +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + about_files/,\ + externalLib/,\ + pom.xml,\ + externalLib/maven/httpclient.jar,\ + externalLib/maven/httpcore.jar,\ + externalLib/maven/commons-logging.jar,\ + externalLib/maven/org.eclipse.equinox.security.jar + \ No newline at end of file diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/externalLib/maven/commons-codec.jar b/de.dlr.sc.virsat.external.lib.jersey.apache/externalLib/maven/commons-codec.jar new file mode 100644 index 0000000000..ef35f1c50d Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.jersey.apache/externalLib/maven/commons-codec.jar differ diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/externalLib/maven/commons-logging.jar b/de.dlr.sc.virsat.external.lib.jersey.apache/externalLib/maven/commons-logging.jar new file mode 100644 index 0000000000..93a3b9f6db Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.jersey.apache/externalLib/maven/commons-logging.jar differ diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/externalLib/maven/httpclient.jar b/de.dlr.sc.virsat.external.lib.jersey.apache/externalLib/maven/httpclient.jar new file mode 100644 index 0000000000..701609fcc8 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.jersey.apache/externalLib/maven/httpclient.jar differ diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/externalLib/maven/httpcore.jar b/de.dlr.sc.virsat.external.lib.jersey.apache/externalLib/maven/httpcore.jar new file mode 100644 index 0000000000..ac4a877302 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.jersey.apache/externalLib/maven/httpcore.jar differ diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/externalLib/maven/org.eclipse.equinox.security.jar b/de.dlr.sc.virsat.external.lib.jersey.apache/externalLib/maven/org.eclipse.equinox.security.jar new file mode 100644 index 0000000000..8bb24e68a4 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.jersey.apache/externalLib/maven/org.eclipse.equinox.security.jar differ diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/pom.xml b/de.dlr.sc.virsat.external.lib.jersey.apache/pom.xml new file mode 100644 index 0000000000..7542244ec7 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.jersey.apache/pom.xml @@ -0,0 +1,40 @@ + + + + + de.dlr.sc.virsat.external.lib.maven.parent + de.dlr.sc.virsat + 4.14.0-SNAPSHOT + ../de.dlr.sc.virsat.external.lib/maven/pom.xml + + + 4.0.0 + de.dlr.sc.virsat.external.lib.jersey.apache + de.dlr.sc.virsat.external.lib.jersey.apache + eclipse-plugin + + + + downloadLibs + + + org.apache.httpcomponents + httpclient + 4.5.2 + + + + org.eclipse.platform + org.eclipse.equinox.security + 1.3.500 + + + + + diff --git a/de.dlr.sc.virsat.external.lib.jersey.apache/src/de/dlr/virsat/external/lib/jersey/apache/Activator.java b/de.dlr.sc.virsat.external.lib.jersey.apache/src/de/dlr/virsat/external/lib/jersey/apache/Activator.java new file mode 100644 index 0000000000..a02f9e991d --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.jersey.apache/src/de/dlr/virsat/external/lib/jersey/apache/Activator.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008-2019 German Aerospace Center (DLR), Simulation and Software Technology, Germany. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + *******************************************************************************/ +package de.dlr.virsat.external.lib.jersey.apache; + +import de.dlr.sc.virsat.external.lib.LibPlugin; + +/** + * The plugin root class which is the entry point for the OSGi bundle activation + * @author fisc_ph + * + */ +public class Activator extends LibPlugin { + + +} \ No newline at end of file diff --git a/de.dlr.sc.virsat.external.lib.jersey/.classpath b/de.dlr.sc.virsat.external.lib.jersey/.classpath index 08c4d56c2e..a988a6b393 100644 --- a/de.dlr.sc.virsat.external.lib.jersey/.classpath +++ b/de.dlr.sc.virsat.external.lib.jersey/.classpath @@ -1,5 +1,6 @@ + diff --git a/de.dlr.sc.virsat.external.lib.jersey/META-INF/MANIFEST.MF b/de.dlr.sc.virsat.external.lib.jersey/META-INF/MANIFEST.MF index 8b3cecf308..dbb7d2b312 100644 --- a/de.dlr.sc.virsat.external.lib.jersey/META-INF/MANIFEST.MF +++ b/de.dlr.sc.virsat.external.lib.jersey/META-INF/MANIFEST.MF @@ -29,6 +29,7 @@ Bundle-ClassPath: ., externalLib/maven/org.eclipse.persistence.core.jar, externalLib/maven/org.eclipse.persistence.moxy.jar, externalLib/maven/osgi-resource-locator.jar, + externalLib/maven/jersey-apache-connector.jar, externalLib/maven/jakarta.servlet-api.jar, externalLib/maven/jersey-test-framework-core.jar, externalLib/maven/javax.servlet-api.jar, @@ -67,10 +68,6 @@ Export-Package: ., javax.json, javax.json.spi, javax.json.stream, - javax.servlet, - javax.servlet.annotation, - javax.servlet.descriptor, - javax.servlet.http, javax.validation, javax.validation.bootstrap, javax.validation.constraints, @@ -304,6 +301,7 @@ Export-Package: ., org.glassfish.hk2.utilities.reflection, org.glassfish.hk2.utilities.reflection.internal, org.glassfish.jersey, + org.glassfish.jersey.apache.connector, org.glassfish.jersey.client, org.glassfish.jersey.client.authentication, org.glassfish.jersey.client.filter, @@ -388,6 +386,7 @@ Export-Package: ., org.jvnet.hk2.internal Bundle-Vendor: DLR (German Aerospace Center) Require-Bundle: de.dlr.sc.virsat.external.lib, - javax.servlet;visibility:=reexport + javax.servlet;visibility:=reexport, + de.dlr.sc.virsat.external.lib.jersey.apache Bundle-Activator: de.dlr.virsat.external.lib.jersey.Activator Automatic-Module-Name: de.dlr.sc.virsat.external.lib.jersey diff --git a/de.dlr.sc.virsat.external.lib.jersey/about_files/THIRD-PARTY.txt b/de.dlr.sc.virsat.external.lib.jersey/about_files/THIRD-PARTY.txt index 8043e5fa36..58223a9968 100644 --- a/de.dlr.sc.virsat.external.lib.jersey/about_files/THIRD-PARTY.txt +++ b/de.dlr.sc.virsat.external.lib.jersey/about_files/THIRD-PARTY.txt @@ -1,11 +1,15 @@ -Lists of 34 third-party dependencies. +Lists of 39 third-party dependencies. + (Apache 2.0) Apache Commons Codec (commons-codec:commons-codec:1.11 - http://commons.apache.org/proper/commons-codec/) + (Apache 2.0) Apache Commons Logging (commons-logging:commons-logging:1.2 - http://commons.apache.org/proper/commons-logging/) (EPL 2.0) (GPL2 w/ CPE) Jakarta Annotations API (jakarta.annotation:jakarta.annotation-api:1.3.5 - https://projects.eclipse.org/projects/ee4j.ca) (EPL 2.0) (GPL2 w/ CPE) Jakarta JSON Processing API (jakarta.json:jakarta.json-api:1.1.6 - https://github.com/eclipse-ee4j/jsonp) (EPL 2.0) (GPL2 w/ CPE) Jakarta Servlet (jakarta.servlet:jakarta.servlet-api:4.0.3 - https://projects.eclipse.org/projects/ee4j.servlet) (Apache 2.0) Jakarta Bean Validation API (jakarta.validation:jakarta.validation-api:2.0.2 - https://beanvalidation.org) (EPL 2.0) (GPL2 w/ CPE) jakarta.ws.rs-api (jakarta.ws.rs:jakarta.ws.rs-api:2.1.6 - https://github.com/eclipse-ee4j/jaxrs-api) (CDDL + GPLv2 with classpath exception) Java Servlet API (javax.servlet:javax.servlet-api:3.1.0 - http://servlet-spec.java.net) + (Apache 2.0) Apache HttpClient (org.apache.httpcomponents:httpclient:4.5.9 - http://hc.apache.org/httpcomponents-client) + (Apache 2.0) Apache HttpCore (org.apache.httpcomponents:httpcore:4.4.11 - http://hc.apache.org/httpcomponents-core-ga) (Apache Software License - Version 2.0) (Eclipse Public License - Version 1.0) Jetty :: Continuation (org.eclipse.jetty:jetty-continuation:9.4.27.v20200227 - http://www.eclipse.org/jetty) (Apache Software License - Version 2.0) (Eclipse Public License - Version 1.0) Jetty :: Http Utility (org.eclipse.jetty:jetty-http:9.4.27.v20200227 - http://www.eclipse.org/jetty) (Apache Software License - Version 2.0) (Eclipse Public License - Version 1.0) Jetty :: IO Utility (org.eclipse.jetty:jetty-io:9.4.27.v20200227 - http://www.eclipse.org/jetty) @@ -21,6 +25,7 @@ Lists of 34 third-party dependencies. (EPL 2.0) (GPL2 w/ CPE) OSGi resource locator (org.glassfish.hk2:osgi-resource-locator:1.0.3 - https://projects.eclipse.org/projects/ee4j/osgi-resource-locator) (EPL 2.0) (GPL2 w/ CPE) aopalliance version 1.0 repackaged as a module (org.glassfish.hk2.external:aopalliance-repackaged:2.6.1 - https://github.com/eclipse-ee4j/glassfish-hk2/external/aopalliance-repackaged) (EPL 2.0) (GPL2 w/ CPE) javax.inject:1 as OSGi bundle (org.glassfish.hk2.external:jakarta.inject:2.6.1 - https://github.com/eclipse-ee4j/glassfish-hk2/external/jakarta.inject) + (Apache 2.0) (BSD 2-Clause) (EDL 1.0) (EPL 2.0) (GPL2 w/ CPE) (MIT) (Modified BSD) (Public Domain) (W3C license) (jQuery license) jersey-connectors-apache (org.glassfish.jersey.connectors:jersey-apache-connector:2.31 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-apache-connector) (Apache 2.0) (BSD 2-Clause) (EDL 1.0) (EPL 2.0) (GPL2 w/ CPE) (MIT) (Modified BSD) (Public Domain) (W3C license) (jQuery license) jersey-container-jetty-http (org.glassfish.jersey.containers:jersey-container-jetty-http:2.31 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-jetty-http) (Apache 2.0) (BSD 2-Clause) (EDL 1.0) (EPL 2.0) (GPL2 w/ CPE) (MIT) (Modified BSD) (Public Domain) (W3C license) (jQuery license) jersey-container-servlet (org.glassfish.jersey.containers:jersey-container-servlet:2.31 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-servlet) (Apache 2.0) (BSD 2-Clause) (EDL 1.0) (EPL 2.0) (GPL2 w/ CPE) (MIT) (Modified BSD) (Public Domain) (W3C license) (jQuery license) jersey-container-servlet-core (org.glassfish.jersey.containers:jersey-container-servlet-core:2.31 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-servlet-core) diff --git a/de.dlr.sc.virsat.external.lib.jersey/build.properties b/de.dlr.sc.virsat.external.lib.jersey/build.properties index 193fe042fc..22e5d2b6b0 100644 --- a/de.dlr.sc.virsat.external.lib.jersey/build.properties +++ b/de.dlr.sc.virsat.external.lib.jersey/build.properties @@ -29,6 +29,7 @@ bin.includes = META-INF/,\ externalLib/maven/org.eclipse.persistence.core.jar,\ externalLib/maven/org.eclipse.persistence.moxy.jar,\ externalLib/maven/osgi-resource-locator.jar,\ + externalLib/maven/jersey-apache-connector.jar,\ externalLib/maven/jakarta.servlet-api.jar,\ externalLib/maven/jersey-test-framework-core.jar,\ externalLib/maven/javax.servlet-api.jar,\ diff --git a/de.dlr.sc.virsat.external.lib.jersey/externalLib/maven/commons-codec.jar b/de.dlr.sc.virsat.external.lib.jersey/externalLib/maven/commons-codec.jar new file mode 100644 index 0000000000..22451206dd Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.jersey/externalLib/maven/commons-codec.jar differ diff --git a/de.dlr.sc.virsat.external.lib.jersey/externalLib/maven/commons-logging.jar b/de.dlr.sc.virsat.external.lib.jersey/externalLib/maven/commons-logging.jar new file mode 100644 index 0000000000..93a3b9f6db Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.jersey/externalLib/maven/commons-logging.jar differ diff --git a/de.dlr.sc.virsat.external.lib.jersey/externalLib/maven/httpclient.jar b/de.dlr.sc.virsat.external.lib.jersey/externalLib/maven/httpclient.jar new file mode 100644 index 0000000000..83bc29dbe4 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.jersey/externalLib/maven/httpclient.jar differ diff --git a/de.dlr.sc.virsat.external.lib.jersey/externalLib/maven/httpcore.jar b/de.dlr.sc.virsat.external.lib.jersey/externalLib/maven/httpcore.jar new file mode 100644 index 0000000000..c31d401438 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.jersey/externalLib/maven/httpcore.jar differ diff --git a/de.dlr.sc.virsat.external.lib.jersey/externalLib/maven/jersey-apache-connector.jar b/de.dlr.sc.virsat.external.lib.jersey/externalLib/maven/jersey-apache-connector.jar new file mode 100644 index 0000000000..20349bb859 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.jersey/externalLib/maven/jersey-apache-connector.jar differ diff --git a/de.dlr.sc.virsat.external.lib.jersey/pom.xml b/de.dlr.sc.virsat.external.lib.jersey/pom.xml index 360085e67d..5a00e3c9a8 100644 --- a/de.dlr.sc.virsat.external.lib.jersey/pom.xml +++ b/de.dlr.sc.virsat.external.lib.jersey/pom.xml @@ -127,6 +127,11 @@ + + org.glassfish.jersey.connectors + jersey-apache-connector + ${jersey.version} + diff --git a/de.dlr.sc.virsat.external.lib.lyo/.checkstyle b/de.dlr.sc.virsat.external.lib.lyo/.checkstyle new file mode 100644 index 0000000000..18174367fb --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.lyo/.checkstyle @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/de.dlr.sc.virsat.external.lib.lyo/.classpath b/de.dlr.sc.virsat.external.lib.lyo/.classpath new file mode 100644 index 0000000000..93dab09428 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.lyo/.classpath @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/de.dlr.sc.virsat.external.lib.lyo/.project b/de.dlr.sc.virsat.external.lib.lyo/.project new file mode 100644 index 0000000000..f21c7a6cb5 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.lyo/.project @@ -0,0 +1,40 @@ + + + de.dlr.sc.virsat.external.lib.lyo + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.m2e.core.maven2Nature + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + net.sf.eclipsecs.core.CheckstyleNature + + diff --git a/de.dlr.sc.virsat.external.lib.lyo/.settings/edu.umd.cs.findbugs.core.prefs b/de.dlr.sc.virsat.external.lib.lyo/.settings/edu.umd.cs.findbugs.core.prefs new file mode 100644 index 0000000000..eaaad8dbb0 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.lyo/.settings/edu.umd.cs.findbugs.core.prefs @@ -0,0 +1,144 @@ +#SpotBugs User Preferences +#Tue Jan 21 14:54:00 CET 2020 +detectorAppendingToAnObjectOutputStream=AppendingToAnObjectOutputStream|true +detectorAtomicityProblem=AtomicityProblem|true +detectorBadAppletConstructor=BadAppletConstructor|false +detectorBadResultSetAccess=BadResultSetAccess|true +detectorBadSyntaxForRegularExpression=BadSyntaxForRegularExpression|true +detectorBadUseOfReturnValue=BadUseOfReturnValue|true +detectorBadlyOverriddenAdapter=BadlyOverriddenAdapter|true +detectorBooleanReturnNull=BooleanReturnNull|true +detectorCallToUnsupportedMethod=CallToUnsupportedMethod|false +detectorCheckExpectedWarnings=CheckExpectedWarnings|false +detectorCheckImmutableAnnotation=CheckImmutableAnnotation|true +detectorCheckRelaxingNullnessAnnotation=CheckRelaxingNullnessAnnotation|true +detectorCheckTypeQualifiers=CheckTypeQualifiers|true +detectorCloneIdiom=CloneIdiom|true +detectorComparatorIdiom=ComparatorIdiom|true +detectorConfusedInheritance=ConfusedInheritance|true +detectorConfusionBetweenInheritedAndOuterMethod=ConfusionBetweenInheritedAndOuterMethod|true +detectorCovariantArrayAssignment=CovariantArrayAssignment|false +detectorCrossSiteScripting=CrossSiteScripting|true +detectorDefaultEncodingDetector=DefaultEncodingDetector|true +detectorDoInsideDoPrivileged=DoInsideDoPrivileged|true +detectorDontCatchIllegalMonitorStateException=DontCatchIllegalMonitorStateException|true +detectorDontIgnoreResultOfPutIfAbsent=DontIgnoreResultOfPutIfAbsent|true +detectorDontUseEnum=DontUseEnum|true +detectorDroppedException=DroppedException|true +detectorDumbMethodInvocations=DumbMethodInvocations|true +detectorDumbMethods=DumbMethods|true +detectorDuplicateBranches=DuplicateBranches|true +detectorEmptyZipFileEntry=EmptyZipFileEntry|false +detectorEqualsOperandShouldHaveClassCompatibleWithThis=EqualsOperandShouldHaveClassCompatibleWithThis|true +detectorExplicitSerialization=ExplicitSerialization|true +detectorFinalizerNullsFields=FinalizerNullsFields|true +detectorFindBadCast2=FindBadCast2|true +detectorFindBadForLoop=FindBadForLoop|true +detectorFindCircularDependencies=FindCircularDependencies|false +detectorFindComparatorProblems=FindComparatorProblems|true +detectorFindDeadLocalStores=FindDeadLocalStores|true +detectorFindDoubleCheck=FindDoubleCheck|true +detectorFindEmptySynchronizedBlock=FindEmptySynchronizedBlock|true +detectorFindFieldSelfAssignment=FindFieldSelfAssignment|true +detectorFindFinalizeInvocations=FindFinalizeInvocations|true +detectorFindFloatEquality=FindFloatEquality|true +detectorFindHEmismatch=FindHEmismatch|true +detectorFindInconsistentSync2=FindInconsistentSync2|true +detectorFindJSR166LockMonitorenter=FindJSR166LockMonitorenter|true +detectorFindLocalSelfAssignment2=FindLocalSelfAssignment2|true +detectorFindMaskedFields=FindMaskedFields|true +detectorFindMismatchedWaitOrNotify=FindMismatchedWaitOrNotify|true +detectorFindNakedNotify=FindNakedNotify|true +detectorFindNonShortCircuit=FindNonShortCircuit|true +detectorFindNullDeref=FindNullDeref|true +detectorFindNullDerefsInvolvingNonShortCircuitEvaluation=FindNullDerefsInvolvingNonShortCircuitEvaluation|true +detectorFindOpenStream=FindOpenStream|true +detectorFindPuzzlers=FindPuzzlers|true +detectorFindRefComparison=FindRefComparison|true +detectorFindReturnRef=FindReturnRef|true +detectorFindRoughConstants=FindRoughConstants|true +detectorFindRunInvocations=FindRunInvocations|true +detectorFindSelfComparison=FindSelfComparison|true +detectorFindSelfComparison2=FindSelfComparison2|true +detectorFindSleepWithLockHeld=FindSleepWithLockHeld|true +detectorFindSpinLoop=FindSpinLoop|true +detectorFindSqlInjection=FindSqlInjection|true +detectorFindTwoLockWait=FindTwoLockWait|true +detectorFindUncalledPrivateMethods=FindUncalledPrivateMethods|true +detectorFindUnconditionalWait=FindUnconditionalWait|true +detectorFindUninitializedGet=FindUninitializedGet|true +detectorFindUnrelatedTypesInGenericContainer=FindUnrelatedTypesInGenericContainer|true +detectorFindUnreleasedLock=FindUnreleasedLock|true +detectorFindUnsatisfiedObligation=FindUnsatisfiedObligation|true +detectorFindUnsyncGet=FindUnsyncGet|true +detectorFindUseOfNonSerializableValue=FindUseOfNonSerializableValue|true +detectorFindUselessControlFlow=FindUselessControlFlow|true +detectorFindUselessObjects=FindUselessObjects|true +detectorFormatStringChecker=FormatStringChecker|true +detectorHugeSharedStringConstants=HugeSharedStringConstants|true +detectorIDivResultCastToDouble=IDivResultCastToDouble|true +detectorIncompatMask=IncompatMask|true +detectorInconsistentAnnotations=InconsistentAnnotations|true +detectorInefficientIndexOf=InefficientIndexOf|false +detectorInefficientInitializationInsideLoop=InefficientInitializationInsideLoop|false +detectorInefficientMemberAccess=InefficientMemberAccess|false +detectorInefficientToArray=InefficientToArray|false +detectorInfiniteLoop=InfiniteLoop|true +detectorInfiniteRecursiveLoop=InfiniteRecursiveLoop|true +detectorInheritanceUnsafeGetResource=InheritanceUnsafeGetResource|true +detectorInitializationChain=InitializationChain|true +detectorInitializeNonnullFieldsInConstructor=InitializeNonnullFieldsInConstructor|true +detectorInstantiateStaticClass=InstantiateStaticClass|true +detectorIntCast2LongAsInstant=IntCast2LongAsInstant|true +detectorInvalidJUnitTest=InvalidJUnitTest|true +detectorIteratorIdioms=IteratorIdioms|true +detectorLazyInit=LazyInit|true +detectorLoadOfKnownNullValue=LoadOfKnownNullValue|true +detectorLostLoggerDueToWeakReference=LostLoggerDueToWeakReference|true +detectorMethodReturnCheck=MethodReturnCheck|true +detectorMultithreadedInstanceAccess=MultithreadedInstanceAccess|true +detectorMutableEnum=MutableEnum|true +detectorMutableLock=MutableLock|true +detectorMutableStaticFields=MutableStaticFields|true +detectorNaming=Naming|true +detectorNoteUnconditionalParamDerefs=NoteUnconditionalParamDerefs|true +detectorNumberConstructor=NumberConstructor|true +detectorOptionalReturnNull=OptionalReturnNull|true +detectorOverridingEqualsNotSymmetrical=OverridingEqualsNotSymmetrical|true +detectorPreferZeroLengthArrays=PreferZeroLengthArrays|true +detectorPublicSemaphores=PublicSemaphores|false +detectorQuestionableBooleanAssignment=QuestionableBooleanAssignment|true +detectorReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass=ReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass|true +detectorReadReturnShouldBeChecked=ReadReturnShouldBeChecked|true +detectorRedundantConditions=RedundantConditions|true +detectorRedundantInterfaces=RedundantInterfaces|true +detectorRepeatedConditionals=RepeatedConditionals|true +detectorRuntimeExceptionCapture=RuntimeExceptionCapture|true +detectorSerializableIdiom=SerializableIdiom|true +detectorStartInConstructor=StartInConstructor|true +detectorStaticCalendarDetector=StaticCalendarDetector|true +detectorStringConcatenation=StringConcatenation|true +detectorSuperfluousInstanceOf=SuperfluousInstanceOf|true +detectorSuspiciousThreadInterrupted=SuspiciousThreadInterrupted|true +detectorSwitchFallthrough=SwitchFallthrough|true +detectorSynchronizationOnSharedBuiltinConstant=SynchronizationOnSharedBuiltinConstant|true +detectorSynchronizeAndNullCheckField=SynchronizeAndNullCheckField|true +detectorSynchronizeOnClassLiteralNotGetClass=SynchronizeOnClassLiteralNotGetClass|true +detectorSynchronizingOnContentsOfFieldToProtectField=SynchronizingOnContentsOfFieldToProtectField|true +detectorURLProblems=URLProblems|true +detectorUncallableMethodOfAnonymousClass=UncallableMethodOfAnonymousClass|true +detectorUnnecessaryMath=UnnecessaryMath|true +detectorUnreadFields=UnreadFields|true +detectorUselessSubclassMethod=UselessSubclassMethod|false +detectorVarArgsProblems=VarArgsProblems|true +detectorVolatileUsage=VolatileUsage|true +detectorWaitInLoop=WaitInLoop|true +detectorWrongMapIterator=WrongMapIterator|true +detectorXMLFactoryBypass=XMLFactoryBypass|true +detector_threshold=2 +effort=default +excludefilter0=../spotbugs-exclude.xml|true +filter_settings=Medium|BAD_PRACTICE,CORRECTNESS,MT_CORRECTNESS,PERFORMANCE,STYLE|false|20 +filter_settings_neg=MALICIOUS_CODE,SECURITY,EXPERIMENTAL,NOISE,I18N| +includefilter0=../spotbugs-include.xml|true +run_at_full_build=false diff --git a/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.core.resources.prefs b/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..99f26c0203 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.core.runtime.prefs b/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000000..deae05a977 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +line.separator=\r\n diff --git a/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.jdt.core.prefs b/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..9f6ece88bd --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.m2e.core.prefs b/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000000..f897a7f1cb --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.mylyn.team.ui.prefs b/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.mylyn.team.ui.prefs new file mode 100644 index 0000000000..426f180206 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.mylyn.team.ui.prefs @@ -0,0 +1,2 @@ +commit.comment.template=Write a Heading here - (Task \#${task.key})\r\n\r\nPut your Message here.\r\n\r\n---\r\nTask \#${task.key}\: ${task.description} +eclipse.preferences.version=1 diff --git a/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.pde.prefs b/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.pde.prefs new file mode 100644 index 0000000000..2174e4fd5b --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.lyo/.settings/org.eclipse.pde.prefs @@ -0,0 +1,34 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=2 +compilers.p.build.java.compiler=2 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=2 +compilers.p.missing-version-export-package=2 +compilers.p.missing-version-import-package=2 +compilers.p.missing-version-require-bundle=2 +compilers.p.no-required-att=0 +compilers.p.no.automatic.module=1 +compilers.p.not-externalized-att=2 +compilers.p.service.component.without.lazyactivation=1 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/de.dlr.sc.virsat.external.lib.lyo/META-INF/MANIFEST.MF b/de.dlr.sc.virsat.external.lib.lyo/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..31a75807ce --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.lyo/META-INF/MANIFEST.MF @@ -0,0 +1,462 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: VirSat External Lib - Lyo +Bundle-SymbolicName: de.dlr.sc.virsat.external.lib.lyo +Bundle-Version: 4.13.0.qualifier +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-Vendor: DLR (German Aerospace Center) +Require-Bundle: de.dlr.sc.virsat.external.lib, + de.dlr.sc.virsat.external.lib.jersey +Bundle-Activator: de.dlr.sc.virsat.external.lib.lyo.Activator +Automatic-Module-Name: de.dlr.sc.virsat.external.lib.lyo +Bundle-ClassPath: ., + externalLib/maven/oauth.jar, + externalLib/maven/wink-client.jar, + externalLib/maven/wink-common.jar, + externalLib/maven/slf4j-api.jar, + externalLib/maven/oslc4j-jena-provider.jar, + externalLib/maven/oslc4j-json4j-provider.jar, + externalLib/maven/javax.ws.rs-api.jar, + externalLib/maven/javax.annotation-api.jar, + externalLib/maven/javax.servlet-api.jar, + externalLib/maven/jena-rdfconnection.jar, + externalLib/maven/jena-core.jar, + externalLib/maven/jena-base.jar, + externalLib/maven/jena-iri.jar, + externalLib/maven/oslc-client.jar, + externalLib/maven/commons-cli-sources.jar, + externalLib/maven/commons-cli.jar, + externalLib/maven/httpcore-sources.jar, + externalLib/maven/httpcore.jar, + externalLib/maven/jakarta.ws.rs-api.jar, + externalLib/maven/javax.annotation-api-sources.jar, + externalLib/maven/javax.servlet-api-sources.jar, + externalLib/maven/javax.ws.rs-api-sources.jar, + externalLib/maven/jaxb-api-sources.jar, + externalLib/maven/jena-arq-sources.jar, + externalLib/maven/jena-arq.jar, + externalLib/maven/jena-base-sources.jar, + externalLib/maven/jena-core-sources.jar, + externalLib/maven/jena-dboe-base-sources.jar, + externalLib/maven/jena-dboe-base.jar, + externalLib/maven/jena-dboe-index-sources.jar, + externalLib/maven/jena-dboe-index.jar, + externalLib/maven/jena-dboe-storage-sources.jar, + externalLib/maven/jena-dboe-storage.jar, + externalLib/maven/jena-dboe-trans-data-sources.jar, + externalLib/maven/jena-dboe-trans-data.jar, + externalLib/maven/jena-dboe-transaction-sources.jar, + externalLib/maven/jena-dboe-transaction.jar, + externalLib/maven/jena-iri-sources.jar, + externalLib/maven/jena-rdfconnection-sources.jar, + externalLib/maven/jena-shacl-sources.jar, + externalLib/maven/jena-shacl.jar, + externalLib/maven/jena-shaded-guava-sources.jar, + externalLib/maven/jena-tdb-sources.jar, + externalLib/maven/jena-tdb.jar, + externalLib/maven/jena-tdb2-sources.jar, + externalLib/maven/jena-tdb2.jar, + externalLib/maven/jsonld-java-sources.jar, + externalLib/maven/oauth-consumer-sources.jar, + externalLib/maven/oauth-httpclient4-sources.jar, + externalLib/maven/oauth-sources.jar, + externalLib/maven/oslc-client-sources.jar, + externalLib/maven/oslc-java-client-resources-sources.jar, + externalLib/maven/oslc-java-client-resources.jar, + externalLib/maven/oslc-java-client-sources.jar, + externalLib/maven/oslc4j-core-sources.jar, + externalLib/maven/oslc4j-jena-provider-sources.jar, + externalLib/maven/oslc4j-json4j-provider-sources.jar, + externalLib/maven/slf4j-api-sources.jar, + externalLib/maven/slf4j-log4j12-sources.jar, + externalLib/maven/slf4j-log4j12.jar, + externalLib/maven/wink-json4j-sources.jar, + externalLib/maven/wink-json4j.jar, + externalLib/maven/oslc-client-base-sources.jar, + externalLib/maven/oslc-java-client.jar, + externalLib/maven/libthrift.jar, + externalLib/maven/commons-lang3.jar, + externalLib/maven/jena-shaded-guava.jar, + externalLib/maven/jackson-annotations.jar, + externalLib/maven/jackson-core.jar, + externalLib/maven/jackson-databind.jar, + externalLib/maven/oauth-consumer.jar, + externalLib/maven/oauth-httpclient4.jar, + externalLib/maven/jsonld-java.jar, + externalLib/maven/oslc-client-base.jar, + externalLib/maven/classgraph.jar, + externalLib/maven/oslc-domains.jar, + externalLib/maven/oslc4j-core.jar, + externalLib/maven/log4j.jar, + externalLib/maven/slf4j-simple.jar, + externalLib/maven/commons-logging.jar, + externalLib/maven/httpclient.jar +Export-Package: de.dlr.sc.virsat.external.lib.lyo, + io.github.classgraph, + javax.annotation, + javax.annotation.security, + javax.annotation.sql, + javax.servlet, + javax.servlet.annotation, + javax.servlet.descriptor, + javax.servlet.http, + net.oauth, + net.oauth.client, + net.oauth.client.httpclient4, + net.oauth.http, + net.oauth.signature, + net.oauth.signature.pem, + org.apache.commons.cli, + org.apache.commons.lang3, + org.apache.commons.lang3.arch, + org.apache.commons.lang3.builder, + org.apache.commons.lang3.compare, + org.apache.commons.lang3.concurrent, + org.apache.commons.lang3.concurrent.locks, + org.apache.commons.lang3.event, + org.apache.commons.lang3.exception, + org.apache.commons.lang3.function, + org.apache.commons.lang3.math, + org.apache.commons.lang3.mutable, + org.apache.commons.lang3.reflect, + org.apache.commons.lang3.stream, + org.apache.commons.lang3.text, + org.apache.commons.lang3.text.translate, + org.apache.commons.lang3.time, + org.apache.commons.lang3.tuple, + org.apache.jena, + org.apache.jena.assembler, + org.apache.jena.assembler.assemblers, + org.apache.jena.assembler.exceptions, + org.apache.jena.atlas, + org.apache.jena.atlas.csv, + org.apache.jena.atlas.data, + org.apache.jena.atlas.event, + org.apache.jena.atlas.io, + org.apache.jena.atlas.iterator, + org.apache.jena.atlas.json, + org.apache.jena.atlas.json.io, + org.apache.jena.atlas.json.io.parser, + org.apache.jena.atlas.json.io.parserjavacc, + org.apache.jena.atlas.json.io.parserjavacc.javacc, + org.apache.jena.atlas.lib, + org.apache.jena.atlas.lib.cache, + org.apache.jena.atlas.lib.persistent, + org.apache.jena.atlas.lib.tuple, + org.apache.jena.atlas.logging, + org.apache.jena.atlas.logging.java, + org.apache.jena.atlas.test, + org.apache.jena.atlas.web, + org.apache.jena.base, + org.apache.jena.datatypes, + org.apache.jena.datatypes.xsd, + org.apache.jena.datatypes.xsd.impl, + org.apache.jena.dboe, + org.apache.jena.dboe.base, + org.apache.jena.dboe.base.block, + org.apache.jena.dboe.base.buffer, + org.apache.jena.dboe.base.file, + org.apache.jena.dboe.base.page, + org.apache.jena.dboe.base.record, + org.apache.jena.dboe.base.recordbuffer, + org.apache.jena.dboe.index, + org.apache.jena.dboe.storage, + org.apache.jena.dboe.storage.prefixes, + org.apache.jena.dboe.storage.simple, + org.apache.jena.dboe.storage.system, + org.apache.jena.dboe.sys, + org.apache.jena.dboe.test, + org.apache.jena.dboe.trans.bplustree, + org.apache.jena.dboe.trans.bplustree.rewriter, + org.apache.jena.dboe.trans.data, + org.apache.jena.dboe.transaction, + org.apache.jena.dboe.transaction.txn, + org.apache.jena.dboe.transaction.txn.journal, + org.apache.jena.enhanced, + org.apache.jena.ext.com.google.common.annotations, + org.apache.jena.ext.com.google.common.base, + org.apache.jena.ext.com.google.common.base.internal, + org.apache.jena.ext.com.google.common.cache, + org.apache.jena.ext.com.google.common.collect, + org.apache.jena.ext.com.google.common.escape, + org.apache.jena.ext.com.google.common.eventbus, + org.apache.jena.ext.com.google.common.graph, + org.apache.jena.ext.com.google.common.hash, + org.apache.jena.ext.com.google.common.html, + org.apache.jena.ext.com.google.common.io, + org.apache.jena.ext.com.google.common.math, + org.apache.jena.ext.com.google.common.net, + org.apache.jena.ext.com.google.common.primitives, + org.apache.jena.ext.com.google.common.reflect, + org.apache.jena.ext.com.google.common.util.concurrent, + org.apache.jena.ext.com.google.common.util.concurrent.internal, + org.apache.jena.ext.com.google.common.xml, + org.apache.jena.ext.com.google.thirdparty.publicsuffix, + org.apache.jena.ext.xerces, + org.apache.jena.ext.xerces.impl, + org.apache.jena.ext.xerces.impl.dv, + org.apache.jena.ext.xerces.impl.dv.util, + org.apache.jena.ext.xerces.impl.dv.xs, + org.apache.jena.ext.xerces.impl.validation, + org.apache.jena.ext.xerces.impl.xpath.regex, + org.apache.jena.ext.xerces.impl.xs, + org.apache.jena.ext.xerces.impl.xs.util, + org.apache.jena.ext.xerces.jaxp.datatype, + org.apache.jena.ext.xerces.util, + org.apache.jena.ext.xerces.xni, + org.apache.jena.ext.xerces.xs, + org.apache.jena.ext.xerces.xs.datatypes, + org.apache.jena.graph, + org.apache.jena.graph.compose, + org.apache.jena.graph.impl, + org.apache.jena.iri, + org.apache.jena.iri.impl, + org.apache.jena.mem, + org.apache.jena.ontology, + org.apache.jena.ontology.impl, + org.apache.jena.query, + org.apache.jena.rdf.listeners, + org.apache.jena.rdf.model, + org.apache.jena.rdf.model.impl, + org.apache.jena.rdfconnection, + org.apache.jena.rdfconnection.examples, + org.apache.jena.rdfxml.xmlinput, + org.apache.jena.rdfxml.xmlinput.impl, + org.apache.jena.rdfxml.xmlinput.states, + org.apache.jena.rdfxml.xmloutput, + org.apache.jena.rdfxml.xmloutput.impl, + org.apache.jena.reasoner, + org.apache.jena.reasoner.rulesys, + org.apache.jena.reasoner.rulesys.builtins, + org.apache.jena.reasoner.rulesys.impl, + org.apache.jena.reasoner.transitiveReasoner, + org.apache.jena.riot, + org.apache.jena.riot.adapters, + org.apache.jena.riot.checker, + org.apache.jena.riot.lang, + org.apache.jena.riot.lang.extra, + org.apache.jena.riot.lang.extra.javacc, + org.apache.jena.riot.other, + org.apache.jena.riot.out, + org.apache.jena.riot.out.quoted, + org.apache.jena.riot.process, + org.apache.jena.riot.process.inf, + org.apache.jena.riot.process.normalize, + org.apache.jena.riot.resultset, + org.apache.jena.riot.resultset.rw, + org.apache.jena.riot.system, + org.apache.jena.riot.system.stream, + org.apache.jena.riot.thrift, + org.apache.jena.riot.thrift.wire, + org.apache.jena.riot.tokens, + org.apache.jena.riot.web, + org.apache.jena.riot.writer, + org.apache.jena.shacl, + org.apache.jena.shacl.compact, + org.apache.jena.shacl.compact.reader, + org.apache.jena.shacl.compact.reader.parser, + org.apache.jena.shacl.compact.writer, + org.apache.jena.shacl.engine, + org.apache.jena.shacl.engine.constraint, + org.apache.jena.shacl.examples, + org.apache.jena.shacl.lib, + org.apache.jena.shacl.parser, + org.apache.jena.shacl.sys, + org.apache.jena.shacl.validation, + org.apache.jena.shacl.vocabulary, + org.apache.jena.shared, + org.apache.jena.shared.impl, + org.apache.jena.sparql, + org.apache.jena.sparql.algebra, + org.apache.jena.sparql.algebra.op, + org.apache.jena.sparql.algebra.optimize, + org.apache.jena.sparql.algebra.table, + org.apache.jena.sparql.algebra.walker, + org.apache.jena.sparql.core, + org.apache.jena.sparql.core.assembler, + org.apache.jena.sparql.core.describe, + org.apache.jena.sparql.core.mem, + org.apache.jena.sparql.engine, + org.apache.jena.sparql.engine.binding, + org.apache.jena.sparql.engine.http, + org.apache.jena.sparql.engine.index, + org.apache.jena.sparql.engine.iterator, + org.apache.jena.sparql.engine.join, + org.apache.jena.sparql.engine.main, + org.apache.jena.sparql.engine.main.iterator, + org.apache.jena.sparql.engine.optimizer, + org.apache.jena.sparql.engine.optimizer.reorder, + org.apache.jena.sparql.engine.ref, + org.apache.jena.sparql.expr, + org.apache.jena.sparql.expr.aggregate, + org.apache.jena.sparql.expr.aggregate.lib, + org.apache.jena.sparql.expr.nodevalue, + org.apache.jena.sparql.function, + org.apache.jena.sparql.function.js, + org.apache.jena.sparql.function.library, + org.apache.jena.sparql.function.library.leviathan, + org.apache.jena.sparql.function.library.triple, + org.apache.jena.sparql.function.user, + org.apache.jena.sparql.graph, + org.apache.jena.sparql.lang, + org.apache.jena.sparql.lang.arq, + org.apache.jena.sparql.lang.sparql_10, + org.apache.jena.sparql.lang.sparql_11, + org.apache.jena.sparql.lib, + org.apache.jena.sparql.mgt, + org.apache.jena.sparql.modify, + org.apache.jena.sparql.modify.request, + org.apache.jena.sparql.path, + org.apache.jena.sparql.path.eval, + org.apache.jena.sparql.pfunction, + org.apache.jena.sparql.pfunction.library, + org.apache.jena.sparql.pfunction.library.triple, + org.apache.jena.sparql.procedure, + org.apache.jena.sparql.procedure.library, + org.apache.jena.sparql.resultset, + org.apache.jena.sparql.serializer, + org.apache.jena.sparql.sse, + org.apache.jena.sparql.sse.builders, + org.apache.jena.sparql.sse.lang, + org.apache.jena.sparql.sse.lang.parser, + org.apache.jena.sparql.sse.writers, + org.apache.jena.sparql.syntax, + org.apache.jena.sparql.syntax.syntaxtransform, + org.apache.jena.sparql.system, + org.apache.jena.sparql.util, + org.apache.jena.sparql.util.compose, + org.apache.jena.sparql.util.graph, + org.apache.jena.sparql.vocabulary, + org.apache.jena.sys, + org.apache.jena.system, + org.apache.jena.tdb, + org.apache.jena.tdb.assembler, + org.apache.jena.tdb.base, + org.apache.jena.tdb.base.block, + org.apache.jena.tdb.base.buffer, + org.apache.jena.tdb.base.file, + org.apache.jena.tdb.base.objectfile, + org.apache.jena.tdb.base.page, + org.apache.jena.tdb.base.record, + org.apache.jena.tdb.base.recordbuffer, + org.apache.jena.tdb.index, + org.apache.jena.tdb.index.bplustree, + org.apache.jena.tdb.index.ext, + org.apache.jena.tdb.lib, + org.apache.jena.tdb.mgt, + org.apache.jena.tdb.modify, + org.apache.jena.tdb.setup, + org.apache.jena.tdb.solver, + org.apache.jena.tdb.solver.stats, + org.apache.jena.tdb.store, + org.apache.jena.tdb.store.bulkloader, + org.apache.jena.tdb.store.bulkloader2, + org.apache.jena.tdb.store.nodetable, + org.apache.jena.tdb.store.nodetupletable, + org.apache.jena.tdb.store.tupletable, + org.apache.jena.tdb.sys, + org.apache.jena.tdb.transaction, + org.apache.jena.tdb2, + org.apache.jena.tdb2.assembler, + org.apache.jena.tdb2.lib, + org.apache.jena.tdb2.loader, + org.apache.jena.tdb2.loader.base, + org.apache.jena.tdb2.loader.basic, + org.apache.jena.tdb2.loader.main, + org.apache.jena.tdb2.loader.sequential, + org.apache.jena.tdb2.modify, + org.apache.jena.tdb2.params, + org.apache.jena.tdb2.solver, + org.apache.jena.tdb2.solver.stats, + org.apache.jena.tdb2.store, + org.apache.jena.tdb2.store.nodetable, + org.apache.jena.tdb2.store.nodetupletable, + org.apache.jena.tdb2.store.tupletable, + org.apache.jena.tdb2.store.value, + org.apache.jena.tdb2.sys, + org.apache.jena.ttl, + org.apache.jena.ttl.turtle, + org.apache.jena.ttl.turtle.parser, + org.apache.jena.update, + org.apache.jena.util, + org.apache.jena.util.iterator, + org.apache.jena.vocabulary, + org.apache.jena.web, + org.apache.thrift, + org.apache.thrift.annotation, + org.apache.thrift.async, + org.apache.thrift.meta_data, + org.apache.thrift.protocol, + org.apache.thrift.scheme, + org.apache.thrift.server, + org.apache.thrift.transport, + org.apache.wink.client, + org.apache.wink.client.handlers, + org.apache.wink.client.internal, + org.apache.wink.client.internal.handlers, + org.apache.wink.common, + org.apache.wink.common.annotations, + org.apache.wink.common.categories, + org.apache.wink.common.http, + org.apache.wink.common.internal, + org.apache.wink.common.internal.application, + org.apache.wink.common.internal.contexts, + org.apache.wink.common.internal.http, + org.apache.wink.common.internal.i18n, + org.apache.wink.common.internal.lifecycle, + org.apache.wink.common.internal.log, + org.apache.wink.common.internal.model, + org.apache.wink.common.internal.model.admin, + org.apache.wink.common.internal.properties, + org.apache.wink.common.internal.providers.entity, + org.apache.wink.common.internal.providers.entity.app, + org.apache.wink.common.internal.providers.entity.atom, + org.apache.wink.common.internal.providers.entity.csv, + org.apache.wink.common.internal.providers.entity.json, + org.apache.wink.common.internal.providers.entity.xml, + org.apache.wink.common.internal.providers.error, + org.apache.wink.common.internal.providers.header, + org.apache.wink.common.internal.providers.multipart, + org.apache.wink.common.internal.registry, + org.apache.wink.common.internal.registry.metadata, + org.apache.wink.common.internal.runtime, + org.apache.wink.common.internal.type, + org.apache.wink.common.internal.uri, + org.apache.wink.common.internal.uritemplate, + org.apache.wink.common.internal.utils, + org.apache.wink.common.model, + org.apache.wink.common.model.app, + org.apache.wink.common.model.atom, + org.apache.wink.common.model.csv, + org.apache.wink.common.model.multipart, + org.apache.wink.common.model.opensearch, + org.apache.wink.common.model.rss, + org.apache.wink.common.model.synd, + org.apache.wink.common.model.wadl, + org.apache.wink.common.utils, + org.apache.wink.json4j, + org.apache.wink.json4j.compat, + org.apache.wink.json4j.compat.impl, + org.apache.wink.json4j.internal, + org.apache.wink.json4j.utils, + org.apache.wink.json4j.utils.internal, + org.eclipse.lyo.client, + org.eclipse.lyo.client.exception, + org.eclipse.lyo.client.oslc, + org.eclipse.lyo.client.oslc.jazz, + org.eclipse.lyo.client.oslc.resources, + org.eclipse.lyo.client.query, + org.eclipse.lyo.client.resources, + org.eclipse.lyo.oslc.domains, + org.eclipse.lyo.oslc.domains.rm, + org.eclipse.lyo.oslc4j.core, + org.eclipse.lyo.oslc4j.core.annotation, + org.eclipse.lyo.oslc4j.core.exception, + org.eclipse.lyo.oslc4j.core.model, + org.eclipse.lyo.oslc4j.provider.jena, + org.eclipse.lyo.oslc4j.provider.jena.ordfm, + org.eclipse.lyo.oslc4j.provider.json4j, + org.slf4j, + org.slf4j.helpers, + org.slf4j.impl, + org.slf4j.spi diff --git a/de.dlr.sc.virsat.external.lib.lyo/about.html b/de.dlr.sc.virsat.external.lib.lyo/about.html new file mode 100644 index 0000000000..fdb80f38a2 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.lyo/about.html @@ -0,0 +1,30 @@ + + + + +About + + +

About This Content

+ +

May 28, 2020

+

License

+ +

The German Aerospace Center (DLR) makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at https://www.eclipse.org/legal/epl-2.0. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from German Aerospace Center (DLR), the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to this content.

+ +

Third Party Content

+ + + + diff --git a/de.dlr.sc.virsat.external.lib.lyo/about_files/LICENSE b/de.dlr.sc.virsat.external.lib.lyo/about_files/LICENSE new file mode 100644 index 0000000000..e69de29bb2 diff --git a/de.dlr.sc.virsat.external.lib.lyo/about_files/NOTICE b/de.dlr.sc.virsat.external.lib.lyo/about_files/NOTICE new file mode 100644 index 0000000000..e69de29bb2 diff --git a/de.dlr.sc.virsat.external.lib.lyo/about_files/THIRD-PARTY.txt b/de.dlr.sc.virsat.external.lib.lyo/about_files/THIRD-PARTY.txt new file mode 100644 index 0000000000..8e539cb37b --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.lyo/about_files/THIRD-PARTY.txt @@ -0,0 +1,66 @@ + +Lists of 64 third-party dependencies. + (Apache 2.0) Jackson-annotations (com.fasterxml.jackson.core:jackson-annotations:2.10.1 - http://github.com/FasterXML/jackson) + (Apache 2.0) Jackson-core (com.fasterxml.jackson.core:jackson-core:2.10.1 - https://github.com/FasterXML/jackson-core) + (Apache 2.0) jackson-databind (com.fasterxml.jackson.core:jackson-databind:2.10.1 - http://github.com/FasterXML/jackson) + (MIT License) dexx (com.github.andrewoma.dexx:collection:0.7 - https://github.com/andrewoma/dexx) + (Revised BSD License) JSONLD Java :: Core (com.github.jsonld-java:jsonld-java:0.12.5 - http://github.com/jsonld-java/jsonld-java/jsonld-java/) + (CDDL 1.0) (GPL2 w/ CPE) JAXB RI (com.sun.xml.bind:jaxb-impl:2.2.1.1 - https://jaxb.dev.java.net/) + (Apache 2.0) Apache Commons CLI (commons-cli:commons-cli:1.4 - http://commons.apache.org/proper/commons-cli/) + (Apache 2.0) Apache Commons Codec (commons-codec:commons-codec:1.11 - http://commons.apache.org/proper/commons-codec/) + (Apache 2.0) Apache Commons IO (commons-io:commons-io:2.6 - http://commons.apache.org/proper/commons-io/) + (Apache 2.0) Apache Commons Logging (commons-logging:commons-logging:1.2 - http://commons.apache.org/proper/commons-logging/) + (The MIT License (MIT)) ClassGraph (io.github.classgraph:classgraph:4.8.102 - https://github.com/classgraph/classgraph) + (EPL 2.0) (GPL2 w/ CPE) javax.ws.rs-api (jakarta.ws.rs:jakarta.ws.rs-api:2.1.2 - https://github.com/eclipse-ee4j/jaxrs-api) + (Common Development and Distribution License (CDDL) v1.0) JavaBeans Activation Framework (JAF) (javax.activation:activation:1.1 - http://java.sun.com/products/javabeans/jaf/index.jsp) + (CDDL + GPLv2 with classpath exception) javax.annotation API (javax.annotation:javax.annotation-api:1.3.2 - http://jcp.org/en/jsr/detail?id=250) + (CDDL + GPLv2 with classpath exception) Java Servlet API (javax.servlet:javax.servlet-api:3.1.0 - http://servlet-spec.java.net) + (EPL 2.0) (GPL2 w/ CPE) javax.ws.rs-api (javax.ws.rs:javax.ws.rs-api:2.1.1 - https://github.com/eclipse-ee4j/jaxrs-api) + (CDDL License) jsr311-api (javax.ws.rs:jsr311-api:1.1.1 - https://jsr311.dev.java.net) + (CDDL 1.0) (GPL2 w/ CPE) JAXB API bundle for GlassFish V3 (javax.xml.bind:jaxb-api:2.2.1 - https://jaxb.dev.java.net/) + (COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0) (GNU General Public Library) Streaming API for XML (javax.xml.stream:stax-api:1.0-2 - no url defined) + (Apache 2.0) Apache Log4j (log4j:log4j:1.2.17 - http://logging.apache.org/log4j/1.2/) + (Apache 2.0) OAuth Core (net.oauth.core:oauth:20100527 - http://oauth.net/code/oauth-core-parent/oauth/) + (Apache 2.0) OAuth Core: Consumer (net.oauth.core:oauth-consumer:20100527 - http://oauth.net/code/oauth-core-parent/oauth-consumer/) + (Apache 2.0) OAuth Core: HttpClient4 (net.oauth.core:oauth-httpclient4:20090913 - http://oauth.net/code/oauth-core-parent/oauth-httpclient4/) + (Apache 2.0) Apache Commons Compress (org.apache.commons:commons-compress:1.19 - https://commons.apache.org/proper/commons-compress/) + (Apache 2.0) Apache Commons CSV (org.apache.commons:commons-csv:1.7 - http://commons.apache.org/proper/commons-csv/) + (Apache 2.0) Apache Commons Lang (org.apache.commons:commons-lang3:3.11 - https://commons.apache.org/proper/commons-lang/) + (Apache 2.0) Annotation 1.1 (org.apache.geronimo.specs:geronimo-annotation_1.1_spec:1.0 - http://geronimo.apache.org/maven/specs/geronimo-annotation_1.1_spec/1.0) + (Apache 2.0) Apache Geronimo JAX-RS 1.1 API (org.apache.geronimo.specs:geronimo-jaxrs_1.1_spec:1.0 - http://geronimo.apache.org/maven/specs/geronimo-jaxrs_1.1_spec/1.0) + (Apache 2.0) Apache HttpClient (org.apache.httpcomponents:httpclient:4.5.13 - http://hc.apache.org/httpcomponents-client) + (Apache 2.0) Apache HttpClient Cache (org.apache.httpcomponents:httpclient-cache:4.5.10 - http://hc.apache.org/httpcomponents-client) + (Apache 2.0) Apache HttpCore (org.apache.httpcomponents:httpcore:4.4.1 - http://hc.apache.org/httpcomponents-core-ga) + (Apache 2.0) Apache Jena - Libraries POM (org.apache.jena:apache-jena-libs:3.14.0 - https://jena.apache.org/apache-jena-libs/) + (Apache 2.0) Apache Jena - ARQ (SPARQL 1.1 Query Engine) (org.apache.jena:jena-arq:3.14.0 - https://jena.apache.org/jena-arq/) + (Apache 2.0) Apache Jena - Base Common Environment (org.apache.jena:jena-base:3.14.0 - https://jena.apache.org/jena-base/) + (Apache 2.0) Apache Jena - Core (org.apache.jena:jena-core:3.14.0 - https://jena.apache.org/jena-core/) + (Apache 2.0) Apache Jena - DBOE Base (org.apache.jena:jena-dboe-base:3.14.0 - https://jena.apache.org/jena-dboe-base/) + (Apache 2.0) Apache Jena - DBOE Indexes (org.apache.jena:jena-dboe-index:3.14.0 - https://jena.apache.org/jena-dboe-index/) + (Apache 2.0) Apache Jena - DBOE Storage (org.apache.jena:jena-dboe-storage:3.14.0 - https://jena.apache.org/jena-dboe-storage/) + (Apache 2.0) Apache Jena - DBOE Transactional Datastructures (org.apache.jena:jena-dboe-trans-data:3.14.0 - https://jena.apache.org/jena-dboe-trans-data/) + (Apache 2.0) Apache Jena - DBOE Transactions (org.apache.jena:jena-dboe-transaction:3.14.0 - https://jena.apache.org/jena-dboe-transaction/) + (Apache 2.0) Apache Jena - IRI (org.apache.jena:jena-iri:3.14.0 - https://jena.apache.org/jena-iri/) + (Apache 2.0 License) Apache Jena - RDF Connection (org.apache.jena:jena-rdfconnection:3.14.0 - https://jena.apache.org/jena-rdfconnection/) + (Apache 2.0) Apache Jena - SHACL (org.apache.jena:jena-shacl:3.14.0 - https://jena.apache.org/jena-shacl/) + (Apache 2.0) Apache Jena - Shadowed external libraries (org.apache.jena:jena-shaded-guava:3.14.0 - https://jena.apache.org/jena-shaded-guava/) + (Apache 2.0) Apache Jena - TDB1 (Native Triple Store) (org.apache.jena:jena-tdb:3.14.0 - https://jena.apache.org/jena-tdb/) + (Apache 2.0) Apache Jena - TDB2 (org.apache.jena:jena-tdb2:3.14.0 - https://jena.apache.org/jena-tdb2/) + (Apache 2.0) Apache Thrift (org.apache.thrift:libthrift:0.13.0 - http://thrift.apache.org) + (Apache 2.0) Apache Wink Client (org.apache.wink:wink-client:1.4 - http://www.apache.org/wink/wink-client/) + (Apache 2.0) Apache Wink Client :: Apache Http Client (org.apache.wink:wink-client-apache-httpclient:1.4 - http://www.apache.org/wink/wink-client-apache-httpclient/) + (Apache 2.0) Apache Wink Common (org.apache.wink:wink-common:1.4 - http://www.apache.org/wink/wink-common/) + (Apache 2.0) Apache Wink :: JSON4J (org.apache.wink:wink-json4j:1.2.1-incubating - http://www.apache.org/wink/wink-json4j/) + (EPL 2.0) (Eclipse Distribution License 1.0) Lyo :: Domains (org.eclipse.lyo:oslc-domains:4.0.0 - https://eclipse.org/lyo/domains/oslc-domains) + (EPL 2.0) (Eclipse Distribution License 1.0) Lyo :: Client :: OSLC JAX-RS 2.0 (new) (org.eclipse.lyo.clients:oslc-client:4.0.0 - https://eclipse.org/lyo/clients-parent/oslc-client) + (EPL 2.0) (Eclipse Distribution License 1.0) Lyo :: Client :: Base (org.eclipse.lyo.clients:oslc-client-base:4.0.0 - https://eclipse.org/lyo/clients-parent/oslc-client-base) + (EPL 2.0) (Eclipse Distribution License 1.0) Lyo :: Client :: OSLC Wink (legacy) (org.eclipse.lyo.clients:oslc-java-client:4.0.0 - https://eclipse.org/lyo/clients-parent/oslc-java-client) + (EPL 2.0) (Eclipse Distribution License 1.0) Lyo :: Client :: Resources (legacy) (org.eclipse.lyo.clients:oslc-java-client-resources:4.0.0 - https://eclipse.org/lyo/clients-parent/oslc-java-client-resources) + (EPL 2.0) (Eclipse Distribution License 1.0) Lyo :: Core :: OSLC (org.eclipse.lyo.oslc4j.core:oslc4j-core:4.0.0 - https://eclipse.org/lyo/core/oslc4j-core) + (EPL 2.0) (Eclipse Distribution License 1.0) Lyo :: Core :: Jena Provider (org.eclipse.lyo.oslc4j.core:oslc4j-jena-provider:4.0.0 - https://eclipse.org/lyo/core/oslc4j-jena-provider) + (EPL 2.0) (Eclipse Distribution License 1.0) Lyo :: Core :: JSON4J Provider (legacy) (org.eclipse.lyo.oslc4j.core:oslc4j-json4j-provider:4.0.0 - https://eclipse.org/lyo/core/oslc4j-json4j-provider) + (MIT License) JCL 1.2 implemented over SLF4J (org.slf4j:jcl-over-slf4j:1.7.26 - http://www.slf4j.org) + (MIT License) SLF4J API Module (org.slf4j:slf4j-api:1.7.5 - http://www.slf4j.org) + (MIT License) SLF4J LOG4J-12 Binding (org.slf4j:slf4j-log4j12:1.7.5 - http://www.slf4j.org) + (Apache 2.0) Xerces2-j (xerces:xercesImpl:2.12.0 - https://xerces.apache.org/xerces2-j/) + (Apache 2.0) XML Commons External Components XML APIs (xml-apis:xml-apis:1.3.04 - http://xml.apache.org/commons/components/external/) diff --git a/de.dlr.sc.virsat.external.lib.lyo/build.properties b/de.dlr.sc.virsat.external.lib.lyo/build.properties new file mode 100644 index 0000000000..39c9889428 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.lyo/build.properties @@ -0,0 +1,52 @@ +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + about.html,\ + about_files/,\ + externalLib/,\ + pom.xml,\ + externalLib/maven/oslc4j-core.jar,\ + externalLib/maven/oauth.jar,\ + externalLib/maven/wink-client.jar,\ + externalLib/maven/httpclient.jar,\ + externalLib/maven/wink-common.jar,\ + externalLib/maven/wink-client-apache-httpclient.jar,\ + externalLib/maven/slf4j-api.jar,\ + externalLib/maven/oslc4j-jena-provider.jar,\ + externalLib/maven/oslc4j-json4j-provider.jar,\ + externalLib/maven/javax.ws.rs-api.jar,\ + externalLib/maven/javax.annotation-api.jar,\ + externalLib/maven/javax.servlet-api.jar,\ + externalLib/maven/jena-rdfconnection.jar,\ + externalLib/maven/jena-core.jar,\ + externalLib/maven/jena-base.jar,\ + externalLib/maven/jena-iri.jar,\ + externalLib/maven/oslc-client.jar,\ + externalLib/maven/commons-cli.jar,\ + externalLib/maven/httpclient-cache.jar,\ + externalLib/maven/httpcore.jar,\ + externalLib/maven/jakarta.ws.rs-api.jar,\ + externalLib/maven/jena-arq.jar,\ + externalLib/maven/jena-dboe-base.jar,\ + externalLib/maven/jena-dboe-index.jar,\ + externalLib/maven/jena-dboe-storage.jar,\ + externalLib/maven/jena-dboe-trans-data.jar,\ + externalLib/maven/jena-dboe-transaction.jar,\ + externalLib/maven/jena-shacl.jar,\ + externalLib/maven/jena-tdb.jar,\ + externalLib/maven/jena-tdb2.jar,\ + externalLib/maven/slf4j-log4j12.jar,\ + externalLib/maven/wink-json4j.jar,\ + externalLib/maven/oslc-java-client.jar,\ + externalLib/maven/libthrift.jar,\ + externalLib/maven/commons-lang3.jar,\ + externalLib/maven/jena-shaded-guava.jar,\ + externalLib/maven/jackson-annotations.jar,\ + externalLib/maven/jackson-core.jar,\ + externalLib/maven/jackson-databind.jar,\ + externalLib/maven/oauth-consumer.jar,\ + externalLib/maven/oauth-httpclient4.jar,\ + externalLib/maven/jsonld-java.jar,\ + externalLib/maven/oslc-client-base.jar,\ + externalLib/maven/classgraph.jar,\ + externalLib/maven/oslc-java-client-resources.jar,\ \ No newline at end of file diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/activation.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/activation.jar new file mode 100644 index 0000000000..53f82a1c4c Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/activation.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/apache-jena-libs.pom b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/apache-jena-libs.pom new file mode 100644 index 0000000000..d8372e3f24 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/apache-jena-libs.pom @@ -0,0 +1,67 @@ + + + + + + 4.0.0 + + apache-jena-libs + pom + Apache Jena - Libraries POM + 3.17.0 + + + org.apache.jena + jena + 3.17.0 + .. + + + + A POM artifact that references all the standard Jena Libraries with a single dependency. + + + + + + org.apache.jena + jena-shacl + 3.17.0 + + + + org.apache.jena + jena-tdb + 3.17.0 + + + + org.apache.jena + jena-tdb2 + 3.17.0 + + + + org.apache.jena + jena-rdfconnection + 3.17.0 + + + + + diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/classgraph.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/classgraph.jar new file mode 100644 index 0000000000..61119f7c66 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/classgraph.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/collection.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/collection.jar new file mode 100644 index 0000000000..aa5de6b95f Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/collection.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-cli.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-cli.jar new file mode 100644 index 0000000000..22deb3089e Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-cli.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-codec.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-codec.jar new file mode 100644 index 0000000000..22451206dd Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-codec.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-compress.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-compress.jar new file mode 100644 index 0000000000..17c1c7b457 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-compress.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-csv.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-csv.jar new file mode 100644 index 0000000000..127c5a209c Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-csv.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-io.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-io.jar new file mode 100644 index 0000000000..00556b119d Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-io.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-lang3.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-lang3.jar new file mode 100644 index 0000000000..bbaa8a61c8 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-lang3.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-logging.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-logging.jar new file mode 100644 index 0000000000..93a3b9f6db Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/commons-logging.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/geronimo-annotation_1.1_spec.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/geronimo-annotation_1.1_spec.jar new file mode 100644 index 0000000000..b1bb5a0c4e Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/geronimo-annotation_1.1_spec.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/geronimo-jaxrs_1.1_spec.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/geronimo-jaxrs_1.1_spec.jar new file mode 100644 index 0000000000..89c5649c72 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/geronimo-jaxrs_1.1_spec.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/httpclient-cache.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/httpclient-cache.jar new file mode 100644 index 0000000000..a6cb27fce5 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/httpclient-cache.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/httpclient.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/httpclient.jar new file mode 100644 index 0000000000..218ee25f2b Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/httpclient.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/httpcore.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/httpcore.jar new file mode 100644 index 0000000000..99715b6a9f Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/httpcore.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jackson-annotations.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jackson-annotations.jar new file mode 100644 index 0000000000..132396a99d Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jackson-annotations.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jackson-core.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jackson-core.jar new file mode 100644 index 0000000000..549d36634a Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jackson-core.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jackson-databind.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jackson-databind.jar new file mode 100644 index 0000000000..f24cf42003 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jackson-databind.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jakarta.ws.rs-api.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jakarta.ws.rs-api.jar new file mode 100644 index 0000000000..1c9b7e5b71 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jakarta.ws.rs-api.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/javax.annotation-api.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/javax.annotation-api.jar new file mode 100644 index 0000000000..a8a470a71a Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/javax.annotation-api.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/javax.servlet-api.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/javax.servlet-api.jar new file mode 100644 index 0000000000..6b14c3d267 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/javax.servlet-api.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/javax.ws.rs-api.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/javax.ws.rs-api.jar new file mode 100644 index 0000000000..3eabbf0874 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/javax.ws.rs-api.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jaxb-api.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jaxb-api.jar new file mode 100644 index 0000000000..3480c41ea4 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jaxb-api.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jaxb-impl.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jaxb-impl.jar new file mode 100644 index 0000000000..5dad6803ab Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jaxb-impl.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jcl-over-slf4j.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jcl-over-slf4j.jar new file mode 100644 index 0000000000..44e9f63976 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jcl-over-slf4j.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-arq.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-arq.jar new file mode 100644 index 0000000000..b935fbafb6 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-arq.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-base.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-base.jar new file mode 100644 index 0000000000..f561f440c1 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-base.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-core.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-core.jar new file mode 100644 index 0000000000..01a9657021 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-core.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-dboe-base.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-dboe-base.jar new file mode 100644 index 0000000000..b101988d58 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-dboe-base.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-dboe-index.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-dboe-index.jar new file mode 100644 index 0000000000..0ddadba4a3 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-dboe-index.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-dboe-storage.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-dboe-storage.jar new file mode 100644 index 0000000000..fa2f0e7cdb Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-dboe-storage.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-dboe-trans-data.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-dboe-trans-data.jar new file mode 100644 index 0000000000..c629652846 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-dboe-trans-data.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-dboe-transaction.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-dboe-transaction.jar new file mode 100644 index 0000000000..15f772c7ac Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-dboe-transaction.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-iri.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-iri.jar new file mode 100644 index 0000000000..664f8ea9be Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-iri.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-rdfconnection.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-rdfconnection.jar new file mode 100644 index 0000000000..302eb82e01 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-rdfconnection.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-shacl.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-shacl.jar new file mode 100644 index 0000000000..cae41e2ecd Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-shacl.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-shaded-guava.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-shaded-guava.jar new file mode 100644 index 0000000000..d3dcb9f9ae Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-shaded-guava.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-tdb.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-tdb.jar new file mode 100644 index 0000000000..8a0a4d4f57 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-tdb.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-tdb2.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-tdb2.jar new file mode 100644 index 0000000000..f3b0b2966b Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jena-tdb2.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jsonld-java.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jsonld-java.jar new file mode 100644 index 0000000000..ba1cf4143a Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jsonld-java.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jsr311-api.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jsr311-api.jar new file mode 100644 index 0000000000..ec8bc81854 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/jsr311-api.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/libthrift.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/libthrift.jar new file mode 100644 index 0000000000..18a1e95b34 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/libthrift.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/log4j.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/log4j.jar new file mode 100644 index 0000000000..1d425cf7d7 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/log4j.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oauth-consumer.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oauth-consumer.jar new file mode 100644 index 0000000000..7e68700dc6 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oauth-consumer.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oauth-httpclient4.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oauth-httpclient4.jar new file mode 100644 index 0000000000..8baa5c25ec Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oauth-httpclient4.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oauth.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oauth.jar new file mode 100644 index 0000000000..e65795379f Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oauth.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc-client-base.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc-client-base.jar new file mode 100644 index 0000000000..242093c2c9 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc-client-base.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc-client.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc-client.jar new file mode 100644 index 0000000000..d129ab0691 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc-client.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc-domains.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc-domains.jar new file mode 100644 index 0000000000..27401dec05 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc-domains.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc-java-client-resources.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc-java-client-resources.jar new file mode 100644 index 0000000000..00506a6992 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc-java-client-resources.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc-java-client.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc-java-client.jar new file mode 100644 index 0000000000..0d39f638ba Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc-java-client.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc4j-core.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc4j-core.jar new file mode 100644 index 0000000000..d242892d4f Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc4j-core.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc4j-jena-provider.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc4j-jena-provider.jar new file mode 100644 index 0000000000..db7fe3bfef Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc4j-jena-provider.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc4j-json4j-provider.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc4j-json4j-provider.jar new file mode 100644 index 0000000000..6da13e63ec Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/oslc4j-json4j-provider.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/slf4j-api.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/slf4j-api.jar new file mode 100644 index 0000000000..8f004d3906 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/slf4j-api.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/slf4j-log4j12.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/slf4j-log4j12.jar new file mode 100644 index 0000000000..f5298b5e9d Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/slf4j-log4j12.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/slf4j-simple.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/slf4j-simple.jar new file mode 100644 index 0000000000..a4086de0b5 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/slf4j-simple.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/stax-api.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/stax-api.jar new file mode 100644 index 0000000000..015169dc71 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/stax-api.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/wink-client-apache-httpclient.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/wink-client-apache-httpclient.jar new file mode 100644 index 0000000000..10ffc0c814 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/wink-client-apache-httpclient.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/wink-client.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/wink-client.jar new file mode 100644 index 0000000000..4df9dec87e Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/wink-client.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/wink-common.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/wink-common.jar new file mode 100644 index 0000000000..d4c12dae64 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/wink-common.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/wink-json4j.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/wink-json4j.jar new file mode 100644 index 0000000000..94eee417b9 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/wink-json4j.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/xercesImpl.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/xercesImpl.jar new file mode 100644 index 0000000000..b69d01dac3 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/xercesImpl.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/xml-apis.jar b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/xml-apis.jar new file mode 100644 index 0000000000..d42c0ea6cf Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.lyo/externalLib/maven/xml-apis.jar differ diff --git a/de.dlr.sc.virsat.external.lib.lyo/pom.xml b/de.dlr.sc.virsat.external.lib.lyo/pom.xml new file mode 100644 index 0000000000..e775f43867 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.lyo/pom.xml @@ -0,0 +1,117 @@ + + + + de.dlr.sc.virsat.external.lib.maven.parent + de.dlr.sc.virsat + 4.14.0-SNAPSHOT + ../de.dlr.sc.virsat.external.lib/maven/pom.xml + + + 4.0.0 + de.dlr.sc.virsat.external.lib.lyo + de.dlr.sc.virsat.external.lib.lyo + eclipse-plugin + + + 4.0.0 + + + + + lyo-releases + Eclipse Lyo Releases + https://repo.eclipse.org/content/repositories/lyo-releases/ + + false + + + + lyo-snapshots + Eclipse Lyo Snapshots + https://repo.eclipse.org/content/repositories/lyo-snapshots/ + + false + + + + + + + org.eclipse.lyo.oslc4j.core + oslc4j-core + ${lyo.version} + + + org.eclipse.lyo.clients + oslc-client + ${lyo.version} + + + org.eclipse.lyo.clients + oslc-java-client + ${lyo.version} + + + org.eclipse.lyo.clients + oslc-java-client-resources + ${lyo.version} + + + javax.servlet + javax.servlet-api + 3.1.0 + + + javax.ws.rs + javax.ws.rs-api + 2.1.1 + + + commons-io + commons-io + 2.6 + + + org.slf4j + slf4j-api + 1.7.5 + + + org.slf4j + slf4j-log4j12 + 1.7.5 + runtime + + + org.apache.commons + commons-lang3 + 3.11 + + + org.apache.thrift + libthrift + 0.13.0 + + + jakarta.ws.rs + jakarta.ws.rs-api + 2.1.2 + + + io.github.classgraph + classgraph + 4.8.102 + + + org.eclipse.lyo + oslc-domains + ${lyo.version} + + + \ No newline at end of file diff --git a/de.dlr.sc.virsat.external.lib.lyo/src/de/dlr/sc/virsat/external/lib/lyo/Activator.java b/de.dlr.sc.virsat.external.lib.lyo/src/de/dlr/sc/virsat/external/lib/lyo/Activator.java new file mode 100644 index 0000000000..740c7bc373 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.lyo/src/de/dlr/sc/virsat/external/lib/lyo/Activator.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008-2019 German Aerospace Center (DLR), Simulation and Software Technology, Germany. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + *******************************************************************************/ +package de.dlr.sc.virsat.external.lib.lyo; + +import de.dlr.sc.virsat.external.lib.LibPlugin; + +/** + * The plugin root class which is the entry point for the OSGi bundle activation + * @author fisc_ph + * + */ +public class Activator extends LibPlugin { + + +} \ No newline at end of file diff --git a/de.dlr.sc.virsat.external.lib.mockito/.classpath b/de.dlr.sc.virsat.external.lib.mockito/.classpath new file mode 100644 index 0000000000..87a88d5ae5 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/.classpath @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/de.dlr.sc.virsat.external.lib.mockito/.project b/de.dlr.sc.virsat.external.lib.mockito/.project new file mode 100644 index 0000000000..74b282f8cd --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/.project @@ -0,0 +1,40 @@ + + + de.dlr.sc.virsat.external.lib.mockito + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.m2e.core.maven2Nature + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + net.sf.eclipsecs.core.CheckstyleNature + + diff --git a/de.dlr.sc.virsat.external.lib.mockito/.settings/edu.umd.cs.findbugs.core.prefs b/de.dlr.sc.virsat.external.lib.mockito/.settings/edu.umd.cs.findbugs.core.prefs new file mode 100644 index 0000000000..eaaad8dbb0 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/.settings/edu.umd.cs.findbugs.core.prefs @@ -0,0 +1,144 @@ +#SpotBugs User Preferences +#Tue Jan 21 14:54:00 CET 2020 +detectorAppendingToAnObjectOutputStream=AppendingToAnObjectOutputStream|true +detectorAtomicityProblem=AtomicityProblem|true +detectorBadAppletConstructor=BadAppletConstructor|false +detectorBadResultSetAccess=BadResultSetAccess|true +detectorBadSyntaxForRegularExpression=BadSyntaxForRegularExpression|true +detectorBadUseOfReturnValue=BadUseOfReturnValue|true +detectorBadlyOverriddenAdapter=BadlyOverriddenAdapter|true +detectorBooleanReturnNull=BooleanReturnNull|true +detectorCallToUnsupportedMethod=CallToUnsupportedMethod|false +detectorCheckExpectedWarnings=CheckExpectedWarnings|false +detectorCheckImmutableAnnotation=CheckImmutableAnnotation|true +detectorCheckRelaxingNullnessAnnotation=CheckRelaxingNullnessAnnotation|true +detectorCheckTypeQualifiers=CheckTypeQualifiers|true +detectorCloneIdiom=CloneIdiom|true +detectorComparatorIdiom=ComparatorIdiom|true +detectorConfusedInheritance=ConfusedInheritance|true +detectorConfusionBetweenInheritedAndOuterMethod=ConfusionBetweenInheritedAndOuterMethod|true +detectorCovariantArrayAssignment=CovariantArrayAssignment|false +detectorCrossSiteScripting=CrossSiteScripting|true +detectorDefaultEncodingDetector=DefaultEncodingDetector|true +detectorDoInsideDoPrivileged=DoInsideDoPrivileged|true +detectorDontCatchIllegalMonitorStateException=DontCatchIllegalMonitorStateException|true +detectorDontIgnoreResultOfPutIfAbsent=DontIgnoreResultOfPutIfAbsent|true +detectorDontUseEnum=DontUseEnum|true +detectorDroppedException=DroppedException|true +detectorDumbMethodInvocations=DumbMethodInvocations|true +detectorDumbMethods=DumbMethods|true +detectorDuplicateBranches=DuplicateBranches|true +detectorEmptyZipFileEntry=EmptyZipFileEntry|false +detectorEqualsOperandShouldHaveClassCompatibleWithThis=EqualsOperandShouldHaveClassCompatibleWithThis|true +detectorExplicitSerialization=ExplicitSerialization|true +detectorFinalizerNullsFields=FinalizerNullsFields|true +detectorFindBadCast2=FindBadCast2|true +detectorFindBadForLoop=FindBadForLoop|true +detectorFindCircularDependencies=FindCircularDependencies|false +detectorFindComparatorProblems=FindComparatorProblems|true +detectorFindDeadLocalStores=FindDeadLocalStores|true +detectorFindDoubleCheck=FindDoubleCheck|true +detectorFindEmptySynchronizedBlock=FindEmptySynchronizedBlock|true +detectorFindFieldSelfAssignment=FindFieldSelfAssignment|true +detectorFindFinalizeInvocations=FindFinalizeInvocations|true +detectorFindFloatEquality=FindFloatEquality|true +detectorFindHEmismatch=FindHEmismatch|true +detectorFindInconsistentSync2=FindInconsistentSync2|true +detectorFindJSR166LockMonitorenter=FindJSR166LockMonitorenter|true +detectorFindLocalSelfAssignment2=FindLocalSelfAssignment2|true +detectorFindMaskedFields=FindMaskedFields|true +detectorFindMismatchedWaitOrNotify=FindMismatchedWaitOrNotify|true +detectorFindNakedNotify=FindNakedNotify|true +detectorFindNonShortCircuit=FindNonShortCircuit|true +detectorFindNullDeref=FindNullDeref|true +detectorFindNullDerefsInvolvingNonShortCircuitEvaluation=FindNullDerefsInvolvingNonShortCircuitEvaluation|true +detectorFindOpenStream=FindOpenStream|true +detectorFindPuzzlers=FindPuzzlers|true +detectorFindRefComparison=FindRefComparison|true +detectorFindReturnRef=FindReturnRef|true +detectorFindRoughConstants=FindRoughConstants|true +detectorFindRunInvocations=FindRunInvocations|true +detectorFindSelfComparison=FindSelfComparison|true +detectorFindSelfComparison2=FindSelfComparison2|true +detectorFindSleepWithLockHeld=FindSleepWithLockHeld|true +detectorFindSpinLoop=FindSpinLoop|true +detectorFindSqlInjection=FindSqlInjection|true +detectorFindTwoLockWait=FindTwoLockWait|true +detectorFindUncalledPrivateMethods=FindUncalledPrivateMethods|true +detectorFindUnconditionalWait=FindUnconditionalWait|true +detectorFindUninitializedGet=FindUninitializedGet|true +detectorFindUnrelatedTypesInGenericContainer=FindUnrelatedTypesInGenericContainer|true +detectorFindUnreleasedLock=FindUnreleasedLock|true +detectorFindUnsatisfiedObligation=FindUnsatisfiedObligation|true +detectorFindUnsyncGet=FindUnsyncGet|true +detectorFindUseOfNonSerializableValue=FindUseOfNonSerializableValue|true +detectorFindUselessControlFlow=FindUselessControlFlow|true +detectorFindUselessObjects=FindUselessObjects|true +detectorFormatStringChecker=FormatStringChecker|true +detectorHugeSharedStringConstants=HugeSharedStringConstants|true +detectorIDivResultCastToDouble=IDivResultCastToDouble|true +detectorIncompatMask=IncompatMask|true +detectorInconsistentAnnotations=InconsistentAnnotations|true +detectorInefficientIndexOf=InefficientIndexOf|false +detectorInefficientInitializationInsideLoop=InefficientInitializationInsideLoop|false +detectorInefficientMemberAccess=InefficientMemberAccess|false +detectorInefficientToArray=InefficientToArray|false +detectorInfiniteLoop=InfiniteLoop|true +detectorInfiniteRecursiveLoop=InfiniteRecursiveLoop|true +detectorInheritanceUnsafeGetResource=InheritanceUnsafeGetResource|true +detectorInitializationChain=InitializationChain|true +detectorInitializeNonnullFieldsInConstructor=InitializeNonnullFieldsInConstructor|true +detectorInstantiateStaticClass=InstantiateStaticClass|true +detectorIntCast2LongAsInstant=IntCast2LongAsInstant|true +detectorInvalidJUnitTest=InvalidJUnitTest|true +detectorIteratorIdioms=IteratorIdioms|true +detectorLazyInit=LazyInit|true +detectorLoadOfKnownNullValue=LoadOfKnownNullValue|true +detectorLostLoggerDueToWeakReference=LostLoggerDueToWeakReference|true +detectorMethodReturnCheck=MethodReturnCheck|true +detectorMultithreadedInstanceAccess=MultithreadedInstanceAccess|true +detectorMutableEnum=MutableEnum|true +detectorMutableLock=MutableLock|true +detectorMutableStaticFields=MutableStaticFields|true +detectorNaming=Naming|true +detectorNoteUnconditionalParamDerefs=NoteUnconditionalParamDerefs|true +detectorNumberConstructor=NumberConstructor|true +detectorOptionalReturnNull=OptionalReturnNull|true +detectorOverridingEqualsNotSymmetrical=OverridingEqualsNotSymmetrical|true +detectorPreferZeroLengthArrays=PreferZeroLengthArrays|true +detectorPublicSemaphores=PublicSemaphores|false +detectorQuestionableBooleanAssignment=QuestionableBooleanAssignment|true +detectorReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass=ReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass|true +detectorReadReturnShouldBeChecked=ReadReturnShouldBeChecked|true +detectorRedundantConditions=RedundantConditions|true +detectorRedundantInterfaces=RedundantInterfaces|true +detectorRepeatedConditionals=RepeatedConditionals|true +detectorRuntimeExceptionCapture=RuntimeExceptionCapture|true +detectorSerializableIdiom=SerializableIdiom|true +detectorStartInConstructor=StartInConstructor|true +detectorStaticCalendarDetector=StaticCalendarDetector|true +detectorStringConcatenation=StringConcatenation|true +detectorSuperfluousInstanceOf=SuperfluousInstanceOf|true +detectorSuspiciousThreadInterrupted=SuspiciousThreadInterrupted|true +detectorSwitchFallthrough=SwitchFallthrough|true +detectorSynchronizationOnSharedBuiltinConstant=SynchronizationOnSharedBuiltinConstant|true +detectorSynchronizeAndNullCheckField=SynchronizeAndNullCheckField|true +detectorSynchronizeOnClassLiteralNotGetClass=SynchronizeOnClassLiteralNotGetClass|true +detectorSynchronizingOnContentsOfFieldToProtectField=SynchronizingOnContentsOfFieldToProtectField|true +detectorURLProblems=URLProblems|true +detectorUncallableMethodOfAnonymousClass=UncallableMethodOfAnonymousClass|true +detectorUnnecessaryMath=UnnecessaryMath|true +detectorUnreadFields=UnreadFields|true +detectorUselessSubclassMethod=UselessSubclassMethod|false +detectorVarArgsProblems=VarArgsProblems|true +detectorVolatileUsage=VolatileUsage|true +detectorWaitInLoop=WaitInLoop|true +detectorWrongMapIterator=WrongMapIterator|true +detectorXMLFactoryBypass=XMLFactoryBypass|true +detector_threshold=2 +effort=default +excludefilter0=../spotbugs-exclude.xml|true +filter_settings=Medium|BAD_PRACTICE,CORRECTNESS,MT_CORRECTNESS,PERFORMANCE,STYLE|false|20 +filter_settings_neg=MALICIOUS_CODE,SECURITY,EXPERIMENTAL,NOISE,I18N| +includefilter0=../spotbugs-include.xml|true +run_at_full_build=false diff --git a/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.core.resources.prefs b/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..99f26c0203 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.core.runtime.prefs b/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000000..deae05a977 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +line.separator=\r\n diff --git a/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.jdt.core.prefs b/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..9f6ece88bd --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.m2e.core.prefs b/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000000..f897a7f1cb --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.mylyn.team.ui.prefs b/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.mylyn.team.ui.prefs new file mode 100644 index 0000000000..426f180206 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.mylyn.team.ui.prefs @@ -0,0 +1,2 @@ +commit.comment.template=Write a Heading here - (Task \#${task.key})\r\n\r\nPut your Message here.\r\n\r\n---\r\nTask \#${task.key}\: ${task.description} +eclipse.preferences.version=1 diff --git a/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.pde.prefs b/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.pde.prefs new file mode 100644 index 0000000000..2174e4fd5b --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/.settings/org.eclipse.pde.prefs @@ -0,0 +1,34 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=2 +compilers.p.build.java.compiler=2 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=2 +compilers.p.missing-version-export-package=2 +compilers.p.missing-version-import-package=2 +compilers.p.missing-version-require-bundle=2 +compilers.p.no-required-att=0 +compilers.p.no.automatic.module=1 +compilers.p.not-externalized-att=2 +compilers.p.service.component.without.lazyactivation=1 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/de.dlr.sc.virsat.external.lib.mockito/META-INF/MANIFEST.MF b/de.dlr.sc.virsat.external.lib.mockito/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..d3010e2c1a --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/META-INF/MANIFEST.MF @@ -0,0 +1,129 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: VirSat External Lib - Mockito +Bundle-SymbolicName: de.dlr.sc.virsat.external.lib.mockito +Bundle-Version: 4.13.0.qualifier +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-Vendor: DLR (German Aerospace Center) +Require-Bundle: de.dlr.sc.virsat.external.lib +Bundle-Activator: de.dlr.sc.virsat.external.lib.mockito.Activator +Automatic-Module-Name: de.dlr.sc.virsat.external.lib.mockito +Bundle-ClassPath: ., + externalLib/maven/byte-buddy.jar, + externalLib/maven/byte-buddy-agent.jar, + externalLib/maven/mockito-core.jar, + externalLib/maven/mockito-inline.jar, + externalLib/maven/objenesis.jar +Export-Package: de.dlr.sc.virsat.external.lib.mockito, + net.bytebuddy, + net.bytebuddy.agent, + net.bytebuddy.agent.builder, + net.bytebuddy.asm, + net.bytebuddy.build, + net.bytebuddy.description, + net.bytebuddy.description.annotation, + net.bytebuddy.description.enumeration, + net.bytebuddy.description.field, + net.bytebuddy.description.method, + net.bytebuddy.description.modifier, + net.bytebuddy.description.type, + net.bytebuddy.dynamic, + net.bytebuddy.dynamic.loading, + net.bytebuddy.dynamic.scaffold, + net.bytebuddy.dynamic.scaffold.inline, + net.bytebuddy.dynamic.scaffold.subclass, + net.bytebuddy.implementation, + net.bytebuddy.implementation.attribute, + net.bytebuddy.implementation.auxiliary, + net.bytebuddy.implementation.bind, + net.bytebuddy.implementation.bind.annotation, + net.bytebuddy.implementation.bytecode, + net.bytebuddy.implementation.bytecode.assign, + net.bytebuddy.implementation.bytecode.assign.primitive, + net.bytebuddy.implementation.bytecode.assign.reference, + net.bytebuddy.implementation.bytecode.collection, + net.bytebuddy.implementation.bytecode.constant, + net.bytebuddy.implementation.bytecode.member, + net.bytebuddy.jar.asm, + net.bytebuddy.jar.asm.commons, + net.bytebuddy.jar.asm.signature, + net.bytebuddy.matcher, + net.bytebuddy.pool, + net.bytebuddy.utility, + net.bytebuddy.utility.dispatcher, + net.bytebuddy.utility.privilege, + net.bytebuddy.utility.visitor, + org.mockito, + org.mockito.codegen, + org.mockito.configuration, + org.mockito.creation.instance, + org.mockito.exceptions.base, + org.mockito.exceptions.misusing, + org.mockito.exceptions.stacktrace, + org.mockito.exceptions.verification, + org.mockito.exceptions.verification.junit, + org.mockito.exceptions.verification.opentest4j, + org.mockito.hamcrest, + org.mockito.internal, + org.mockito.internal.configuration, + org.mockito.internal.configuration.injection, + org.mockito.internal.configuration.injection.filter, + org.mockito.internal.configuration.injection.scanner, + org.mockito.internal.configuration.plugins, + org.mockito.internal.creation, + org.mockito.internal.creation.bytebuddy, + org.mockito.internal.creation.instance, + org.mockito.internal.creation.proxy, + org.mockito.internal.creation.settings, + org.mockito.internal.creation.util, + org.mockito.internal.debugging, + org.mockito.internal.exceptions, + org.mockito.internal.exceptions.stacktrace, + org.mockito.internal.exceptions.util, + org.mockito.internal.framework, + org.mockito.internal.hamcrest, + org.mockito.internal.handler, + org.mockito.internal.invocation, + org.mockito.internal.invocation.finder, + org.mockito.internal.invocation.mockref, + org.mockito.internal.junit, + org.mockito.internal.listeners, + org.mockito.internal.matchers, + org.mockito.internal.matchers.apachecommons, + org.mockito.internal.matchers.text, + org.mockito.internal.progress, + org.mockito.internal.reporting, + org.mockito.internal.runners, + org.mockito.internal.runners.util, + org.mockito.internal.session, + org.mockito.internal.stubbing, + org.mockito.internal.stubbing.answers, + org.mockito.internal.stubbing.defaultanswers, + org.mockito.internal.util, + org.mockito.internal.util.collections, + org.mockito.internal.util.concurrent, + org.mockito.internal.util.io, + org.mockito.internal.util.reflection, + org.mockito.internal.verification, + org.mockito.internal.verification.api, + org.mockito.internal.verification.argumentmatching, + org.mockito.internal.verification.checkers, + org.mockito.invocation, + org.mockito.junit, + org.mockito.listeners, + org.mockito.mock, + org.mockito.plugins, + org.mockito.quality, + org.mockito.session, + org.mockito.stubbing, + org.mockito.verification, + org.objenesis, + org.objenesis.instantiator, + org.objenesis.instantiator.android, + org.objenesis.instantiator.annotations, + org.objenesis.instantiator.basic, + org.objenesis.instantiator.gcj, + org.objenesis.instantiator.perc, + org.objenesis.instantiator.sun, + org.objenesis.instantiator.util, + org.objenesis.strategy diff --git a/de.dlr.sc.virsat.external.lib.mockito/about.html b/de.dlr.sc.virsat.external.lib.mockito/about.html new file mode 100644 index 0000000000..e2f87ff845 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/about.html @@ -0,0 +1,57 @@ + + + + +About + + +

About This Content

+ +

May 28, 2020

+

License

+ +

The German Aerospace Center (DLR) makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at https://www.eclipse.org/legal/epl-2.0. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from German Aerospace Center (DLR), the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to this content.

+ +

Third Party Content

+ +

+The Content includes items that have been sourced from third parties as set out below. If you +did not receive this Content directly from the German Aerospace Center (DLR e.V.), the following is provided +for informational purposes only, and you should look to the Redistributor’s license for +terms and conditions of use. Third party licenses are aggregated in the "about_files" folder of this plugin. +

+ +

Directly Maven Included Thrid Party Libraries

+ +The following third party libraries are directly included into this plugin using maven. +Transitive dependency information is given at the end of the page. + +
Apache POI - Version 3.17
+ +

The plug-in includes Apache POI which is distributed under Apache License, Version 2.0. +A copy of the license is contained in the file LICENSE and is also available at +http://www.apache.org/licenses/LICENSE-2.0.txt. +The Apache attribution NOTICE file is included with the Content in accordance with 4d of the Apache License, Version 2.0.

+ +

Original binaries and source are available from http://poi.apache.org.

+ +

Transitive Maven Included Third Party Libraries

+ +The following is provided for informational purposes only, and you should look to the Redistributor’s license for +terms and conditions of use. Transitive maven third party libraries and their licenses are listed in the THIRD-PARTY.txt file: + + + + + diff --git a/de.dlr.sc.virsat.external.lib.mockito/about_files/THIRD-PARTY.txt b/de.dlr.sc.virsat.external.lib.mockito/about_files/THIRD-PARTY.txt new file mode 100644 index 0000000000..af4039ff87 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/about_files/THIRD-PARTY.txt @@ -0,0 +1,7 @@ + +Lists of 5 third-party dependencies. + (Apache 2.0) Byte Buddy (without dependencies) (net.bytebuddy:byte-buddy:1.12.4 - https://bytebuddy.net/byte-buddy) + (Apache 2.0) Byte Buddy agent (net.bytebuddy:byte-buddy-agent:1.12.4 - https://bytebuddy.net/byte-buddy-agent) + (The MIT License) mockito-core (org.mockito:mockito-core:4.2.0 - https://github.com/mockito/mockito) + (The MIT License) mockito-inline (org.mockito:mockito-inline:4.2.0 - https://github.com/mockito/mockito) + (Apache 2.0) Objenesis (org.objenesis:objenesis:3.2 - http://objenesis.org/objenesis) diff --git a/de.dlr.sc.virsat.external.lib.mockito/bin/.project b/de.dlr.sc.virsat.external.lib.mockito/bin/.project new file mode 100644 index 0000000000..74b282f8cd --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/bin/.project @@ -0,0 +1,40 @@ + + + de.dlr.sc.virsat.external.lib.mockito + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.m2e.core.maven2Nature + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + net.sf.eclipsecs.core.CheckstyleNature + + diff --git a/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/edu.umd.cs.findbugs.core.prefs b/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/edu.umd.cs.findbugs.core.prefs new file mode 100644 index 0000000000..eaaad8dbb0 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/edu.umd.cs.findbugs.core.prefs @@ -0,0 +1,144 @@ +#SpotBugs User Preferences +#Tue Jan 21 14:54:00 CET 2020 +detectorAppendingToAnObjectOutputStream=AppendingToAnObjectOutputStream|true +detectorAtomicityProblem=AtomicityProblem|true +detectorBadAppletConstructor=BadAppletConstructor|false +detectorBadResultSetAccess=BadResultSetAccess|true +detectorBadSyntaxForRegularExpression=BadSyntaxForRegularExpression|true +detectorBadUseOfReturnValue=BadUseOfReturnValue|true +detectorBadlyOverriddenAdapter=BadlyOverriddenAdapter|true +detectorBooleanReturnNull=BooleanReturnNull|true +detectorCallToUnsupportedMethod=CallToUnsupportedMethod|false +detectorCheckExpectedWarnings=CheckExpectedWarnings|false +detectorCheckImmutableAnnotation=CheckImmutableAnnotation|true +detectorCheckRelaxingNullnessAnnotation=CheckRelaxingNullnessAnnotation|true +detectorCheckTypeQualifiers=CheckTypeQualifiers|true +detectorCloneIdiom=CloneIdiom|true +detectorComparatorIdiom=ComparatorIdiom|true +detectorConfusedInheritance=ConfusedInheritance|true +detectorConfusionBetweenInheritedAndOuterMethod=ConfusionBetweenInheritedAndOuterMethod|true +detectorCovariantArrayAssignment=CovariantArrayAssignment|false +detectorCrossSiteScripting=CrossSiteScripting|true +detectorDefaultEncodingDetector=DefaultEncodingDetector|true +detectorDoInsideDoPrivileged=DoInsideDoPrivileged|true +detectorDontCatchIllegalMonitorStateException=DontCatchIllegalMonitorStateException|true +detectorDontIgnoreResultOfPutIfAbsent=DontIgnoreResultOfPutIfAbsent|true +detectorDontUseEnum=DontUseEnum|true +detectorDroppedException=DroppedException|true +detectorDumbMethodInvocations=DumbMethodInvocations|true +detectorDumbMethods=DumbMethods|true +detectorDuplicateBranches=DuplicateBranches|true +detectorEmptyZipFileEntry=EmptyZipFileEntry|false +detectorEqualsOperandShouldHaveClassCompatibleWithThis=EqualsOperandShouldHaveClassCompatibleWithThis|true +detectorExplicitSerialization=ExplicitSerialization|true +detectorFinalizerNullsFields=FinalizerNullsFields|true +detectorFindBadCast2=FindBadCast2|true +detectorFindBadForLoop=FindBadForLoop|true +detectorFindCircularDependencies=FindCircularDependencies|false +detectorFindComparatorProblems=FindComparatorProblems|true +detectorFindDeadLocalStores=FindDeadLocalStores|true +detectorFindDoubleCheck=FindDoubleCheck|true +detectorFindEmptySynchronizedBlock=FindEmptySynchronizedBlock|true +detectorFindFieldSelfAssignment=FindFieldSelfAssignment|true +detectorFindFinalizeInvocations=FindFinalizeInvocations|true +detectorFindFloatEquality=FindFloatEquality|true +detectorFindHEmismatch=FindHEmismatch|true +detectorFindInconsistentSync2=FindInconsistentSync2|true +detectorFindJSR166LockMonitorenter=FindJSR166LockMonitorenter|true +detectorFindLocalSelfAssignment2=FindLocalSelfAssignment2|true +detectorFindMaskedFields=FindMaskedFields|true +detectorFindMismatchedWaitOrNotify=FindMismatchedWaitOrNotify|true +detectorFindNakedNotify=FindNakedNotify|true +detectorFindNonShortCircuit=FindNonShortCircuit|true +detectorFindNullDeref=FindNullDeref|true +detectorFindNullDerefsInvolvingNonShortCircuitEvaluation=FindNullDerefsInvolvingNonShortCircuitEvaluation|true +detectorFindOpenStream=FindOpenStream|true +detectorFindPuzzlers=FindPuzzlers|true +detectorFindRefComparison=FindRefComparison|true +detectorFindReturnRef=FindReturnRef|true +detectorFindRoughConstants=FindRoughConstants|true +detectorFindRunInvocations=FindRunInvocations|true +detectorFindSelfComparison=FindSelfComparison|true +detectorFindSelfComparison2=FindSelfComparison2|true +detectorFindSleepWithLockHeld=FindSleepWithLockHeld|true +detectorFindSpinLoop=FindSpinLoop|true +detectorFindSqlInjection=FindSqlInjection|true +detectorFindTwoLockWait=FindTwoLockWait|true +detectorFindUncalledPrivateMethods=FindUncalledPrivateMethods|true +detectorFindUnconditionalWait=FindUnconditionalWait|true +detectorFindUninitializedGet=FindUninitializedGet|true +detectorFindUnrelatedTypesInGenericContainer=FindUnrelatedTypesInGenericContainer|true +detectorFindUnreleasedLock=FindUnreleasedLock|true +detectorFindUnsatisfiedObligation=FindUnsatisfiedObligation|true +detectorFindUnsyncGet=FindUnsyncGet|true +detectorFindUseOfNonSerializableValue=FindUseOfNonSerializableValue|true +detectorFindUselessControlFlow=FindUselessControlFlow|true +detectorFindUselessObjects=FindUselessObjects|true +detectorFormatStringChecker=FormatStringChecker|true +detectorHugeSharedStringConstants=HugeSharedStringConstants|true +detectorIDivResultCastToDouble=IDivResultCastToDouble|true +detectorIncompatMask=IncompatMask|true +detectorInconsistentAnnotations=InconsistentAnnotations|true +detectorInefficientIndexOf=InefficientIndexOf|false +detectorInefficientInitializationInsideLoop=InefficientInitializationInsideLoop|false +detectorInefficientMemberAccess=InefficientMemberAccess|false +detectorInefficientToArray=InefficientToArray|false +detectorInfiniteLoop=InfiniteLoop|true +detectorInfiniteRecursiveLoop=InfiniteRecursiveLoop|true +detectorInheritanceUnsafeGetResource=InheritanceUnsafeGetResource|true +detectorInitializationChain=InitializationChain|true +detectorInitializeNonnullFieldsInConstructor=InitializeNonnullFieldsInConstructor|true +detectorInstantiateStaticClass=InstantiateStaticClass|true +detectorIntCast2LongAsInstant=IntCast2LongAsInstant|true +detectorInvalidJUnitTest=InvalidJUnitTest|true +detectorIteratorIdioms=IteratorIdioms|true +detectorLazyInit=LazyInit|true +detectorLoadOfKnownNullValue=LoadOfKnownNullValue|true +detectorLostLoggerDueToWeakReference=LostLoggerDueToWeakReference|true +detectorMethodReturnCheck=MethodReturnCheck|true +detectorMultithreadedInstanceAccess=MultithreadedInstanceAccess|true +detectorMutableEnum=MutableEnum|true +detectorMutableLock=MutableLock|true +detectorMutableStaticFields=MutableStaticFields|true +detectorNaming=Naming|true +detectorNoteUnconditionalParamDerefs=NoteUnconditionalParamDerefs|true +detectorNumberConstructor=NumberConstructor|true +detectorOptionalReturnNull=OptionalReturnNull|true +detectorOverridingEqualsNotSymmetrical=OverridingEqualsNotSymmetrical|true +detectorPreferZeroLengthArrays=PreferZeroLengthArrays|true +detectorPublicSemaphores=PublicSemaphores|false +detectorQuestionableBooleanAssignment=QuestionableBooleanAssignment|true +detectorReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass=ReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass|true +detectorReadReturnShouldBeChecked=ReadReturnShouldBeChecked|true +detectorRedundantConditions=RedundantConditions|true +detectorRedundantInterfaces=RedundantInterfaces|true +detectorRepeatedConditionals=RepeatedConditionals|true +detectorRuntimeExceptionCapture=RuntimeExceptionCapture|true +detectorSerializableIdiom=SerializableIdiom|true +detectorStartInConstructor=StartInConstructor|true +detectorStaticCalendarDetector=StaticCalendarDetector|true +detectorStringConcatenation=StringConcatenation|true +detectorSuperfluousInstanceOf=SuperfluousInstanceOf|true +detectorSuspiciousThreadInterrupted=SuspiciousThreadInterrupted|true +detectorSwitchFallthrough=SwitchFallthrough|true +detectorSynchronizationOnSharedBuiltinConstant=SynchronizationOnSharedBuiltinConstant|true +detectorSynchronizeAndNullCheckField=SynchronizeAndNullCheckField|true +detectorSynchronizeOnClassLiteralNotGetClass=SynchronizeOnClassLiteralNotGetClass|true +detectorSynchronizingOnContentsOfFieldToProtectField=SynchronizingOnContentsOfFieldToProtectField|true +detectorURLProblems=URLProblems|true +detectorUncallableMethodOfAnonymousClass=UncallableMethodOfAnonymousClass|true +detectorUnnecessaryMath=UnnecessaryMath|true +detectorUnreadFields=UnreadFields|true +detectorUselessSubclassMethod=UselessSubclassMethod|false +detectorVarArgsProblems=VarArgsProblems|true +detectorVolatileUsage=VolatileUsage|true +detectorWaitInLoop=WaitInLoop|true +detectorWrongMapIterator=WrongMapIterator|true +detectorXMLFactoryBypass=XMLFactoryBypass|true +detector_threshold=2 +effort=default +excludefilter0=../spotbugs-exclude.xml|true +filter_settings=Medium|BAD_PRACTICE,CORRECTNESS,MT_CORRECTNESS,PERFORMANCE,STYLE|false|20 +filter_settings_neg=MALICIOUS_CODE,SECURITY,EXPERIMENTAL,NOISE,I18N| +includefilter0=../spotbugs-include.xml|true +run_at_full_build=false diff --git a/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.core.resources.prefs b/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000000..99f26c0203 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.core.runtime.prefs b/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.core.runtime.prefs new file mode 100644 index 0000000000..deae05a977 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.core.runtime.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +line.separator=\r\n diff --git a/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.jdt.core.prefs b/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..9f6ece88bd --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.m2e.core.prefs b/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000000..f897a7f1cb --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.mylyn.team.ui.prefs b/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.mylyn.team.ui.prefs new file mode 100644 index 0000000000..426f180206 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.mylyn.team.ui.prefs @@ -0,0 +1,2 @@ +commit.comment.template=Write a Heading here - (Task \#${task.key})\r\n\r\nPut your Message here.\r\n\r\n---\r\nTask \#${task.key}\: ${task.description} +eclipse.preferences.version=1 diff --git a/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.pde.prefs b/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.pde.prefs new file mode 100644 index 0000000000..2174e4fd5b --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/bin/.settings/org.eclipse.pde.prefs @@ -0,0 +1,34 @@ +compilers.f.unresolved-features=1 +compilers.f.unresolved-plugins=1 +compilers.incompatible-environment=1 +compilers.p.build=1 +compilers.p.build.bin.includes=1 +compilers.p.build.encodings=2 +compilers.p.build.java.compiler=2 +compilers.p.build.java.compliance=1 +compilers.p.build.missing.output=2 +compilers.p.build.output.library=1 +compilers.p.build.source.library=1 +compilers.p.build.src.includes=1 +compilers.p.deprecated=1 +compilers.p.discouraged-class=1 +compilers.p.internal=1 +compilers.p.missing-packages=2 +compilers.p.missing-version-export-package=2 +compilers.p.missing-version-import-package=2 +compilers.p.missing-version-require-bundle=2 +compilers.p.no-required-att=0 +compilers.p.no.automatic.module=1 +compilers.p.not-externalized-att=2 +compilers.p.service.component.without.lazyactivation=1 +compilers.p.unknown-attribute=1 +compilers.p.unknown-class=1 +compilers.p.unknown-element=1 +compilers.p.unknown-identifier=1 +compilers.p.unknown-resource=1 +compilers.p.unresolved-ex-points=0 +compilers.p.unresolved-import=0 +compilers.s.create-docs=false +compilers.s.doc-folder=doc +compilers.s.open-tags=1 +eclipse.preferences.version=1 diff --git a/de.dlr.sc.virsat.external.lib.mockito/bin/META-INF/MANIFEST.MF b/de.dlr.sc.virsat.external.lib.mockito/bin/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..1df0a003a4 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/bin/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: VirSat External Lib - Mockito +Bundle-SymbolicName: de.dlr.sc.virsat.external.lib.mockito +Bundle-Version: 4.13.0.qualifier +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-Vendor: DLR (German Aerospace Center) +Require-Bundle: de.dlr.sc.virsat.external.lib +Bundle-Activator: de.dlr.sc.virsat.external.lib.mockito.Activator +Automatic-Module-Name: de.dlr.sc.virsat.external.lib.mockito +Bundle-ClassPath: . diff --git a/de.dlr.sc.virsat.external.lib.mockito/bin/about.html b/de.dlr.sc.virsat.external.lib.mockito/bin/about.html new file mode 100644 index 0000000000..e2f87ff845 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/bin/about.html @@ -0,0 +1,57 @@ + + + + +About + + +

About This Content

+ +

May 28, 2020

+

License

+ +

The German Aerospace Center (DLR) makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at https://www.eclipse.org/legal/epl-2.0. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from German Aerospace Center (DLR), the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to this content.

+ +

Third Party Content

+ +

+The Content includes items that have been sourced from third parties as set out below. If you +did not receive this Content directly from the German Aerospace Center (DLR e.V.), the following is provided +for informational purposes only, and you should look to the Redistributor’s license for +terms and conditions of use. Third party licenses are aggregated in the "about_files" folder of this plugin. +

+ +

Directly Maven Included Thrid Party Libraries

+ +The following third party libraries are directly included into this plugin using maven. +Transitive dependency information is given at the end of the page. + +
Apache POI - Version 3.17
+ +

The plug-in includes Apache POI which is distributed under Apache License, Version 2.0. +A copy of the license is contained in the file LICENSE and is also available at +http://www.apache.org/licenses/LICENSE-2.0.txt. +The Apache attribution NOTICE file is included with the Content in accordance with 4d of the Apache License, Version 2.0.

+ +

Original binaries and source are available from http://poi.apache.org.

+ +

Transitive Maven Included Third Party Libraries

+ +The following is provided for informational purposes only, and you should look to the Redistributor’s license for +terms and conditions of use. Transitive maven third party libraries and their licenses are listed in the THIRD-PARTY.txt file: + + + + + diff --git a/de.dlr.sc.virsat.external.lib.mockito/bin/build.properties b/de.dlr.sc.virsat.external.lib.mockito/bin/build.properties new file mode 100644 index 0000000000..057ecfa531 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/bin/build.properties @@ -0,0 +1,8 @@ +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + about.html,\ + about_files/,\ + externalLib/,\ + pom.xml + \ No newline at end of file diff --git a/de.dlr.sc.virsat.external.lib.mockito/bin/pom.xml b/de.dlr.sc.virsat.external.lib.mockito/bin/pom.xml new file mode 100644 index 0000000000..997aa3531f --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/bin/pom.xml @@ -0,0 +1,45 @@ + + + + + de.dlr.sc.virsat.external.lib.maven.parent + de.dlr.sc.virsat + 4.13.0-SNAPSHOT + ../de.dlr.sc.virsat.external.lib/maven/pom.xml + + + 4.0.0 + de.dlr.sc.virsat.external.lib.mockito + de.dlr.sc.virsat.external.lib.mockito + eclipse-plugin + + + + + downloadLibs + + + + org.mockito + mockito-core + 4.2.0 + test + + + + + org.mockito + mockito-inline + 4.2.0 + test + + + + + diff --git a/de.dlr.sc.virsat.external.lib.mockito/bin/src/de/dlr/sc/virsat/external/lib/mockito/Activator.class b/de.dlr.sc.virsat.external.lib.mockito/bin/src/de/dlr/sc/virsat/external/lib/mockito/Activator.class new file mode 100644 index 0000000000..65fcaa8e0e Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.mockito/bin/src/de/dlr/sc/virsat/external/lib/mockito/Activator.class differ diff --git a/de.dlr.sc.virsat.external.lib.mockito/build.properties b/de.dlr.sc.virsat.external.lib.mockito/build.properties new file mode 100644 index 0000000000..cd242ca89c --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/build.properties @@ -0,0 +1,13 @@ +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + about.html,\ + about_files/,\ + externalLib/,\ + pom.xml,\ + externalLib/maven/byte-buddy.jar,\ + externalLib/maven/byte-buddy-agent.jar,\ + externalLib/maven/mockito-core.jar,\ + externalLib/maven/mockito-inline.jar,\ + externalLib/maven/objenesis.jar + \ No newline at end of file diff --git a/de.dlr.sc.virsat.external.lib.mockito/externalLib/maven/byte-buddy-agent.jar b/de.dlr.sc.virsat.external.lib.mockito/externalLib/maven/byte-buddy-agent.jar new file mode 100644 index 0000000000..925d8694fd Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.mockito/externalLib/maven/byte-buddy-agent.jar differ diff --git a/de.dlr.sc.virsat.external.lib.mockito/externalLib/maven/byte-buddy.jar b/de.dlr.sc.virsat.external.lib.mockito/externalLib/maven/byte-buddy.jar new file mode 100644 index 0000000000..490efacf4b Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.mockito/externalLib/maven/byte-buddy.jar differ diff --git a/de.dlr.sc.virsat.external.lib.mockito/externalLib/maven/mockito-core.jar b/de.dlr.sc.virsat.external.lib.mockito/externalLib/maven/mockito-core.jar new file mode 100644 index 0000000000..2fedb0f4f2 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.mockito/externalLib/maven/mockito-core.jar differ diff --git a/de.dlr.sc.virsat.external.lib.mockito/externalLib/maven/mockito-inline.jar b/de.dlr.sc.virsat.external.lib.mockito/externalLib/maven/mockito-inline.jar new file mode 100644 index 0000000000..33dd71b507 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.mockito/externalLib/maven/mockito-inline.jar differ diff --git a/de.dlr.sc.virsat.external.lib.mockito/externalLib/maven/objenesis.jar b/de.dlr.sc.virsat.external.lib.mockito/externalLib/maven/objenesis.jar new file mode 100644 index 0000000000..1888e2ea10 Binary files /dev/null and b/de.dlr.sc.virsat.external.lib.mockito/externalLib/maven/objenesis.jar differ diff --git a/de.dlr.sc.virsat.external.lib.mockito/pom.xml b/de.dlr.sc.virsat.external.lib.mockito/pom.xml new file mode 100644 index 0000000000..72550e5069 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/pom.xml @@ -0,0 +1,45 @@ + + + + + de.dlr.sc.virsat.external.lib.maven.parent + de.dlr.sc.virsat + 4.14.0-SNAPSHOT + ../de.dlr.sc.virsat.external.lib/maven/pom.xml + + + 4.0.0 + de.dlr.sc.virsat.external.lib.mockito + de.dlr.sc.virsat.external.lib.mockito + eclipse-plugin + + + + + downloadLibs + + + + org.mockito + mockito-core + 4.2.0 + test + + + + + org.mockito + mockito-inline + 4.2.0 + test + + + + + diff --git a/de.dlr.sc.virsat.external.lib.mockito/src/de/dlr/sc/virsat/external/lib/mockito/Activator.java b/de.dlr.sc.virsat.external.lib.mockito/src/de/dlr/sc/virsat/external/lib/mockito/Activator.java new file mode 100644 index 0000000000..89c2f1bca2 --- /dev/null +++ b/de.dlr.sc.virsat.external.lib.mockito/src/de/dlr/sc/virsat/external/lib/mockito/Activator.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2008-2019 German Aerospace Center (DLR), Simulation and Software Technology, Germany. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + *******************************************************************************/ +package de.dlr.sc.virsat.external.lib.mockito; + +import de.dlr.sc.virsat.external.lib.LibPlugin; + +/** + * The plugin root class which is the entry point for the OSGi bundle activation + * @author fisc_ph + * + */ +public class Activator extends LibPlugin { + + +} \ No newline at end of file diff --git a/de.dlr.sc.virsat.graphiti.ui/src/de/dlr/sc/virsat/graphiti/ui/diagram/feature/BeanDirectEditNameFeature.java b/de.dlr.sc.virsat.graphiti.ui/src/de/dlr/sc/virsat/graphiti/ui/diagram/feature/BeanDirectEditNameFeature.java index 21e76adad0..8080c01605 100644 --- a/de.dlr.sc.virsat.graphiti.ui/src/de/dlr/sc/virsat/graphiti/ui/diagram/feature/BeanDirectEditNameFeature.java +++ b/de.dlr.sc.virsat.graphiti.ui/src/de/dlr/sc/virsat/graphiti/ui/diagram/feature/BeanDirectEditNameFeature.java @@ -15,7 +15,7 @@ import org.eclipse.graphiti.features.context.IDirectEditingContext; import org.eclipse.graphiti.features.impl.AbstractDirectEditingFeature; import org.eclipse.graphiti.mm.algorithms.AbstractText; -import org.eclipse.graphiti.mm.algorithms.GraphicsAlgorithm; +import org.eclipse.graphiti.mm.algorithms.GraphicsAlgorithm; import org.eclipse.graphiti.mm.pictograms.PictogramElement; import de.dlr.sc.virsat.graphiti.util.DiagramHelper; diff --git a/de.dlr.sc.virsat.model.ext.core/concept/concept.concept b/de.dlr.sc.virsat.model.ext.core/concept/concept.concept index 657de54e21..860b69ee3c 100644 --- a/de.dlr.sc.virsat.model.ext.core/concept/concept.concept +++ b/de.dlr.sc.virsat.model.ext.core/concept/concept.concept @@ -15,7 +15,7 @@ Concept de.dlr.sc.virsat.model.ext.core description "Concept for core language e * Can be used for generic references that should allow all categories */ Category GenericCategory description "Implicit super category of all categories" { - IsAbstract; - } + IsAbstract; + } } diff --git a/de.dlr.sc.virsat.model.extension.requirements.test/META-INF/MANIFEST.MF b/de.dlr.sc.virsat.model.extension.requirements.test/META-INF/MANIFEST.MF index d4b30db90f..05ce377f04 100644 --- a/de.dlr.sc.virsat.model.extension.requirements.test/META-INF/MANIFEST.MF +++ b/de.dlr.sc.virsat.model.extension.requirements.test/META-INF/MANIFEST.MF @@ -20,7 +20,8 @@ Require-Bundle: org.junit, org.eclipse.rmf.reqif10.edit, org.eclipse.rmf.reqif10.xhtml.edit, org.eclipse.rmf.reqif10.serialization, - org.eclipse.sphinx.emf.serialization + org.eclipse.sphinx.emf.serialization, + de.dlr.sc.virsat.external.lib.mockito Export-Package: de.dlr.sc.virsat.model.extension.requirements.test Automatic-Module-Name: de.dlr.sc.virsat.model.extension.requirements.test Import-Package: de.dlr.sc.virsat.build.test diff --git a/de.dlr.sc.virsat.model.extension.requirements.test/src-gen/de/dlr/sc/virsat/model/extension/requirements/model/ASynchronizationConfigurationTest.java b/de.dlr.sc.virsat.model.extension.requirements.test/src-gen/de/dlr/sc/virsat/model/extension/requirements/model/ASynchronizationConfigurationTest.java new file mode 100644 index 0000000000..9c0eb8767d --- /dev/null +++ b/de.dlr.sc.virsat.model.extension.requirements.test/src-gen/de/dlr/sc/virsat/model/extension/requirements/model/ASynchronizationConfigurationTest.java @@ -0,0 +1,83 @@ +/******************************************************************************* + * Copyright (c) 2008-2019 German Aerospace Center (DLR), Simulation and Software Technology, Germany. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + *******************************************************************************/ +package de.dlr.sc.virsat.model.extension.requirements.model; + +// ***************************************************************** +// * Import Statements +// ***************************************************************** + + +import de.dlr.sc.virsat.model.dvlm.concepts.Concept; +import de.dlr.sc.virsat.model.dvlm.categories.CategoriesFactory; +import de.dlr.sc.virsat.model.dvlm.categories.CategoryAssignment; +import java.lang.Exception; + + +// ***************************************************************** +// * Class Declaration +// ***************************************************************** + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; + +import org.junit.After; +import org.junit.Before; +import org.junit.Test; + +/** + * Auto Generated Abstract Generator Gap Class + * + * Don't Manually modify this class + * + * + * + */ +public abstract class ASynchronizationConfigurationTest { + + protected Concept concept; + + @Before + public void setUp() throws Exception { + String conceptXmiPluginPath = "de.dlr.sc.virsat.model.extension.requirements/concept/concept.xmi"; + concept = de.dlr.sc.virsat.concept.unittest.util.ConceptXmiLoader.loadConceptFromPlugin(conceptXmiPluginPath); + } + + @After + public void tearDown() throws Exception { + } + + + // ***************************************************************** + // * Constructor Test Cases + // ***************************************************************** + + @Test + public void testSynchronizationConfiguration() { + SynchronizationConfiguration testSynchronizationConfiguration = new SynchronizationConfiguration(); + + assertNull("There is no internal DVLM object", testSynchronizationConfiguration.getTypeInstance()); + } + + @Test + public void testSynchronizationConfigurationConcept() { + SynchronizationConfiguration testSynchronizationConfiguration = new SynchronizationConfiguration(concept); + + assertNotNull("There is an internal DVLM object", testSynchronizationConfiguration.getATypeInstance()); + } + + @Test + public void testSynchronizationConfigurationCategoryAssignment() { + CategoryAssignment testCa = CategoriesFactory.eINSTANCE.createCategoryAssignment(); + SynchronizationConfiguration testSynchronizationConfiguration = new SynchronizationConfiguration(testCa); + + assertEquals("DVLM object has been set as specified", testCa, testSynchronizationConfiguration.getTypeInstance()); + } +} diff --git a/de.dlr.sc.virsat.model.extension.requirements.test/src-gen/de/dlr/sc/virsat/model/extension/requirements/test/AllTestsGen.java b/de.dlr.sc.virsat.model.extension.requirements.test/src-gen/de/dlr/sc/virsat/model/extension/requirements/test/AllTestsGen.java index 7f09d73529..b98a4bab1b 100644 --- a/de.dlr.sc.virsat.model.extension.requirements.test/src-gen/de/dlr/sc/virsat/model/extension/requirements/test/AllTestsGen.java +++ b/de.dlr.sc.virsat.model.extension.requirements.test/src-gen/de/dlr/sc/virsat/model/extension/requirements/test/AllTestsGen.java @@ -29,6 +29,7 @@ import de.dlr.sc.virsat.model.extension.requirements.model.RequirementsViewTest; import de.dlr.sc.virsat.model.extension.requirements.model.RequirementTypeTest; import de.dlr.sc.virsat.model.extension.requirements.model.RequirementLinkTest; +import de.dlr.sc.virsat.model.extension.requirements.model.SynchronizationConfigurationTest; import de.dlr.sc.virsat.model.extension.requirements.model.BoundedValueVerificationTest; import de.dlr.sc.virsat.model.extension.requirements.migrator.Migrator0v2Test; import de.dlr.sc.virsat.model.extension.requirements.model.VerificationConfigurationTest; @@ -71,6 +72,7 @@ RequirementLinkTypeTest.class, RequirementAttributeTest.class, ImportConfigurationTest.class, + SynchronizationConfigurationTest.class, SpecificationMappingTest.class, EnumerationDefinitionTest.class, EnumerationLiteralTest.class, diff --git a/de.dlr.sc.virsat.model.extension.requirements.test/src/de/dlr/sc/virsat/model/extension/requirements/doors/client/DoorsSynchroClientTest.java b/de.dlr.sc.virsat.model.extension.requirements.test/src/de/dlr/sc/virsat/model/extension/requirements/doors/client/DoorsSynchroClientTest.java new file mode 100644 index 0000000000..6664e4b9e9 --- /dev/null +++ b/de.dlr.sc.virsat.model.extension.requirements.test/src/de/dlr/sc/virsat/model/extension/requirements/doors/client/DoorsSynchroClientTest.java @@ -0,0 +1,93 @@ +/******************************************************************************* + * Copyright (c) 2008-2019 German Aerospace Center (DLR), Simulation and Software Technology, Germany. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + *******************************************************************************/ + +package de.dlr.sc.virsat.model.extension.requirements.doors.client; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + +import java.io.IOException; +import java.net.URISyntaxException; + +import org.eclipse.lyo.client.exception.ResourceNotFoundException; +import org.eclipse.lyo.oslc.domains.rm.Requirement; +import org.eclipse.lyo.oslc4j.core.model.ResourceShape; +import org.junit.Before; +import org.junit.Test; + + +public class DoorsSynchroClientTest { + + private static final String TEST_PROJECT = "TestProject"; + private static final String SERVICE_PROVIDER_URL = "https://test.doors-server.de/rm/services.xml"; + private static final String QUERY_CAPABILITY = "https://test.doors-server.de/rm/query-capability"; + private static final String SERVICE_PROVIDER_NAME = "TestServiceProvider"; + private static final String REQ_ID = "123"; + + private TestHelper testHelper; + private TestOslcClient testOslcClient; + private MockDoorsSynchroClient mockDoorsSynchroClient; + + @Before + public void prepareMockups() { + testHelper = new TestHelper(); + testOslcClient = new TestOslcClient(); + mockDoorsSynchroClient = new MockDoorsSynchroClient(); + testHelper.init(); + } + + @Test + public void testLookUpServiceProvider() throws ResourceNotFoundException, IOException, URISyntaxException { + String expectedServiceProvider = SERVICE_PROVIDER_URL; + DoorsSynchroClient.setOslcClient(testOslcClient); + String serviceProvider = DoorsSynchroClient.lookUpServiceProviderUrl(TEST_PROJECT); + + assertEquals("The server returns the serviceProvider", expectedServiceProvider, serviceProvider); + } + + @Test + public void testlookUpQueryCapabilty() throws ResourceNotFoundException, IOException, URISyntaxException { + String expectedQueryCapabilty = QUERY_CAPABILITY; + DoorsSynchroClient.setOslcClient(testOslcClient); + String queryCapabilty = DoorsSynchroClient.lookUpQueryCapability(); + + assertEquals("The server returns the queryCapability", expectedQueryCapabilty, queryCapabilty); + } + + @Test + public void testGetRequirementById() throws ResourceNotFoundException, IOException, URISyntaxException { + MockDoorsSynchroClient.setDoorsSynchroClient(mockDoorsSynchroClient); + MockDoorsSynchroClient.setOslcClient(testOslcClient); + Requirement req = MockDoorsSynchroClient.getRequirementById(REQ_ID); + + assertNotNull("Req given by server not null", req); + } + + @Test + public void testGetServiceProvider() throws ResourceNotFoundException, IOException, URISyntaxException { + MockDoorsSynchroClient.setDoorsSynchroClient(mockDoorsSynchroClient); + MockDoorsSynchroClient.setOslcClient(testOslcClient); + String expectedServiceProviderName = SERVICE_PROVIDER_NAME; + String serviceProviderName = MockDoorsSynchroClient.getServiceProvider().getTitle(); + + assertEquals(expectedServiceProviderName, serviceProviderName); + } + + @Test + public void testGetResourceShape() { + MockDoorsSynchroClient.setDoorsSynchroClient(mockDoorsSynchroClient); + DoorsSynchroClient.setOslcClient(testOslcClient); + Requirement req = testHelper.mockRequirement(); + ResourceShape resourceShape = MockDoorsSynchroClient.getResourceShape(req); + + assertNotNull(resourceShape); + } + +} diff --git a/de.dlr.sc.virsat.model.extension.requirements.test/src/de/dlr/sc/virsat/model/extension/requirements/doors/client/MockDoorsSynchroClient.java b/de.dlr.sc.virsat.model.extension.requirements.test/src/de/dlr/sc/virsat/model/extension/requirements/doors/client/MockDoorsSynchroClient.java new file mode 100644 index 0000000000..2c0418b4e6 --- /dev/null +++ b/de.dlr.sc.virsat.model.extension.requirements.test/src/de/dlr/sc/virsat/model/extension/requirements/doors/client/MockDoorsSynchroClient.java @@ -0,0 +1,77 @@ +/******************************************************************************* + * Copyright (c) 2008-2019 German Aerospace Center (DLR), Simulation and Software Technology, Germany. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + *******************************************************************************/ +package de.dlr.sc.virsat.model.extension.requirements.doors.client; + +import java.io.IOException; +import java.net.URI; +import java.net.URISyntaxException; + +import javax.ws.rs.core.Response; + +import org.eclipse.lyo.client.OslcClient; +import org.eclipse.lyo.client.exception.ResourceNotFoundException; +import org.eclipse.lyo.client.query.OslcQueryParameters; +import org.eclipse.lyo.client.query.OslcQueryResult; +import org.eclipse.lyo.oslc.domains.rm.Requirement; +import org.eclipse.lyo.oslc4j.core.model.ResourceShape; +import org.eclipse.lyo.oslc4j.core.model.ServiceProvider; + +public class MockDoorsSynchroClient extends DoorsSynchroClient { + + + private static OslcClient client = new OslcClient(); + + public MockOslcQuery getOslcQuery(OslcClient client, String queryCapabilty, OslcQueryParameters queryParams) { + return new MockOslcQuery(client, queryCapabilty, queryParams); + } + + public static Requirement getReqFromMembers(OslcQueryResult result) { + TestHelper helper = new TestHelper(); + Requirement req = helper.mockRequirement(); + return req; + } + + public static Requirement getRequirementById(String id) + throws ResourceNotFoundException, IOException, URISyntaxException { + String queryCapability = lookUpQueryCapability(); + OslcQueryParameters queryParams = new OslcQueryParameters(); + queryParams.setSelect("*"); + queryParams.setPrefix( + "rdf=,dcterms=,oslc_rm= + + @@ -185,6 +189,10 @@ id="de.dlr.sc.virsat.model.extension.requirements.ui.command.AddImportConfiguration" name="Add ImportConfiguration"> + + @@ -297,6 +305,11 @@ disabledIcon="resources/icons/ImportConfiguration_disabled.gif" icon="resources/icons/ImportConfiguration.gif"> + + + + @@ -798,6 +815,28 @@ + + + + + + + + + + + + @@ -1291,6 +1330,16 @@ section="de.dlr.sc.virsat.model.extension.requirements.ui.Section" snippet="de.dlr.sc.virsat.model.extension.requirements.ui.snippet.UiSnippetTableImportConfigurationMappedSpecificationsSpecificationMapping"> + + + + - - - - - - + + + + addSynchronizationConfiguration())); + + gridData = new GridData(GridData.HORIZONTAL_ALIGN_END); + button.setLayoutData(gridData); + } + + public void selectionChanged() { + setPageComplete(isComplete()); + if (getWizard().getContainer() != null) { + getWizard().getContainer().updateButtons(); + } + } + + /** + * Check if client can build a connection to the selected doors server + * @return true if connection valid or false + */ + public boolean isDoorsConnectionValid() { + server = serverUrlField.getText(); + project = projectNameField.getText(); + user = userIdField.getText(); + password = passwordField.getText(); + StructuralElementInstance reqConfiguration = importConfig.getStructuralElementInstance(); + if (reqConfiguration != null) { + concept = (Concept) reqConfiguration.getType().eContainer(); + try { + if (!server.isEmpty()) { + doorsSynchroClient.init(server, user, password, project); + ServiceProvider serviceProvider = DoorsSynchroClient.getServiceProvider(); + String title = serviceProvider.getTitle(); + if (title.equals(project)) { + saveUserCredentials(user, password, project); + return true; + } + } + } catch (UnrecoverableKeyException | CertificateException | IOException e) { + e.printStackTrace(); + Activator.getDefault().getLog().error(e.getMessage()); + } catch (ResourceNotFoundException | URISyntaxException | NullPointerException e) { + openMessageBox(); + } + } + return false; + } + + /** + * Adds the synchronization config to a Doors server + */ + private void addSynchronizationConfiguration() { + if (isDoorsConnectionValid()) { + SynchronizationConfiguration synchroConfig = new SynchronizationConfiguration(concept); + synchroConfig.setName(project + " Synchronization"); + synchroConfig.setServerUrl(server); + synchroConfig.setProjectName(project); + + EObject reqConfiguration = importConfig.getStructuralElementInstance(); + RequirementsConfigurationCollection collection = new RequirementsConfigurationCollection( + (StructuralElementInstance) reqConfiguration); + Repository repository = (Repository) concept.eContainer(); + VirSatTransactionalEditingDomain editingDomain = VirSatEditingDomainRegistry.INSTANCE.getEd(repository); + CompoundCommand cc = new CompoundCommand(); + cc.append(collection.add(editingDomain, synchroConfig)); + editingDomain.getCommandStack().execute(cc); + selectionChanged(); + } else { + openMessageBox(); + } + } + + /** + * Stores the user credentials to the eclipse storage store + * @param user + * @param password + * @param projectName + */ + public void saveUserCredentials(String user, String password, String projectName) { + ISecurePreferences securePreferences = SecurePreferencesFactory.getDefault(); + ISecurePreferences node = securePreferences.node("DoorsNG user credentials (" + projectName + ")"); + try { + node.put("user", user, true); + node.put("password", password, true); + } catch (StorageException e1) { + e1.printStackTrace(); + } + } + + private void openMessageBox() { + MessageBox mb = new MessageBox(getShell(), SWT.ICON_WARNING); + mb.setText("Warning"); + mb.setMessage("Connection to Doors server not possible. Please retry."); + mb.open(); + } + + @Override + public DoorsAddSynchronizationWizard getWizard() { + return (DoorsAddSynchronizationWizard) super.getWizard(); + } +} \ No newline at end of file diff --git a/de.dlr.sc.virsat.model.extension.requirements.ui/src/de/dlr/sc/virsat/model/extension/requirements/ui/wizard/DoorsAddSynchronizationWizard.java b/de.dlr.sc.virsat.model.extension.requirements.ui/src/de/dlr/sc/virsat/model/extension/requirements/ui/wizard/DoorsAddSynchronizationWizard.java new file mode 100644 index 0000000000..d12dfba899 --- /dev/null +++ b/de.dlr.sc.virsat.model.extension.requirements.ui/src/de/dlr/sc/virsat/model/extension/requirements/ui/wizard/DoorsAddSynchronizationWizard.java @@ -0,0 +1,119 @@ +/******************************************************************************* + * Copyright (c) 2008-2019 German Aerospace Center (DLR), Simulation and Software Technology, Germany. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + *******************************************************************************/ +package de.dlr.sc.virsat.model.extension.requirements.ui.wizard; + +import org.eclipse.core.resources.IContainer; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.eclipse.core.runtime.SubMonitor; +import org.eclipse.core.runtime.jobs.Job; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.edit.domain.EditingDomain; +import org.eclipse.jface.dialogs.DialogSettings; +import org.eclipse.jface.dialogs.IDialogSettings; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.jface.wizard.Wizard; +import org.eclipse.ui.IWorkbench; +import org.eclipse.ui.IWorkbenchWizard; + +import de.dlr.sc.virsat.model.dvlm.categories.CategoryAssignment; +import de.dlr.sc.virsat.model.extension.requirements.doors.client.DoorsSynchronizer; +import de.dlr.sc.virsat.model.extension.requirements.model.ImportConfiguration; +import de.dlr.sc.virsat.model.extension.requirements.ui.Activator; +import de.dlr.sc.virsat.project.editingDomain.VirSatEditingDomainRegistry; +import de.dlr.sc.virsat.project.editingDomain.VirSatTransactionalEditingDomain; + +/** + * A wizard for the synchronization with Doors requirements by adding a new synchronization configuration + * + */ +public class DoorsAddSynchronizationWizard extends Wizard implements IWorkbenchWizard { + + public static final String ID = "de.dlr.sc.virsat.model.extension.requirements.ui.wizard.doorsImport"; + private static final int NUMBER_PROGRESS_TICKS_IMPORT = 5; + + private DoorsChooseImportConfigurationPage importPage; + private DoorsAddSynchroConfigurationPage addSynchroPage; + private DoorsSynchronizer synchronizer = new DoorsSynchronizer(); + + private IContainer model; + + /** + * Default constructor + */ + public DoorsAddSynchronizationWizard() { + super(); + + // Setup persistency + IDialogSettings pluginSettings = Activator.getDefault().getDialogSettings(); + IDialogSettings wizardSettings = pluginSettings.getSection(ID); + if (wizardSettings == null) { + wizardSettings = new DialogSettings(ID); + pluginSettings.addSection(wizardSettings); + } + setDialogSettings(wizardSettings); + } + + @Override + public void init(IWorkbench workbench, IStructuredSelection selection) { + this.model = ResourcesPlugin.getWorkspace().getRoot(); + setNeedsProgressMonitor(true); + } + + @Override + public boolean canFinish() { + return super.canFinish() || addSynchroPage.canFinish(); + } + + @Override + public boolean performFinish() { + final EObject reqConfiguration = (EObject) importPage.getSelection(); + + // Do the import + Job importJob = new Job("Performing Requirements Synchronization") { + @Override + protected IStatus run(IProgressMonitor monitor) { + VirSatTransactionalEditingDomain editingDomain = VirSatEditingDomainRegistry.INSTANCE + .getEd(reqConfiguration); + ImportConfiguration importConfiguration = new ImportConfiguration( + (CategoryAssignment) reqConfiguration); + synchronizer.init(importConfiguration, editingDomain); + synchronize(editingDomain, monitor); + return Status.OK_STATUS; + } + + private void synchronize(EditingDomain editingDomain, IProgressMonitor monitor) { + SubMonitor importSubMonitor = SubMonitor.convert(monitor, NUMBER_PROGRESS_TICKS_IMPORT); + + // Do the actual imports + editingDomain.getCommandStack().execute(synchronizer.synchronizeRequirements(editingDomain)); + importSubMonitor.worked(1); + +// //Import the requirement links +// editingDomain.getCommandStack().execute(synchronizer.updateRequirementLinks(editingDomain, specs)); +// importSubMonitor.worked(1); + } + }; + importJob.schedule(); + + return true; + } + + @Override + public void addPages() { + importPage = new DoorsChooseImportConfigurationPage(model); + addSynchroPage = new DoorsAddSynchroConfigurationPage(model, importPage); + addPage(importPage); + addPage(addSynchroPage); + } + +} diff --git a/de.dlr.sc.virsat.model.extension.requirements.ui/src/de/dlr/sc/virsat/model/extension/requirements/ui/wizard/DoorsChooseImportConfigurationPage.java b/de.dlr.sc.virsat.model.extension.requirements.ui/src/de/dlr/sc/virsat/model/extension/requirements/ui/wizard/DoorsChooseImportConfigurationPage.java new file mode 100644 index 0000000000..8850aede4c --- /dev/null +++ b/de.dlr.sc.virsat.model.extension.requirements.ui/src/de/dlr/sc/virsat/model/extension/requirements/ui/wizard/DoorsChooseImportConfigurationPage.java @@ -0,0 +1,122 @@ +/******************************************************************************* + * Copyright (c) 2008-2019 German Aerospace Center (DLR), Simulation and Software Technology, Germany. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + *******************************************************************************/ + +package de.dlr.sc.virsat.model.extension.requirements.ui.wizard; + +import org.eclipse.core.resources.IContainer; +import org.eclipse.jface.viewers.TreeViewer; +import org.eclipse.jface.wizard.IWizard; +import org.eclipse.jface.wizard.Wizard; +import org.eclipse.swt.widgets.Composite; + +import de.dlr.sc.virsat.model.dvlm.categories.CategoryAssignment; +import de.dlr.sc.virsat.model.dvlm.categories.propertyinstances.ArrayInstance; +import de.dlr.sc.virsat.model.dvlm.categories.propertyinstances.ComposedPropertyInstance; +import de.dlr.sc.virsat.model.dvlm.structural.StructuralElementInstance; +import de.dlr.sc.virsat.model.extension.requirements.model.ImportConfiguration; +import de.dlr.sc.virsat.model.extension.requirements.model.RequirementsConfigurationCollection; +import de.dlr.sc.virsat.project.ui.contentProvider.VirSatFilteredWrappedTreeContentProvider; +import de.dlr.sc.virsat.uiengine.ui.wizard.AImportExportPage; +/** + * A page to choose an existing import configuration + * + */ +public class DoorsChooseImportConfigurationPage extends AImportExportPage { + private static final String PAGE_TITEL = "Requirements Doors Synchronizer"; + + /** + * Standard constructor + * @param model + */ + protected DoorsChooseImportConfigurationPage(IContainer model) { + super(PAGE_TITEL); + setTitle(PAGE_TITEL); + setModel(model); + setDescription("Please choose an import configuration to synchronize with a Doors project."); + } + + @Override + public void createControl(Composite parent) { + super.createControl(parent); + createTreeViewer(); + } + + @Override + public boolean isSelectionValid() { + Object selection = getSelection(); + if (selection instanceof CategoryAssignment) { + String categoryFqn = ((CategoryAssignment) selection).getType().getFullQualifiedName(); + return categoryFqn.equals(ImportConfiguration.FULL_QUALIFIED_CATEGORY_NAME); + } + return false; + } + + /** + * Create a tree viewer with filters to show only relevant tree elements for + * Doors import /export + * @return treeViewer + */ + protected TreeViewer createTreeViewer() { + TreeViewer treeViewer = createTreeUI(); + VirSatFilteredWrappedTreeContentProvider filteredCp = (VirSatFilteredWrappedTreeContentProvider) treeViewer + .getContentProvider(); + filteredCp.addClassFilter(CategoryAssignment.class); + filteredCp.addClassFilter(ArrayInstance.class); + filteredCp.addClassFilter(ComposedPropertyInstance.class); + filteredCp.addStructuralElementIdFilter( + RequirementsConfigurationCollection.FULL_QUALIFIED_STRUCTURAL_ELEMENT_NAME); + filteredCp.addCategoryIdFilter(ImportConfiguration.FULL_QUALIFIED_CATEGORY_NAME); + return treeViewer; + } + + /** + * Get selected requirement collection + * @return current requirement collection or null + */ + public StructuralElementInstance getStructuralElementInstance() { + Object currentSelection = getSelection(); + if (currentSelection instanceof CategoryAssignment) { + CategoryAssignment catAssignment = (CategoryAssignment) currentSelection; + StructuralElementInstance currentReqCollection = (StructuralElementInstance) catAssignment.eContainer(); + return currentReqCollection; + } + return null; + } + + @Override + public boolean canFlipToNextPage() { + return super.canFlipToNextPage() && isSelectionValid(); + } + + @Override + public boolean isComplete() { + return isCurrentPage() && isSelectionValid(); + } + + @Override + public Object getSelection() { + Object selected = super.getSelection(); + if (selected instanceof ComposedPropertyInstance) { + selected = ((ComposedPropertyInstance) selected).getTypeInstance(); + } + return selected; + } + + @Override + public Wizard getWizard() { + IWizard currentWizard = super.getWizard(); + if (currentWizard instanceof DoorsActivateSynchronizationWizard) { + return (DoorsActivateSynchronizationWizard) super.getWizard(); + } else if (currentWizard instanceof DoorsAddSynchronizationWizard) { + return (DoorsAddSynchronizationWizard) super.getWizard(); + } + return null; + } +} \ No newline at end of file diff --git a/de.dlr.sc.virsat.model.extension.requirements.ui/src/de/dlr/sc/virsat/model/extension/requirements/ui/wizard/DoorsMappingPage.java b/de.dlr.sc.virsat.model.extension.requirements.ui/src/de/dlr/sc/virsat/model/extension/requirements/ui/wizard/DoorsMappingPage.java new file mode 100644 index 0000000000..bf652b6f40 --- /dev/null +++ b/de.dlr.sc.virsat.model.extension.requirements.ui/src/de/dlr/sc/virsat/model/extension/requirements/ui/wizard/DoorsMappingPage.java @@ -0,0 +1,153 @@ +/******************************************************************************* + * Copyright (c) 2008-2019 German Aerospace Center (DLR), Simulation and Software Technology, Germany. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + *******************************************************************************/ +package de.dlr.sc.virsat.model.extension.requirements.ui.wizard; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.jface.wizard.WizardPage; +import org.eclipse.swt.SWT; +import org.eclipse.swt.custom.CCombo; +import org.eclipse.swt.events.SelectionEvent; +import org.eclipse.swt.events.SelectionListener; +import org.eclipse.swt.layout.GridData; +import org.eclipse.swt.layout.GridLayout; +import org.eclipse.swt.widgets.Combo; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Label; +import org.eclipse.swt.widgets.Table; +import org.eclipse.swt.widgets.TableColumn; +import org.eclipse.swt.widgets.TableItem; + +import de.dlr.sc.virsat.model.dvlm.Repository; +import de.dlr.sc.virsat.model.dvlm.structural.StructuralElementInstance; +import de.dlr.sc.virsat.model.extension.requirements.model.RequirementsConfiguration; +import de.dlr.sc.virsat.model.extension.requirements.model.RequirementsConfigurationCollection; + +/** + * A wizard page to review the requirement type which is used for imports + * + */ +public class DoorsMappingPage extends WizardPage implements SelectionListener { + + private static final String PAGE_TITLE = "Doors Mapping"; + private static final String COLUMN_SPECIFICATION_LABEL = "Specification"; + private static final String COLUMN_CONTAINER_LABEL = "Container"; + private static final int COMBO_TYPE_WIDTH = 500; + private static final int COLUMN_SPECIFICATION_WIDTH = 300; + private static final int COLUMN_CONTAINER_WIDTH = 300; + private static final String TYPE_CONTAINER_LABEL = "Requirement Type Container:"; + private static final String TYPE_CONTAINER_DEFAULT_TEXT = "Create New Container"; + + private Table table; + private List tableItems = new ArrayList(); + private List editors = new ArrayList(); + private Combo combo; + private Repository repository; + + /** + * Constructor + */ + protected DoorsMappingPage() { + super(PAGE_TITLE); + setTitle(PAGE_TITLE); + setDescription("Check the specification elements to import and their container element in the system model."); + } + + @Override + public void createControl(Composite parent) { + Composite content = new Composite(parent, SWT.NONE); + content.setLayout(new GridLayout()); + content.setLayoutData(new GridData(GridData.FILL_BOTH | GridData.GRAB_HORIZONTAL | GridData.GRAB_HORIZONTAL)); + setControl(content); + + Composite typeNameComposite = new Composite(content, SWT.NONE); + typeNameComposite.setLayout(new GridLayout(2, false)); + GridData data = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL); + typeNameComposite.setLayoutData(data); + + Label label = new Label(typeNameComposite, SWT.NONE); + label.setText(TYPE_CONTAINER_LABEL); + + combo = new Combo(typeNameComposite, SWT.NONE); + GridData comboData = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL); + comboData.horizontalAlignment = SWT.END; + comboData.minimumWidth = COMBO_TYPE_WIDTH; + combo.setLayoutData(comboData); + combo.setText(TYPE_CONTAINER_DEFAULT_TEXT); + + table = new Table(content, SWT.CHECK | SWT.BORDER | SWT.H_SCROLL); + table.setLayout(new GridLayout()); + table.setLayoutData(new GridData(GridData.FILL_BOTH | GridData.GRAB_HORIZONTAL | GridData.GRAB_VERTICAL)); + table.setHeaderVisible(true); + table.addSelectionListener(this); + + TableColumn columnSpecification = new TableColumn(table, SWT.NULL); + columnSpecification.setWidth(COLUMN_SPECIFICATION_WIDTH); + columnSpecification.setText(COLUMN_SPECIFICATION_LABEL); + + TableColumn columnContainer = new TableColumn(table, SWT.NONE | SWT.DROP_DOWN); + columnContainer.setText(COLUMN_CONTAINER_LABEL); + columnContainer.setWidth(COLUMN_CONTAINER_WIDTH); + } + + @Override + public boolean isPageComplete() { + for (TableItem item : tableItems) { + if (item.getChecked() && item.getText(1).equals("")) { + return false; + } + } + return isCurrentPage(); + } + + /** + * Clean table items if they have been used already + */ + protected void cleanTable() { + for (TableItem item : tableItems) { + item.setText(""); + item.setText(1, ""); + item.setChecked(false); + } + } + + @Override + public void widgetSelected(SelectionEvent e) { + if (e.getSource().equals(table) && e.detail == SWT.CHECK) { + TableItem item = (TableItem) e.item; + CCombo editor = editors.get(tableItems.indexOf(item)); + editor.setEditable(item.getChecked()); + } + } + + @Override + public void widgetDefaultSelected(SelectionEvent e) { + + } + + /** + * Get the selected requirements type container or null if a new one should be created + * @return the configuration element or null + */ + public RequirementsConfiguration getRequirementTypeContainer() { + for (StructuralElementInstance rootSei : repository.getRootEntities()) { + if (rootSei.getType().getFullQualifiedName().equals(RequirementsConfigurationCollection.FULL_QUALIFIED_STRUCTURAL_ELEMENT_NAME)) { + RequirementsConfigurationCollection rcc = new RequirementsConfigurationCollection(rootSei); + for (RequirementsConfiguration config : rcc.getAll(RequirementsConfiguration.class)) { + if (config.getATypeInstance().getFullQualifiedInstanceName().equals(combo.getText())) { + return config; + } + } + } + } + return null; + } +} \ No newline at end of file diff --git a/de.dlr.sc.virsat.model.extension.requirements.ui/src/de/dlr/sc/virsat/model/extension/requirements/ui/wizard/DoorsUserCredentialsDialog.java b/de.dlr.sc.virsat.model.extension.requirements.ui/src/de/dlr/sc/virsat/model/extension/requirements/ui/wizard/DoorsUserCredentialsDialog.java new file mode 100644 index 0000000000..e556451e1a --- /dev/null +++ b/de.dlr.sc.virsat.model.extension.requirements.ui/src/de/dlr/sc/virsat/model/extension/requirements/ui/wizard/DoorsUserCredentialsDialog.java @@ -0,0 +1,111 @@ +/******************************************************************************* + * Copyright (c) 2008-2019 German Aerospace Center (DLR), Simulation and Software Technology, Germany. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + *******************************************************************************/ + +package de.dlr.sc.virsat.model.extension.requirements.ui.wizard; + +import org.eclipse.jface.dialogs.Dialog; +import org.eclipse.jface.dialogs.IDialogConstants; +import org.eclipse.swt.SWT; +import org.eclipse.swt.graphics.Point; +import org.eclipse.swt.layout.GridData; +import org.eclipse.swt.layout.GridLayout; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Control; +import org.eclipse.swt.widgets.Label; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.swt.widgets.Text; + +public class DoorsUserCredentialsDialog extends Dialog { + private static final String TITLE = "Please provide your Doors User ID and password"; + private static final int WIDTH = 450; + private static final int HEIGHT = 300; + + private Text txtUser; + private Text txtPassword; + private String user = ""; + private String password = ""; + + public DoorsUserCredentialsDialog(Shell parentShell) { + super(parentShell); + } + + @Override + protected Control createDialogArea(Composite parent) { + Composite container = (Composite) super.createDialogArea(parent); + GridLayout layout = new GridLayout(2, false); + container.setLayout(layout); + + Shell shell = getShell(); + shell.setText(TITLE); + + Label lblUser = new Label(container, SWT.NONE); + lblUser.setText("User ID:"); + + txtUser = new Text(container, SWT.BORDER); + txtUser.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1)); + txtUser.setText(user); + txtUser.addModifyListener(e -> { + Text textWidget = (Text) e.getSource(); + String userText = textWidget.getText(); + user = userText; + }); + + Label lblPassword = new Label(container, SWT.NONE); + GridData data = new GridData(SWT.LEFT, SWT.CENTER, false, false); + data.horizontalIndent = 1; + lblPassword.setLayoutData(data); + lblPassword.setText("Password:"); + + txtPassword = new Text(container, SWT.BORDER | SWT.PASSWORD); + txtPassword.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false)); + txtPassword.setText(password); + txtPassword.addModifyListener(e -> { + Text textWidget = (Text) e.getSource(); + String passwordText = textWidget.getText(); + password = passwordText; + }); + return container; + } + + // override method to use "Login" as label for the OK button + @Override + protected void createButtonsForButtonBar(Composite parent) { + createButton(parent, IDialogConstants.OK_ID, "Login", true); + createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false); + } + + @Override + protected Point getInitialSize() { + return new Point(WIDTH, HEIGHT); + } + + @Override + protected void okPressed() { + user = txtUser.getText(); + password = txtPassword.getText(); + super.okPressed(); + } + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } +} \ No newline at end of file diff --git a/de.dlr.sc.virsat.model.extension.requirements/META-INF/MANIFEST.MF b/de.dlr.sc.virsat.model.extension.requirements/META-INF/MANIFEST.MF index 5690b8bb41..9876616df4 100644 --- a/de.dlr.sc.virsat.model.extension.requirements/META-INF/MANIFEST.MF +++ b/de.dlr.sc.virsat.model.extension.requirements/META-INF/MANIFEST.MF @@ -12,15 +12,19 @@ Require-Bundle: org.eclipse.ui, de.dlr.sc.virsat.model.ext.core;visibility:=reexport, de.dlr.sc.virsat.external.lib.commons.csv, de.dlr.sc.virsat.build, + de.dlr.sc.virsat.external.lib.lyo, org.eclipse.rmf.reqif10, org.eclipse.rmf.reqif10.xhtml, - org.eclipse.rmf.reqif10.common + org.eclipse.rmf.reqif10.common, + de.dlr.sc.virsat.external.lib.jersey, + de.dlr.sc.virsat.external.lib.jersey.apache Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Bundle-ActivationPolicy: lazy Eclipse-ExtensibleAPI: true Export-Package: de.dlr.sc.virsat.model.extension.requirements, de.dlr.sc.virsat.model.extension.requirements.command, de.dlr.sc.virsat.model.extension.requirements.csv, + de.dlr.sc.virsat.model.extension.requirements.doors.client, de.dlr.sc.virsat.model.extension.requirements.migrator, de.dlr.sc.virsat.model.extension.requirements.model, de.dlr.sc.virsat.model.extension.requirements.reqif, diff --git a/de.dlr.sc.virsat.model.extension.requirements/concept/concept.concept b/de.dlr.sc.virsat.model.extension.requirements/concept/concept.concept index e2b826db27..2a1b25be96 100644 --- a/de.dlr.sc.virsat.model.extension.requirements/concept/concept.concept +++ b/de.dlr.sc.virsat.model.extension.requirements/concept/concept.concept @@ -102,6 +102,13 @@ Concept de.dlr.sc.virsat.model.extension.requirements displayname "Requirements" BooleanProperty groupSupport description "If true using RequirementGroups for requirement objects with children"; } + Category SynchronizationConfiguration { + Applicable For [RequirementsConfigurationCollection]; + StringProperty serverUrl; + StringProperty projectName; + Reference mapping of Type ImportConfiguration; + } + Category SpecificationMapping { StringProperty externalIdentifier; Reference specification of Type RequirementsSpecification; diff --git a/de.dlr.sc.virsat.model.extension.requirements/concept/concept.xmi b/de.dlr.sc.virsat.model.extension.requirements/concept/concept.xmi index d90f278626..c5539ad386 100644 --- a/de.dlr.sc.virsat.model.extension.requirements/concept/concept.xmi +++ b/de.dlr.sc.virsat.model.extension.requirements/concept/concept.xmi @@ -120,6 +120,12 @@ + + + + + + diff --git a/de.dlr.sc.virsat.model.extension.requirements/concept/concept_v0_6.xmi b/de.dlr.sc.virsat.model.extension.requirements/concept/concept_v0_6.xmi index db05a0764b..bbd41cb6da 100644 --- a/de.dlr.sc.virsat.model.extension.requirements/concept/concept_v0_6.xmi +++ b/de.dlr.sc.virsat.model.extension.requirements/concept/concept_v0_6.xmi @@ -120,6 +120,12 @@ + + + + + + diff --git a/de.dlr.sc.virsat.model.extension.requirements/plugin.xml b/de.dlr.sc.virsat.model.extension.requirements/plugin.xml index 4f3291490a..d74cb7cbdd 100644 --- a/de.dlr.sc.virsat.model.extension.requirements/plugin.xml +++ b/de.dlr.sc.virsat.model.extension.requirements/plugin.xml @@ -73,6 +73,10 @@ id="de.dlr.sc.virsat.model.extension.requirements.ImportConfiguration" caBean="de.dlr.sc.virsat.model.extension.requirements.model.ImportConfiguration"> + + diff --git a/de.dlr.sc.virsat.model.extension.requirements/src-gen/de/dlr/sc/virsat/model/extension/requirements/model/ASynchronizationConfiguration.java b/de.dlr.sc.virsat.model.extension.requirements/src-gen/de/dlr/sc/virsat/model/extension/requirements/model/ASynchronizationConfiguration.java new file mode 100644 index 0000000000..e17b36fdff --- /dev/null +++ b/de.dlr.sc.virsat.model.extension.requirements/src-gen/de/dlr/sc/virsat/model/extension/requirements/model/ASynchronizationConfiguration.java @@ -0,0 +1,184 @@ +/******************************************************************************* + * Copyright (c) 2008-2019 German Aerospace Center (DLR), Simulation and Software Technology, Germany. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + *******************************************************************************/ +package de.dlr.sc.virsat.model.extension.requirements.model; + +// ***************************************************************** +// * Import Statements +// ***************************************************************** +import javax.xml.bind.annotation.XmlAccessorType; +import de.dlr.sc.virsat.model.concept.types.category.IBeanCategoryAssignment; +import de.dlr.sc.virsat.model.dvlm.concepts.util.ActiveConceptHelper; +import de.dlr.sc.virsat.model.dvlm.categories.propertyinstances.ValuePropertyInstance; +import javax.xml.bind.annotation.XmlRootElement; +import de.dlr.sc.virsat.model.dvlm.categories.util.CategoryInstantiator; +import de.dlr.sc.virsat.model.dvlm.categories.Category; +import de.dlr.sc.virsat.model.concept.types.property.BeanPropertyString; +import javax.xml.bind.annotation.XmlAccessType; +import de.dlr.sc.virsat.model.dvlm.categories.propertyinstances.ReferencePropertyInstance; +import de.dlr.sc.virsat.model.dvlm.concepts.Concept; +import de.dlr.sc.virsat.model.concept.types.property.BeanPropertyReference; +import org.eclipse.emf.edit.domain.EditingDomain; +import org.eclipse.emf.common.command.Command; +import de.dlr.sc.virsat.model.dvlm.json.ABeanObjectAdapter; +import de.dlr.sc.virsat.model.dvlm.categories.CategoryAssignment; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import de.dlr.sc.virsat.model.ext.core.model.GenericCategory; +import javax.xml.bind.annotation.XmlElement; + + +// ***************************************************************** +// * Class Declaration +// ***************************************************************** + +/** + * Auto Generated Abstract Generator Gap Class + * + * Don't Manually modify this class + * + * + * + */ +@XmlRootElement +@XmlAccessorType(XmlAccessType.NONE) +public abstract class ASynchronizationConfiguration extends GenericCategory implements IBeanCategoryAssignment { + + public static final String FULL_QUALIFIED_CATEGORY_NAME = "de.dlr.sc.virsat.model.extension.requirements.SynchronizationConfiguration"; + + /** + * Call this method to get the full qualified name of the underlying category + * @return The FQN of the category as String + */ + public String getFullQualifiedCategoryName() { + return FULL_QUALIFIED_CATEGORY_NAME; + } + + // property name constants + public static final String PROPERTY_SERVERURL = "serverUrl"; + public static final String PROPERTY_PROJECTNAME = "projectName"; + public static final String PROPERTY_MAPPING = "mapping"; + + + + // ***************************************************************** + // * Class Constructors + // ***************************************************************** + + public ASynchronizationConfiguration() { + } + + public ASynchronizationConfiguration(Concept concept) { + Category categoryFromActiveCategories = ActiveConceptHelper.getCategory(concept, "SynchronizationConfiguration"); + CategoryAssignment categoryAssignement = new CategoryInstantiator().generateInstance(categoryFromActiveCategories, "SynchronizationConfiguration"); + setTypeInstance(categoryAssignement); + } + + public ASynchronizationConfiguration(CategoryAssignment categoryAssignement) { + setTypeInstance(categoryAssignement); + } + + + // ***************************************************************** + // * Attribute: serverUrl + // ***************************************************************** + private BeanPropertyString serverUrl = new BeanPropertyString(); + + private void safeAccessServerUrl() { + if (serverUrl.getTypeInstance() == null) { + serverUrl.setTypeInstance((ValuePropertyInstance) helper.getPropertyInstance("serverUrl")); + } + } + + public Command setServerUrl(EditingDomain ed, String value) { + safeAccessServerUrl(); + return this.serverUrl.setValue(ed, value); + } + + public void setServerUrl(String value) { + safeAccessServerUrl(); + this.serverUrl.setValue(value); + } + + public String getServerUrl() { + safeAccessServerUrl(); + return serverUrl.getValue(); + } + + @XmlElement + public BeanPropertyString getServerUrlBean() { + safeAccessServerUrl(); + return serverUrl; + } + + // ***************************************************************** + // * Attribute: projectName + // ***************************************************************** + private BeanPropertyString projectName = new BeanPropertyString(); + + private void safeAccessProjectName() { + if (projectName.getTypeInstance() == null) { + projectName.setTypeInstance((ValuePropertyInstance) helper.getPropertyInstance("projectName")); + } + } + + public Command setProjectName(EditingDomain ed, String value) { + safeAccessProjectName(); + return this.projectName.setValue(ed, value); + } + + public void setProjectName(String value) { + safeAccessProjectName(); + this.projectName.setValue(value); + } + + public String getProjectName() { + safeAccessProjectName(); + return projectName.getValue(); + } + + @XmlElement + public BeanPropertyString getProjectNameBean() { + safeAccessProjectName(); + return projectName; + } + + // ***************************************************************** + // * Attribute: mapping + // ***************************************************************** + private BeanPropertyReference mapping = new BeanPropertyReference<>(); + + private void safeAccessMapping() { + ReferencePropertyInstance propertyInstance = (ReferencePropertyInstance) helper.getPropertyInstance("mapping"); + mapping.setTypeInstance(propertyInstance); + } + + @XmlElement(nillable = true) + @XmlJavaTypeAdapter(ABeanObjectAdapter.class) + public ImportConfiguration getMapping() { + safeAccessMapping(); + return mapping.getValue(); + } + + public Command setMapping(EditingDomain ed, ImportConfiguration value) { + safeAccessMapping(); + return mapping.setValue(ed, value); + } + + public void setMapping(ImportConfiguration value) { + safeAccessMapping(); + mapping.setValue(value); + } + + public BeanPropertyReference getMappingBean() { + safeAccessMapping(); + return mapping; + } + + +} diff --git a/de.dlr.sc.virsat.model.extension.requirements/src/de/dlr/sc/virsat/model/extension/requirements/doors/client/DoorsSynchroClient.java b/de.dlr.sc.virsat.model.extension.requirements/src/de/dlr/sc/virsat/model/extension/requirements/doors/client/DoorsSynchroClient.java new file mode 100644 index 0000000000..938221fcb0 --- /dev/null +++ b/de.dlr.sc.virsat.model.extension.requirements/src/de/dlr/sc/virsat/model/extension/requirements/doors/client/DoorsSynchroClient.java @@ -0,0 +1,312 @@ +/******************************************************************************* + * Copyright (c) 2008-2019 German Aerospace Center (DLR), Simulation and Software Technology, Germany. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + *******************************************************************************/ + +package de.dlr.sc.virsat.model.extension.requirements.doors.client; + +import java.io.IOException; +import java.net.MalformedURLException; +import java.net.URI; +import java.net.URISyntaxException; +import java.security.UnrecoverableKeyException; +import java.security.cert.CertificateException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.Iterator; + +import javax.ws.rs.core.Response; + +import org.eclipse.lyo.client.OSLCConstants; +import org.eclipse.lyo.client.OslcClient; +import org.eclipse.lyo.client.exception.ResourceNotFoundException; +import org.eclipse.lyo.client.query.OslcQuery; +import org.eclipse.lyo.client.query.OslcQueryParameters; +import org.eclipse.lyo.client.query.OslcQueryResult; +import org.eclipse.lyo.oslc.domains.rm.Requirement; +import org.eclipse.lyo.oslc.domains.rm.RequirementCollection; +import org.eclipse.lyo.oslc4j.core.model.CreationFactory; +import org.eclipse.lyo.oslc4j.core.model.Link; +import org.eclipse.lyo.oslc4j.core.model.OslcMediaType; +import org.eclipse.lyo.oslc4j.core.model.ResourceShape; +import org.eclipse.lyo.oslc4j.core.model.Service; +import org.eclipse.lyo.oslc4j.core.model.ServiceProvider; + +import de.dlr.sc.virsat.model.extension.requirements.Activator; + +public class DoorsSynchroClient { + + private static final String CATALOG_URL = "https://jts.gk.intra.dlr.de/rm/oslc_rm/catalog"; + private static final int SUCCESSFULL_HTTP_STATUS = 200; + + private DoorsUtils doorsUtils; + + private static ArrayList reqSpecificationsList = new ArrayList(); + private static HashMap> mapOfRequirements = new HashMap>(); + private static OslcClient client = new OslcClient(); + private static String serviceProviderUrl; + public static DoorsSynchroClient doorsSynchroClient = new DoorsSynchroClient(); + + /** + * Inits the doors synchro client by getting an Oslc Client and look up provided + * services + * + * @param server server url + * @param user user name + * @param password password + * @param project project name + * @throws UnrecoverableKeyException + * @throws MalformedURLException + * @throws CertificateException + * @throws IOException + * @throws ResourceNotFoundException + * @throws URISyntaxException + */ + public void init(String server, String user, String password, String project) throws UnrecoverableKeyException, + MalformedURLException, CertificateException, IOException, ResourceNotFoundException, URISyntaxException { + doorsUtils = new DoorsUtils(server, user, password); + client = doorsUtils.getClient(); + serviceProviderUrl = lookUpServiceProviderUrl(project); + doorsSynchroClient = new DoorsSynchroClient(); + } + + public static void setOslcClient(OslcClient oslcClient) { + client = oslcClient; + + } + + public static void setDoorsSynchroClient(DoorsSynchroClient synchroClient) { + doorsSynchroClient = synchroClient; + } + + /** + * Looks up service provider url to access doors projects in further requests + * + * @param project project name + * @return serviceProviderUrl + * @throws ResourceNotFoundException + * @throws IOException + * @throws URISyntaxException + */ + public static String lookUpServiceProviderUrl(String project) + throws ResourceNotFoundException, IOException, URISyntaxException { + String serviceProviderUrl = client.lookupServiceProviderUrl(CATALOG_URL, project); + return serviceProviderUrl; + } + + /** + * Looks up query capability url for further requests + * + * @return queryCapability + * @throws ResourceNotFoundException + * @throws IOException + * @throws URISyntaxException + */ + public static String lookUpQueryCapability() throws ResourceNotFoundException, IOException, URISyntaxException { + String queryCapabilty = client.lookupQueryCapability(serviceProviderUrl, OSLCConstants.OSLC_RM_V2, + OSLCConstants.RM_REQUIREMENT_TYPE); + return queryCapabilty; + } + + /** + * Queries requirement by id + * + * @param id id of a requirement + * @return requirement + * @throws ResourceNotFoundException + * @throws IOException + * @throws URISyntaxException + */ + public static Requirement getRequirementById(String id) + throws ResourceNotFoundException, IOException, URISyntaxException { + String queryCapability = lookUpQueryCapability(); + OslcQueryParameters queryParams = new OslcQueryParameters(); + queryParams.setSelect("*"); + queryParams.setPrefix( + "rdf=,dcterms=,oslc_rm=,dcterms=,oslc_rm="); + OslcQuery queryReqCollections = new OslcQuery(client, queryCapability, queryParams); + OslcQueryResult result = queryReqCollections.submit(); + + ArrayList reqSpecifications = reqSpecificationsList; + Iterator reqCollectionsIterator = result.getMembers(RequirementCollection.class) + .iterator(); + while (reqCollectionsIterator.hasNext()) { + RequirementCollection reqCollection = reqCollectionsIterator.next(); + reqSpecifications.add(reqCollection); + } + return reqSpecifications; + } + + /** + * Queries all requirements of a given project + * + * @param projectName + * @throws ResourceNotFoundException + * @throws IOException + * @throws URISyntaxException + */ + public static HashMap> queryRequirements(String projectName) + throws ResourceNotFoundException, IOException, URISyntaxException { + for (RequirementCollection reqCollection : reqSpecificationsList) { + Response response = client.getResource(reqCollection.getAbout().toURL().toString(), + OslcMediaType.APPLICATION_RDF_XML); + RequirementCollection requirementCollection = response.readEntity(RequirementCollection.class); + ArrayList listOfRequirements = new ArrayList(); + try { + if (requirementCollection != null) { + if (requirementCollection.getUses() != null) { + // every link (getUses()) is a requirement contained by the + // requirementCollection + for (Link uses : requirementCollection.getUses()) { + Response reqRequest = client.getResource(uses.getValue().toString(), + OslcMediaType.APPLICATION_RDF_XML); + Requirement requirement = reqRequest.readEntity(Requirement.class); + listOfRequirements.add(requirement); + } + mapOfRequirements.put(requirementCollection, listOfRequirements); + } + } + } catch (NullPointerException np) { + Activator.getDefault().getLog().error(np.getMessage()); + } + } + return mapOfRequirements; + } + + public static ArrayList getReqsFromCollection(RequirementCollection reqCollection) + throws ResourceNotFoundException, IOException, URISyntaxException { + Response response = client.getResource(reqCollection.getAbout().toURL().toString(), + OslcMediaType.APPLICATION_RDF_XML); + RequirementCollection requirementCollection = response.readEntity(RequirementCollection.class); + ArrayList listOfRequirements = new ArrayList(); + try { + if (requirementCollection != null) { + if (requirementCollection.getUses() != null) { + // every link (getUses()) is a requirement contained by the + // requirementCollection + for (Link uses : requirementCollection.getUses()) { + Response reqRequest = client.getResource(uses.getValue().toString(), + OslcMediaType.APPLICATION_RDF_XML); + Requirement requirement = reqRequest.readEntity(Requirement.class); + listOfRequirements.add(requirement); + } + } + } + } catch (NullPointerException np) { + Activator.getDefault().getLog().error(np.getMessage()); + } + return listOfRequirements; + } + + + public static Response queryResource(String url, String mediaType) { + Response response = client.getResource(url, mediaType); + return response; + } +} \ No newline at end of file diff --git a/de.dlr.sc.virsat.model.extension.requirements/src/de/dlr/sc/virsat/model/extension/requirements/doors/client/DoorsSynchronizer.java b/de.dlr.sc.virsat.model.extension.requirements/src/de/dlr/sc/virsat/model/extension/requirements/doors/client/DoorsSynchronizer.java new file mode 100644 index 0000000000..a48e2a6240 --- /dev/null +++ b/de.dlr.sc.virsat.model.extension.requirements/src/de/dlr/sc/virsat/model/extension/requirements/doors/client/DoorsSynchronizer.java @@ -0,0 +1,249 @@ +/******************************************************************************* + * Copyright (c) 2008-2019 German Aerospace Center (DLR), Simulation and Software Technology, Germany. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + *******************************************************************************/ + +package de.dlr.sc.virsat.model.extension.requirements.doors.client; + +import java.io.IOException; +import java.io.InputStream; +import java.net.URI; +import java.net.URISyntaxException; +import java.util.ArrayList; +import java.util.Map; + +import javax.ws.rs.core.Response; +import javax.xml.namespace.QName; + +import org.apache.jena.rdf.model.Model; +import org.apache.jena.rdf.model.ModelFactory; +import org.apache.jena.rdf.model.StmtIterator; +import org.eclipse.emf.common.command.Command; +import org.eclipse.emf.common.command.CompoundCommand; +import org.eclipse.emf.edit.domain.EditingDomain; +import org.eclipse.lyo.client.exception.ResourceNotFoundException; +import org.eclipse.lyo.oslc.domains.rm.RequirementCollection; +import org.eclipse.lyo.oslc4j.core.model.OslcMediaType; +import org.eclipse.lyo.oslc4j.core.model.Property; +import org.eclipse.lyo.oslc4j.core.model.ResourceShape; + +import de.dlr.sc.virsat.model.concept.list.IBeanList; +import de.dlr.sc.virsat.model.extension.requirements.Activator; +import de.dlr.sc.virsat.model.extension.requirements.model.AttributeValue; +import de.dlr.sc.virsat.model.extension.requirements.model.ImportConfiguration; +import de.dlr.sc.virsat.model.extension.requirements.model.Requirement; +import de.dlr.sc.virsat.model.extension.requirements.model.RequirementGroup; +import de.dlr.sc.virsat.model.extension.requirements.model.RequirementObject; +import de.dlr.sc.virsat.model.extension.requirements.model.RequirementsSpecification; +import de.dlr.sc.virsat.model.extension.requirements.model.SpecificationMapping; + +public class DoorsSynchronizer { + + private static final String DESCRIPTION = "Description"; + private static final String MODIFIED_ON = "ModifiedOn"; + private static final String MODIFIED_BY = "ModifiedBy"; + private static final String TEXT = "Text"; + + protected ImportConfiguration importConfiguration; + protected EditingDomain ed; + protected ResourceShape resourceShapeDoors = null; + + /** + * Inits the synchronizer by handing over the import configuration location and + * editing domain + * + * @param importConfig The import configuration + * @param editingDomain The editing domain for the synchronization + */ + public void init(ImportConfiguration importConfig, EditingDomain editingDomain) { + this.importConfiguration = importConfig; + this.ed = editingDomain; + } + + /** + * Synchronizes the requirements in the import configuration with corresponding + * requirements of the current doors connection + * + * @return The command to be executed + */ + public Command synchronizeRequirements(EditingDomain editingDomain) { + CompoundCommand cc = new CompoundCommand(); + IBeanList specs = importConfiguration.getMappedSpecifications(); + for (SpecificationMapping spec : specs) { + RequirementsSpecification specification = spec.getSpecification(); + String projectName = spec.getExternalIdentifier(); + IBeanList reqsToSynchronize = specification.getRequirements(); + try { + ArrayList reqCollections = DoorsSynchroClient + .queryRequirementsSpecifications(projectName); + for (RequirementCollection reqCollection : reqCollections) { + if (reqCollection.getTitle().equals(projectName)) { + ArrayList reqsFromDoors = DoorsSynchroClient + .getReqsFromCollection(reqCollection); + for (org.eclipse.lyo.oslc.domains.rm.Requirement reqFromDoors : reqsFromDoors) { + findReqWithId(reqsToSynchronize, reqFromDoors, cc); + + } + } + } + } catch (ResourceNotFoundException | IOException | URISyntaxException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + return cc; + } + + /** + * Finds the requirement with identical id to requirement in doors + * + * @param reqObjects The list with requirements to be synchronized + * @param reqIdDoors The id of a requirement in doors + * @return The requirement or null + */ + private CompoundCommand findReqWithId(IBeanList reqObjects, + org.eclipse.lyo.oslc.domains.rm.Requirement reqDoors, CompoundCommand cc) { + for (RequirementObject rObject : reqObjects) { + if (rObject instanceof RequirementGroup) + findReqWithId(((RequirementGroup) rObject).getChildren(), reqDoors, cc); + else { + Requirement req = (Requirement) rObject; + String reqId = req.getIdentifier(); + if (reqId.contentEquals(reqDoors.getIdentifier())) { + if (isModified(req, reqDoors)) { + resourceShapeDoors = DoorsSynchroClient.getResourceShape(reqDoors); + updateValuesFromDoors(req, reqDoors, cc); + } + } + } + } + return cc; + } + + /** + * Updates every attribute of requirement with values of the requirement in doors + * + * @param requirement The requirement to be synchronized + * @param reqFromDoors The requirement from doors + * @param cc The compound command in which commands should be added + * @return The command to be executed + */ + private CompoundCommand updateValuesFromDoors(Requirement requirement, + org.eclipse.lyo.oslc.domains.rm.Requirement reqFromDoors, CompoundCommand cc) { + IBeanList attributesFromReq = requirement.getElements(); + for (AttributeValue att : attributesFromReq) { + String attName = att.getName(); + if (attName.contains(DESCRIPTION)) { + String descriptionDoors = reqFromDoors.getDescription(); + cc.append(att.setValue(ed, descriptionDoors)); + } else if (attName.contains(MODIFIED_ON)) { + String modifiedOnDoors = reqFromDoors.getModified().toInstant().toString(); + cc.append(att.setValue(ed, modifiedOnDoors)); + } else if (attName.contains(TEXT)) { + String titleDoors = reqFromDoors.getTitle(); + cc.append(att.setValue(ed, titleDoors)); + } else if (attName.contains(MODIFIED_BY)) { + if (!reqFromDoors.getContributor().isEmpty()) { + String stringModifiedByDoors = reqFromDoors.getContributor().iterator().next().getValue().getPath(); + String modifiedByDoors = reqFromDoors.getContributor().iterator().next().getValue().getPath() + .substring(stringModifiedByDoors.lastIndexOf('/') + 1); + cc.append(att.setValue(ed, modifiedByDoors)); + } + } else { + String typeSpecificAttributeValue = getTypeSpecificAttributeValue(reqFromDoors, attName); + if (typeSpecificAttributeValue != null) { + cc.append(att.setValue(ed, typeSpecificAttributeValue)); + } + } + } + return cc; + } + + /** + * Gets the value of an extended property in doors which is specified for a certain requirement type + * + * @param reqFromDoors The requirement from doors + * @param attName The name of the attribute to be updated + * @return The value of the attribute + */ + private String getTypeSpecificAttributeValue(org.eclipse.lyo.oslc.domains.rm.Requirement reqFromDoors, + String attName) { + Map extendedPropertiesDoors = reqFromDoors.getExtendedProperties(); + for (QName qname : extendedPropertiesDoors.keySet()) { + Property propertyDoors; + try { + propertyDoors = resourceShapeDoors.getProperty(new URI(qname.getNamespaceURI() + qname.getLocalPart())); + String propertyNameDoors = null; + if (propertyDoors != null) { + propertyNameDoors = propertyDoors.getTitle(); + if (propertyNameDoors != null) { + String valueExtendedPropertyDoors = null; + if (attName.contains(propertyNameDoors)) { + Object propertyDefinitionDoors = reqFromDoors.getExtendedProperties().get(qname); + if (propertyDefinitionDoors instanceof URI) { + Response response = DoorsSynchroClient.queryResource(propertyDefinitionDoors.toString(), + OslcMediaType.APPLICATION_RDF_XML); + String uriPropertyDoors = propertyDefinitionDoors.toString(); + try { + valueExtendedPropertyDoors = readValueFromProperty(response, + uriPropertyDoors); + } catch (IOException e) { + Activator.getDefault().getLog().error(e.getMessage()); + } + return valueExtendedPropertyDoors; + } + } + } + } + } catch (URISyntaxException e) { + Activator.getDefault().getLog().error(e.getMessage()); + } + } + return null; + } + + /** + * Reads the RDF/XML response to get the value of the extended property in doors + * + * @param response The response of the property definition in doors + * @param uriToProp The URI to the property definition in doors + * @return the value of the property + * @throws IOException + */ + private static String readValueFromProperty(Response response, String uriToProp) throws IOException { + InputStream is = response.readEntity(InputStream.class); + Model model = ModelFactory.createDefaultModel(); + model.read(is, "RDF/XML"); + + StmtIterator statementIterator = model.getResource(uriToProp).listProperties(); + String value = statementIterator.next().getObject().toString(); + return value; + } + + /** + * Checks if the requirement has been modified in doors + * + * @param req The requirement to be synchronized + * @param reqFromDoors The corresponding requirement in doors + * @return true if requirement has been modified or false + */ + private boolean isModified(Requirement req, org.eclipse.lyo.oslc.domains.rm.Requirement reqFromDoors) { + for (AttributeValue att : req.getElements()) { + if (att.getName().contains(MODIFIED_ON)) { + String lastModifiedReq = att.getValue(); + String lastModifiedReqFromDoors = reqFromDoors.getModified().toInstant().toString(); + String lastModifiedReqFromDoorsWithoutZ = lastModifiedReqFromDoors.substring(0, + lastModifiedReqFromDoors.length() - 1); + if (!lastModifiedReq.contentEquals(lastModifiedReqFromDoorsWithoutZ)) { + return true; + } + } + } + return false; + } +} \ No newline at end of file diff --git a/de.dlr.sc.virsat.model.extension.requirements/src/de/dlr/sc/virsat/model/extension/requirements/doors/client/DoorsUtils.java b/de.dlr.sc.virsat.model.extension.requirements/src/de/dlr/sc/virsat/model/extension/requirements/doors/client/DoorsUtils.java new file mode 100644 index 0000000000..e9210703e0 --- /dev/null +++ b/de.dlr.sc.virsat.model.extension.requirements/src/de/dlr/sc/virsat/model/extension/requirements/doors/client/DoorsUtils.java @@ -0,0 +1,85 @@ +/******************************************************************************* + * Copyright (c) 2008-2019 German Aerospace Center (DLR), Simulation and Software Technology, Germany. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + *******************************************************************************/ +package de.dlr.sc.virsat.model.extension.requirements.doors.client; + +import java.io.IOException; +import java.net.MalformedURLException; +import java.security.KeyManagementException; +import java.security.KeyStoreException; +import java.security.NoSuchAlgorithmException; +import java.security.UnrecoverableKeyException; +import java.security.cert.CertificateException; +import javax.ws.rs.client.ClientBuilder; +import org.apache.http.conn.ssl.NoopHostnameVerifier; +import org.apache.http.conn.ssl.TrustSelfSignedStrategy; +import org.apache.http.ssl.SSLContextBuilder; +import org.eclipse.lyo.client.JEEFormAuthenticator; +import org.eclipse.lyo.client.OslcClient; +import org.glassfish.jersey.apache.connector.ApacheConnectorProvider; +import org.glassfish.jersey.client.ClientConfig; + +import de.dlr.sc.virsat.model.extension.requirements.Activator; + +/** + * Utility methods for Doors requirement handling + * + */ +public class DoorsUtils { + + protected String server; + protected String user; + protected String password; + + public DoorsUtils(String doorsServer, String doorsUser, String doorsPassword) { + this.server = doorsServer; + this.user = doorsUser; + this.password = doorsPassword; + } + + /** + * Get OslcClient to communicate with Doors server + * @return the client + * @throws UnrecoverableKeyException + * @throws MalformedURLException + * @throws CertificateException + * @throws IOException + */ + protected OslcClient getClient() throws UnrecoverableKeyException, MalformedURLException, CertificateException, IOException { + ClientBuilder clientBuilder = configureClientBuilder(); + OslcClient client = new OslcClient(clientBuilder); + return client; + } + + /** + * Configure clientBuilder to authenticate to the Doors server + * @return the clientBuilder + */ + protected ClientBuilder configureClientBuilder() { + ClientConfig clientConfig = new ClientConfig().connectorProvider(new ApacheConnectorProvider()); + ClientBuilder clientBuilder = ClientBuilder.newBuilder(); + clientBuilder.withConfig(clientConfig); + + // Setup SSL support to ignore self-assigned SSL certificates - for testing + // only!! + SSLContextBuilder sslContextBuilder = new SSLContextBuilder(); + try { + sslContextBuilder.loadTrustMaterial(TrustSelfSignedStrategy.INSTANCE); + clientBuilder.sslContext(sslContextBuilder.build()); + } catch (NoSuchAlgorithmException | KeyStoreException | KeyManagementException e) { + Activator.getDefault().getLog().error(e.getMessage()); + } + clientBuilder.hostnameVerifier(NoopHostnameVerifier.INSTANCE); + + // Authenticate + JEEFormAuthenticator authenticator = new JEEFormAuthenticator(server, user, password); + clientBuilder.register(authenticator); + return clientBuilder; + } +} \ No newline at end of file diff --git a/de.dlr.sc.virsat.model.extension.requirements/src/de/dlr/sc/virsat/model/extension/requirements/model/SynchronizationConfiguration.java b/de.dlr.sc.virsat.model.extension.requirements/src/de/dlr/sc/virsat/model/extension/requirements/model/SynchronizationConfiguration.java new file mode 100644 index 0000000000..4fd4109e2f --- /dev/null +++ b/de.dlr.sc.virsat.model.extension.requirements/src/de/dlr/sc/virsat/model/extension/requirements/model/SynchronizationConfiguration.java @@ -0,0 +1,55 @@ +/******************************************************************************* + * Copyright (c) 2008-2019 German Aerospace Center (DLR), Simulation and Software Technology, Germany. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + *******************************************************************************/ +package de.dlr.sc.virsat.model.extension.requirements.model; + +// ***************************************************************** +// * Import Statements +// ***************************************************************** +import de.dlr.sc.virsat.model.dvlm.concepts.Concept; +import de.dlr.sc.virsat.model.dvlm.categories.CategoryAssignment; + +// ***************************************************************** +// * Class Declaration +// ***************************************************************** + +/** + * Auto Generated Class inheriting from Generator Gap Class + * + * This class is generated once, do your changes here + * + * + * + */ +public class SynchronizationConfiguration extends ASynchronizationConfiguration { + + /** + * Constructor of Concept Class + */ + public SynchronizationConfiguration() { + super(); + } + + /** + * Constructor of Concept Class which will instantiate + * a CategoryAssignment in the background from the given concept + * @param concept the concept where it will find the correct Category to instantiate from + */ + public SynchronizationConfiguration(Concept concept) { + super(concept); + } + + /** + * Constructor of Concept Class that can be initialized manually by a given Category Assignment + * @param categoryAssignment The category Assignment to be used for background initialization of the Category bean + */ + public SynchronizationConfiguration(CategoryAssignment categoryAssignment) { + super(categoryAssignment); + } +} diff --git a/de.dlr.sc.virsat.model.extension.statemachines.ui/src/de/dlr/sc/virsat/model/extension/statemachines/ui/diagram/features/StateMachineDoubleClickFeature.java b/de.dlr.sc.virsat.model.extension.statemachines.ui/src/de/dlr/sc/virsat/model/extension/statemachines/ui/diagram/features/StateMachineDoubleClickFeature.java index 69d9a747af..9b1dd1f223 100644 --- a/de.dlr.sc.virsat.model.extension.statemachines.ui/src/de/dlr/sc/virsat/model/extension/statemachines/ui/diagram/features/StateMachineDoubleClickFeature.java +++ b/de.dlr.sc.virsat.model.extension.statemachines.ui/src/de/dlr/sc/virsat/model/extension/statemachines/ui/diagram/features/StateMachineDoubleClickFeature.java @@ -73,9 +73,9 @@ protected void openReferenceSelectionDoalog(Transition transition, ICustomContex dialog.setDoubleClickSelects(true); dialog.setInput(seqRefPI.eResource()); if (dialog.open() == Dialog.OK) { - Object selection = dialog.getFirstResult(); + Object selection = dialog.getFirstResult(); if (selection instanceof CategoryAssignment || selection == null) { - + CategoryAssignment selectedCA = (CategoryAssignment) selection; VirSatTransactionalEditingDomain ed = VirSatEditingDomainRegistry.INSTANCE.getEd(transition.getATypeInstance()); diff --git a/de.dlr.sc.virsat.model.extension.statemachines.ui/src/de/dlr/sc/virsat/model/extension/statemachines/ui/diagram/features/stateMachines/StateMachineUpdateFeature.java b/de.dlr.sc.virsat.model.extension.statemachines.ui/src/de/dlr/sc/virsat/model/extension/statemachines/ui/diagram/features/stateMachines/StateMachineUpdateFeature.java index 3b8958fa9d..ad8361b25c 100644 --- a/de.dlr.sc.virsat.model.extension.statemachines.ui/src/de/dlr/sc/virsat/model/extension/statemachines/ui/diagram/features/stateMachines/StateMachineUpdateFeature.java +++ b/de.dlr.sc.virsat.model.extension.statemachines.ui/src/de/dlr/sc/virsat/model/extension/statemachines/ui/diagram/features/stateMachines/StateMachineUpdateFeature.java @@ -19,16 +19,16 @@ import org.eclipse.graphiti.features.IRemoveFeature; import org.eclipse.graphiti.features.context.IUpdateContext; import org.eclipse.graphiti.features.context.impl.RemoveContext; -import org.eclipse.graphiti.features.impl.Reason; -import org.eclipse.graphiti.mm.algorithms.AbstractText; +import org.eclipse.graphiti.features.impl.Reason; +import org.eclipse.graphiti.mm.algorithms.AbstractText; import org.eclipse.graphiti.mm.algorithms.Image; import org.eclipse.graphiti.mm.pictograms.Anchor; import org.eclipse.graphiti.mm.pictograms.Connection; import org.eclipse.graphiti.mm.pictograms.ContainerShape; import org.eclipse.graphiti.mm.pictograms.PictogramElement; import org.eclipse.graphiti.mm.pictograms.Shape; - -import de.dlr.sc.virsat.graphiti.label.MultilineLabelFormatter; + +import de.dlr.sc.virsat.graphiti.label.MultilineLabelFormatter; import de.dlr.sc.virsat.graphiti.ui.diagram.feature.VirSatUpdateFeature; import de.dlr.sc.virsat.model.concept.list.IBeanList; import de.dlr.sc.virsat.model.extension.statemachines.model.AConstraint; @@ -66,9 +66,9 @@ public IReason updateNeeded(IUpdateContext context) { if (pictogramElement instanceof ContainerShape) { ContainerShape cs = (ContainerShape) pictogramElement; // Look for the state machine Name - for (Shape shape : cs.getChildren()) { + for (Shape shape : cs.getChildren()) { if (shape.getGraphicsAlgorithm() instanceof AbstractText && getBusinessObjectForPictogramElement(shape) == stateMachine) { - AbstractText text = (AbstractText) shape.getGraphicsAlgorithm(); + AbstractText text = (AbstractText) shape.getGraphicsAlgorithm(); pictogramName = text.getValue(); if (!pictogramName.equals(businessName)) { return Reason.createTrueReason("StateMachine name is changed"); @@ -183,8 +183,8 @@ private void updateConnections(StateMachine stateMachine, List diagramSta if (connectionObj instanceof Transition) { Transition diagramTransaction = (Transition) connectionObj; for (Transition t : stateMachine.getTransitions()) { - if (t.getUuid().equals(diagramTransaction.getUuid())) { - AbstractText text = (AbstractText) c.getConnectionDecorators().get(0).getGraphicsAlgorithm(); + if (t.getUuid().equals(diagramTransaction.getUuid())) { + AbstractText text = (AbstractText) c.getConnectionDecorators().get(0).getGraphicsAlgorithm(); ITransitionLabelProvider labelProvider = new LabelProviderInstantiator().getLabelProvider(); text.setValue(labelProvider.getLabel(t)); } @@ -329,9 +329,9 @@ public boolean update(IUpdateContext context) { // Set name in pictogram model if (pictogramElement instanceof ContainerShape) { ContainerShape cs = (ContainerShape) pictogramElement; - for (Shape shape : cs.getChildren()) { + for (Shape shape : cs.getChildren()) { if (shape.getGraphicsAlgorithm() instanceof AbstractText && getBusinessObjectForPictogramElement(shape) == stateMachine) { - AbstractText text = (AbstractText) shape.getGraphicsAlgorithm(); + AbstractText text = (AbstractText) shape.getGraphicsAlgorithm(); text.setValue(businessName); changeDuringUpdate = true; } diff --git a/de.dlr.sc.virsat.model.extension.statemachines.ui/src/de/dlr/sc/virsat/model/extension/statemachines/ui/diagram/features/states/StateAddFeature.java b/de.dlr.sc.virsat.model.extension.statemachines.ui/src/de/dlr/sc/virsat/model/extension/statemachines/ui/diagram/features/states/StateAddFeature.java index 5bcd67f7a4..c7c031606b 100644 --- a/de.dlr.sc.virsat.model.extension.statemachines.ui/src/de/dlr/sc/virsat/model/extension/statemachines/ui/diagram/features/states/StateAddFeature.java +++ b/de.dlr.sc.virsat.model.extension.statemachines.ui/src/de/dlr/sc/virsat/model/extension/statemachines/ui/diagram/features/states/StateAddFeature.java @@ -127,9 +127,9 @@ public PictogramElement add(IAddContext context) { imageShape.setVisible(isInitial); link(imageShape, state); - Shape nameShape = peCreateService.createShape(containerShape, false); + Shape nameShape = peCreateService.createShape(containerShape, false); String formattedText = new MultilineLabelFormatter().getLabel(state.getName()); - AbstractText nameText = gaService.createMultiText(nameShape, formattedText); + AbstractText nameText = gaService.createMultiText(nameShape, formattedText); nameText.setForeground(manageColor(IColorConstant.BLACK)); nameText.setHorizontalAlignment(Orientation.ALIGNMENT_CENTER); nameText.setVerticalAlignment(Orientation.ALIGNMENT_CENTER); diff --git a/de.dlr.sc.virsat.model.extension.tests.edit/plugin.properties b/de.dlr.sc.virsat.model.extension.tests.edit/plugin.properties index c0df313f5e..1c1282d4c3 100644 --- a/de.dlr.sc.virsat.model.extension.tests.edit/plugin.properties +++ b/de.dlr.sc.virsat.model.extension.tests.edit/plugin.properties @@ -60,13 +60,13 @@ _UI_EnumTestEnum_MEDIUM_literal = MEDIUM _UI_EnumTestEnum_HIGH_literal = HIGH _UI_EnumTestEnum_INCREDIBLE_literal = INCREDIBLE _UI_TestCategoryBeanAbstract_type = Test Category Bean Abstract -_UI_TestCategoryBeanConcrete_type = Test Category Bean Concrete +_UI_TestCategoryBeanConcrete_type = Test Category Bean Concrete _UI_EReferenceTest_type = EReference Test _UI_ExternalTestType_type = External Test Type _UI_SuperType_type = Super Type _UI_Container_type = Container _UI_EReferenceTest_eReferenceTest_feature = EReference Test -_UI_Container_objects_feature = Objects +_UI_Container_objects_feature = Objects _UI_TestCrossLinkedParametersWithCalculation_type = Test Cross Linked Parameters With Calculation -_UI_TestCrossLinkedParametersWithCalculation_calcedTrl_feature = Calced Trl +_UI_TestCrossLinkedParametersWithCalculation_calcedTrl_feature = Calced Trl diff --git a/de.dlr.sc.virsat.model.extension.tests/concept/concept.concept b/de.dlr.sc.virsat.model.extension.tests/concept/concept.concept index e5ba79185f..07190e01d7 100644 --- a/de.dlr.sc.virsat.model.extension.tests/concept/concept.concept +++ b/de.dlr.sc.virsat.model.extension.tests/concept/concept.concept @@ -135,7 +135,7 @@ Concept de.dlr.sc.virsat.model.extension.tests Cardinality 1; Type mass of Category TestParameter quantityKind "Mass"; - } + } /* test Case that tends to fail at migration */ Category TestCrossLinkedParametersWithCalculation { @@ -143,7 +143,7 @@ Concept de.dlr.sc.virsat.model.extension.tests FloatProperty calcedTrl quantityKind "Mass"; - Ref: calcedTrl = Maturity.trl; + Ref: calcedTrl = Maturity.trl; } Category EReferenceTest { diff --git a/de.dlr.sc.virsat.model.extension.tests/concept/concept_v1_0.xmi b/de.dlr.sc.virsat.model.extension.tests/concept/concept_v1_0.xmi index f0f2f6e240..61a21068a1 100644 --- a/de.dlr.sc.virsat.model.extension.tests/concept/concept_v1_0.xmi +++ b/de.dlr.sc.virsat.model.extension.tests/concept/concept_v1_0.xmi @@ -70,7 +70,7 @@ - + @@ -78,7 +78,7 @@ - + diff --git a/de.dlr.sc.virsat.product/virsat_core.product b/de.dlr.sc.virsat.product/virsat_core.product index 197dd6c7f4..7768733204 100644 --- a/de.dlr.sc.virsat.product/virsat_core.product +++ b/de.dlr.sc.virsat.product/virsat_core.product @@ -6,20 +6,20 @@ - Virtual Satellite 4 - DVLM Core - -Version 4.14.0 - -© Copyright by DLR (Deutsches Zentrum fuer Luft- und Raumfahrt e. V., German Aerospace Center) 2020. - -The DLR trade mark (as the word mark DLR or as combination DLR with the DLR Logo) is a registered and protected trade mark and may not be used without DLR´s prior written permission. - -Copyrighted content other than the S/W provided under the indicated Eclipse License Conditions such as images, photographs, videos and texts which are indicated as being under DLR´s copyright through copyright notice (i. g. © DLR 2020) are provided for use under the Terms of use as provided for on DLRs webpage www.dlr.de - - -German Aerospace Center (DLR) e.V. -Lilienthalplatz 7 -38108 Braunschweig + Virtual Satellite 4 - DVLM Core + +Version 4.14.0 + +© Copyright by DLR (Deutsches Zentrum fuer Luft- und Raumfahrt e. V., German Aerospace Center) 2020. + +The DLR trade mark (as the word mark DLR or as combination DLR with the DLR Logo) is a registered and protected trade mark and may not be used without DLR´s prior written permission. + +Copyrighted content other than the S/W provided under the indicated Eclipse License Conditions such as images, photographs, videos and texts which are indicated as being under DLR´s copyright through copyright notice (i. g. © DLR 2020) are provided for use under the Terms of use as provided for on DLRs webpage www.dlr.de + + +German Aerospace Center (DLR) e.V. +Lilienthalplatz 7 +38108 Braunschweig Germany diff --git a/de.dlr.sc.virsat.target/tmodel-src/virsat.tmodel b/de.dlr.sc.virsat.target/tmodel-src/virsat.tmodel index e49b399250..c2bf07f0aa 100644 --- a/de.dlr.sc.virsat.target/tmodel-src/virsat.tmodel +++ b/de.dlr.sc.virsat.target/tmodel-src/virsat.tmodel @@ -7,7 +7,8 @@ TargetLibrary virsat { RepositoryLocation EclipseOrbit url "https://download.eclipse.org/tools/orbit/downloads/drops/R20190602212107/repository/"{ Unit org.antlr.runtime version 3.2.0.v201101311130; Unit org.apache.commons.io version 2.6.0.v20190123-2029; - Unit org.apache.commons.io.source version 2.6.0.v20190123-2029; + Unit org.apache.commons.io.source version 2.6.0.v20190123-2029; + Unit org.mockito version newest; } // Purely named Eclipse. The name is important for target models having this one as diff --git a/de.dlr.sc.virsat.target/virsat_linux.target b/de.dlr.sc.virsat.target/virsat_linux.target index 81c1ba27a0..0693d6c5f1 100644 --- a/de.dlr.sc.virsat.target/virsat_linux.target +++ b/de.dlr.sc.virsat.target/virsat_linux.target @@ -10,6 +10,7 @@ + diff --git a/de.dlr.sc.virsat.target/virsat_windows.target b/de.dlr.sc.virsat.target/virsat_windows.target index cfe9ac73db..a6681250b0 100644 --- a/de.dlr.sc.virsat.target/virsat_windows.target +++ b/de.dlr.sc.virsat.target/virsat_windows.target @@ -10,6 +10,7 @@ + diff --git a/pom.xml b/pom.xml index 2eb73fc2b5..5af2239013 100644 --- a/pom.xml +++ b/pom.xml @@ -43,8 +43,11 @@ de.dlr.sc.virsat.external.lib.commons.math de.dlr.sc.virsat.external.lib.jfreechart de.dlr.sc.virsat.external.lib.json-simple + de.dlr.sc.virsat.external.lib.lyo de.dlr.sc.virsat.external.lib.matlabfile + de.dlr.sc.virsat.external.lib.mockito de.dlr.sc.virsat.external.lib.jersey + de.dlr.sc.virsat.external.lib.jersey.apache de.dlr.sc.virsat.external.lib.swagger de.dlr.sc.virsat.external.lib.protobuf de.dlr.sc.virsat.external.lib.vtk.linux.x86_64