From c8268f98d4ebba9ddaba427a2084e871ac8a9cac Mon Sep 17 00:00:00 2001 From: slisson Date: Sat, 7 Dec 2024 11:14:58 +0100 Subject: [PATCH] chore: removed licence and copyright headers The LICENCE file in the root directory already specifies the applicable license for all files without and explicit license header. The copyright header didn't contain an author which makes it invalid anyway. The git history is a much more reliable source about the authors of any file. --- .idea/copyright/profiles_settings.xml | 3 -- .../authorization/AccessTokenPrincipal.kt | 13 ------- .../authorization/AuthorizationConfig.kt | 16 -------- .../authorization/AuthorizationPlugin.kt | 16 -------- .../modelix/authorization/EPermissionType.kt | 13 ------- .../modelix/authorization/KeycloakUtils.kt | 13 ------- .../modelix/authorization/KtorAuthUtils.kt | 13 ------- .../authorization/NoPermissionException.kt | 13 ------- .../authorization/NotLoggedInException.kt | 13 ------- .../modelix/authorization/PermissionPage.kt | 16 -------- .../UnknownPermissionException.kt | 16 -------- .../permissions/PermissionEvaluator.kt | 16 -------- .../permissions/PermissionParser.kt | 16 -------- .../permissions/PermissionParts.kt | 16 -------- .../authorization/permissions/Schema.kt | 16 -------- .../permissions/SchemaBuilder.kt | 16 -------- .../permissions/SchemaInstance.kt | 16 -------- build-logic/settings.gradle.kts | 15 ------- .../modelix-kotlin-jvm-with-junit.gradle.kts | 16 -------- .../main/kotlin/modelix-kotlin-jvm.gradle.kts | 16 -------- .../modelix-kotlin-multiplatform.gradle.kts | 16 -------- .../kotlin/modelix-language-config.gradle.kts | 16 -------- .../modelix-project-repositories.gradle.kts | 16 -------- .../modelix-repositories.settings.gradle.kts | 16 -------- .../src/main/kotlin/org/modelix/CopyMps.kt | 16 -------- .../kotlin/org/modelix/GenerateVersion.kt | 16 -------- .../main/kotlin/org/modelix/LanguageConfig.kt | 16 -------- build.gradle.kts | 2 - bulk-model-sync-gradle-test/build.gradle.kts | 16 -------- .../settings.gradle.kts | 16 -------- .../sync/bulk/gradle/test/ChangeApplier.kt | 16 -------- .../model/sync/bulk/gradle/test/PullTest.kt | 16 -------- .../sync/bulk/gradle/ModelSyncGradlePlugin.kt | 16 -------- .../gradle/config/ModelSyncGradleSettings.kt | 16 -------- .../gradle/tasks/ExportFromModelServer.kt | 16 -------- .../sync/bulk/gradle/tasks/GetRevisionInfo.kt | 16 -------- .../gradle/tasks/ImportIntoModelServer.kt | 16 -------- .../bulk/gradle/tasks/ValidateSyncSettings.kt | 16 -------- .../sync/bulk/gradle/ExportFunctionalTest.kt | 16 -------- bulk-model-sync-lib/mps-test/build.gradle.kts | 16 -------- .../bulk/lib/test/ExportRepositoryTest.kt | 16 -------- .../model/sync/bulk/lib/test/MPSTestBase.kt | 16 -------- .../test/ModelImporterWithMPSAdaptersTest.kt | 16 -------- .../bulk/lib/test/ResolveInfoUpdateTest.kt | 16 -------- .../mps-test/src/test/resources/log4j.xml | 16 -------- .../model/sync/bulk/INodeAssociation.kt | 16 -------- .../modelix/model/sync/bulk/ModelExporter.kt | 16 -------- .../modelix/model/sync/bulk/ModelImporter.kt | 16 -------- .../model/sync/bulk/ModelSynchronizer.kt | 16 -------- .../org/modelix/model/sync/bulk/Util.kt | 16 -------- .../model/sync/bulk/AbstractModelSyncTest.kt | 16 -------- .../model/sync/bulk/ModelExporterTest.kt | 16 -------- .../bulk/ModelImporterOrderPropertyTest.kt | 16 -------- .../model/sync/bulk/ModelImporterTest.kt | 16 -------- .../model/sync/bulk/ModelSynchronizerTest.kt | 16 -------- .../model/sync/bulk/ModuleInclusionTest.kt | 16 -------- .../modelix/model/sync/bulk/SyncTestUtil.kt | 16 -------- .../modelix/model/sync/bulk/ModelExporter.kt | 16 -------- .../org/modelix/model/sync/bulk/Utils.kt | 16 -------- .../model/sync/bulk/InvalidatingVisitor.kt | 16 -------- .../model/sync/bulk/InvalidationTree.kt | 16 -------- .../modelix/model/sync/bulk/ModelExporter.kt | 16 -------- .../model/sync/bulk/PlatformSpecific.kt | 16 -------- .../org/modelix/model/sync/bulk/Utils.kt | 16 -------- .../model/sync/bulk/InvalidationTreeTest.kt | 16 -------- ...delSynchronizerWithInvalidationTreeTest.kt | 16 -------- .../mps/model/sync/bulk/CompositeFilter.kt | 16 -------- .../model/sync/bulk/IncludedModulesFilter.kt | 16 -------- .../model/sync/bulk/MPSBulkSynchronizer.kt | 16 -------- .../mps/model/sync/bulk/NodeAssociations.kt | 16 -------- .../reference/component-model-server.adoc | 10 ----- gradle/libs.versions.toml | 1 - .../kotlin/org/modelix/kotlin/utils/Atomic.kt | 13 ------- .../org/modelix/kotlin/utils/ContextValue.kt | 13 ------- .../modelix/kotlin/utils/DataStructures.kt | 16 -------- .../modelix/kotlin/utils/DeprecationInfo.kt | 16 -------- .../modelix/kotlin/utils/RunSynchronized.kt | 16 -------- .../org/modelix/kotlin/utils/ThreadLocal.kt | 16 -------- .../kotlin/utils/UnstableModelixFeature.kt | 16 -------- .../modelix/kotlin/utils/ContextValueTests.kt | 16 -------- .../org/modelix/kotlin/utils/Atomic.js.kt | 16 -------- .../modelix/kotlin/utils/ContextValue.js.kt | 13 ------- .../modelix/kotlin/utils/DataStructures.js.kt | 16 -------- .../kotlin/utils/RunSynchronized.js.kt | 16 -------- .../modelix/kotlin/utils/ThreadLocal.js.kt | 16 -------- .../org/modelix/kotlin/utils/Atomic.jvm.kt | 16 -------- .../modelix/kotlin/utils/ContextValue.jvm.kt | 13 ------- .../kotlin/utils/DataStructures.jvm.kt | 16 -------- .../kotlin/utils/RunSynchronized.jvm.kt | 16 -------- .../modelix/kotlin/utils/ThreadLocal.jvm.kt | 16 -------- .../modelix/modelql/typed/TypedModelQLTest.kt | 13 ------- .../metamodel/IPropertyValueSerializer.kt | 13 ------- .../org/modelix/metamodel/ITypedChildLink.kt | 13 ------- .../org/modelix/metamodel/ITypedProperty.kt | 13 ------- .../modelix/metamodel/ITypedReferenceLink.kt | 13 ------- .../org/modelix/metamodel/ModelApiExt.kt | 13 ------- .../modelix/metamodel/TypedNodeTraversal.kt | 13 ------- .../metamodel/generator/GeneratorInput.kt | 13 ------- .../internal/ConceptFileGenerator.kt | 16 -------- .../internal/ConceptObjectGenerator.kt | 16 -------- .../ConceptWrapperInterfaceGenerator.kt | 16 -------- .../generator/internal/EnumFileGenerator.kt | 16 -------- .../generator/internal/FileGenerator.kt | 16 -------- .../internal/LanguageFileGenerator.kt | 16 -------- .../MetaPropertiesInterfaceGenerator.kt | 16 -------- .../internal/ModelQLExtensionsGenerator.kt | 16 -------- .../internal/NameConfigBasedGenerator.kt | 16 -------- .../internal/NodeWrapperImplGenerator.kt | 16 -------- .../internal/NodeWrapperInterfaceGenerator.kt | 16 -------- .../internal/RegistrationHelperGenerator.kt | 16 -------- .../org/modelix/model/api/BuiltinLanguages.kt | 16 -------- .../org/modelix/model/api/ConceptReference.kt | 13 ------- .../org/modelix/model/api/ConceptUtil.kt | 13 ------- .../org/modelix/model/api/ContextValue.kt | 13 ------- .../kotlin/org/modelix/model/api/IBranch.kt | 15 ------- .../org/modelix/model/api/IBranchListener.kt | 15 ------- .../org/modelix/model/api/IChildLink.kt | 15 ------- .../kotlin/org/modelix/model/api/IConcept.kt | 15 ------- .../modelix/model/api/IConceptReference.kt | 13 ------- .../org/modelix/model/api/IIdGenerator.kt | 15 ------- .../kotlin/org/modelix/model/api/ILanguage.kt | 13 ------- .../org/modelix/model/api/IMutableNode.kt | 16 -------- .../kotlin/org/modelix/model/api/INode.kt | 15 ------- .../org/modelix/model/api/INodeReference.kt | 15 ------- .../org/modelix/model/api/INodeWrapper.kt | 13 ------- .../kotlin/org/modelix/model/api/IProperty.kt | 15 ------- .../org/modelix/model/api/IReadTransaction.kt | 15 ------- .../org/modelix/model/api/IReferenceLink.kt | 15 ------- .../org/modelix/model/api/ITransaction.kt | 15 ------- .../modelix/model/api/ITransactionManager.kt | 16 -------- .../kotlin/org/modelix/model/api/ITree.kt | 15 ------- .../modelix/model/api/ITreeChangeVisitor.kt | 15 ------- .../modelix/model/api/ITreeChangeVisitorEx.kt | 15 ------- .../modelix/model/api/IWriteTransaction.kt | 15 ------- .../modelix/model/api/LocalPNodeReference.kt | 15 ------- .../modelix/model/api/NodeReferenceById.kt | 13 ------- .../kotlin/org/modelix/model/api/NodeUtil.kt | 15 ------- .../kotlin/org/modelix/model/api/PBranch.kt | 15 ------- .../org/modelix/model/api/PNodeAdapter.kt | 15 ------- .../org/modelix/model/api/PNodeReference.kt | 15 ------- .../org/modelix/model/api/PlatformSpecific.kt | 13 ------- .../org/modelix/model/api/ReadTransaction.kt | 15 ------- .../org/modelix/model/api/SimpleChildLink.kt | 13 ------- .../org/modelix/model/api/SimpleConcept.kt | 13 ------- .../org/modelix/model/api/SimpleLanguage.kt | 13 ------- .../org/modelix/model/api/SimpleProperty.kt | 13 ------- .../modelix/model/api/SimpleReferenceLink.kt | 13 ------- .../org/modelix/model/api/Transaction.kt | 15 ------- .../org/modelix/model/api/TreeAsBranch.kt | 16 -------- .../org/modelix/model/api/WriteTransaction.kt | 15 ------- .../org/modelix/model/api/async/AsyncNode.kt | 16 -------- .../org/modelix/model/api/async/IAsyncNode.kt | 16 -------- .../org/modelix/model/api/async/IAsyncTree.kt | 16 -------- .../model/api/async/NodeAsAsyncNode.kt | 16 -------- .../model/api/async/TreeChangeEvent.kt | 16 -------- .../modelix/model/api/meta/EmptyConcept.kt | 16 -------- .../org/modelix/model/api/meta/NullConcept.kt | 16 -------- .../org/modelix/model/area/AbstractArea.kt | 13 ------- .../model/area/AreaListenerRegistry.kt | 13 ------- .../modelix/model/area/AreaListenerWrapper.kt | 13 ------- .../org/modelix/model/area/AreaWithMounts.kt | 13 ------- .../modelix/model/area/ChildrenChangeEvent.kt | 13 ------- .../org/modelix/model/area/CompositeArea.kt | 13 ------- .../org/modelix/model/area/ContextArea.kt | 13 ------- .../kotlin/org/modelix/model/area/IArea.kt | 13 ------- .../modelix/model/area/IAreaChangeEvent.kt | 13 ------- .../org/modelix/model/area/IAreaChangeList.kt | 13 ------- .../org/modelix/model/area/IAreaListener.kt | 13 ------- .../org/modelix/model/area/IAreaReference.kt | 13 ------- .../org/modelix/model/area/NodeChangeEvent.kt | 13 ------- .../kotlin/org/modelix/model/area/PArea.kt | 13 ------- .../modelix/model/area/PropertyChangeEvent.kt | 13 ------- .../model/area/ReferenceChangeEvent.kt | 13 ------- .../org/modelix/model/area/RoleChangeEvent.kt | 13 ------- .../kotlin/ReferenceSerializationTests.kt | 16 -------- .../modelix/model/api/BuiltinLanguagesTest.kt | 16 -------- .../org/modelix/model/api/IConceptTests.kt | 16 -------- .../org/modelix/model/data/ModelDataTest.kt | 16 -------- .../org/modelix/model/api/ContextValue.kt | 13 ------- .../org/modelix/model/api/PlatformSpecific.kt | 13 ------- .../modelix/model/api/NodeAdapterJSTest.kt | 16 -------- .../org/modelix/model/api/ContextValue.kt | 13 ------- .../org/modelix/model/api/PlatformSpecific.kt | 13 ------- model-client/build.gradle.kts | 23 ----------- .../modelix/model/client2/AuthTestFixture.kt | 16 -------- .../modelix/model/AutoTransactionsBranch.kt | 13 ------- .../modelix/model/IKeyValueStoreWrapper.kt | 13 ------- .../kotlin/org/modelix/model/ModelIndex.kt | 13 ------- .../org/modelix/model/ModelMigrations.kt | 13 ------- .../org/modelix/model/SubtreeChanges.kt | 13 ------- .../org/modelix/model/client/ActiveBranch.kt | 15 ------- .../model/client/GarbageFilteringStore.kt | 15 ------- .../modelix/model/client/IIndirectBranch.kt | 15 ------- .../org/modelix/model/client/IModelClient.kt | 15 ------- .../model/client/SimpleIndirectBranch.kt | 15 ------- .../org/modelix/model/client2/Closable.kt | 16 -------- .../modelix/model/client2/IModelClientV2.kt | 13 ------- .../model/client2/IModelClientV2Internal.kt | 16 -------- .../modelix/model/client2/ModelClientV2.kt | 13 ------- .../model/metameta/MetaMetaLanguage.kt | 13 ------- .../modelix/model/metameta/MetaModelIndex.kt | 13 ------- .../model/metameta/MetaModelMigration.kt | 13 ------- .../model/metameta/MetaModelSynchronizer.kt | 13 ------- .../model/metameta/PersistedConcept.kt | 13 ------- .../modelix/model/oauth/ModelixAuthClient.kt | 13 ------- .../modelix/model/IncrementalBranchTest.kt | 16 -------- .../org/modelix/model/api/TreePointerTest.kt | 16 -------- .../modelix/model/area/AreaWithMountsTests.kt | 13 ------- .../model/client2/ModelClientV2Test.kt | 15 ------- .../model/metameta/MetaModelMigrationsTest.kt | 16 -------- .../org/modelix/model/client2/BranchJSImpl.kt | 16 -------- .../org/modelix/model/client2/ChangeJS.kt | 16 -------- .../org/modelix/model/client2/ClientJS.kt | 16 -------- .../org/modelix/model/client2/Closable.js.kt | 16 -------- .../model/client2/ReplicatedModelJS.kt | 16 -------- .../model/client2/ReplicatedModelJSImpl.kt | 16 -------- .../model/client2/VersionInformationJS.kt | 16 -------- .../modelix/model/oauth/ModelixAuthClient.kt | 16 -------- .../org/modelix/model/client2/BranchJSTest.kt | 16 -------- .../org/modelix/model/client2/ClientJSTest.kt | 16 -------- .../org/modelix/model/KeyValueStoreCache.kt | 15 ------- .../org/modelix/model/client/AsyncStore.kt | 15 ------- .../model/client/ReplicatedRepository.kt | 15 ------- .../model/client/RestWebModelClient.kt | 15 ------- .../modelix/model/client/SharedExecutors.kt | 15 ------- .../model/client/VersionChangeDetector.kt | 15 ------- .../org/modelix/model/client2/Closable.jvm.kt | 16 -------- .../org/modelix/model/client2/LazyLoading.kt | 16 -------- .../modelix/model/oauth/ModelixAuthClient.kt | 13 ------- .../org/modelix/model/util/StreamUtils.kt | 15 ------- .../org/modelix/model/util/pmap/CustomPMap.kt | 15 ------- .../modelix/model/util/pmap/LongKeyPMap.kt | 15 ------- .../org/modelix/model/util/pmap/SmallPMap.kt | 15 ------- .../model/client2/ModelClientV2JvmTest.kt | 15 ------- .../kotlin/org/modelix/model/IKeyListener.kt | 15 ------- .../org/modelix/model/IKeyValueStore.kt | 15 ------- .../org/modelix/model/ITransactionWrapper.kt | 13 ------- .../kotlin/org/modelix/model/IVersion.kt | 13 ------- .../kotlin/org/modelix/model/VersionMerger.kt | 15 ------- .../model/async/AsyncAsSynchronousTree.kt | 16 -------- .../AsyncStoreAsLegacyDeserializingStore.kt | 16 -------- .../org/modelix/model/async/AsyncTree.kt | 16 -------- .../org/modelix/model/async/BulkAsyncStore.kt | 16 -------- .../model/async/BulkQueryAsAsyncStore.kt | 16 -------- .../modelix/model/async/CachingAsyncStore.kt | 16 -------- .../modelix/model/async/IAsyncObjectStore.kt | 16 -------- .../LegacyDeserializingStoreAsAsyncStore.kt | 16 -------- .../async/LegacyKeyValueStoreAsAsyncStore.kt | 16 -------- .../org/modelix/model/client/IdGenerator.kt | 16 -------- .../modelix/model/lazy/AccessTrackingStore.kt | 16 -------- .../org/modelix/model/lazy/BulkQuery.kt | 15 ------- .../kotlin/org/modelix/model/lazy/CLNode.kt | 15 ------- .../org/modelix/model/lazy/CLNodeRef.kt | 15 ------- .../kotlin/org/modelix/model/lazy/CLTree.kt | 15 ------- .../org/modelix/model/lazy/CLVersion.kt | 15 ------- .../org/modelix/model/lazy/COWArrays.kt | 15 ------- .../org/modelix/model/lazy/IBulkQuery.kt | 15 ------- .../org/modelix/model/lazy/IBulkTree.kt | 13 ------- .../model/lazy/IDeserializingKeyValueStore.kt | 15 ------- .../modelix/model/lazy/IKVEntryReference.kt | 13 ------- .../model/lazy/INodeReferenceSerializer.kt | 15 ------- .../org/modelix/model/lazy/ITreeWrapper.kt | 13 ------- .../modelix/model/lazy/IndirectObjectStore.kt | 13 ------- .../modelix/model/lazy/KVEntryReference.kt | 13 ------- .../org/modelix/model/lazy/NonBulkQuery.kt | 15 ------- .../model/lazy/NonCachingObjectStore.kt | 16 -------- .../org/modelix/model/lazy/NonWrittenEntry.kt | 13 ------- .../modelix/model/lazy/ObjectStoreCache.kt | 15 ------- .../model/lazy/OperationsCompressor.kt | 13 ------- .../org/modelix/model/lazy/PrefetchCache.kt | 13 ------- .../org/modelix/model/lazy/RepositoryId.kt | 15 ------- .../model/lazy/SynchronizedBulkQuery.kt | 16 -------- .../org/modelix/model/lazy/WrittenEntry.kt | 13 ------- .../model/operations/AbstractOperation.kt | 15 ------- .../modelix/model/operations/AddNewChildOp.kt | 15 ------- .../model/operations/AddNewChildSubtreeOp.kt | 15 ------- .../modelix/model/operations/BulkUpdateOp.kt | 15 ------- .../modelix/model/operations/DeleteNodeOp.kt | 15 ------- .../model/operations/IAppliedOperation.kt | 15 ------- .../modelix/model/operations/IOperation.kt | 15 ------- .../modelix/model/operations/MoveNodeOp.kt | 15 ------- .../org/modelix/model/operations/NoOp.kt | 15 ------- .../org/modelix/model/operations/OTBranch.kt | 15 ------- .../model/operations/OTWriteTransaction.kt | 15 ------- .../modelix/model/operations/SetConceptOp.kt | 16 -------- .../modelix/model/operations/SetPropertyOp.kt | 15 ------- .../model/operations/SetReferenceOp.kt | 15 ------- .../model/persistent/CPHamtInternal.kt | 15 ------- .../modelix/model/persistent/CPHamtLeaf.kt | 15 ------- .../modelix/model/persistent/CPHamtNode.kt | 15 ------- .../modelix/model/persistent/CPHamtSingle.kt | 15 ------- .../org/modelix/model/persistent/CPNode.kt | 15 ------- .../org/modelix/model/persistent/CPNodeRef.kt | 15 ------- .../model/persistent/CPOperationsList.kt | 15 ------- .../org/modelix/model/persistent/CPTree.kt | 15 ------- .../org/modelix/model/persistent/CPVersion.kt | 15 ------- .../org/modelix/model/persistent/HashUtil.kt | 15 ------- .../org/modelix/model/persistent/IKVValue.kt | 13 ------- .../modelix/model/persistent/MapBasedStore.kt | 15 ------- .../model/persistent/MapChangeEvent.kt | 16 -------- .../model/persistent/OperationSerializer.kt | 15 ------- .../modelix/model/persistent/Separators.kt | 16 -------- .../model/persistent/SerializationUtil.kt | 15 ------- .../kotlin/ConflictResolutionTest.kt | 16 -------- .../commonTest/kotlin/ContainmentCycleTest.kt | 16 -------- .../src/commonTest/kotlin/DiffTest.kt | 16 -------- .../src/commonTest/kotlin/FailingVisitor.kt | 14 ------- .../src/commonTest/kotlin/HamtTest.kt | 15 ------- .../src/commonTest/kotlin/HashUtilsTest.kt | 16 -------- .../commonTest/kotlin/LinearHistoryTest.kt | 16 -------- .../src/commonTest/kotlin/MergeOrderTest.kt | 16 -------- .../src/commonTest/kotlin/OTBranchTest.kt | 15 ------- .../commonTest/kotlin/PlatformSpecificTest.kt | 16 -------- .../kotlin/RandomTreeChangeGenerator.kt | 16 -------- .../src/commonTest/kotlin/RevertTest.kt | 16 -------- .../commonTest/kotlin/TreeChangeCollector.kt | 32 --------------- .../src/commonTest/kotlin/TreeDiffTest.kt | 16 -------- .../kotlin/TreeSerializationTest.kt | 16 -------- .../src/commonTest/kotlin/TreeTest.kt | 15 ------- .../src/commonTest/kotlin/TreeTestBase.kt | 16 -------- .../src/commonTest/kotlin/TreeTestUtil.kt | 15 ------- .../src/commonTest/kotlin/UndoTest.kt | 16 -------- .../org/modelix/model/client/IdGenerator.kt | 16 -------- .../org/modelix/model/client/IdGenerator.kt | 16 -------- .../persistent/PlatformSpecificHashUtil.kt | 15 ------- .../model/persistent/SerializationUtil.kt | 15 ------- .../modelix/model/server/api/ExceptionData.kt | 13 ------- .../model/server/api/MessageFromClient.kt | 13 ------- .../model/server/api/MessageFromServer.kt | 13 ------- .../modelix/model/server/api/ModelQuery.kt | 16 -------- .../model/server/api/ModelQueryBuilder.kt | 16 -------- .../org/modelix/model/server/api/NodeData.kt | 13 ------- .../model/server/api/NodeUpdateData.kt | 13 ------- .../modelix/model/server/api/OperationData.kt | 16 -------- .../modelix/model/server/api/VersionData.kt | 13 ------- .../server/api/v2/ImmutableObjectsStream.kt | 16 -------- .../model/server/api/v2/VersionDelta.kt | 13 ------- .../server/api/v2/VersionDeltaStreamV2.kt | 16 -------- .../server/api/v2/VersionDeltaStreamV2Test.kt | 16 -------- model-server/build.gradle.kts | 39 ------------------- .../org/modelix/model/server/FileConverter.kt | 14 ------- .../kotlin/org/modelix/model/server/Main.kt | 14 ------- .../server/ModelServerPermissionSchema.kt | 16 -------- .../model/server/handlers/AboutApiImpl.kt | 16 -------- .../model/server/handlers/HealthApiImpl.kt | 16 -------- .../model/server/handlers/HttpException.kt | 16 -------- .../server/handlers/IRepositoriesManager.kt | 16 -------- .../model/server/handlers/IdsApiImpl.kt | 16 -------- .../model/server/handlers/JsonUtils.kt | 13 ------- .../handlers/KeyValueLikeModelServer.kt | 14 ------- .../model/server/handlers/MetricsApiImpl.kt | 16 -------- .../server/handlers/ModelReplicationServer.kt | 14 ------- .../server/handlers/RepositoriesManager.kt | 13 ------- .../server/handlers/ui/ContentExplorer.kt | 16 -------- .../ui/ContentExplorerExpandedNodes.kt | 16 -------- .../model/server/handlers/ui/DiffView.kt | 16 -------- .../server/handlers/ui/HistoryHandler.kt | 16 -------- .../model/server/handlers/ui/IndexPage.kt | 16 -------- .../model/server/store/ClientIdProcessor.kt | 14 ------- .../modelix/model/server/store/DumpStore.kt | 16 -------- .../model/server/store/IGenericStoreClient.kt | 16 -------- .../model/server/store/IStoreClient.kt | 14 ------- .../model/server/store/IgniteStoreClient.kt | 14 ------- .../model/server/store/InMemoryStoreClient.kt | 14 ------- .../model/server/store/ObjectInRepository.kt | 16 -------- .../model/server/store/PostgresDialect.kt | 14 ------- .../model/server/store/StoreClientAdapter.kt | 16 -------- .../server/store/StoreClientAsAsyncStore.kt | 16 -------- .../store/StoreClientAsKeyValueStore.kt | 14 ------- .../model/server/store/StoreManager.kt | 16 -------- .../model/server/RestModelServerTest.kt | 14 ------- .../modelix/model/server/AuthorizationTest.kt | 15 ------- ...niteStoreClientParallelTransactionsTest.kt | 16 -------- .../modelix/model/server/LazyLoadingTest.kt | 16 -------- .../modelix/model/server/ModelClientTest.kt | 15 ------- .../modelix/model/server/ModelClientV2Test.kt | 15 ------- .../model/server/ModelServerTestUtil.kt | 16 -------- .../modelix/model/server/PermissionsTest.kt | 15 ------- .../model/server/PullPerformanceTest.kt | 16 -------- .../model/server/ReplicatedModelTest.kt | 16 -------- .../model/server/ReplicatedRepositoryTest.kt | 15 ------- ...ositoryStorageBackwardsCompatiblityTest.kt | 16 -------- .../modelix/model/server/StoreClientTest.kt | 16 -------- .../model/server/StoreClientWithStatistics.kt | 16 -------- .../org/modelix/model/server/V1ApiTest.kt | 16 -------- .../model/server/handlers/AboutApiTest.kt | 16 -------- .../model/server/handlers/HealthApiTest.kt | 16 -------- .../handlers/KeyValueLikeModelServerTest.kt | 15 ------- ...icationServerBackwardsCompatibilityTest.kt | 15 ------- .../handlers/ModelReplicationServerTest.kt | 15 ------- .../server/handlers/ui/ContentExplorerTest.kt | 16 -------- .../model/server/handlers/ui/DiffViewTest.kt | 16 -------- .../model/server/handlers/ui/IndexPageTest.kt | 16 -------- .../handlers/ui/RepositoryOverviewTest.kt | 16 -------- .../IgnitePostgresRepositoryRemovalTest.kt | 16 -------- .../model/server/store/IgnitePostgresTest.kt | 16 -------- .../store/InMemoryIsolatingStoreTest.kt | 16 -------- .../AdminPermissionOnServerTest.kt | 16 -------- .../kotlin/permissions/PermissionTestBase.kt | 16 -------- .../permissions/ReadPermissionOnBranchTest.kt | 16 -------- .../permissions/UnknownPermissionTest.kt | 16 -------- .../WritePermissionOnRepositoryTest.kt | 16 -------- modelql-client/build.gradle.kts | 13 ------- .../org/modelix/modelql/client/ModelQLArea.kt | 13 ------- .../modelix/modelql/client/ModelQLClient.kt | 13 ------- .../modelql/client/ModelQLClientBuilder.kt | 13 ------- .../org/modelix/modelql/client/ModelQLNode.kt | 13 ------- .../modelql/client/ModelQLNodeSerializer.kt | 13 ------- .../modelix/modelql/client/ModelQLClient.kt | 13 ------- .../PlatformSpecificModelQLClientBuilder.kt | 13 ------- .../modelix/modelql/client/ModelQLClient.kt | 13 ------- .../PlatformSpecificModelQLClientBuilder.kt | 13 ------- .../modelix/modelql/client/HtmlBuilderTest.kt | 13 ------- .../modelql/client/ModelQLClientTest.kt | 13 ------- modelql-core/build.gradle.kts | 13 ------- .../modelix/modelql/core/AndOperatorStep.kt | 13 ------- .../org/modelix/modelql/core/AtomicLong.kt | 13 ------- .../modelql/core/CollectionSizeStep.kt | 13 ------- .../org/modelix/modelql/core/CollectorStep.kt | 13 ------- .../modelql/core/ConstantSourceStep.kt | 13 ------- .../org/modelix/modelql/core/ContextValue.kt | 13 ------- .../org/modelix/modelql/core/CountingStep.kt | 13 ------- .../org/modelix/modelql/core/DropStep.kt | 13 ------- .../modelql/core/EmptyStringIfNullStep.kt | 13 ------- .../modelql/core/EqualsOperatorStep.kt | 13 ------- .../org/modelix/modelql/core/FilteringStep.kt | 13 ------- .../modelix/modelql/core/FirstElementStep.kt | 13 ------- .../modelix/modelql/core/FirstOrNullStep.kt | 13 ------- .../org/modelix/modelql/core/FlatMapStep.kt | 13 ------- .../org/modelix/modelql/core/FoldingStep.kt | 13 ------- .../modelix/modelql/core/FragmentBuilder.kt | 13 ------- .../modelql/core/IBulkQueryExecutor.kt | 13 ------- .../modelql/core/IMemoizationPersistence.kt | 16 -------- .../kotlin/org/modelix/modelql/core/IStep.kt | 13 ------- .../org/modelix/modelql/core/IStepOutput.kt | 13 ------- .../org/modelix/modelql/core/IdentityStep.kt | 13 ------- .../org/modelix/modelql/core/IfEmpty.kt | 13 ------- .../org/modelix/modelql/core/InPredicate.kt | 13 ------- .../modelql/core/IntSumAggregationStep.kt | 16 -------- .../org/modelix/modelql/core/IntSumStep.kt | 13 ------- .../org/modelix/modelql/core/IsEmptyStep.kt | 13 ------- .../modelql/core/IsNullPredicateStep.kt | 13 ------- .../org/modelix/modelql/core/JoinStep.kt | 13 ------- .../modelix/modelql/core/ListAsFluxStep.kt | 16 -------- .../modelix/modelql/core/LocalMappingStep.kt | 13 ------- .../org/modelix/modelql/core/MapAccessStep.kt | 13 ------- .../modelix/modelql/core/MapIfNotNullStep.kt | 13 ------- .../org/modelix/modelql/core/MappingStep.kt | 13 ------- .../org/modelix/modelql/core/MemoizingStep.kt | 16 -------- .../modelix/modelql/core/MultiplexedOutput.kt | 13 ------- .../modelix/modelql/core/NotOperatorStep.kt | 13 ------- .../org/modelix/modelql/core/NullIfEmpty.kt | 13 ------- .../org/modelix/modelql/core/Optional.kt | 13 ------- .../modelix/modelql/core/OrOperatorStep.kt | 13 ------- .../org/modelix/modelql/core/PrintStep.kt | 13 ------- .../kotlin/org/modelix/modelql/core/Query.kt | 13 ------- .../modelql/core/QueryBuilderContext.kt | 13 ------- .../org/modelix/modelql/core/QueryCallStep.kt | 13 ------- .../modelix/modelql/core/QueryDescriptor.kt | 13 ------- .../modelql/core/QueryEvaluationContext.kt | 13 ------- .../modelix/modelql/core/RegexPredicate.kt | 13 ------- .../org/modelix/modelql/core/SharedStep.kt | 13 ------- .../org/modelix/modelql/core/SingleStep.kt | 13 ------- .../modelql/core/StringContainsPredicate.kt | 13 ------- .../modelql/core/StringToBooleanStep.kt | 13 ------- .../modelix/modelql/core/StringToIntStep.kt | 13 ------- .../org/modelix/modelql/core/TakeStep.kt | 13 ------- .../org/modelix/modelql/core/ToStringStep.kt | 13 ------- .../core/TransformingStepWithParameter.kt | 13 ------- .../modelix/modelql/core/VersionAndData.kt | 13 ------- .../org/modelix/modelql/core/WhenStep.kt | 13 ------- .../org/modelix/modelql/core/WithIndexStep.kt | 13 ------- .../org/modelix/modelql/core/ZipBuilder.kt | 13 ------- .../modelql/core/ZipElementAccessStep.kt | 13 ------- .../org/modelix/modelql/core/ZipStep.kt | 13 ------- .../org/modelix/modelql/core/ModelQLTest.kt | 13 ------- .../org/modelix/modelql/core/Testdata.kt | 13 ------- .../org/modelix/modelql/core/AtomicLong.kt | 13 ------- .../org/modelix/modelql/core/ContextValue.kt | 13 ------- .../org/modelix/modelql/core/AtomicLong.kt | 13 ------- .../org/modelix/modelql/core/ContextValue.kt | 13 ------- .../modelix/modelql/core/SerializerTest.kt | 13 ------- modelql-html/build.gradle.kts | 13 ------- .../org/modelix/modelql/html/HtmlTemplates.kt | 13 ------- .../modelix/modelql/server/ModelQLServer.kt | 13 ------- modelql-typed/build.gradle.kts | 13 ------- .../modelix/modelql/typed/ConceptSwitch.kt | 13 ------- .../org/modelix/modelql/typed/TypedModelQL.kt | 13 ------- modelql-untyped/build.gradle.kts | 13 ------- .../modelql/untyped/AddNewChildNodeStep.kt | 13 ------- .../untyped/AllChildrenTraversalStep.kt | 13 ------- .../untyped/AllReferencesTraversalStep.kt | 13 ------- .../modelql/untyped/ChildrenTraversalStep.kt | 13 ------- .../untyped/ConceptReferenceSetSourceStep.kt | 16 -------- .../untyped/ConceptReferenceTraversalStep.kt | 13 ------- .../ConceptReferenceUIDTraversalStep.kt | 13 ------- .../untyped/DescendantsTraversalStep.kt | 13 ------- .../untyped/LinkInParentTraversalStep.kt | 13 ------- .../modelix/modelql/untyped/MoveNodeStep.kt | 13 ------- .../modelql/untyped/NodeKSerializer.kt | 13 ------- .../NodeReferenceAsStringTraversalStep.kt | 13 ------- .../untyped/NodeReferenceSourceStep.kt | 13 ------- .../untyped/NodeReferenceTraversalStep.kt | 13 ------- .../modelix/modelql/untyped/OfConceptStep.kt | 13 ------- .../modelql/untyped/ParentTraversalStep.kt | 13 ------- .../modelql/untyped/PropertyTraversalStep.kt | 13 ------- .../modelql/untyped/ReferenceTraversalStep.kt | 13 ------- .../modelix/modelql/untyped/RemoveNodeStep.kt | 13 ------- .../modelql/untyped/ResolveNodeStep.kt | 13 ------- .../untyped/RoleInParentTraversalStep.kt | 13 ------- .../modelql/untyped/SetPropertyStep.kt | 13 ------- .../modelql/untyped/SetReferenceStep.kt | 13 ------- .../modelix/modelql/untyped/UntypedModelQL.kt | 13 ------- ...lChildrenActuallyReturnsAllChildrenTest.kt | 16 -------- .../model/mpsadapters/ChangePropertyTest.kt | 16 -------- .../model/mpsadapters/ChangeReferenceTest.kt | 16 -------- .../mpsadapters/ConceptResolutionTest.kt | 16 -------- .../DescriptorModelIsFilteredTest.kt | 16 -------- .../modelix/model/mpsadapters/MPSAreaTest.kt | 16 -------- .../model/mpsadapters/MPSModuleAsNodeTest.kt | 16 -------- .../model/mpsadapters/MpsAdaptersTestBase.kt | 15 ------- .../model/mpsadapters/ReplaceNodeTest.kt | 16 -------- .../model/mpsadapters/ConceptWorkaround.java | 16 -------- .../model/mpsadapters/GlobalModelListener.kt | 16 -------- .../model/mpsadapters/IDefaultNodeAdapter.kt | 16 -------- .../org/modelix/model/mpsadapters/MPSArea.kt | 13 ------- .../modelix/model/mpsadapters/MPSChildLink.kt | 13 ------- .../modelix/model/mpsadapters/MPSConcept.kt | 13 ------- .../mpsadapters/MPSDevKitDependencyAsNode.kt | 16 -------- .../mpsadapters/MPSJavaModuleFacetAsNode.kt | 16 -------- .../modelix/model/mpsadapters/MPSLanguage.kt | 16 -------- .../mpsadapters/MPSLanguageRepository.kt | 16 -------- .../model/mpsadapters/MPSModelAsNode.kt | 13 ------- .../model/mpsadapters/MPSModelImportAsNode.kt | 16 -------- .../model/mpsadapters/MPSModuleAsNode.kt | 13 ------- .../mpsadapters/MPSModuleDependencyAsNode.kt | 16 -------- .../org/modelix/model/mpsadapters/MPSNode.kt | 13 ------- .../model/mpsadapters/MPSProjectAsNode.kt | 16 -------- .../mpsadapters/MPSProjectModuleAsNode.kt | 16 -------- .../modelix/model/mpsadapters/MPSProperty.kt | 13 ------- .../model/mpsadapters/MPSReferenceLink.kt | 13 ------- .../model/mpsadapters/MPSReferences.kt | 16 -------- .../model/mpsadapters/MPSRepositoryAsNode.kt | 13 ------- .../MPSSingleLanguageDependencyAsNode.kt | 16 -------- .../model/mpsadapters/RepositoryLanguage.kt | 13 ------- .../org/modelix/model/mpsadapters/Util.kt | 16 -------- .../modelix/streams/CompletableObservable.kt | 16 -------- .../org/modelix/streams/StreamExtensions.kt | 16 -------- .../modelix/streams/SynchronousPipeline.kt | 16 -------- ts-model-api/src/GeneratedConcept.ts | 16 -------- ts-model-api/src/IConceptJS.ts | 16 -------- 551 files changed, 8081 deletions(-) delete mode 100644 .idea/copyright/profiles_settings.xml diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml deleted file mode 100644 index d477d7031f..0000000000 --- a/.idea/copyright/profiles_settings.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/authorization/src/main/kotlin/org/modelix/authorization/AccessTokenPrincipal.kt b/authorization/src/main/kotlin/org/modelix/authorization/AccessTokenPrincipal.kt index 8525903449..cfc46870aa 100644 --- a/authorization/src/main/kotlin/org/modelix/authorization/AccessTokenPrincipal.kt +++ b/authorization/src/main/kotlin/org/modelix/authorization/AccessTokenPrincipal.kt @@ -1,16 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package org.modelix.authorization import com.auth0.jwt.interfaces.DecodedJWT diff --git a/authorization/src/main/kotlin/org/modelix/authorization/AuthorizationConfig.kt b/authorization/src/main/kotlin/org/modelix/authorization/AuthorizationConfig.kt index 6c7d16b375..54ceb015a1 100644 --- a/authorization/src/main/kotlin/org/modelix/authorization/AuthorizationConfig.kt +++ b/authorization/src/main/kotlin/org/modelix/authorization/AuthorizationConfig.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.authorization import com.auth0.jwk.JwkProvider diff --git a/authorization/src/main/kotlin/org/modelix/authorization/AuthorizationPlugin.kt b/authorization/src/main/kotlin/org/modelix/authorization/AuthorizationPlugin.kt index a16274f9b8..6ee6ecb3b2 100644 --- a/authorization/src/main/kotlin/org/modelix/authorization/AuthorizationPlugin.kt +++ b/authorization/src/main/kotlin/org/modelix/authorization/AuthorizationPlugin.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.authorization import com.auth0.jwt.JWT diff --git a/authorization/src/main/kotlin/org/modelix/authorization/EPermissionType.kt b/authorization/src/main/kotlin/org/modelix/authorization/EPermissionType.kt index 1e8da92bca..614f1d2384 100644 --- a/authorization/src/main/kotlin/org/modelix/authorization/EPermissionType.kt +++ b/authorization/src/main/kotlin/org/modelix/authorization/EPermissionType.kt @@ -1,16 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package org.modelix.authorization enum class EPermissionType(vararg val includedTypes: EPermissionType) { diff --git a/authorization/src/main/kotlin/org/modelix/authorization/KeycloakUtils.kt b/authorization/src/main/kotlin/org/modelix/authorization/KeycloakUtils.kt index 0c628a6dde..0d63a3aab8 100644 --- a/authorization/src/main/kotlin/org/modelix/authorization/KeycloakUtils.kt +++ b/authorization/src/main/kotlin/org/modelix/authorization/KeycloakUtils.kt @@ -1,16 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package org.modelix.authorization import com.auth0.jwk.JwkProvider diff --git a/authorization/src/main/kotlin/org/modelix/authorization/KtorAuthUtils.kt b/authorization/src/main/kotlin/org/modelix/authorization/KtorAuthUtils.kt index ed89e8e51d..f6d98a8a70 100644 --- a/authorization/src/main/kotlin/org/modelix/authorization/KtorAuthUtils.kt +++ b/authorization/src/main/kotlin/org/modelix/authorization/KtorAuthUtils.kt @@ -1,16 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package org.modelix.authorization import com.auth0.jwt.JWT diff --git a/authorization/src/main/kotlin/org/modelix/authorization/NoPermissionException.kt b/authorization/src/main/kotlin/org/modelix/authorization/NoPermissionException.kt index cc23bee5f4..3d5cc169a1 100644 --- a/authorization/src/main/kotlin/org/modelix/authorization/NoPermissionException.kt +++ b/authorization/src/main/kotlin/org/modelix/authorization/NoPermissionException.kt @@ -1,16 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package org.modelix.authorization class NoPermissionException(val user: AccessTokenPrincipal?, val resourceId: String?, val scope: String?, message: String) : diff --git a/authorization/src/main/kotlin/org/modelix/authorization/NotLoggedInException.kt b/authorization/src/main/kotlin/org/modelix/authorization/NotLoggedInException.kt index 80ba408be9..cbcb43a811 100644 --- a/authorization/src/main/kotlin/org/modelix/authorization/NotLoggedInException.kt +++ b/authorization/src/main/kotlin/org/modelix/authorization/NotLoggedInException.kt @@ -1,16 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package org.modelix.authorization class NotLoggedInException : RuntimeException("No valid JWT token found in the request headers") diff --git a/authorization/src/main/kotlin/org/modelix/authorization/PermissionPage.kt b/authorization/src/main/kotlin/org/modelix/authorization/PermissionPage.kt index b7904e3018..0541eb2141 100644 --- a/authorization/src/main/kotlin/org/modelix/authorization/PermissionPage.kt +++ b/authorization/src/main/kotlin/org/modelix/authorization/PermissionPage.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.authorization import kotlinx.html.FlowContent diff --git a/authorization/src/main/kotlin/org/modelix/authorization/UnknownPermissionException.kt b/authorization/src/main/kotlin/org/modelix/authorization/UnknownPermissionException.kt index b8ecdb52dd..426edab134 100644 --- a/authorization/src/main/kotlin/org/modelix/authorization/UnknownPermissionException.kt +++ b/authorization/src/main/kotlin/org/modelix/authorization/UnknownPermissionException.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.authorization class UnknownPermissionException(val permissionId: String, val unknownElement: String?, cause: Exception? = null) : Exception("Unknown permission: $permissionId ($unknownElement)", cause) diff --git a/authorization/src/main/kotlin/org/modelix/authorization/permissions/PermissionEvaluator.kt b/authorization/src/main/kotlin/org/modelix/authorization/permissions/PermissionEvaluator.kt index 2b39629bf4..1801f470bd 100644 --- a/authorization/src/main/kotlin/org/modelix/authorization/permissions/PermissionEvaluator.kt +++ b/authorization/src/main/kotlin/org/modelix/authorization/permissions/PermissionEvaluator.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.authorization.permissions class PermissionEvaluator(val schemaInstance: SchemaInstance) { diff --git a/authorization/src/main/kotlin/org/modelix/authorization/permissions/PermissionParser.kt b/authorization/src/main/kotlin/org/modelix/authorization/permissions/PermissionParser.kt index 9fc9762c15..90b3a1d5f8 100644 --- a/authorization/src/main/kotlin/org/modelix/authorization/permissions/PermissionParser.kt +++ b/authorization/src/main/kotlin/org/modelix/authorization/permissions/PermissionParser.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.authorization.permissions import org.modelix.authorization.UnknownPermissionException diff --git a/authorization/src/main/kotlin/org/modelix/authorization/permissions/PermissionParts.kt b/authorization/src/main/kotlin/org/modelix/authorization/permissions/PermissionParts.kt index 7c83184df3..851e6a79a8 100644 --- a/authorization/src/main/kotlin/org/modelix/authorization/permissions/PermissionParts.kt +++ b/authorization/src/main/kotlin/org/modelix/authorization/permissions/PermissionParts.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.authorization.permissions import java.net.URLDecoder diff --git a/authorization/src/main/kotlin/org/modelix/authorization/permissions/Schema.kt b/authorization/src/main/kotlin/org/modelix/authorization/permissions/Schema.kt index bcc1b6128b..4dced1825d 100644 --- a/authorization/src/main/kotlin/org/modelix/authorization/permissions/Schema.kt +++ b/authorization/src/main/kotlin/org/modelix/authorization/permissions/Schema.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.authorization.permissions import kotlinx.serialization.Serializable diff --git a/authorization/src/main/kotlin/org/modelix/authorization/permissions/SchemaBuilder.kt b/authorization/src/main/kotlin/org/modelix/authorization/permissions/SchemaBuilder.kt index 91cef84460..660dda78a2 100644 --- a/authorization/src/main/kotlin/org/modelix/authorization/permissions/SchemaBuilder.kt +++ b/authorization/src/main/kotlin/org/modelix/authorization/permissions/SchemaBuilder.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.authorization.permissions fun buildPermissionSchema(body: SchemaBuilder.() -> Unit): Schema { diff --git a/authorization/src/main/kotlin/org/modelix/authorization/permissions/SchemaInstance.kt b/authorization/src/main/kotlin/org/modelix/authorization/permissions/SchemaInstance.kt index 2e6376246f..d6021ff03b 100644 --- a/authorization/src/main/kotlin/org/modelix/authorization/permissions/SchemaInstance.kt +++ b/authorization/src/main/kotlin/org/modelix/authorization/permissions/SchemaInstance.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.authorization.permissions /** diff --git a/build-logic/settings.gradle.kts b/build-logic/settings.gradle.kts index d7b70443bc..96d1c476bc 100644 --- a/build-logic/settings.gradle.kts +++ b/build-logic/settings.gradle.kts @@ -1,18 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ dependencyResolutionManagement { repositories.gradlePluginPortal() versionCatalogs { diff --git a/build-logic/src/main/kotlin/modelix-kotlin-jvm-with-junit.gradle.kts b/build-logic/src/main/kotlin/modelix-kotlin-jvm-with-junit.gradle.kts index 6a2bf43f6f..1d680d58e8 100644 --- a/build-logic/src/main/kotlin/modelix-kotlin-jvm-with-junit.gradle.kts +++ b/build-logic/src/main/kotlin/modelix-kotlin-jvm-with-junit.gradle.kts @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import org.gradle.kotlin.dsl.invoke diff --git a/build-logic/src/main/kotlin/modelix-kotlin-jvm.gradle.kts b/build-logic/src/main/kotlin/modelix-kotlin-jvm.gradle.kts index 3238826991..fa88b18f66 100644 --- a/build-logic/src/main/kotlin/modelix-kotlin-jvm.gradle.kts +++ b/build-logic/src/main/kotlin/modelix-kotlin-jvm.gradle.kts @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import org.modelix.MODELIX_JDK_VERSION import org.modelix.MODELIX_JVM_TARGET diff --git a/build-logic/src/main/kotlin/modelix-kotlin-multiplatform.gradle.kts b/build-logic/src/main/kotlin/modelix-kotlin-multiplatform.gradle.kts index fea17dd5aa..3deee8641d 100644 --- a/build-logic/src/main/kotlin/modelix-kotlin-multiplatform.gradle.kts +++ b/build-logic/src/main/kotlin/modelix-kotlin-multiplatform.gradle.kts @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import org.modelix.MODELIX_JDK_VERSION plugins { diff --git a/build-logic/src/main/kotlin/modelix-language-config.gradle.kts b/build-logic/src/main/kotlin/modelix-language-config.gradle.kts index 237846eeb3..d3eeb1462d 100644 --- a/build-logic/src/main/kotlin/modelix-language-config.gradle.kts +++ b/build-logic/src/main/kotlin/modelix-language-config.gradle.kts @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension import org.jetbrains.kotlin.gradle.plugin.KotlinMultiplatformPluginWrapper diff --git a/build-logic/src/main/kotlin/modelix-project-repositories.gradle.kts b/build-logic/src/main/kotlin/modelix-project-repositories.gradle.kts index 5f2aba6e72..3323c7baf6 100644 --- a/build-logic/src/main/kotlin/modelix-project-repositories.gradle.kts +++ b/build-logic/src/main/kotlin/modelix-project-repositories.gradle.kts @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // For some projects we need to redeclare repositories on project level // because plugins like npm and intellij may override our settings repositories { diff --git a/build-logic/src/main/kotlin/modelix-repositories.settings.gradle.kts b/build-logic/src/main/kotlin/modelix-repositories.settings.gradle.kts index 1b32417c6b..c6a304debc 100644 --- a/build-logic/src/main/kotlin/modelix-repositories.settings.gradle.kts +++ b/build-logic/src/main/kotlin/modelix-repositories.settings.gradle.kts @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - val modelixRegex = "org\\.modelix.*" pluginManagement { repositories { diff --git a/build-logic/src/main/kotlin/org/modelix/CopyMps.kt b/build-logic/src/main/kotlin/org/modelix/CopyMps.kt index a8009b4a46..a94d5e5254 100644 --- a/build-logic/src/main/kotlin/org/modelix/CopyMps.kt +++ b/build-logic/src/main/kotlin/org/modelix/CopyMps.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix import org.gradle.api.Project diff --git a/build-logic/src/main/kotlin/org/modelix/GenerateVersion.kt b/build-logic/src/main/kotlin/org/modelix/GenerateVersion.kt index 388a536ad1..8c4481683f 100644 --- a/build-logic/src/main/kotlin/org/modelix/GenerateVersion.kt +++ b/build-logic/src/main/kotlin/org/modelix/GenerateVersion.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix import org.gradle.api.Project diff --git a/build-logic/src/main/kotlin/org/modelix/LanguageConfig.kt b/build-logic/src/main/kotlin/org/modelix/LanguageConfig.kt index d110584da9..fd7cecc032 100644 --- a/build-logic/src/main/kotlin/org/modelix/LanguageConfig.kt +++ b/build-logic/src/main/kotlin/org/modelix/LanguageConfig.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix import org.jetbrains.kotlin.gradle.dsl.JvmTarget diff --git a/build.gradle.kts b/build.gradle.kts index a19814ebe7..fc61357394 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,4 +1,3 @@ - import com.github.gradle.node.NodeExtension import com.github.gradle.node.NodePlugin import io.gitlab.arturbosch.detekt.Detekt @@ -18,7 +17,6 @@ plugins { `version-catalog` alias(libs.plugins.kotlin.serialization) apply false alias(libs.plugins.gitVersion) - alias(libs.plugins.spotless) apply false alias(libs.plugins.dokka) alias(libs.plugins.node) apply false alias(libs.plugins.detekt) diff --git a/bulk-model-sync-gradle-test/build.gradle.kts b/bulk-model-sync-gradle-test/build.gradle.kts index c9008800c4..794f49c12d 100644 --- a/bulk-model-sync-gradle-test/build.gradle.kts +++ b/bulk-model-sync-gradle-test/build.gradle.kts @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2023. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - plugins { `modelix-kotlin-jvm-with-junit` id("org.modelix.bulk-model-sync") diff --git a/bulk-model-sync-gradle-test/settings.gradle.kts b/bulk-model-sync-gradle-test/settings.gradle.kts index d18eb0f84b..eb14a47056 100644 --- a/bulk-model-sync-gradle-test/settings.gradle.kts +++ b/bulk-model-sync-gradle-test/settings.gradle.kts @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2023. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - pluginManagement { includeBuild("..") includeBuild("../build-logic") diff --git a/bulk-model-sync-gradle-test/src/test/kotlin/org/modelix/model/sync/bulk/gradle/test/ChangeApplier.kt b/bulk-model-sync-gradle-test/src/test/kotlin/org/modelix/model/sync/bulk/gradle/test/ChangeApplier.kt index 89c1d1479f..1a28bb590a 100644 --- a/bulk-model-sync-gradle-test/src/test/kotlin/org/modelix/model/sync/bulk/gradle/test/ChangeApplier.kt +++ b/bulk-model-sync-gradle-test/src/test/kotlin/org/modelix/model/sync/bulk/gradle/test/ChangeApplier.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.model.sync.bulk.gradle.test import GraphLang.C_Node diff --git a/bulk-model-sync-gradle-test/src/test/kotlin/org/modelix/model/sync/bulk/gradle/test/PullTest.kt b/bulk-model-sync-gradle-test/src/test/kotlin/org/modelix/model/sync/bulk/gradle/test/PullTest.kt index 0c61bf02d7..4d255ca386 100644 --- a/bulk-model-sync-gradle-test/src/test/kotlin/org/modelix/model/sync/bulk/gradle/test/PullTest.kt +++ b/bulk-model-sync-gradle-test/src/test/kotlin/org/modelix/model/sync/bulk/gradle/test/PullTest.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2023. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.model.sync.bulk.gradle.test import org.junit.jupiter.api.Test diff --git a/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/ModelSyncGradlePlugin.kt b/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/ModelSyncGradlePlugin.kt index 1d82ac0fe1..e0e0046b66 100644 --- a/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/ModelSyncGradlePlugin.kt +++ b/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/ModelSyncGradlePlugin.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2023. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.model.sync.bulk.gradle import org.gradle.api.Plugin diff --git a/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/config/ModelSyncGradleSettings.kt b/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/config/ModelSyncGradleSettings.kt index 68514c4a10..a4af7729ae 100644 --- a/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/config/ModelSyncGradleSettings.kt +++ b/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/config/ModelSyncGradleSettings.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2023. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.model.sync.bulk.gradle.config import org.gradle.api.Action diff --git a/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/tasks/ExportFromModelServer.kt b/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/tasks/ExportFromModelServer.kt index 6f66de58c7..1c8d588692 100644 --- a/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/tasks/ExportFromModelServer.kt +++ b/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/tasks/ExportFromModelServer.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2023. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.model.sync.bulk.gradle.tasks import kotlinx.coroutines.runBlocking diff --git a/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/tasks/GetRevisionInfo.kt b/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/tasks/GetRevisionInfo.kt index 1efb127b75..875bf2f289 100644 --- a/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/tasks/GetRevisionInfo.kt +++ b/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/tasks/GetRevisionInfo.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.model.sync.bulk.gradle.tasks import kotlinx.coroutines.runBlocking diff --git a/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/tasks/ImportIntoModelServer.kt b/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/tasks/ImportIntoModelServer.kt index 267b3c0d5b..53307b90ea 100644 --- a/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/tasks/ImportIntoModelServer.kt +++ b/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/tasks/ImportIntoModelServer.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2023. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.model.sync.bulk.gradle.tasks import kotlinx.coroutines.runBlocking diff --git a/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/tasks/ValidateSyncSettings.kt b/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/tasks/ValidateSyncSettings.kt index 4ce0b91fea..746b57a6ac 100644 --- a/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/tasks/ValidateSyncSettings.kt +++ b/bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/tasks/ValidateSyncSettings.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2023. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.model.sync.bulk.gradle.tasks import org.gradle.api.DefaultTask diff --git a/bulk-model-sync-gradle/src/test/kotlin/org/modelix/model/sync/bulk/gradle/ExportFunctionalTest.kt b/bulk-model-sync-gradle/src/test/kotlin/org/modelix/model/sync/bulk/gradle/ExportFunctionalTest.kt index 70130284a8..cc7eb7df2e 100644 --- a/bulk-model-sync-gradle/src/test/kotlin/org/modelix/model/sync/bulk/gradle/ExportFunctionalTest.kt +++ b/bulk-model-sync-gradle/src/test/kotlin/org/modelix/model/sync/bulk/gradle/ExportFunctionalTest.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.model.sync.bulk.gradle import io.kotest.matchers.file.shouldContainFile diff --git a/bulk-model-sync-lib/mps-test/build.gradle.kts b/bulk-model-sync-lib/mps-test/build.gradle.kts index fdf160f308..febb35e057 100644 --- a/bulk-model-sync-lib/mps-test/build.gradle.kts +++ b/bulk-model-sync-lib/mps-test/build.gradle.kts @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2023. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import org.modelix.copyMps plugins { diff --git a/bulk-model-sync-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/ExportRepositoryTest.kt b/bulk-model-sync-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/ExportRepositoryTest.kt index f68bece17e..6294681dc3 100644 --- a/bulk-model-sync-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/ExportRepositoryTest.kt +++ b/bulk-model-sync-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/ExportRepositoryTest.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.model.sync.bulk.lib.test import com.google.common.jimfs.Jimfs import org.modelix.mps.model.sync.bulk.MPSBulkSynchronizer diff --git a/bulk-model-sync-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/MPSTestBase.kt b/bulk-model-sync-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/MPSTestBase.kt index 5acb1dc471..b42914a920 100644 --- a/bulk-model-sync-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/MPSTestBase.kt +++ b/bulk-model-sync-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/MPSTestBase.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.model.sync.bulk.lib.test import com.intellij.testFramework.HeavyPlatformTestCase diff --git a/bulk-model-sync-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/ModelImporterWithMPSAdaptersTest.kt b/bulk-model-sync-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/ModelImporterWithMPSAdaptersTest.kt index 343c58f6f5..840402d62a 100644 --- a/bulk-model-sync-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/ModelImporterWithMPSAdaptersTest.kt +++ b/bulk-model-sync-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/ModelImporterWithMPSAdaptersTest.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.model.sync.bulk.lib.test import jetbrains.mps.persistence.DefaultModelRoot diff --git a/bulk-model-sync-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/ResolveInfoUpdateTest.kt b/bulk-model-sync-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/ResolveInfoUpdateTest.kt index de788f09f3..115e956bba 100644 --- a/bulk-model-sync-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/ResolveInfoUpdateTest.kt +++ b/bulk-model-sync-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/ResolveInfoUpdateTest.kt @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package org.modelix.model.sync.bulk.lib.test import kotlinx.serialization.json.Json import org.hamcrest.CoreMatchers.equalTo diff --git a/bulk-model-sync-lib/mps-test/src/test/resources/log4j.xml b/bulk-model-sync-lib/mps-test/src/test/resources/log4j.xml index 563c46bc60..e6ba2a6f44 100644 --- a/bulk-model-sync-lib/mps-test/src/test/resources/log4j.xml +++ b/bulk-model-sync-lib/mps-test/src/test/resources/log4j.xml @@ -1,20 +1,4 @@ - -