diff --git a/.gitignore b/.gitignore index 7a17c6f..8095408 100644 --- a/.gitignore +++ b/.gitignore @@ -1,19 +1,11 @@ ############################################################################### -# Copyright (c) 2018 ArSysOp +# Copyright (c) 2018-2019 ArSysOp and others # -# 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 +# 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. # -# 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. -# -# SPDX-License-Identifier: Apache-2.0 +# SPDX-License-Identifier: EPL-2.0 # # Contributors: # ArSysOp - initial API and implementation diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml index 287750d..24ad9f5 100644 --- a/.mvn/extensions.xml +++ b/.mvn/extensions.xml @@ -1,20 +1,12 @@ + + + + + + + + + diff --git a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/LicEditPlugin.java b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/LicEditPlugin.java similarity index 73% rename from bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/LicEditPlugin.java rename to bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/LicEditPlugin.java index d5182c3..cd0a3b3 100644 --- a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/LicEditPlugin.java +++ b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/LicEditPlugin.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.edit; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.edit; import org.eclipse.emf.common.EMFPlugin; diff --git a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/FeatureItemProvider.java b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/FeatureItemProvider.java similarity index 87% rename from bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/FeatureItemProvider.java rename to bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/FeatureItemProvider.java index 4bb3255..1b4cb2a 100644 --- a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/FeatureItemProvider.java +++ b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/FeatureItemProvider.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.edit.providers; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.edit.providers; import java.util.Collection; @@ -42,16 +33,13 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; - -import ru.arsysop.passage.lic.model.api.Feature; - -import ru.arsysop.passage.lic.model.edit.LicEditPlugin; - -import ru.arsysop.passage.lic.model.meta.LicFactory; -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.Feature; +import org.eclipse.passage.lic.model.edit.LicEditPlugin; +import org.eclipse.passage.lic.model.meta.LicFactory; +import org.eclipse.passage.lic.model.meta.LicPackage; /** - * This is the item provider adapter for a {@link ru.arsysop.passage.lic.model.api.Feature} object. + * This is the item provider adapter for a {@link org.eclipse.passage.lic.model.api.Feature} object. * * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/FeatureSetItemProvider.java b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/FeatureSetItemProvider.java similarity index 87% rename from bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/FeatureSetItemProvider.java rename to bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/FeatureSetItemProvider.java index 54feee5..65e7242 100644 --- a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/FeatureSetItemProvider.java +++ b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/FeatureSetItemProvider.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.edit.providers; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.edit.providers; import java.util.Collection; @@ -42,16 +33,13 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; - -import ru.arsysop.passage.lic.model.api.FeatureSet; - -import ru.arsysop.passage.lic.model.edit.LicEditPlugin; - -import ru.arsysop.passage.lic.model.meta.LicFactory; -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.FeatureSet; +import org.eclipse.passage.lic.model.edit.LicEditPlugin; +import org.eclipse.passage.lic.model.meta.LicFactory; +import org.eclipse.passage.lic.model.meta.LicPackage; /** - * This is the item provider adapter for a {@link ru.arsysop.passage.lic.model.api.FeatureSet} object. + * This is the item provider adapter for a {@link org.eclipse.passage.lic.model.api.FeatureSet} object. * * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/FeatureVersionItemProvider.java b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/FeatureVersionItemProvider.java similarity index 83% rename from bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/FeatureVersionItemProvider.java rename to bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/FeatureVersionItemProvider.java index e890822..40529a1 100644 --- a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/FeatureVersionItemProvider.java +++ b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/FeatureVersionItemProvider.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.edit.providers; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.edit.providers; import java.util.Collection; @@ -40,15 +31,12 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; - -import ru.arsysop.passage.lic.model.api.FeatureVersion; - -import ru.arsysop.passage.lic.model.edit.LicEditPlugin; - -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.FeatureVersion; +import org.eclipse.passage.lic.model.edit.LicEditPlugin; +import org.eclipse.passage.lic.model.meta.LicPackage; /** - * This is the item provider adapter for a {@link ru.arsysop.passage.lic.model.api.FeatureVersion} object. + * This is the item provider adapter for a {@link org.eclipse.passage.lic.model.api.FeatureVersion} object. * * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/LicItemProviderAdapterFactory.java b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/LicItemProviderAdapterFactory.java similarity index 77% rename from bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/LicItemProviderAdapterFactory.java rename to bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/LicItemProviderAdapterFactory.java index d56aeff..c032d6b 100644 --- a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/LicItemProviderAdapterFactory.java +++ b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/LicItemProviderAdapterFactory.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.edit.providers; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.edit.providers; import java.util.ArrayList; import java.util.Collection; @@ -39,8 +30,7 @@ import org.eclipse.emf.edit.provider.INotifyChangedListener; import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; import org.eclipse.emf.edit.provider.ITreeItemContentProvider; - -import ru.arsysop.passage.lic.model.util.LicAdapterFactory; +import org.eclipse.passage.lic.model.util.LicAdapterFactory; /** * This is the factory that is used to provide the interfaces needed to support Viewers. @@ -91,7 +81,7 @@ public LicItemProviderAdapterFactory() { } /** - * This keeps track of the one adapter used for all {@link ru.arsysop.passage.lic.model.api.FeatureSet} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.passage.lic.model.api.FeatureSet} instances. * * * @generated @@ -99,7 +89,7 @@ public LicItemProviderAdapterFactory() { protected FeatureSetItemProvider featureSetItemProvider; /** - * This creates an adapter for a {@link ru.arsysop.passage.lic.model.api.FeatureSet}. + * This creates an adapter for a {@link org.eclipse.passage.lic.model.api.FeatureSet}. * * * @generated @@ -114,7 +104,7 @@ public Adapter createFeatureSetAdapter() { } /** - * This keeps track of the one adapter used for all {@link ru.arsysop.passage.lic.model.api.Feature} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.passage.lic.model.api.Feature} instances. * * * @generated @@ -122,7 +112,7 @@ public Adapter createFeatureSetAdapter() { protected FeatureItemProvider featureItemProvider; /** - * This creates an adapter for a {@link ru.arsysop.passage.lic.model.api.Feature}. + * This creates an adapter for a {@link org.eclipse.passage.lic.model.api.Feature}. * * * @generated @@ -137,7 +127,7 @@ public Adapter createFeatureAdapter() { } /** - * This keeps track of the one adapter used for all {@link ru.arsysop.passage.lic.model.api.FeatureVersion} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.passage.lic.model.api.FeatureVersion} instances. * * * @generated @@ -145,7 +135,7 @@ public Adapter createFeatureAdapter() { protected FeatureVersionItemProvider featureVersionItemProvider; /** - * This creates an adapter for a {@link ru.arsysop.passage.lic.model.api.FeatureVersion}. + * This creates an adapter for a {@link org.eclipse.passage.lic.model.api.FeatureVersion}. * * * @generated @@ -160,7 +150,7 @@ public Adapter createFeatureVersionAdapter() { } /** - * This keeps track of the one adapter used for all {@link ru.arsysop.passage.lic.model.api.ProductLine} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.passage.lic.model.api.ProductLine} instances. * * * @generated @@ -168,7 +158,7 @@ public Adapter createFeatureVersionAdapter() { protected ProductLineItemProvider productLineItemProvider; /** - * This creates an adapter for a {@link ru.arsysop.passage.lic.model.api.ProductLine}. + * This creates an adapter for a {@link org.eclipse.passage.lic.model.api.ProductLine}. * * * @generated @@ -183,7 +173,7 @@ public Adapter createProductLineAdapter() { } /** - * This keeps track of the one adapter used for all {@link ru.arsysop.passage.lic.model.api.Product} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.passage.lic.model.api.Product} instances. * * * @generated @@ -191,7 +181,7 @@ public Adapter createProductLineAdapter() { protected ProductItemProvider productItemProvider; /** - * This creates an adapter for a {@link ru.arsysop.passage.lic.model.api.Product}. + * This creates an adapter for a {@link org.eclipse.passage.lic.model.api.Product}. * * * @generated @@ -206,7 +196,7 @@ public Adapter createProductAdapter() { } /** - * This keeps track of the one adapter used for all {@link ru.arsysop.passage.lic.model.api.ProductVersion} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.passage.lic.model.api.ProductVersion} instances. * * * @generated @@ -214,7 +204,7 @@ public Adapter createProductAdapter() { protected ProductVersionItemProvider productVersionItemProvider; /** - * This creates an adapter for a {@link ru.arsysop.passage.lic.model.api.ProductVersion}. + * This creates an adapter for a {@link org.eclipse.passage.lic.model.api.ProductVersion}. * * * @generated @@ -229,7 +219,7 @@ public Adapter createProductVersionAdapter() { } /** - * This keeps track of the one adapter used for all {@link ru.arsysop.passage.lic.model.api.ProductVersionFeature} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.passage.lic.model.api.ProductVersionFeature} instances. * * * @generated @@ -237,7 +227,7 @@ public Adapter createProductVersionAdapter() { protected ProductVersionFeatureItemProvider productVersionFeatureItemProvider; /** - * This creates an adapter for a {@link ru.arsysop.passage.lic.model.api.ProductVersionFeature}. + * This creates an adapter for a {@link org.eclipse.passage.lic.model.api.ProductVersionFeature}. * * * @generated @@ -252,7 +242,7 @@ public Adapter createProductVersionFeatureAdapter() { } /** - * This keeps track of the one adapter used for all {@link ru.arsysop.passage.lic.model.api.UserOrigin} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.passage.lic.model.api.UserOrigin} instances. * * * @generated @@ -260,7 +250,7 @@ public Adapter createProductVersionFeatureAdapter() { protected UserOriginItemProvider userOriginItemProvider; /** - * This creates an adapter for a {@link ru.arsysop.passage.lic.model.api.UserOrigin}. + * This creates an adapter for a {@link org.eclipse.passage.lic.model.api.UserOrigin}. * * * @generated @@ -275,7 +265,7 @@ public Adapter createUserOriginAdapter() { } /** - * This keeps track of the one adapter used for all {@link ru.arsysop.passage.lic.model.api.User} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.passage.lic.model.api.User} instances. * * * @generated @@ -283,7 +273,7 @@ public Adapter createUserOriginAdapter() { protected UserItemProvider userItemProvider; /** - * This creates an adapter for a {@link ru.arsysop.passage.lic.model.api.User}. + * This creates an adapter for a {@link org.eclipse.passage.lic.model.api.User}. * * * @generated @@ -298,7 +288,7 @@ public Adapter createUserAdapter() { } /** - * This keeps track of the one adapter used for all {@link ru.arsysop.passage.lic.model.api.LicensePack} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.passage.lic.model.api.LicensePack} instances. * * * @generated @@ -306,7 +296,7 @@ public Adapter createUserAdapter() { protected LicensePackItemProvider licensePackItemProvider; /** - * This creates an adapter for a {@link ru.arsysop.passage.lic.model.api.LicensePack}. + * This creates an adapter for a {@link org.eclipse.passage.lic.model.api.LicensePack}. * * * @generated @@ -321,7 +311,7 @@ public Adapter createLicensePackAdapter() { } /** - * This keeps track of the one adapter used for all {@link ru.arsysop.passage.lic.model.api.LicenseGrant} instances. + * This keeps track of the one adapter used for all {@link org.eclipse.passage.lic.model.api.LicenseGrant} instances. * * * @generated @@ -329,7 +319,7 @@ public Adapter createLicensePackAdapter() { protected LicenseGrantItemProvider licenseGrantItemProvider; /** - * This creates an adapter for a {@link ru.arsysop.passage.lic.model.api.LicenseGrant}. + * This creates an adapter for a {@link org.eclipse.passage.lic.model.api.LicenseGrant}. * * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/LicenseGrantItemProvider.java b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/LicenseGrantItemProvider.java similarity index 91% rename from bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/LicenseGrantItemProvider.java rename to bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/LicenseGrantItemProvider.java index 9ee3c69..f7b03ea 100644 --- a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/LicenseGrantItemProvider.java +++ b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/LicenseGrantItemProvider.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.edit.providers; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.edit.providers; import java.util.Collection; @@ -40,15 +31,12 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; - -import ru.arsysop.passage.lic.model.api.LicenseGrant; - -import ru.arsysop.passage.lic.model.edit.LicEditPlugin; - -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.LicenseGrant; +import org.eclipse.passage.lic.model.edit.LicEditPlugin; +import org.eclipse.passage.lic.model.meta.LicPackage; /** - * This is the item provider adapter for a {@link ru.arsysop.passage.lic.model.api.LicenseGrant} object. + * This is the item provider adapter for a {@link org.eclipse.passage.lic.model.api.LicenseGrant} object. * * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/LicensePackItemProvider.java b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/LicensePackItemProvider.java similarity index 89% rename from bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/LicensePackItemProvider.java rename to bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/LicensePackItemProvider.java index 5be52ef..62ee136 100644 --- a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/LicensePackItemProvider.java +++ b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/LicensePackItemProvider.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.edit.providers; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.edit.providers; import java.util.Collection; @@ -42,16 +33,13 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; - -import ru.arsysop.passage.lic.model.api.LicensePack; - -import ru.arsysop.passage.lic.model.edit.LicEditPlugin; - -import ru.arsysop.passage.lic.model.meta.LicFactory; -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.LicensePack; +import org.eclipse.passage.lic.model.edit.LicEditPlugin; +import org.eclipse.passage.lic.model.meta.LicFactory; +import org.eclipse.passage.lic.model.meta.LicPackage; /** - * This is the item provider adapter for a {@link ru.arsysop.passage.lic.model.api.LicensePack} object. + * This is the item provider adapter for a {@link org.eclipse.passage.lic.model.api.LicensePack} object. * * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/ProductItemProvider.java b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/ProductItemProvider.java similarity index 87% rename from bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/ProductItemProvider.java rename to bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/ProductItemProvider.java index 2a52c0e..9157c89 100644 --- a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/ProductItemProvider.java +++ b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/ProductItemProvider.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.edit.providers; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.edit.providers; import java.util.Collection; @@ -42,15 +33,13 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; - -import ru.arsysop.passage.lic.model.api.Product; -import ru.arsysop.passage.lic.model.edit.LicEditPlugin; - -import ru.arsysop.passage.lic.model.meta.LicFactory; -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.Product; +import org.eclipse.passage.lic.model.edit.LicEditPlugin; +import org.eclipse.passage.lic.model.meta.LicFactory; +import org.eclipse.passage.lic.model.meta.LicPackage; /** - * This is the item provider adapter for a {@link ru.arsysop.passage.lic.model.api.Product} object. + * This is the item provider adapter for a {@link org.eclipse.passage.lic.model.api.Product} object. * * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/ProductLineItemProvider.java b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/ProductLineItemProvider.java similarity index 87% rename from bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/ProductLineItemProvider.java rename to bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/ProductLineItemProvider.java index 95a7b50..2d60612 100644 --- a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/ProductLineItemProvider.java +++ b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/ProductLineItemProvider.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.edit.providers; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.edit.providers; import java.util.Collection; @@ -42,16 +33,13 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; - -import ru.arsysop.passage.lic.model.api.ProductLine; - -import ru.arsysop.passage.lic.model.edit.LicEditPlugin; - -import ru.arsysop.passage.lic.model.meta.LicFactory; -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.ProductLine; +import org.eclipse.passage.lic.model.edit.LicEditPlugin; +import org.eclipse.passage.lic.model.meta.LicFactory; +import org.eclipse.passage.lic.model.meta.LicPackage; /** - * This is the item provider adapter for a {@link ru.arsysop.passage.lic.model.api.ProductLine} object. + * This is the item provider adapter for a {@link org.eclipse.passage.lic.model.api.ProductLine} object. * * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/ProductVersionFeatureItemProvider.java b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/ProductVersionFeatureItemProvider.java similarity index 86% rename from bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/ProductVersionFeatureItemProvider.java rename to bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/ProductVersionFeatureItemProvider.java index 8ad0448..1f67549 100644 --- a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/ProductVersionFeatureItemProvider.java +++ b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/ProductVersionFeatureItemProvider.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.edit.providers; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.edit.providers; import java.util.Collection; @@ -40,15 +31,12 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; - -import ru.arsysop.passage.lic.model.api.ProductVersionFeature; - -import ru.arsysop.passage.lic.model.edit.LicEditPlugin; - -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.ProductVersionFeature; +import org.eclipse.passage.lic.model.edit.LicEditPlugin; +import org.eclipse.passage.lic.model.meta.LicPackage; /** - * This is the item provider adapter for a {@link ru.arsysop.passage.lic.model.api.ProductVersionFeature} object. + * This is the item provider adapter for a {@link org.eclipse.passage.lic.model.api.ProductVersionFeature} object. * * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/ProductVersionItemProvider.java b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/ProductVersionItemProvider.java similarity index 88% rename from bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/ProductVersionItemProvider.java rename to bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/ProductVersionItemProvider.java index ac5a174..c5eed40 100644 --- a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/ProductVersionItemProvider.java +++ b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/ProductVersionItemProvider.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.edit.providers; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.edit.providers; import java.util.Collection; @@ -42,16 +33,13 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; - -import ru.arsysop.passage.lic.model.api.ProductVersion; - -import ru.arsysop.passage.lic.model.edit.LicEditPlugin; - -import ru.arsysop.passage.lic.model.meta.LicFactory; -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.ProductVersion; +import org.eclipse.passage.lic.model.edit.LicEditPlugin; +import org.eclipse.passage.lic.model.meta.LicFactory; +import org.eclipse.passage.lic.model.meta.LicPackage; /** - * This is the item provider adapter for a {@link ru.arsysop.passage.lic.model.api.ProductVersion} object. + * This is the item provider adapter for a {@link org.eclipse.passage.lic.model.api.ProductVersion} object. * * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/UserItemProvider.java b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/UserItemProvider.java similarity index 88% rename from bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/UserItemProvider.java rename to bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/UserItemProvider.java index 816e8bf..af7c609 100644 --- a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/UserItemProvider.java +++ b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/UserItemProvider.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.edit.providers; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.edit.providers; import java.util.Collection; @@ -40,15 +31,12 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; - -import ru.arsysop.passage.lic.model.api.User; - -import ru.arsysop.passage.lic.model.edit.LicEditPlugin; - -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.User; +import org.eclipse.passage.lic.model.edit.LicEditPlugin; +import org.eclipse.passage.lic.model.meta.LicPackage; /** - * This is the item provider adapter for a {@link ru.arsysop.passage.lic.model.api.User} object. + * This is the item provider adapter for a {@link org.eclipse.passage.lic.model.api.User} object. * * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/UserOriginItemProvider.java b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/UserOriginItemProvider.java similarity index 88% rename from bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/UserOriginItemProvider.java rename to bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/UserOriginItemProvider.java index 5caebb8..fac73fb 100644 --- a/bundles/ru.arsysop.passage.lic.model.edit/src-gen/ru/arsysop/passage/lic/model/edit/providers/UserOriginItemProvider.java +++ b/bundles/org.eclipse.passage.lic.model.edit/src-gen/org/eclipse/passage/lic/model/edit/providers/UserOriginItemProvider.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.edit.providers; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.edit.providers; import java.util.Collection; @@ -40,15 +31,13 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; - -import ru.arsysop.passage.lic.model.api.UserOrigin; - -import ru.arsysop.passage.lic.model.edit.LicEditPlugin; -import ru.arsysop.passage.lic.model.meta.LicFactory; -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.UserOrigin; +import org.eclipse.passage.lic.model.edit.LicEditPlugin; +import org.eclipse.passage.lic.model.meta.LicFactory; +import org.eclipse.passage.lic.model.meta.LicPackage; /** - * This is the item provider adapter for a {@link ru.arsysop.passage.lic.model.api.UserOrigin} object. + * This is the item provider adapter for a {@link org.eclipse.passage.lic.model.api.UserOrigin} object. * * * @generated diff --git a/bundles/org.eclipse.passage.lic.model/.classpath b/bundles/org.eclipse.passage.lic.model/.classpath new file mode 100644 index 0000000..ffa1ed5 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.model/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/tests/ru.arsysop.passage.lic.net.tests/.project b/bundles/org.eclipse.passage.lic.model/.project similarity index 92% rename from tests/ru.arsysop.passage.lic.net.tests/.project rename to bundles/org.eclipse.passage.lic.model/.project index dc3a218..a5589b3 100644 --- a/tests/ru.arsysop.passage.lic.net.tests/.project +++ b/bundles/org.eclipse.passage.lic.model/.project @@ -1,6 +1,6 @@ - ru.arsysop.passage.lic.net.tests + org.eclipse.passage.lic.model diff --git a/bundles/ru.arsysop.passage.lic.net/.settings/org.sonarlint.eclipse.core.prefs b/bundles/org.eclipse.passage.lic.model/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from bundles/ru.arsysop.passage.lic.net/.settings/org.sonarlint.eclipse.core.prefs rename to bundles/org.eclipse.passage.lic.model/.settings/org.sonarlint.eclipse.core.prefs diff --git a/bundles/org.eclipse.passage.lic.model/META-INF/MANIFEST.MF b/bundles/org.eclipse.passage.lic.model/META-INF/MANIFEST.MF new file mode 100644 index 0000000..747cc4f --- /dev/null +++ b/bundles/org.eclipse.passage.lic.model/META-INF/MANIFEST.MF @@ -0,0 +1,20 @@ +Manifest-Version: 1.0 +Automatic-Module-Name: org.eclipse.passage.lic.model +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.eclipse.passage.lic.model;singleton:=true +Bundle-Version: 0.3.3.qualifier +Bundle-Name: %pluginName +Bundle-Vendor: %providerName +Bundle-Copyright: %pluginCopyright +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.eclipse.core.runtime;resolution:=optional;x-installation:=greedy, + org.eclipse.emf.ecore;visibility:=reexport, + org.eclipse.passage.lic.runtime;bundle-version="0.0.0";visibility:=reexport, + org.eclipse.passage.lic.registry;bundle-version="0.0.0";visibility:=reexport +Export-Package: org.eclipse.passage.lic.model.api, + org.eclipse.passage.lic.model.impl, + org.eclipse.passage.lic.model.meta, + org.eclipse.passage.lic.model.util +Bundle-ClassPath: . +Bundle-ActivationPolicy: lazy diff --git a/bundles/org.eclipse.passage.lic.model/build.properties b/bundles/org.eclipse.passage.lic.model/build.properties new file mode 100644 index 0000000..e4520e2 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.model/build.properties @@ -0,0 +1,20 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +source.. = src-gen/ +output.. = target/classes +bin.includes = .,\ + model/,\ + META-INF/,\ + plugin.xml,\ + plugin.properties diff --git a/bundles/org.eclipse.passage.lic.model/model/lic.genmodel b/bundles/org.eclipse.passage.lic.model/model/lic.genmodel new file mode 100644 index 0000000..5b9ad0b --- /dev/null +++ b/bundles/org.eclipse.passage.lic.model/model/lic.genmodel @@ -0,0 +1,107 @@ + + + platform:/resource/org.eclipse.passage.lic.model.ecore/model/lic.ecore + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bundles/org.eclipse.passage.lic.model/plugin.properties b/bundles/org.eclipse.passage.lic.model/plugin.properties new file mode 100644 index 0000000..69620a4 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.model/plugin.properties @@ -0,0 +1,17 @@ +#Properties file for org.eclipse.passage.lic.runtime.model +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +pluginName = Passage LIC Model +providerName=Eclipse Passage +pluginCopyright = Copyright (c) 2018-2019 ArSysOp diff --git a/bundles/org.eclipse.passage.lic.model/plugin.xml b/bundles/org.eclipse.passage.lic.model/plugin.xml new file mode 100644 index 0000000..1619f02 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.model/plugin.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/Feature.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/Feature.java similarity index 58% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/Feature.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/Feature.java index 934627c..0aa7a6c 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/Feature.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/Feature.java @@ -1,29 +1,20 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.model.api; +package org.eclipse.passage.lic.model.api; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; - -import ru.arsysop.passage.lic.registry.FeatureDescriptor; +import org.eclipse.passage.lic.registry.FeatureDescriptor; /** * @@ -34,15 +25,15 @@ * The following features are supported: *

* * - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getFeature() - * @model superTypes="ru.arsysop.passage.lic.model.api.FeatureDescriptor" + * @see org.eclipse.passage.lic.model.meta.LicPackage#getFeature() + * @model superTypes="org.eclipse.passage.lic.model.api.FeatureDescriptor" * @generated */ public interface Feature extends EObject, FeatureDescriptor { @@ -56,14 +47,14 @@ public interface Feature extends EObject, FeatureDescriptor { * * @return the value of the 'Name' attribute. * @see #setName(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getFeature_Name() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getFeature_Name() * @model * @generated */ String getName(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.Feature#getName Name}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.Feature#getName Name}' attribute. * * * @param value the new value of the 'Name' attribute. @@ -82,14 +73,14 @@ public interface Feature extends EObject, FeatureDescriptor { * * @return the value of the 'Description' attribute. * @see #setDescription(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getFeature_Description() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getFeature_Description() * @model * @generated */ String getDescription(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.Feature#getDescription Description}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.Feature#getDescription Description}' attribute. * * * @param value the new value of the 'Description' attribute. @@ -100,7 +91,7 @@ public interface Feature extends EObject, FeatureDescriptor { /** * Returns the value of the 'Feature Set' container reference. - * It is bidirectional and its opposite is '{@link ru.arsysop.passage.lic.model.api.FeatureSet#getFeatures Features}'. + * It is bidirectional and its opposite is '{@link org.eclipse.passage.lic.model.api.FeatureSet#getFeatures Features}'. * *

* If the meaning of the 'Feature Set' container reference isn't clear, @@ -109,15 +100,15 @@ public interface Feature extends EObject, FeatureDescriptor { * * @return the value of the 'Feature Set' container reference. * @see #setFeatureSet(FeatureSet) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getFeature_FeatureSet() - * @see ru.arsysop.passage.lic.model.api.FeatureSet#getFeatures + * @see org.eclipse.passage.lic.model.meta.LicPackage#getFeature_FeatureSet() + * @see org.eclipse.passage.lic.model.api.FeatureSet#getFeatures * @model opposite="features" required="true" transient="false" * @generated */ FeatureSet getFeatureSet(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.Feature#getFeatureSet Feature Set}' container reference. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.Feature#getFeatureSet Feature Set}' container reference. * * * @param value the new value of the 'Feature Set' container reference. @@ -128,8 +119,8 @@ public interface Feature extends EObject, FeatureDescriptor { /** * Returns the value of the 'Feature Versions' containment reference list. - * The list contents are of type {@link ru.arsysop.passage.lic.model.api.FeatureVersion}. - * It is bidirectional and its opposite is '{@link ru.arsysop.passage.lic.model.api.FeatureVersion#getFeature Feature}'. + * The list contents are of type {@link org.eclipse.passage.lic.model.api.FeatureVersion}. + * It is bidirectional and its opposite is '{@link org.eclipse.passage.lic.model.api.FeatureVersion#getFeature Feature}'. * *

* If the meaning of the 'Feature Versions' containment reference list isn't clear, @@ -137,8 +128,8 @@ public interface Feature extends EObject, FeatureDescriptor { *

* * @return the value of the 'Feature Versions' containment reference list. - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getFeature_FeatureVersions() - * @see ru.arsysop.passage.lic.model.api.FeatureVersion#getFeature + * @see org.eclipse.passage.lic.model.meta.LicPackage#getFeature_FeatureVersions() + * @see org.eclipse.passage.lic.model.api.FeatureVersion#getFeature * @model opposite="feature" containment="true" * @generated */ @@ -154,14 +145,14 @@ public interface Feature extends EObject, FeatureDescriptor { * * @return the value of the 'Identifier' attribute. * @see #setIdentifier(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getFeature_Identifier() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getFeature_Identifier() * @model required="true" * @generated */ String getIdentifier(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.Feature#getIdentifier Identifier}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.Feature#getIdentifier Identifier}' attribute. * * * @param value the new value of the 'Identifier' attribute. diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/FeatureSet.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/FeatureSet.java similarity index 54% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/FeatureSet.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/FeatureSet.java index fabdb6f..cb0485b 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/FeatureSet.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/FeatureSet.java @@ -1,31 +1,21 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.api; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.api; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; - -import ru.arsysop.passage.lic.registry.FeatureSetDescriptor; +import org.eclipse.passage.lic.registry.FeatureSetDescriptor; /** * @@ -36,14 +26,14 @@ * The following features are supported: *

* * - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getFeatureSet() - * @model superTypes="ru.arsysop.passage.lic.model.api.FeatureSetDescriptor" + * @see org.eclipse.passage.lic.model.meta.LicPackage#getFeatureSet() + * @model superTypes="org.eclipse.passage.lic.model.api.FeatureSetDescriptor" * @generated */ public interface FeatureSet extends EObject, FeatureSetDescriptor { @@ -57,14 +47,14 @@ public interface FeatureSet extends EObject, FeatureSetDescriptor { * * @return the value of the 'Identifier' attribute. * @see #setIdentifier(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getFeatureSet_Identifier() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getFeatureSet_Identifier() * @model required="true" * @generated */ String getIdentifier(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.FeatureSet#getIdentifier Identifier}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.FeatureSet#getIdentifier Identifier}' attribute. * * * @param value the new value of the 'Identifier' attribute. @@ -83,14 +73,14 @@ public interface FeatureSet extends EObject, FeatureSetDescriptor { * * @return the value of the 'Name' attribute. * @see #setName(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getFeatureSet_Name() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getFeatureSet_Name() * @model * @generated */ String getName(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.FeatureSet#getName Name}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.FeatureSet#getName Name}' attribute. * * * @param value the new value of the 'Name' attribute. @@ -109,14 +99,14 @@ public interface FeatureSet extends EObject, FeatureSetDescriptor { * * @return the value of the 'Description' attribute. * @see #setDescription(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getFeatureSet_Description() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getFeatureSet_Description() * @model * @generated */ String getDescription(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.FeatureSet#getDescription Description}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.FeatureSet#getDescription Description}' attribute. * * * @param value the new value of the 'Description' attribute. @@ -127,8 +117,8 @@ public interface FeatureSet extends EObject, FeatureSetDescriptor { /** * Returns the value of the 'Features' containment reference list. - * The list contents are of type {@link ru.arsysop.passage.lic.model.api.Feature}. - * It is bidirectional and its opposite is '{@link ru.arsysop.passage.lic.model.api.Feature#getFeatureSet Feature Set}'. + * The list contents are of type {@link org.eclipse.passage.lic.model.api.Feature}. + * It is bidirectional and its opposite is '{@link org.eclipse.passage.lic.model.api.Feature#getFeatureSet Feature Set}'. * *

* If the meaning of the 'Features' containment reference list isn't clear, @@ -136,8 +126,8 @@ public interface FeatureSet extends EObject, FeatureSetDescriptor { *

* * @return the value of the 'Features' containment reference list. - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getFeatureSet_Features() - * @see ru.arsysop.passage.lic.model.api.Feature#getFeatureSet + * @see org.eclipse.passage.lic.model.meta.LicPackage#getFeatureSet_Features() + * @see org.eclipse.passage.lic.model.api.Feature#getFeatureSet * @model opposite="featureSet" containment="true" * @generated */ diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/FeatureVersion.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/FeatureVersion.java similarity index 52% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/FeatureVersion.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/FeatureVersion.java index 8319eca..b721c4a 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/FeatureVersion.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/FeatureVersion.java @@ -1,29 +1,19 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.api; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.api; import org.eclipse.emf.ecore.EObject; - -import ru.arsysop.passage.lic.registry.FeatureVersionDescriptor; +import org.eclipse.passage.lic.registry.FeatureVersionDescriptor; /** * @@ -34,13 +24,13 @@ * The following features are supported: *

* * - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getFeatureVersion() - * @model superTypes="ru.arsysop.passage.lic.model.api.FeatureVersionDescriptor" + * @see org.eclipse.passage.lic.model.meta.LicPackage#getFeatureVersion() + * @model superTypes="org.eclipse.passage.lic.model.api.FeatureVersionDescriptor" * @generated */ public interface FeatureVersion extends EObject, FeatureVersionDescriptor { @@ -54,14 +44,14 @@ public interface FeatureVersion extends EObject, FeatureVersionDescriptor { * * @return the value of the 'Version' attribute. * @see #setVersion(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getFeatureVersion_Version() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getFeatureVersion_Version() * @model required="true" * @generated */ String getVersion(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.FeatureVersion#getVersion Version}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.FeatureVersion#getVersion Version}' attribute. * * * @param value the new value of the 'Version' attribute. @@ -72,7 +62,7 @@ public interface FeatureVersion extends EObject, FeatureVersionDescriptor { /** * Returns the value of the 'Feature' container reference. - * It is bidirectional and its opposite is '{@link ru.arsysop.passage.lic.model.api.Feature#getFeatureVersions Feature Versions}'. + * It is bidirectional and its opposite is '{@link org.eclipse.passage.lic.model.api.Feature#getFeatureVersions Feature Versions}'. * *

* If the meaning of the 'Feature' container reference isn't clear, @@ -81,15 +71,15 @@ public interface FeatureVersion extends EObject, FeatureVersionDescriptor { * * @return the value of the 'Feature' container reference. * @see #setFeature(Feature) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getFeatureVersion_Feature() - * @see ru.arsysop.passage.lic.model.api.Feature#getFeatureVersions + * @see org.eclipse.passage.lic.model.meta.LicPackage#getFeatureVersion_Feature() + * @see org.eclipse.passage.lic.model.api.Feature#getFeatureVersions * @model opposite="featureVersions" required="true" transient="false" * @generated */ Feature getFeature(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.FeatureVersion#getFeature Feature}' container reference. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.FeatureVersion#getFeature Feature}' container reference. * * * @param value the new value of the 'Feature' container reference. @@ -108,14 +98,14 @@ public interface FeatureVersion extends EObject, FeatureVersionDescriptor { * * @return the value of the 'News' attribute. * @see #setNews(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getFeatureVersion_News() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getFeatureVersion_News() * @model * @generated */ String getNews(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.FeatureVersion#getNews News}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.FeatureVersion#getNews News}' attribute. * * * @param value the new value of the 'News' attribute. diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/LicenseGrant.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/LicenseGrant.java similarity index 61% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/LicenseGrant.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/LicenseGrant.java index 4f01b62..8e63555 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/LicenseGrant.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/LicenseGrant.java @@ -1,30 +1,20 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.api; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.api; import java.util.Date; import org.eclipse.emf.ecore.EObject; - -import ru.arsysop.passage.lic.registry.LicenseGrantDescriptor; +import org.eclipse.passage.lic.registry.LicenseGrantDescriptor; /** * @@ -35,19 +25,19 @@ * The following features are supported: *

* * - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getLicenseGrant() - * @model superTypes="ru.arsysop.passage.lic.model.api.LicenseGrantDescriptor" + * @see org.eclipse.passage.lic.model.meta.LicPackage#getLicenseGrant() + * @model superTypes="org.eclipse.passage.lic.model.api.LicenseGrantDescriptor" * @generated */ public interface LicenseGrant extends EObject, LicenseGrantDescriptor { @@ -61,14 +51,14 @@ public interface LicenseGrant extends EObject, LicenseGrantDescriptor { * * @return the value of the 'Feature Identifier' attribute. * @see #setFeatureIdentifier(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getLicenseGrant_FeatureIdentifier() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getLicenseGrant_FeatureIdentifier() * @model required="true" * @generated */ String getFeatureIdentifier(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getFeatureIdentifier Feature Identifier}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getFeatureIdentifier Feature Identifier}' attribute. * * * @param value the new value of the 'Feature Identifier' attribute. @@ -88,14 +78,14 @@ public interface LicenseGrant extends EObject, LicenseGrantDescriptor { * * @return the value of the 'Match Version' attribute. * @see #setMatchVersion(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getLicenseGrant_MatchVersion() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getLicenseGrant_MatchVersion() * @model default="0.0.0" required="true" * @generated */ String getMatchVersion(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getMatchVersion Match Version}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getMatchVersion Match Version}' attribute. * * * @param value the new value of the 'Match Version' attribute. @@ -114,14 +104,14 @@ public interface LicenseGrant extends EObject, LicenseGrantDescriptor { * * @return the value of the 'Match Rule' attribute. * @see #setMatchRule(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getLicenseGrant_MatchRule() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getLicenseGrant_MatchRule() * @model * @generated */ String getMatchRule(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getMatchRule Match Rule}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getMatchRule Match Rule}' attribute. * * * @param value the new value of the 'Match Rule' attribute. @@ -140,14 +130,14 @@ public interface LicenseGrant extends EObject, LicenseGrantDescriptor { * * @return the value of the 'Valid From' attribute. * @see #setValidFrom(Date) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getLicenseGrant_ValidFrom() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getLicenseGrant_ValidFrom() * @model required="true" * @generated */ Date getValidFrom(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getValidFrom Valid From}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getValidFrom Valid From}' attribute. * * * @param value the new value of the 'Valid From' attribute. @@ -166,14 +156,14 @@ public interface LicenseGrant extends EObject, LicenseGrantDescriptor { * * @return the value of the 'Valid Until' attribute. * @see #setValidUntil(Date) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getLicenseGrant_ValidUntil() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getLicenseGrant_ValidUntil() * @model required="true" * @generated */ Date getValidUntil(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getValidUntil Valid Until}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getValidUntil Valid Until}' attribute. * * * @param value the new value of the 'Valid Until' attribute. @@ -192,14 +182,14 @@ public interface LicenseGrant extends EObject, LicenseGrantDescriptor { * * @return the value of the 'Condition Type' attribute. * @see #setConditionType(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getLicenseGrant_ConditionType() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getLicenseGrant_ConditionType() * @model required="true" * @generated */ String getConditionType(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getConditionType Condition Type}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getConditionType Condition Type}' attribute. * * * @param value the new value of the 'Condition Type' attribute. @@ -218,14 +208,14 @@ public interface LicenseGrant extends EObject, LicenseGrantDescriptor { * * @return the value of the 'Condition Expression' attribute. * @see #setConditionExpression(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getLicenseGrant_ConditionExpression() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getLicenseGrant_ConditionExpression() * @model required="true" * @generated */ String getConditionExpression(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getConditionExpression Condition Expression}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getConditionExpression Condition Expression}' attribute. * * * @param value the new value of the 'Condition Expression' attribute. @@ -245,14 +235,14 @@ public interface LicenseGrant extends EObject, LicenseGrantDescriptor { * * @return the value of the 'Capacity' attribute. * @see #setCapacity(int) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getLicenseGrant_Capacity() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getLicenseGrant_Capacity() * @model default="1" * @generated */ int getCapacity(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getCapacity Capacity}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getCapacity Capacity}' attribute. * * * @param value the new value of the 'Capacity' attribute. @@ -263,7 +253,7 @@ public interface LicenseGrant extends EObject, LicenseGrantDescriptor { /** * Returns the value of the 'License Pack' container reference. - * It is bidirectional and its opposite is '{@link ru.arsysop.passage.lic.model.api.LicensePack#getLicenseGrants License Grants}'. + * It is bidirectional and its opposite is '{@link org.eclipse.passage.lic.model.api.LicensePack#getLicenseGrants License Grants}'. * *

* If the meaning of the 'License Pack' container reference isn't clear, @@ -272,15 +262,15 @@ public interface LicenseGrant extends EObject, LicenseGrantDescriptor { * * @return the value of the 'License Pack' container reference. * @see #setLicensePack(LicensePack) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getLicenseGrant_LicensePack() - * @see ru.arsysop.passage.lic.model.api.LicensePack#getLicenseGrants + * @see org.eclipse.passage.lic.model.meta.LicPackage#getLicenseGrant_LicensePack() + * @see org.eclipse.passage.lic.model.api.LicensePack#getLicenseGrants * @model opposite="licenseGrants" required="true" transient="false" * @generated */ LicensePack getLicensePack(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getLicensePack License Pack}' container reference. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getLicensePack License Pack}' container reference. * * * @param value the new value of the 'License Pack' container reference. diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/LicensePack.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/LicensePack.java similarity index 58% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/LicensePack.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/LicensePack.java index 961eb1e..dd75443 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/LicensePack.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/LicensePack.java @@ -1,32 +1,23 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.api; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.api; import java.util.Date; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; -import ru.arsysop.passage.lic.registry.LicensePackDescriptor; +import org.eclipse.passage.lic.registry.LicensePackDescriptor; /** * @@ -37,16 +28,16 @@ * The following features are supported: *

* * - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getLicensePack() - * @model superTypes="ru.arsysop.passage.lic.model.api.LicensePackDescriptor" + * @see org.eclipse.passage.lic.model.meta.LicPackage#getLicensePack() + * @model superTypes="org.eclipse.passage.lic.model.api.LicensePackDescriptor" * @generated */ public interface LicensePack extends EObject, LicensePackDescriptor { @@ -60,14 +51,14 @@ public interface LicensePack extends EObject, LicensePackDescriptor { * * @return the value of the 'Identifier' attribute. * @see #setIdentifier(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getLicensePack_Identifier() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getLicensePack_Identifier() * @model id="true" * @generated */ String getIdentifier(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.LicensePack#getIdentifier Identifier}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.LicensePack#getIdentifier Identifier}' attribute. * * * @param value the new value of the 'Identifier' attribute. @@ -86,14 +77,14 @@ public interface LicensePack extends EObject, LicensePackDescriptor { * * @return the value of the 'Issue Date' attribute. * @see #setIssueDate(Date) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getLicensePack_IssueDate() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getLicensePack_IssueDate() * @model * @generated */ Date getIssueDate(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.LicensePack#getIssueDate Issue Date}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.LicensePack#getIssueDate Issue Date}' attribute. * * * @param value the new value of the 'Issue Date' attribute. @@ -112,14 +103,14 @@ public interface LicensePack extends EObject, LicensePackDescriptor { * * @return the value of the 'Product Identifier' attribute. * @see #setProductIdentifier(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getLicensePack_ProductIdentifier() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getLicensePack_ProductIdentifier() * @model required="true" * @generated */ String getProductIdentifier(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.LicensePack#getProductIdentifier Product Identifier}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.LicensePack#getProductIdentifier Product Identifier}' attribute. * * * @param value the new value of the 'Product Identifier' attribute. @@ -138,14 +129,14 @@ public interface LicensePack extends EObject, LicensePackDescriptor { * * @return the value of the 'Product Version' attribute. * @see #setProductVersion(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getLicensePack_ProductVersion() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getLicensePack_ProductVersion() * @model required="true" * @generated */ String getProductVersion(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.LicensePack#getProductVersion Product Version}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.LicensePack#getProductVersion Product Version}' attribute. * * * @param value the new value of the 'Product Version' attribute. @@ -164,14 +155,14 @@ public interface LicensePack extends EObject, LicensePackDescriptor { * * @return the value of the 'User Identifier' attribute. * @see #setUserIdentifier(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getLicensePack_UserIdentifier() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getLicensePack_UserIdentifier() * @model required="true" * @generated */ String getUserIdentifier(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.LicensePack#getUserIdentifier User Identifier}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.LicensePack#getUserIdentifier User Identifier}' attribute. * * * @param value the new value of the 'User Identifier' attribute. @@ -182,8 +173,8 @@ public interface LicensePack extends EObject, LicensePackDescriptor { /** * Returns the value of the 'License Grants' containment reference list. - * The list contents are of type {@link ru.arsysop.passage.lic.model.api.LicenseGrant}. - * It is bidirectional and its opposite is '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getLicensePack License Pack}'. + * The list contents are of type {@link org.eclipse.passage.lic.model.api.LicenseGrant}. + * It is bidirectional and its opposite is '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getLicensePack License Pack}'. * *

* If the meaning of the 'LicensePack Conditions' containment reference list isn't clear, @@ -191,8 +182,8 @@ public interface LicensePack extends EObject, LicensePackDescriptor { *

* * @return the value of the 'License Grants' containment reference list. - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getLicensePack_LicenseGrants() - * @see ru.arsysop.passage.lic.model.api.LicenseGrant#getLicensePack + * @see org.eclipse.passage.lic.model.meta.LicPackage#getLicensePack_LicenseGrants() + * @see org.eclipse.passage.lic.model.api.LicenseGrant#getLicensePack * @model opposite="licensePack" containment="true" * @generated */ diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/Product.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/Product.java similarity index 58% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/Product.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/Product.java index 312c2ee..c1d346d 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/Product.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/Product.java @@ -1,29 +1,20 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.model.api; +package org.eclipse.passage.lic.model.api; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; - -import ru.arsysop.passage.lic.registry.ProductDescriptor; +import org.eclipse.passage.lic.registry.ProductDescriptor; /** * @@ -34,15 +25,15 @@ * The following features are supported: *

* * - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProduct() - * @model superTypes="ru.arsysop.passage.lic.model.api.ProductDescriptor" + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProduct() + * @model superTypes="org.eclipse.passage.lic.model.api.ProductDescriptor" * @generated */ public interface Product extends EObject, ProductDescriptor { @@ -56,14 +47,14 @@ public interface Product extends EObject, ProductDescriptor { * * @return the value of the 'Identifier' attribute. * @see #setIdentifier(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProduct_Identifier() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProduct_Identifier() * @model required="true" * @generated */ String getIdentifier(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.Product#getIdentifier Identifier}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.Product#getIdentifier Identifier}' attribute. * * * @param value the new value of the 'Identifier' attribute. @@ -82,14 +73,14 @@ public interface Product extends EObject, ProductDescriptor { * * @return the value of the 'Name' attribute. * @see #setName(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProduct_Name() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProduct_Name() * @model * @generated */ String getName(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.Product#getName Name}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.Product#getName Name}' attribute. * * * @param value the new value of the 'Name' attribute. @@ -108,14 +99,14 @@ public interface Product extends EObject, ProductDescriptor { * * @return the value of the 'Description' attribute. * @see #setDescription(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProduct_Description() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProduct_Description() * @model * @generated */ String getDescription(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.Product#getDescription Description}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.Product#getDescription Description}' attribute. * * * @param value the new value of the 'Description' attribute. @@ -126,7 +117,7 @@ public interface Product extends EObject, ProductDescriptor { /** * Returns the value of the 'Product Line' container reference. - * It is bidirectional and its opposite is '{@link ru.arsysop.passage.lic.model.api.ProductLine#getProducts Products}'. + * It is bidirectional and its opposite is '{@link org.eclipse.passage.lic.model.api.ProductLine#getProducts Products}'. * *

* If the meaning of the 'Product Line' container reference isn't clear, @@ -135,15 +126,15 @@ public interface Product extends EObject, ProductDescriptor { * * @return the value of the 'Product Line' container reference. * @see #setProductLine(ProductLine) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProduct_ProductLine() - * @see ru.arsysop.passage.lic.model.api.ProductLine#getProducts + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProduct_ProductLine() + * @see org.eclipse.passage.lic.model.api.ProductLine#getProducts * @model opposite="products" required="true" transient="false" * @generated */ ProductLine getProductLine(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.Product#getProductLine Product Line}' container reference. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.Product#getProductLine Product Line}' container reference. * * * @param value the new value of the 'Product Line' container reference. @@ -154,8 +145,8 @@ public interface Product extends EObject, ProductDescriptor { /** * Returns the value of the 'Product Versions' containment reference list. - * The list contents are of type {@link ru.arsysop.passage.lic.model.api.ProductVersion}. - * It is bidirectional and its opposite is '{@link ru.arsysop.passage.lic.model.api.ProductVersion#getProduct Product}'. + * The list contents are of type {@link org.eclipse.passage.lic.model.api.ProductVersion}. + * It is bidirectional and its opposite is '{@link org.eclipse.passage.lic.model.api.ProductVersion#getProduct Product}'. * *

* If the meaning of the 'Product Versions' containment reference list isn't clear, @@ -163,8 +154,8 @@ public interface Product extends EObject, ProductDescriptor { *

* * @return the value of the 'Product Versions' containment reference list. - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProduct_ProductVersions() - * @see ru.arsysop.passage.lic.model.api.ProductVersion#getProduct + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProduct_ProductVersions() + * @see org.eclipse.passage.lic.model.api.ProductVersion#getProduct * @model opposite="product" containment="true" * @generated */ diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/ProductLine.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/ProductLine.java similarity index 54% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/ProductLine.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/ProductLine.java index f78a7c3..6ba4559 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/ProductLine.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/ProductLine.java @@ -1,31 +1,21 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.api; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.api; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; - -import ru.arsysop.passage.lic.registry.ProductLineDescriptor; +import org.eclipse.passage.lic.registry.ProductLineDescriptor; /** * @@ -36,14 +26,14 @@ * The following features are supported: *

* * - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProductLine() - * @model superTypes="ru.arsysop.passage.lic.model.api.ProductLineDescriptor" + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProductLine() + * @model superTypes="org.eclipse.passage.lic.model.api.ProductLineDescriptor" * @generated */ public interface ProductLine extends EObject, ProductLineDescriptor { @@ -57,14 +47,14 @@ public interface ProductLine extends EObject, ProductLineDescriptor { * * @return the value of the 'Identifier' attribute. * @see #setIdentifier(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProductLine_Identifier() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProductLine_Identifier() * @model required="true" * @generated */ String getIdentifier(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.ProductLine#getIdentifier Identifier}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.ProductLine#getIdentifier Identifier}' attribute. * * * @param value the new value of the 'Identifier' attribute. @@ -83,14 +73,14 @@ public interface ProductLine extends EObject, ProductLineDescriptor { * * @return the value of the 'Name' attribute. * @see #setName(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProductLine_Name() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProductLine_Name() * @model * @generated */ String getName(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.ProductLine#getName Name}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.ProductLine#getName Name}' attribute. * * * @param value the new value of the 'Name' attribute. @@ -109,14 +99,14 @@ public interface ProductLine extends EObject, ProductLineDescriptor { * * @return the value of the 'Description' attribute. * @see #setDescription(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProductLine_Description() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProductLine_Description() * @model * @generated */ String getDescription(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.ProductLine#getDescription Description}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.ProductLine#getDescription Description}' attribute. * * * @param value the new value of the 'Description' attribute. @@ -127,8 +117,8 @@ public interface ProductLine extends EObject, ProductLineDescriptor { /** * Returns the value of the 'Products' containment reference list. - * The list contents are of type {@link ru.arsysop.passage.lic.model.api.Product}. - * It is bidirectional and its opposite is '{@link ru.arsysop.passage.lic.model.api.Product#getProductLine Product Line}'. + * The list contents are of type {@link org.eclipse.passage.lic.model.api.Product}. + * It is bidirectional and its opposite is '{@link org.eclipse.passage.lic.model.api.Product#getProductLine Product Line}'. * *

* If the meaning of the 'Products' containment reference list isn't clear, @@ -136,8 +126,8 @@ public interface ProductLine extends EObject, ProductLineDescriptor { *

* * @return the value of the 'Products' containment reference list. - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProductLine_Products() - * @see ru.arsysop.passage.lic.model.api.Product#getProductLine + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProductLine_Products() + * @see org.eclipse.passage.lic.model.api.Product#getProductLine * @model opposite="productLine" containment="true" * @generated */ diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/ProductVersion.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/ProductVersion.java similarity index 56% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/ProductVersion.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/ProductVersion.java index 43a0162..7de0555 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/ProductVersion.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/ProductVersion.java @@ -1,31 +1,21 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.api; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.api; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; - -import ru.arsysop.passage.lic.registry.ProductVersionDescriptor; +import org.eclipse.passage.lic.registry.ProductVersionDescriptor; /** * @@ -36,16 +26,16 @@ * The following features are supported: *

* * - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProductVersion() - * @model superTypes="ru.arsysop.passage.lic.model.api.ProductVersionDescriptor" + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProductVersion() + * @model superTypes="org.eclipse.passage.lic.model.api.ProductVersionDescriptor" * @generated */ public interface ProductVersion extends EObject, ProductVersionDescriptor { @@ -59,14 +49,14 @@ public interface ProductVersion extends EObject, ProductVersionDescriptor { * * @return the value of the 'Version' attribute. * @see #setVersion(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProductVersion_Version() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProductVersion_Version() * @model required="true" * @generated */ String getVersion(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.ProductVersion#getVersion Version}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.ProductVersion#getVersion Version}' attribute. * * * @param value the new value of the 'Version' attribute. @@ -77,7 +67,7 @@ public interface ProductVersion extends EObject, ProductVersionDescriptor { /** * Returns the value of the 'Product' container reference. - * It is bidirectional and its opposite is '{@link ru.arsysop.passage.lic.model.api.Product#getProductVersions Product Versions}'. + * It is bidirectional and its opposite is '{@link org.eclipse.passage.lic.model.api.Product#getProductVersions Product Versions}'. * *

* If the meaning of the 'Product' container reference isn't clear, @@ -86,15 +76,15 @@ public interface ProductVersion extends EObject, ProductVersionDescriptor { * * @return the value of the 'Product' container reference. * @see #setProduct(Product) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProductVersion_Product() - * @see ru.arsysop.passage.lic.model.api.Product#getProductVersions + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProductVersion_Product() + * @see org.eclipse.passage.lic.model.api.Product#getProductVersions * @model opposite="productVersions" required="true" transient="false" * @generated */ Product getProduct(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.ProductVersion#getProduct Product}' container reference. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.ProductVersion#getProduct Product}' container reference. * * * @param value the new value of the 'Product' container reference. @@ -113,14 +103,14 @@ public interface ProductVersion extends EObject, ProductVersionDescriptor { * * @return the value of the 'Installation Token' attribute. * @see #setInstallationToken(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProductVersion_InstallationToken() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProductVersion_InstallationToken() * @model * @generated */ String getInstallationToken(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.ProductVersion#getInstallationToken Installation Token}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.ProductVersion#getInstallationToken Installation Token}' attribute. * * * @param value the new value of the 'Installation Token' attribute. @@ -139,14 +129,14 @@ public interface ProductVersion extends EObject, ProductVersionDescriptor { * * @return the value of the 'Secure Token' attribute. * @see #setSecureToken(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProductVersion_SecureToken() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProductVersion_SecureToken() * @model * @generated */ String getSecureToken(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.ProductVersion#getSecureToken Secure Token}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.ProductVersion#getSecureToken Secure Token}' attribute. * * * @param value the new value of the 'Secure Token' attribute. @@ -157,8 +147,8 @@ public interface ProductVersion extends EObject, ProductVersionDescriptor { /** * Returns the value of the 'Product Version Features' containment reference list. - * The list contents are of type {@link ru.arsysop.passage.lic.model.api.ProductVersionFeature}. - * It is bidirectional and its opposite is '{@link ru.arsysop.passage.lic.model.api.ProductVersionFeature#getProductVersion Product Version}'. + * The list contents are of type {@link org.eclipse.passage.lic.model.api.ProductVersionFeature}. + * It is bidirectional and its opposite is '{@link org.eclipse.passage.lic.model.api.ProductVersionFeature#getProductVersion Product Version}'. * *

* If the meaning of the 'Product Version Features' containment reference list isn't clear, @@ -166,8 +156,8 @@ public interface ProductVersion extends EObject, ProductVersionDescriptor { *

* * @return the value of the 'Product Version Features' containment reference list. - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProductVersion_ProductVersionFeatures() - * @see ru.arsysop.passage.lic.model.api.ProductVersionFeature#getProductVersion + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProductVersion_ProductVersionFeatures() + * @see org.eclipse.passage.lic.model.api.ProductVersionFeature#getProductVersion * @model opposite="productVersion" containment="true" * @generated */ @@ -183,14 +173,14 @@ public interface ProductVersion extends EObject, ProductVersionDescriptor { * * @return the value of the 'News' attribute. * @see #setNews(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProductVersion_News() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProductVersion_News() * @model * @generated */ String getNews(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.ProductVersion#getNews News}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.ProductVersion#getNews News}' attribute. * * * @param value the new value of the 'News' attribute. diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/ProductVersionFeature.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/ProductVersionFeature.java similarity index 54% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/ProductVersionFeature.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/ProductVersionFeature.java index 570cf9e..f09319a 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/ProductVersionFeature.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/ProductVersionFeature.java @@ -1,29 +1,19 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.api; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.api; import org.eclipse.emf.ecore.EObject; - -import ru.arsysop.passage.lic.registry.ProductVersionFeatureDescriptor; +import org.eclipse.passage.lic.registry.ProductVersionFeatureDescriptor; /** * @@ -34,14 +24,14 @@ * The following features are supported: *

* * - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProductVersionFeature() - * @model superTypes="ru.arsysop.passage.lic.model.api.ProductVersionFeatureDescriptor" + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProductVersionFeature() + * @model superTypes="org.eclipse.passage.lic.model.api.ProductVersionFeatureDescriptor" * @generated */ public interface ProductVersionFeature extends EObject, ProductVersionFeatureDescriptor { @@ -55,14 +45,14 @@ public interface ProductVersionFeature extends EObject, ProductVersionFeatureDes * * @return the value of the 'Feature Identifier' attribute. * @see #setFeatureIdentifier(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProductVersionFeature_FeatureIdentifier() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProductVersionFeature_FeatureIdentifier() * @model required="true" * @generated */ String getFeatureIdentifier(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.ProductVersionFeature#getFeatureIdentifier Feature Identifier}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.ProductVersionFeature#getFeatureIdentifier Feature Identifier}' attribute. * * * @param value the new value of the 'Feature Identifier' attribute. @@ -81,14 +71,14 @@ public interface ProductVersionFeature extends EObject, ProductVersionFeatureDes * * @return the value of the 'Feature Version' attribute. * @see #setFeatureVersion(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProductVersionFeature_FeatureVersion() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProductVersionFeature_FeatureVersion() * @model required="true" * @generated */ String getFeatureVersion(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.ProductVersionFeature#getFeatureVersion Feature Version}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.ProductVersionFeature#getFeatureVersion Feature Version}' attribute. * * * @param value the new value of the 'Feature Version' attribute. @@ -107,14 +97,14 @@ public interface ProductVersionFeature extends EObject, ProductVersionFeatureDes * * @return the value of the 'Restriction Level' attribute. * @see #setRestrictionLevel(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProductVersionFeature_RestrictionLevel() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProductVersionFeature_RestrictionLevel() * @model * @generated */ String getRestrictionLevel(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.ProductVersionFeature#getRestrictionLevel Restriction Level}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.ProductVersionFeature#getRestrictionLevel Restriction Level}' attribute. * * * @param value the new value of the 'Restriction Level' attribute. @@ -125,7 +115,7 @@ public interface ProductVersionFeature extends EObject, ProductVersionFeatureDes /** * Returns the value of the 'Product Version' container reference. - * It is bidirectional and its opposite is '{@link ru.arsysop.passage.lic.model.api.ProductVersion#getProductVersionFeatures Product Version Features}'. + * It is bidirectional and its opposite is '{@link org.eclipse.passage.lic.model.api.ProductVersion#getProductVersionFeatures Product Version Features}'. * *

* If the meaning of the 'Product Version' container reference isn't clear, @@ -134,15 +124,15 @@ public interface ProductVersionFeature extends EObject, ProductVersionFeatureDes * * @return the value of the 'Product Version' container reference. * @see #setProductVersion(ProductVersion) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getProductVersionFeature_ProductVersion() - * @see ru.arsysop.passage.lic.model.api.ProductVersion#getProductVersionFeatures + * @see org.eclipse.passage.lic.model.meta.LicPackage#getProductVersionFeature_ProductVersion() + * @see org.eclipse.passage.lic.model.api.ProductVersion#getProductVersionFeatures * @model opposite="productVersionFeatures" required="true" transient="false" * @generated */ ProductVersion getProductVersion(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.ProductVersionFeature#getProductVersion Product Version}' container reference. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.ProductVersionFeature#getProductVersion Product Version}' container reference. * * * @param value the new value of the 'Product Version' container reference. diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/User.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/User.java similarity index 60% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/User.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/User.java index d8986c1..b80b23a 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/User.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/User.java @@ -1,28 +1,19 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.model.api; +package org.eclipse.passage.lic.model.api; import org.eclipse.emf.ecore.EObject; - -import ru.arsysop.passage.lic.registry.UserDescriptor; +import org.eclipse.passage.lic.registry.UserDescriptor; /** * @@ -33,15 +24,15 @@ * The following features are supported: *

* * - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getUser() - * @model superTypes="ru.arsysop.passage.lic.model.api.UserDescriptor" + * @see org.eclipse.passage.lic.model.meta.LicPackage#getUser() + * @model superTypes="org.eclipse.passage.lic.model.api.UserDescriptor" * @generated */ public interface User extends EObject, UserDescriptor { @@ -55,14 +46,14 @@ public interface User extends EObject, UserDescriptor { * * @return the value of the 'Identifier' attribute. * @see #setIdentifier(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getUser_Identifier() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getUser_Identifier() * @model * @generated */ String getIdentifier(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.User#getIdentifier Identifier}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.User#getIdentifier Identifier}' attribute. * * * @param value the new value of the 'Identifier' attribute. @@ -81,14 +72,14 @@ public interface User extends EObject, UserDescriptor { * * @return the value of the 'Email' attribute. * @see #setEmail(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getUser_Email() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getUser_Email() * @model required="true" * @generated */ String getEmail(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.User#getEmail Email}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.User#getEmail Email}' attribute. * * * @param value the new value of the 'Email' attribute. @@ -107,14 +98,14 @@ public interface User extends EObject, UserDescriptor { * * @return the value of the 'Full Name' attribute. * @see #setFullName(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getUser_FullName() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getUser_FullName() * @model * @generated */ String getFullName(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.User#getFullName Full Name}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.User#getFullName Full Name}' attribute. * * * @param value the new value of the 'Full Name' attribute. @@ -133,14 +124,14 @@ public interface User extends EObject, UserDescriptor { * * @return the value of the 'Description' attribute. * @see #setDescription(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getUser_Description() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getUser_Description() * @model * @generated */ String getDescription(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.User#getDescription Description}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.User#getDescription Description}' attribute. * * * @param value the new value of the 'Description' attribute. @@ -151,7 +142,7 @@ public interface User extends EObject, UserDescriptor { /** * Returns the value of the 'User Origin' container reference. - * It is bidirectional and its opposite is '{@link ru.arsysop.passage.lic.model.api.UserOrigin#getUsers Users}'. + * It is bidirectional and its opposite is '{@link org.eclipse.passage.lic.model.api.UserOrigin#getUsers Users}'. * *

* If the meaning of the 'User Origin' reference isn't clear, @@ -160,15 +151,15 @@ public interface User extends EObject, UserDescriptor { * * @return the value of the 'User Origin' container reference. * @see #setUserOrigin(UserOrigin) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getUser_UserOrigin() - * @see ru.arsysop.passage.lic.model.api.UserOrigin#getUsers + * @see org.eclipse.passage.lic.model.meta.LicPackage#getUser_UserOrigin() + * @see org.eclipse.passage.lic.model.api.UserOrigin#getUsers * @model opposite="users" required="true" transient="false" * @generated */ UserOrigin getUserOrigin(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.User#getUserOrigin User Origin}' container reference. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.User#getUserOrigin User Origin}' container reference. * * * @param value the new value of the 'User Origin' container reference. diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/UserOrigin.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/UserOrigin.java similarity index 54% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/UserOrigin.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/UserOrigin.java index 8e4609d..78dd265 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/api/UserOrigin.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/api/UserOrigin.java @@ -1,31 +1,21 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.api; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.api; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; - -import ru.arsysop.passage.lic.registry.UserOriginDescriptor; +import org.eclipse.passage.lic.registry.UserOriginDescriptor; /** * @@ -36,14 +26,14 @@ * The following features are supported: *

* * - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getUserOrigin() - * @model superTypes="ru.arsysop.passage.lic.model.api.UserOriginDescriptor" + * @see org.eclipse.passage.lic.model.meta.LicPackage#getUserOrigin() + * @model superTypes="org.eclipse.passage.lic.model.api.UserOriginDescriptor" * @generated */ public interface UserOrigin extends EObject, UserOriginDescriptor { @@ -57,14 +47,14 @@ public interface UserOrigin extends EObject, UserOriginDescriptor { * * @return the value of the 'Identifier' attribute. * @see #setIdentifier(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getUserOrigin_Identifier() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getUserOrigin_Identifier() * @model required="true" * @generated */ String getIdentifier(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.UserOrigin#getIdentifier Identifier}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.UserOrigin#getIdentifier Identifier}' attribute. * * * @param value the new value of the 'Identifier' attribute. @@ -83,14 +73,14 @@ public interface UserOrigin extends EObject, UserOriginDescriptor { * * @return the value of the 'Name' attribute. * @see #setName(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getUserOrigin_Name() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getUserOrigin_Name() * @model * @generated */ String getName(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.UserOrigin#getName Name}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.UserOrigin#getName Name}' attribute. * * * @param value the new value of the 'Name' attribute. @@ -109,14 +99,14 @@ public interface UserOrigin extends EObject, UserOriginDescriptor { * * @return the value of the 'Description' attribute. * @see #setDescription(String) - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getUserOrigin_Description() + * @see org.eclipse.passage.lic.model.meta.LicPackage#getUserOrigin_Description() * @model * @generated */ String getDescription(); /** - * Sets the value of the '{@link ru.arsysop.passage.lic.model.api.UserOrigin#getDescription Description}' attribute. + * Sets the value of the '{@link org.eclipse.passage.lic.model.api.UserOrigin#getDescription Description}' attribute. * * * @param value the new value of the 'Description' attribute. @@ -127,8 +117,8 @@ public interface UserOrigin extends EObject, UserOriginDescriptor { /** * Returns the value of the 'Users' containment reference list. - * The list contents are of type {@link ru.arsysop.passage.lic.model.api.User}. - * It is bidirectional and its opposite is '{@link ru.arsysop.passage.lic.model.api.User#getUserOrigin User Origin}'. + * The list contents are of type {@link org.eclipse.passage.lic.model.api.User}. + * It is bidirectional and its opposite is '{@link org.eclipse.passage.lic.model.api.User#getUserOrigin User Origin}'. * *

* If the meaning of the 'Users' reference list isn't clear, @@ -136,8 +126,8 @@ public interface UserOrigin extends EObject, UserOriginDescriptor { *

* * @return the value of the 'Users' containment reference list. - * @see ru.arsysop.passage.lic.model.meta.LicPackage#getUserOrigin_Users() - * @see ru.arsysop.passage.lic.model.api.User#getUserOrigin + * @see org.eclipse.passage.lic.model.meta.LicPackage#getUserOrigin_Users() + * @see org.eclipse.passage.lic.model.api.User#getUserOrigin * @model opposite="userOrigin" containment="true" * @generated */ diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/FeatureImpl.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/FeatureImpl.java similarity index 89% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/FeatureImpl.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/FeatureImpl.java index 15de585..d25235c 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/FeatureImpl.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/FeatureImpl.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.model.impl; +package org.eclipse.passage.lic.model.impl; import java.util.Collection; import org.eclipse.emf.common.notify.Notification; @@ -33,10 +25,10 @@ import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; import org.eclipse.emf.ecore.util.EcoreUtil; import org.eclipse.emf.ecore.util.InternalEList; -import ru.arsysop.passage.lic.model.api.Feature; -import ru.arsysop.passage.lic.model.api.FeatureSet; -import ru.arsysop.passage.lic.model.api.FeatureVersion; -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.Feature; +import org.eclipse.passage.lic.model.api.FeatureSet; +import org.eclipse.passage.lic.model.api.FeatureVersion; +import org.eclipse.passage.lic.model.meta.LicPackage; /** * @@ -46,11 +38,11 @@ * The following features are implemented: *

* * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/FeatureSetImpl.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/FeatureSetImpl.java similarity index 86% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/FeatureSetImpl.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/FeatureSetImpl.java index 59a419f..9aed1cb 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/FeatureSetImpl.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/FeatureSetImpl.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.impl; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.impl; import java.util.Collection; @@ -36,11 +27,9 @@ import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; import org.eclipse.emf.ecore.util.InternalEList; - -import ru.arsysop.passage.lic.model.api.Feature; -import ru.arsysop.passage.lic.model.api.FeatureSet; - -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.Feature; +import org.eclipse.passage.lic.model.api.FeatureSet; +import org.eclipse.passage.lic.model.meta.LicPackage; /** * @@ -50,10 +39,10 @@ * The following features are implemented: *

* * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/FeatureVersionImpl.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/FeatureVersionImpl.java similarity index 86% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/FeatureVersionImpl.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/FeatureVersionImpl.java index a96406f..2020ca2 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/FeatureVersionImpl.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/FeatureVersionImpl.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.impl; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.impl; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; @@ -31,11 +22,9 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; import org.eclipse.emf.ecore.util.EcoreUtil; - -import ru.arsysop.passage.lic.model.api.Feature; -import ru.arsysop.passage.lic.model.api.FeatureVersion; - -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.Feature; +import org.eclipse.passage.lic.model.api.FeatureVersion; +import org.eclipse.passage.lic.model.meta.LicPackage; /** * @@ -45,9 +34,9 @@ * The following features are implemented: *

* * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/LicFactoryImpl.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/LicFactoryImpl.java similarity index 85% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/LicFactoryImpl.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/LicFactoryImpl.java index 28e95ed..a97244a 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/LicFactoryImpl.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/LicFactoryImpl.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.model.impl; +package org.eclipse.passage.lic.model.impl; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; @@ -27,10 +19,9 @@ import org.eclipse.emf.ecore.impl.EFactoryImpl; import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import ru.arsysop.passage.lic.model.api.*; -import ru.arsysop.passage.lic.model.meta.LicFactory; -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.*; +import org.eclipse.passage.lic.model.meta.LicFactory; +import org.eclipse.passage.lic.model.meta.LicPackage; /** * diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/LicPackageImpl.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/LicPackageImpl.java similarity index 95% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/LicPackageImpl.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/LicPackageImpl.java index d0e0dfc..d7ef202 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/LicPackageImpl.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/LicPackageImpl.java @@ -1,55 +1,46 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.model.impl; +package org.eclipse.passage.lic.model.impl; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.impl.EPackageImpl; - -import ru.arsysop.passage.lic.model.api.Feature; -import ru.arsysop.passage.lic.model.api.FeatureSet; -import ru.arsysop.passage.lic.model.api.FeatureVersion; -import ru.arsysop.passage.lic.model.api.LicensePack; -import ru.arsysop.passage.lic.model.api.LicenseGrant; -import ru.arsysop.passage.lic.model.api.User; -import ru.arsysop.passage.lic.model.api.UserOrigin; -import ru.arsysop.passage.lic.model.api.Product; -import ru.arsysop.passage.lic.model.api.ProductLine; -import ru.arsysop.passage.lic.model.api.ProductVersion; -import ru.arsysop.passage.lic.model.api.ProductVersionFeature; -import ru.arsysop.passage.lic.model.meta.LicFactory; -import ru.arsysop.passage.lic.model.meta.LicPackage; -import ru.arsysop.passage.lic.registry.FeatureDescriptor; -import ru.arsysop.passage.lic.registry.FeatureSetDescriptor; -import ru.arsysop.passage.lic.registry.FeatureVersionDescriptor; -import ru.arsysop.passage.lic.registry.LicenseGrantDescriptor; -import ru.arsysop.passage.lic.registry.LicensePackDescriptor; -import ru.arsysop.passage.lic.registry.UserDescriptor; -import ru.arsysop.passage.lic.registry.UserOriginDescriptor; -import ru.arsysop.passage.lic.registry.ProductDescriptor; -import ru.arsysop.passage.lic.registry.ProductLineDescriptor; -import ru.arsysop.passage.lic.registry.ProductVersionDescriptor; -import ru.arsysop.passage.lic.registry.ProductVersionFeatureDescriptor; +import org.eclipse.passage.lic.model.api.Feature; +import org.eclipse.passage.lic.model.api.FeatureSet; +import org.eclipse.passage.lic.model.api.FeatureVersion; +import org.eclipse.passage.lic.model.api.LicenseGrant; +import org.eclipse.passage.lic.model.api.LicensePack; +import org.eclipse.passage.lic.model.api.Product; +import org.eclipse.passage.lic.model.api.ProductLine; +import org.eclipse.passage.lic.model.api.ProductVersion; +import org.eclipse.passage.lic.model.api.ProductVersionFeature; +import org.eclipse.passage.lic.model.api.User; +import org.eclipse.passage.lic.model.api.UserOrigin; +import org.eclipse.passage.lic.model.meta.LicFactory; +import org.eclipse.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.registry.FeatureDescriptor; +import org.eclipse.passage.lic.registry.FeatureSetDescriptor; +import org.eclipse.passage.lic.registry.FeatureVersionDescriptor; +import org.eclipse.passage.lic.registry.LicenseGrantDescriptor; +import org.eclipse.passage.lic.registry.LicensePackDescriptor; +import org.eclipse.passage.lic.registry.ProductDescriptor; +import org.eclipse.passage.lic.registry.ProductLineDescriptor; +import org.eclipse.passage.lic.registry.ProductVersionDescriptor; +import org.eclipse.passage.lic.registry.ProductVersionFeatureDescriptor; +import org.eclipse.passage.lic.registry.UserDescriptor; +import org.eclipse.passage.lic.registry.UserOriginDescriptor; /** * @@ -223,7 +214,7 @@ public class LicPackageImpl extends EPackageImpl implements LicPackage { * * * @see org.eclipse.emf.ecore.EPackage.Registry - * @see ru.arsysop.passage.lic.model.meta.LicPackage#eNS_URI + * @see org.eclipse.passage.lic.model.meta.LicPackage#eNS_URI * @see #init() * @generated */ diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/LicenseGrantImpl.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/LicenseGrantImpl.java similarity index 90% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/LicenseGrantImpl.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/LicenseGrantImpl.java index 57f8eec..c3922d6 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/LicenseGrantImpl.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/LicenseGrantImpl.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.impl; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.impl; import java.util.Date; import org.eclipse.emf.common.notify.Notification; @@ -32,10 +23,9 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; import org.eclipse.emf.ecore.util.EcoreUtil; -import ru.arsysop.passage.lic.model.api.LicenseGrant; - -import ru.arsysop.passage.lic.model.api.LicensePack; -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.LicenseGrant; +import org.eclipse.passage.lic.model.api.LicensePack; +import org.eclipse.passage.lic.model.meta.LicPackage; /** * @@ -45,15 +35,15 @@ * The following features are implemented: *

* * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/LicensePackImpl.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/LicensePackImpl.java similarity index 88% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/LicensePackImpl.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/LicensePackImpl.java index b33e0a3..2d64096 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/LicensePackImpl.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/LicensePackImpl.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.impl; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.impl; import java.util.Collection; import java.util.Date; @@ -36,11 +27,9 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; import org.eclipse.emf.ecore.util.InternalEList; - -import ru.arsysop.passage.lic.model.api.LicensePack; -import ru.arsysop.passage.lic.model.api.LicenseGrant; - -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.LicenseGrant; +import org.eclipse.passage.lic.model.api.LicensePack; +import org.eclipse.passage.lic.model.meta.LicPackage; /** * @@ -50,12 +39,12 @@ * The following features are implemented: *

* * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/ProductImpl.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/ProductImpl.java similarity index 89% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/ProductImpl.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/ProductImpl.java index 1ecc85a..e7c1242 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/ProductImpl.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/ProductImpl.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.model.impl; +package org.eclipse.passage.lic.model.impl; import java.util.Collection; import org.eclipse.emf.common.notify.Notification; @@ -34,10 +26,10 @@ import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; import org.eclipse.emf.ecore.util.EcoreUtil; import org.eclipse.emf.ecore.util.InternalEList; -import ru.arsysop.passage.lic.model.api.Product; -import ru.arsysop.passage.lic.model.api.ProductLine; -import ru.arsysop.passage.lic.model.api.ProductVersion; -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.Product; +import org.eclipse.passage.lic.model.api.ProductLine; +import org.eclipse.passage.lic.model.api.ProductVersion; +import org.eclipse.passage.lic.model.meta.LicPackage; /** * @@ -47,11 +39,11 @@ * The following features are implemented: *

* * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/ProductLineImpl.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/ProductLineImpl.java similarity index 86% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/ProductLineImpl.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/ProductLineImpl.java index ec27c48..c161377 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/ProductLineImpl.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/ProductLineImpl.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.impl; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.impl; import java.util.Collection; @@ -36,11 +27,9 @@ import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; import org.eclipse.emf.ecore.util.InternalEList; - -import ru.arsysop.passage.lic.model.api.Product; -import ru.arsysop.passage.lic.model.api.ProductLine; - -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.Product; +import org.eclipse.passage.lic.model.api.ProductLine; +import org.eclipse.passage.lic.model.meta.LicPackage; /** * @@ -50,10 +39,10 @@ * The following features are implemented: *

* * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/ProductVersionFeatureImpl.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/ProductVersionFeatureImpl.java similarity index 88% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/ProductVersionFeatureImpl.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/ProductVersionFeatureImpl.java index cc9536d..034478f 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/ProductVersionFeatureImpl.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/ProductVersionFeatureImpl.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.impl; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.impl; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; @@ -31,11 +22,9 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; import org.eclipse.emf.ecore.util.EcoreUtil; - -import ru.arsysop.passage.lic.model.api.ProductVersion; -import ru.arsysop.passage.lic.model.api.ProductVersionFeature; - -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.ProductVersion; +import org.eclipse.passage.lic.model.api.ProductVersionFeature; +import org.eclipse.passage.lic.model.meta.LicPackage; /** * @@ -45,10 +34,10 @@ * The following features are implemented: *

* * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/ProductVersionImpl.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/ProductVersionImpl.java similarity index 88% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/ProductVersionImpl.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/ProductVersionImpl.java index 5649630..95ef32b 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/ProductVersionImpl.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/ProductVersionImpl.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.impl; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.impl; import java.util.Collection; @@ -37,12 +28,10 @@ import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; import org.eclipse.emf.ecore.util.EcoreUtil; import org.eclipse.emf.ecore.util.InternalEList; - -import ru.arsysop.passage.lic.model.api.Product; -import ru.arsysop.passage.lic.model.api.ProductVersion; -import ru.arsysop.passage.lic.model.api.ProductVersionFeature; - -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.Product; +import org.eclipse.passage.lic.model.api.ProductVersion; +import org.eclipse.passage.lic.model.api.ProductVersionFeature; +import org.eclipse.passage.lic.model.meta.LicPackage; /** * @@ -52,12 +41,12 @@ * The following features are implemented: *

* * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/UserImpl.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/UserImpl.java similarity index 89% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/UserImpl.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/UserImpl.java index 27b6878..618961a 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/UserImpl.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/UserImpl.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.model.impl; +package org.eclipse.passage.lic.model.impl; import org.eclipse.emf.common.notify.Notification; @@ -30,9 +22,9 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; import org.eclipse.emf.ecore.util.EcoreUtil; -import ru.arsysop.passage.lic.model.api.User; -import ru.arsysop.passage.lic.model.api.UserOrigin; -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.User; +import org.eclipse.passage.lic.model.api.UserOrigin; +import org.eclipse.passage.lic.model.meta.LicPackage; /** * @@ -42,11 +34,11 @@ * The following features are implemented: *

* * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/UserOriginImpl.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/UserOriginImpl.java similarity index 86% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/UserOriginImpl.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/UserOriginImpl.java index d43eed9..55e40ac 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/impl/UserOriginImpl.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/impl/UserOriginImpl.java @@ -1,25 +1,16 @@ -/** - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - * - */ -package ru.arsysop.passage.lic.model.impl; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.model.impl; import java.util.Collection; @@ -36,11 +27,9 @@ import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; import org.eclipse.emf.ecore.util.InternalEList; - -import ru.arsysop.passage.lic.model.api.User; -import ru.arsysop.passage.lic.model.api.UserOrigin; - -import ru.arsysop.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.model.api.User; +import org.eclipse.passage.lic.model.api.UserOrigin; +import org.eclipse.passage.lic.model.meta.LicPackage; /** * @@ -50,10 +39,10 @@ * The following features are implemented: *

* * * @generated diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/meta/LicFactory.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/meta/LicFactory.java similarity index 71% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/meta/LicFactory.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/meta/LicFactory.java index da7d8eb..9d1adb1 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/meta/LicFactory.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/meta/LicFactory.java @@ -1,45 +1,36 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.model.meta; +package org.eclipse.passage.lic.model.meta; import org.eclipse.emf.ecore.EFactory; - -import ru.arsysop.passage.lic.model.api.Feature; -import ru.arsysop.passage.lic.model.api.FeatureSet; -import ru.arsysop.passage.lic.model.api.FeatureVersion; -import ru.arsysop.passage.lic.model.api.LicensePack; -import ru.arsysop.passage.lic.model.api.LicenseGrant; -import ru.arsysop.passage.lic.model.api.User; -import ru.arsysop.passage.lic.model.api.UserOrigin; -import ru.arsysop.passage.lic.model.api.Product; -import ru.arsysop.passage.lic.model.api.ProductLine; -import ru.arsysop.passage.lic.model.api.ProductVersion; -import ru.arsysop.passage.lic.model.api.ProductVersionFeature; +import org.eclipse.passage.lic.model.api.Feature; +import org.eclipse.passage.lic.model.api.FeatureSet; +import org.eclipse.passage.lic.model.api.FeatureVersion; +import org.eclipse.passage.lic.model.api.LicenseGrant; +import org.eclipse.passage.lic.model.api.LicensePack; +import org.eclipse.passage.lic.model.api.Product; +import org.eclipse.passage.lic.model.api.ProductLine; +import org.eclipse.passage.lic.model.api.ProductVersion; +import org.eclipse.passage.lic.model.api.ProductVersionFeature; +import org.eclipse.passage.lic.model.api.User; +import org.eclipse.passage.lic.model.api.UserOrigin; /** * * The Factory for the model. * It provides a create method for each non-abstract class of the model. * - * @see ru.arsysop.passage.lic.model.meta.LicPackage + * @see org.eclipse.passage.lic.model.meta.LicPackage * @generated */ public interface LicFactory extends EFactory { @@ -49,7 +40,7 @@ public interface LicFactory extends EFactory { * * @generated */ - LicFactory eINSTANCE = ru.arsysop.passage.lic.model.impl.LicFactoryImpl.init(); + LicFactory eINSTANCE = org.eclipse.passage.lic.model.impl.LicFactoryImpl.init(); /** * Returns a new object of class 'Feature Set'. diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/meta/LicPackage.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/meta/LicPackage.java similarity index 69% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/meta/LicPackage.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/meta/LicPackage.java index d34b5c2..c54d259 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/meta/LicPackage.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/meta/LicPackage.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.model.meta; +package org.eclipse.passage.lic.model.meta; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; @@ -37,7 +29,7 @@ *
  • and each data type
  • * * - * @see ru.arsysop.passage.lic.model.meta.LicFactory + * @see org.eclipse.passage.lic.model.meta.LicFactory * @model kind="package" * @generated */ @@ -56,7 +48,7 @@ public interface LicPackage extends EPackage { * * @generated */ - String eNS_URI = "http://www.arsysop.ru/passage/lic/0.3.2"; //$NON-NLS-1$ + String eNS_URI = "http://www.eclipse.org/passage/lic/0.3.3"; //$NON-NLS-1$ /** * The package namespace name. @@ -64,7 +56,7 @@ public interface LicPackage extends EPackage { * * @generated */ - String eNS_PREFIX = "ru.arsysop.passage.lic"; //$NON-NLS-1$ + String eNS_PREFIX = "org.eclipse.passage.lic"; //$NON-NLS-1$ /** * The singleton instance of the package. @@ -72,14 +64,14 @@ public interface LicPackage extends EPackage { * * @generated */ - LicPackage eINSTANCE = ru.arsysop.passage.lic.model.impl.LicPackageImpl.init(); + LicPackage eINSTANCE = org.eclipse.passage.lic.model.impl.LicPackageImpl.init(); /** - * The meta object id for the '{@link ru.arsysop.passage.lic.registry.FeatureSetDescriptor Feature Set Descriptor}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.registry.FeatureSetDescriptor Feature Set Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.FeatureSetDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getFeatureSetDescriptor() + * @see org.eclipse.passage.lic.registry.FeatureSetDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getFeatureSetDescriptor() * @generated */ int FEATURE_SET_DESCRIPTOR = 0; @@ -103,31 +95,31 @@ public interface LicPackage extends EPackage { int FEATURE_SET_DESCRIPTOR_OPERATION_COUNT = 0; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.registry.ProductDescriptor Product Descriptor}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.registry.ProductDescriptor Product Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.ProductDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getProductDescriptor() + * @see org.eclipse.passage.lic.registry.ProductDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getProductDescriptor() * @generated */ int PRODUCT_DESCRIPTOR = 4; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.registry.ProductVersionDescriptor Product Version Descriptor}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.registry.ProductVersionDescriptor Product Version Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.ProductVersionDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getProductVersionDescriptor() + * @see org.eclipse.passage.lic.registry.ProductVersionDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getProductVersionDescriptor() * @generated */ int PRODUCT_VERSION_DESCRIPTOR = 5; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.registry.FeatureDescriptor Feature Descriptor}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.registry.FeatureDescriptor Feature Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.FeatureDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getFeatureDescriptor() + * @see org.eclipse.passage.lic.registry.FeatureDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getFeatureDescriptor() * @generated */ int FEATURE_DESCRIPTOR = 1; @@ -151,11 +143,11 @@ public interface LicPackage extends EPackage { int FEATURE_DESCRIPTOR_OPERATION_COUNT = 0; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.registry.FeatureVersionDescriptor Feature Version Descriptor}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.registry.FeatureVersionDescriptor Feature Version Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.FeatureVersionDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getFeatureVersionDescriptor() + * @see org.eclipse.passage.lic.registry.FeatureVersionDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getFeatureVersionDescriptor() * @generated */ int FEATURE_VERSION_DESCRIPTOR = 2; @@ -179,11 +171,11 @@ public interface LicPackage extends EPackage { int FEATURE_VERSION_DESCRIPTOR_OPERATION_COUNT = 0; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.registry.ProductLineDescriptor Product Line Descriptor}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.registry.ProductLineDescriptor Product Line Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.ProductLineDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getProductLineDescriptor() + * @see org.eclipse.passage.lic.registry.ProductLineDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getProductLineDescriptor() * @generated */ int PRODUCT_LINE_DESCRIPTOR = 3; @@ -243,11 +235,11 @@ public interface LicPackage extends EPackage { int PRODUCT_VERSION_DESCRIPTOR_OPERATION_COUNT = 0; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.registry.ProductVersionFeatureDescriptor Product Version Feature Descriptor}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.registry.ProductVersionFeatureDescriptor Product Version Feature Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.ProductVersionFeatureDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getProductVersionFeatureDescriptor() + * @see org.eclipse.passage.lic.registry.ProductVersionFeatureDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getProductVersionFeatureDescriptor() * @generated */ int PRODUCT_VERSION_FEATURE_DESCRIPTOR = 6; @@ -271,11 +263,11 @@ public interface LicPackage extends EPackage { int PRODUCT_VERSION_FEATURE_DESCRIPTOR_OPERATION_COUNT = 0; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.registry.UserOriginDescriptor User Origin Descriptor}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.registry.UserOriginDescriptor User Origin Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.UserOriginDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getUserOriginDescriptor() + * @see org.eclipse.passage.lic.registry.UserOriginDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getUserOriginDescriptor() * @generated */ int USER_ORIGIN_DESCRIPTOR = 7; @@ -299,11 +291,11 @@ public interface LicPackage extends EPackage { int USER_ORIGIN_DESCRIPTOR_OPERATION_COUNT = 0; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.registry.UserDescriptor User Descriptor}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.registry.UserDescriptor User Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.UserDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getUserDescriptor() + * @see org.eclipse.passage.lic.registry.UserDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getUserDescriptor() * @generated */ int USER_DESCRIPTOR = 8; @@ -327,11 +319,11 @@ public interface LicPackage extends EPackage { int USER_DESCRIPTOR_OPERATION_COUNT = 0; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.registry.LicensePackDescriptor License Pack Descriptor}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.registry.LicensePackDescriptor License Pack Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.LicensePackDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getLicensePackDescriptor() + * @see org.eclipse.passage.lic.registry.LicensePackDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getLicensePackDescriptor() * @generated */ int LICENSE_PACK_DESCRIPTOR = 9; @@ -355,11 +347,11 @@ public interface LicPackage extends EPackage { int LICENSE_PACK_DESCRIPTOR_OPERATION_COUNT = 0; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.registry.LicenseGrantDescriptor License Grant Descriptor}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.registry.LicenseGrantDescriptor License Grant Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.LicenseGrantDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getLicenseGrantDescriptor() + * @see org.eclipse.passage.lic.registry.LicenseGrantDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getLicenseGrantDescriptor() * @generated */ int LICENSE_GRANT_DESCRIPTOR = 10; @@ -383,11 +375,11 @@ public interface LicPackage extends EPackage { int LICENSE_GRANT_DESCRIPTOR_OPERATION_COUNT = 0; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.model.impl.FeatureSetImpl Feature Set}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.model.impl.FeatureSetImpl Feature Set}' class. * * - * @see ru.arsysop.passage.lic.model.impl.FeatureSetImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getFeatureSet() + * @see org.eclipse.passage.lic.model.impl.FeatureSetImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getFeatureSet() * @generated */ int FEATURE_SET = 11; @@ -447,41 +439,41 @@ public interface LicPackage extends EPackage { int FEATURE_SET_OPERATION_COUNT = FEATURE_SET_DESCRIPTOR_OPERATION_COUNT + 0; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.model.impl.ProductImpl Product}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.model.impl.ProductImpl Product}' class. * * - * @see ru.arsysop.passage.lic.model.impl.ProductImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getProduct() + * @see org.eclipse.passage.lic.model.impl.ProductImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getProduct() * @generated */ int PRODUCT = 15; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.model.impl.ProductVersionImpl Product Version}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.model.impl.ProductVersionImpl Product Version}' class. * * - * @see ru.arsysop.passage.lic.model.impl.ProductVersionImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getProductVersion() + * @see org.eclipse.passage.lic.model.impl.ProductVersionImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getProductVersion() * @generated */ int PRODUCT_VERSION = 16; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.model.impl.ProductVersionFeatureImpl Product Version Feature}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.model.impl.ProductVersionFeatureImpl Product Version Feature}' class. * * - * @see ru.arsysop.passage.lic.model.impl.ProductVersionFeatureImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getProductVersionFeature() + * @see org.eclipse.passage.lic.model.impl.ProductVersionFeatureImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getProductVersionFeature() * @generated */ int PRODUCT_VERSION_FEATURE = 17; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.model.impl.FeatureImpl Feature}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.model.impl.FeatureImpl Feature}' class. * * - * @see ru.arsysop.passage.lic.model.impl.FeatureImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getFeature() + * @see org.eclipse.passage.lic.model.impl.FeatureImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getFeature() * @generated */ int FEATURE = 12; @@ -550,11 +542,11 @@ public interface LicPackage extends EPackage { int FEATURE_OPERATION_COUNT = FEATURE_DESCRIPTOR_OPERATION_COUNT + 0; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.model.impl.FeatureVersionImpl Feature Version}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.model.impl.FeatureVersionImpl Feature Version}' class. * * - * @see ru.arsysop.passage.lic.model.impl.FeatureVersionImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getFeatureVersion() + * @see org.eclipse.passage.lic.model.impl.FeatureVersionImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getFeatureVersion() * @generated */ int FEATURE_VERSION = 13; @@ -605,11 +597,11 @@ public interface LicPackage extends EPackage { int FEATURE_VERSION_OPERATION_COUNT = FEATURE_VERSION_DESCRIPTOR_OPERATION_COUNT + 0; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.model.impl.ProductLineImpl Product Line}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.model.impl.ProductLineImpl Product Line}' class. * * - * @see ru.arsysop.passage.lic.model.impl.ProductLineImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getProductLine() + * @see org.eclipse.passage.lic.model.impl.ProductLineImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getProductLine() * @generated */ int PRODUCT_LINE = 14; @@ -858,11 +850,11 @@ public interface LicPackage extends EPackage { int PRODUCT_VERSION_FEATURE_OPERATION_COUNT = PRODUCT_VERSION_FEATURE_DESCRIPTOR_OPERATION_COUNT + 0; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.model.impl.UserOriginImpl User Origin}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.model.impl.UserOriginImpl User Origin}' class. * * - * @see ru.arsysop.passage.lic.model.impl.UserOriginImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getUserOrigin() + * @see org.eclipse.passage.lic.model.impl.UserOriginImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getUserOrigin() * @generated */ int USER_ORIGIN = 18; @@ -922,11 +914,11 @@ public interface LicPackage extends EPackage { int USER_ORIGIN_OPERATION_COUNT = USER_ORIGIN_DESCRIPTOR_OPERATION_COUNT + 0; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.model.impl.UserImpl User}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.model.impl.UserImpl User}' class. * * - * @see ru.arsysop.passage.lic.model.impl.UserImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getUser() + * @see org.eclipse.passage.lic.model.impl.UserImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getUser() * @generated */ int USER = 19; @@ -995,11 +987,11 @@ public interface LicPackage extends EPackage { int USER_OPERATION_COUNT = USER_DESCRIPTOR_OPERATION_COUNT + 0; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.model.impl.LicensePackImpl License Pack}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.model.impl.LicensePackImpl License Pack}' class. * * - * @see ru.arsysop.passage.lic.model.impl.LicensePackImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getLicensePack() + * @see org.eclipse.passage.lic.model.impl.LicensePackImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getLicensePack() * @generated */ int LICENSE_PACK = 20; @@ -1077,11 +1069,11 @@ public interface LicPackage extends EPackage { int LICENSE_PACK_OPERATION_COUNT = LICENSE_PACK_DESCRIPTOR_OPERATION_COUNT + 0; /** - * The meta object id for the '{@link ru.arsysop.passage.lic.model.impl.LicenseGrantImpl License Grant}' class. + * The meta object id for the '{@link org.eclipse.passage.lic.model.impl.LicenseGrantImpl License Grant}' class. * * - * @see ru.arsysop.passage.lic.model.impl.LicenseGrantImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getLicenseGrant() + * @see org.eclipse.passage.lic.model.impl.LicenseGrantImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getLicenseGrant() * @generated */ int LICENSE_GRANT = 21; @@ -1186,619 +1178,619 @@ public interface LicPackage extends EPackage { int LICENSE_GRANT_OPERATION_COUNT = LICENSE_GRANT_DESCRIPTOR_OPERATION_COUNT + 0; /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.registry.FeatureSetDescriptor Feature Set Descriptor}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.registry.FeatureSetDescriptor Feature Set Descriptor}'. * * * @return the meta object for class 'Feature Set Descriptor'. - * @see ru.arsysop.passage.lic.registry.FeatureSetDescriptor - * @model instanceClass="ru.arsysop.passage.lic.registry.FeatureSetDescriptor" + * @see org.eclipse.passage.lic.registry.FeatureSetDescriptor + * @model instanceClass="org.eclipse.passage.lic.registry.FeatureSetDescriptor" * @generated */ EClass getFeatureSetDescriptor(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.registry.ProductDescriptor Product Descriptor}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.registry.ProductDescriptor Product Descriptor}'. * * * @return the meta object for class 'Product Descriptor'. - * @see ru.arsysop.passage.lic.registry.ProductDescriptor - * @model instanceClass="ru.arsysop.passage.lic.registry.ProductDescriptor" + * @see org.eclipse.passage.lic.registry.ProductDescriptor + * @model instanceClass="org.eclipse.passage.lic.registry.ProductDescriptor" * @generated */ EClass getProductDescriptor(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.registry.ProductVersionDescriptor Product Version Descriptor}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.registry.ProductVersionDescriptor Product Version Descriptor}'. * * * @return the meta object for class 'Product Version Descriptor'. - * @see ru.arsysop.passage.lic.registry.ProductVersionDescriptor - * @model instanceClass="ru.arsysop.passage.lic.registry.ProductVersionDescriptor" + * @see org.eclipse.passage.lic.registry.ProductVersionDescriptor + * @model instanceClass="org.eclipse.passage.lic.registry.ProductVersionDescriptor" * @generated */ EClass getProductVersionDescriptor(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.registry.ProductVersionFeatureDescriptor Product Version Feature Descriptor}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.registry.ProductVersionFeatureDescriptor Product Version Feature Descriptor}'. * * * @return the meta object for class 'Product Version Feature Descriptor'. - * @see ru.arsysop.passage.lic.registry.ProductVersionFeatureDescriptor - * @model instanceClass="ru.arsysop.passage.lic.registry.ProductVersionFeatureDescriptor" + * @see org.eclipse.passage.lic.registry.ProductVersionFeatureDescriptor + * @model instanceClass="org.eclipse.passage.lic.registry.ProductVersionFeatureDescriptor" * @generated */ EClass getProductVersionFeatureDescriptor(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.registry.UserOriginDescriptor User Origin Descriptor}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.registry.UserOriginDescriptor User Origin Descriptor}'. * * * @return the meta object for class 'User Origin Descriptor'. - * @see ru.arsysop.passage.lic.registry.UserOriginDescriptor - * @model instanceClass="ru.arsysop.passage.lic.registry.UserOriginDescriptor" + * @see org.eclipse.passage.lic.registry.UserOriginDescriptor + * @model instanceClass="org.eclipse.passage.lic.registry.UserOriginDescriptor" * @generated */ EClass getUserOriginDescriptor(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.registry.FeatureDescriptor Feature Descriptor}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.registry.FeatureDescriptor Feature Descriptor}'. * * * @return the meta object for class 'Feature Descriptor'. - * @see ru.arsysop.passage.lic.registry.FeatureDescriptor - * @model instanceClass="ru.arsysop.passage.lic.registry.FeatureDescriptor" + * @see org.eclipse.passage.lic.registry.FeatureDescriptor + * @model instanceClass="org.eclipse.passage.lic.registry.FeatureDescriptor" * @generated */ EClass getFeatureDescriptor(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.registry.FeatureVersionDescriptor Feature Version Descriptor}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.registry.FeatureVersionDescriptor Feature Version Descriptor}'. * * * @return the meta object for class 'Feature Version Descriptor'. - * @see ru.arsysop.passage.lic.registry.FeatureVersionDescriptor - * @model instanceClass="ru.arsysop.passage.lic.registry.FeatureVersionDescriptor" + * @see org.eclipse.passage.lic.registry.FeatureVersionDescriptor + * @model instanceClass="org.eclipse.passage.lic.registry.FeatureVersionDescriptor" * @generated */ EClass getFeatureVersionDescriptor(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.registry.ProductLineDescriptor Product Line Descriptor}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.registry.ProductLineDescriptor Product Line Descriptor}'. * * * @return the meta object for class 'Product Line Descriptor'. - * @see ru.arsysop.passage.lic.registry.ProductLineDescriptor - * @model instanceClass="ru.arsysop.passage.lic.registry.ProductLineDescriptor" + * @see org.eclipse.passage.lic.registry.ProductLineDescriptor + * @model instanceClass="org.eclipse.passage.lic.registry.ProductLineDescriptor" * @generated */ EClass getProductLineDescriptor(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.registry.UserDescriptor User Descriptor}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.registry.UserDescriptor User Descriptor}'. * * * @return the meta object for class 'User Descriptor'. - * @see ru.arsysop.passage.lic.registry.UserDescriptor - * @model instanceClass="ru.arsysop.passage.lic.registry.UserDescriptor" + * @see org.eclipse.passage.lic.registry.UserDescriptor + * @model instanceClass="org.eclipse.passage.lic.registry.UserDescriptor" * @generated */ EClass getUserDescriptor(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.registry.LicensePackDescriptor License Pack Descriptor}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.registry.LicensePackDescriptor License Pack Descriptor}'. * * * @return the meta object for class 'License Pack Descriptor'. - * @see ru.arsysop.passage.lic.registry.LicensePackDescriptor - * @model instanceClass="ru.arsysop.passage.lic.registry.LicensePackDescriptor" + * @see org.eclipse.passage.lic.registry.LicensePackDescriptor + * @model instanceClass="org.eclipse.passage.lic.registry.LicensePackDescriptor" * @generated */ EClass getLicensePackDescriptor(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.registry.LicenseGrantDescriptor License Grant Descriptor}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.registry.LicenseGrantDescriptor License Grant Descriptor}'. * * * @return the meta object for class 'License Grant Descriptor'. - * @see ru.arsysop.passage.lic.registry.LicenseGrantDescriptor - * @model instanceClass="ru.arsysop.passage.lic.registry.LicenseGrantDescriptor" + * @see org.eclipse.passage.lic.registry.LicenseGrantDescriptor + * @model instanceClass="org.eclipse.passage.lic.registry.LicenseGrantDescriptor" * @generated */ EClass getLicenseGrantDescriptor(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.model.api.FeatureSet Feature Set}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.model.api.FeatureSet Feature Set}'. * * * @return the meta object for class 'Feature Set'. - * @see ru.arsysop.passage.lic.model.api.FeatureSet + * @see org.eclipse.passage.lic.model.api.FeatureSet * @generated */ EClass getFeatureSet(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.FeatureSet#getIdentifier Identifier}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.FeatureSet#getIdentifier Identifier}'. * * * @return the meta object for the attribute 'Identifier'. - * @see ru.arsysop.passage.lic.model.api.FeatureSet#getIdentifier() + * @see org.eclipse.passage.lic.model.api.FeatureSet#getIdentifier() * @see #getFeatureSet() * @generated */ EAttribute getFeatureSet_Identifier(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.FeatureSet#getName Name}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.FeatureSet#getName Name}'. * * * @return the meta object for the attribute 'Name'. - * @see ru.arsysop.passage.lic.model.api.FeatureSet#getName() + * @see org.eclipse.passage.lic.model.api.FeatureSet#getName() * @see #getFeatureSet() * @generated */ EAttribute getFeatureSet_Name(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.FeatureSet#getDescription Description}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.FeatureSet#getDescription Description}'. * * * @return the meta object for the attribute 'Description'. - * @see ru.arsysop.passage.lic.model.api.FeatureSet#getDescription() + * @see org.eclipse.passage.lic.model.api.FeatureSet#getDescription() * @see #getFeatureSet() * @generated */ EAttribute getFeatureSet_Description(); /** - * Returns the meta object for the containment reference list '{@link ru.arsysop.passage.lic.model.api.FeatureSet#getFeatures Features}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.passage.lic.model.api.FeatureSet#getFeatures Features}'. * * * @return the meta object for the containment reference list 'Features'. - * @see ru.arsysop.passage.lic.model.api.FeatureSet#getFeatures() + * @see org.eclipse.passage.lic.model.api.FeatureSet#getFeatures() * @see #getFeatureSet() * @generated */ EReference getFeatureSet_Features(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.model.api.Product Product}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.model.api.Product Product}'. * * * @return the meta object for class 'Product'. - * @see ru.arsysop.passage.lic.model.api.Product + * @see org.eclipse.passage.lic.model.api.Product * @generated */ EClass getProduct(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.Product#getIdentifier Identifier}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.Product#getIdentifier Identifier}'. * * * @return the meta object for the attribute 'Identifier'. - * @see ru.arsysop.passage.lic.model.api.Product#getIdentifier() + * @see org.eclipse.passage.lic.model.api.Product#getIdentifier() * @see #getProduct() * @generated */ EAttribute getProduct_Identifier(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.Product#getName Name}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.Product#getName Name}'. * * * @return the meta object for the attribute 'Name'. - * @see ru.arsysop.passage.lic.model.api.Product#getName() + * @see org.eclipse.passage.lic.model.api.Product#getName() * @see #getProduct() * @generated */ EAttribute getProduct_Name(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.model.api.Feature Feature}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.model.api.Feature Feature}'. * * * @return the meta object for class 'Feature'. - * @see ru.arsysop.passage.lic.model.api.Feature + * @see org.eclipse.passage.lic.model.api.Feature * @generated */ EClass getFeature(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.Feature#getIdentifier Identifier}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.Feature#getIdentifier Identifier}'. * * * @return the meta object for the attribute 'Identifier'. - * @see ru.arsysop.passage.lic.model.api.Feature#getIdentifier() + * @see org.eclipse.passage.lic.model.api.Feature#getIdentifier() * @see #getFeature() * @generated */ EAttribute getFeature_Identifier(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.Feature#getName Name}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.Feature#getName Name}'. * * * @return the meta object for the attribute 'Name'. - * @see ru.arsysop.passage.lic.model.api.Feature#getName() + * @see org.eclipse.passage.lic.model.api.Feature#getName() * @see #getFeature() * @generated */ EAttribute getFeature_Name(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.Feature#getDescription Description}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.Feature#getDescription Description}'. * * * @return the meta object for the attribute 'Description'. - * @see ru.arsysop.passage.lic.model.api.Feature#getDescription() + * @see org.eclipse.passage.lic.model.api.Feature#getDescription() * @see #getFeature() * @generated */ EAttribute getFeature_Description(); /** - * Returns the meta object for the container reference '{@link ru.arsysop.passage.lic.model.api.Feature#getFeatureSet Feature Set}'. + * Returns the meta object for the container reference '{@link org.eclipse.passage.lic.model.api.Feature#getFeatureSet Feature Set}'. * * * @return the meta object for the container reference 'Feature Set'. - * @see ru.arsysop.passage.lic.model.api.Feature#getFeatureSet() + * @see org.eclipse.passage.lic.model.api.Feature#getFeatureSet() * @see #getFeature() * @generated */ EReference getFeature_FeatureSet(); /** - * Returns the meta object for the containment reference list '{@link ru.arsysop.passage.lic.model.api.Feature#getFeatureVersions Feature Versions}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.passage.lic.model.api.Feature#getFeatureVersions Feature Versions}'. * * * @return the meta object for the containment reference list 'Feature Versions'. - * @see ru.arsysop.passage.lic.model.api.Feature#getFeatureVersions() + * @see org.eclipse.passage.lic.model.api.Feature#getFeatureVersions() * @see #getFeature() * @generated */ EReference getFeature_FeatureVersions(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.model.api.FeatureVersion Feature Version}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.model.api.FeatureVersion Feature Version}'. * * * @return the meta object for class 'Feature Version'. - * @see ru.arsysop.passage.lic.model.api.FeatureVersion + * @see org.eclipse.passage.lic.model.api.FeatureVersion * @generated */ EClass getFeatureVersion(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.FeatureVersion#getVersion Version}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.FeatureVersion#getVersion Version}'. * * * @return the meta object for the attribute 'Version'. - * @see ru.arsysop.passage.lic.model.api.FeatureVersion#getVersion() + * @see org.eclipse.passage.lic.model.api.FeatureVersion#getVersion() * @see #getFeatureVersion() * @generated */ EAttribute getFeatureVersion_Version(); /** - * Returns the meta object for the container reference '{@link ru.arsysop.passage.lic.model.api.FeatureVersion#getFeature Feature}'. + * Returns the meta object for the container reference '{@link org.eclipse.passage.lic.model.api.FeatureVersion#getFeature Feature}'. * * * @return the meta object for the container reference 'Feature'. - * @see ru.arsysop.passage.lic.model.api.FeatureVersion#getFeature() + * @see org.eclipse.passage.lic.model.api.FeatureVersion#getFeature() * @see #getFeatureVersion() * @generated */ EReference getFeatureVersion_Feature(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.FeatureVersion#getNews News}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.FeatureVersion#getNews News}'. * * * @return the meta object for the attribute 'News'. - * @see ru.arsysop.passage.lic.model.api.FeatureVersion#getNews() + * @see org.eclipse.passage.lic.model.api.FeatureVersion#getNews() * @see #getFeatureVersion() * @generated */ EAttribute getFeatureVersion_News(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.model.api.ProductLine Product Line}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.model.api.ProductLine Product Line}'. * * * @return the meta object for class 'Product Line'. - * @see ru.arsysop.passage.lic.model.api.ProductLine + * @see org.eclipse.passage.lic.model.api.ProductLine * @generated */ EClass getProductLine(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.ProductLine#getIdentifier Identifier}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.ProductLine#getIdentifier Identifier}'. * * * @return the meta object for the attribute 'Identifier'. - * @see ru.arsysop.passage.lic.model.api.ProductLine#getIdentifier() + * @see org.eclipse.passage.lic.model.api.ProductLine#getIdentifier() * @see #getProductLine() * @generated */ EAttribute getProductLine_Identifier(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.ProductLine#getName Name}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.ProductLine#getName Name}'. * * * @return the meta object for the attribute 'Name'. - * @see ru.arsysop.passage.lic.model.api.ProductLine#getName() + * @see org.eclipse.passage.lic.model.api.ProductLine#getName() * @see #getProductLine() * @generated */ EAttribute getProductLine_Name(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.ProductLine#getDescription Description}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.ProductLine#getDescription Description}'. * * * @return the meta object for the attribute 'Description'. - * @see ru.arsysop.passage.lic.model.api.ProductLine#getDescription() + * @see org.eclipse.passage.lic.model.api.ProductLine#getDescription() * @see #getProductLine() * @generated */ EAttribute getProductLine_Description(); /** - * Returns the meta object for the containment reference list '{@link ru.arsysop.passage.lic.model.api.ProductLine#getProducts Products}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.passage.lic.model.api.ProductLine#getProducts Products}'. * * * @return the meta object for the containment reference list 'Products'. - * @see ru.arsysop.passage.lic.model.api.ProductLine#getProducts() + * @see org.eclipse.passage.lic.model.api.ProductLine#getProducts() * @see #getProductLine() * @generated */ EReference getProductLine_Products(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.model.api.User User}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.model.api.User User}'. * * * @return the meta object for class 'User'. - * @see ru.arsysop.passage.lic.model.api.User + * @see org.eclipse.passage.lic.model.api.User * @generated */ EClass getUser(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.User#getIdentifier Identifier}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.User#getIdentifier Identifier}'. * * * @return the meta object for the attribute 'Identifier'. - * @see ru.arsysop.passage.lic.model.api.User#getIdentifier() + * @see org.eclipse.passage.lic.model.api.User#getIdentifier() * @see #getUser() * @generated */ EAttribute getUser_Identifier(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.User#getEmail Email}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.User#getEmail Email}'. * * * @return the meta object for the attribute 'Email'. - * @see ru.arsysop.passage.lic.model.api.User#getEmail() + * @see org.eclipse.passage.lic.model.api.User#getEmail() * @see #getUser() * @generated */ EAttribute getUser_Email(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.User#getFullName Full Name}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.User#getFullName Full Name}'. * * * @return the meta object for the attribute 'Full Name'. - * @see ru.arsysop.passage.lic.model.api.User#getFullName() + * @see org.eclipse.passage.lic.model.api.User#getFullName() * @see #getUser() * @generated */ EAttribute getUser_FullName(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.User#getDescription Description}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.User#getDescription Description}'. * * * @return the meta object for the attribute 'Description'. - * @see ru.arsysop.passage.lic.model.api.User#getDescription() + * @see org.eclipse.passage.lic.model.api.User#getDescription() * @see #getUser() * @generated */ EAttribute getUser_Description(); /** - * Returns the meta object for the container reference '{@link ru.arsysop.passage.lic.model.api.User#getUserOrigin User Origin}'. + * Returns the meta object for the container reference '{@link org.eclipse.passage.lic.model.api.User#getUserOrigin User Origin}'. * * * @return the meta object for the container reference 'User Origin'. - * @see ru.arsysop.passage.lic.model.api.User#getUserOrigin() + * @see org.eclipse.passage.lic.model.api.User#getUserOrigin() * @see #getUser() * @generated */ EReference getUser_UserOrigin(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.model.api.LicensePack License Pack}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.model.api.LicensePack License Pack}'. * * * @return the meta object for class 'License Pack'. - * @see ru.arsysop.passage.lic.model.api.LicensePack + * @see org.eclipse.passage.lic.model.api.LicensePack * @generated */ EClass getLicensePack(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.LicensePack#getIdentifier Identifier}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.LicensePack#getIdentifier Identifier}'. * * * @return the meta object for the attribute 'Identifier'. - * @see ru.arsysop.passage.lic.model.api.LicensePack#getIdentifier() + * @see org.eclipse.passage.lic.model.api.LicensePack#getIdentifier() * @see #getLicensePack() * @generated */ EAttribute getLicensePack_Identifier(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.LicensePack#getIssueDate Issue Date}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.LicensePack#getIssueDate Issue Date}'. * * * @return the meta object for the attribute 'Issue Date'. - * @see ru.arsysop.passage.lic.model.api.LicensePack#getIssueDate() + * @see org.eclipse.passage.lic.model.api.LicensePack#getIssueDate() * @see #getLicensePack() * @generated */ EAttribute getLicensePack_IssueDate(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.LicensePack#getProductIdentifier Product Identifier}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.LicensePack#getProductIdentifier Product Identifier}'. * * * @return the meta object for the attribute 'Product Identifier'. - * @see ru.arsysop.passage.lic.model.api.LicensePack#getProductIdentifier() + * @see org.eclipse.passage.lic.model.api.LicensePack#getProductIdentifier() * @see #getLicensePack() * @generated */ EAttribute getLicensePack_ProductIdentifier(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.LicensePack#getProductVersion Product Version}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.LicensePack#getProductVersion Product Version}'. * * * @return the meta object for the attribute 'Product Version'. - * @see ru.arsysop.passage.lic.model.api.LicensePack#getProductVersion() + * @see org.eclipse.passage.lic.model.api.LicensePack#getProductVersion() * @see #getLicensePack() * @generated */ EAttribute getLicensePack_ProductVersion(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.LicensePack#getUserIdentifier User Identifier}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.LicensePack#getUserIdentifier User Identifier}'. * * * @return the meta object for the attribute 'User Identifier'. - * @see ru.arsysop.passage.lic.model.api.LicensePack#getUserIdentifier() + * @see org.eclipse.passage.lic.model.api.LicensePack#getUserIdentifier() * @see #getLicensePack() * @generated */ EAttribute getLicensePack_UserIdentifier(); /** - * Returns the meta object for the containment reference list '{@link ru.arsysop.passage.lic.model.api.LicensePack#getLicenseGrants License Grants}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.passage.lic.model.api.LicensePack#getLicenseGrants License Grants}'. * * * @return the meta object for the containment reference list 'License Grants'. - * @see ru.arsysop.passage.lic.model.api.LicensePack#getLicenseGrants() + * @see org.eclipse.passage.lic.model.api.LicensePack#getLicenseGrants() * @see #getLicensePack() * @generated */ EReference getLicensePack_LicenseGrants(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.model.api.LicenseGrant License Grant}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.model.api.LicenseGrant License Grant}'. * * * @return the meta object for class 'License Grant'. - * @see ru.arsysop.passage.lic.model.api.LicenseGrant + * @see org.eclipse.passage.lic.model.api.LicenseGrant * @generated */ EClass getLicenseGrant(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getFeatureIdentifier Feature Identifier}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getFeatureIdentifier Feature Identifier}'. * * * @return the meta object for the attribute 'Feature Identifier'. - * @see ru.arsysop.passage.lic.model.api.LicenseGrant#getFeatureIdentifier() + * @see org.eclipse.passage.lic.model.api.LicenseGrant#getFeatureIdentifier() * @see #getLicenseGrant() * @generated */ EAttribute getLicenseGrant_FeatureIdentifier(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getMatchVersion Match Version}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getMatchVersion Match Version}'. * * * @return the meta object for the attribute 'Match Version'. - * @see ru.arsysop.passage.lic.model.api.LicenseGrant#getMatchVersion() + * @see org.eclipse.passage.lic.model.api.LicenseGrant#getMatchVersion() * @see #getLicenseGrant() * @generated */ EAttribute getLicenseGrant_MatchVersion(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getMatchRule Match Rule}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getMatchRule Match Rule}'. * * * @return the meta object for the attribute 'Match Rule'. - * @see ru.arsysop.passage.lic.model.api.LicenseGrant#getMatchRule() + * @see org.eclipse.passage.lic.model.api.LicenseGrant#getMatchRule() * @see #getLicenseGrant() * @generated */ EAttribute getLicenseGrant_MatchRule(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getValidFrom Valid From}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getValidFrom Valid From}'. * * * @return the meta object for the attribute 'Valid From'. - * @see ru.arsysop.passage.lic.model.api.LicenseGrant#getValidFrom() + * @see org.eclipse.passage.lic.model.api.LicenseGrant#getValidFrom() * @see #getLicenseGrant() * @generated */ EAttribute getLicenseGrant_ValidFrom(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getValidUntil Valid Until}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getValidUntil Valid Until}'. * * * @return the meta object for the attribute 'Valid Until'. - * @see ru.arsysop.passage.lic.model.api.LicenseGrant#getValidUntil() + * @see org.eclipse.passage.lic.model.api.LicenseGrant#getValidUntil() * @see #getLicenseGrant() * @generated */ EAttribute getLicenseGrant_ValidUntil(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getConditionType Condition Type}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getConditionType Condition Type}'. * * * @return the meta object for the attribute 'Condition Type'. - * @see ru.arsysop.passage.lic.model.api.LicenseGrant#getConditionType() + * @see org.eclipse.passage.lic.model.api.LicenseGrant#getConditionType() * @see #getLicenseGrant() * @generated */ EAttribute getLicenseGrant_ConditionType(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getConditionExpression Condition Expression}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getConditionExpression Condition Expression}'. * * * @return the meta object for the attribute 'Condition Expression'. - * @see ru.arsysop.passage.lic.model.api.LicenseGrant#getConditionExpression() + * @see org.eclipse.passage.lic.model.api.LicenseGrant#getConditionExpression() * @see #getLicenseGrant() * @generated */ EAttribute getLicenseGrant_ConditionExpression(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getCapacity Capacity}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getCapacity Capacity}'. * * * @return the meta object for the attribute 'Capacity'. - * @see ru.arsysop.passage.lic.model.api.LicenseGrant#getCapacity() + * @see org.eclipse.passage.lic.model.api.LicenseGrant#getCapacity() * @see #getLicenseGrant() * @generated */ EAttribute getLicenseGrant_Capacity(); /** - * Returns the meta object for the container reference '{@link ru.arsysop.passage.lic.model.api.LicenseGrant#getLicensePack License Pack}'. + * Returns the meta object for the container reference '{@link org.eclipse.passage.lic.model.api.LicenseGrant#getLicensePack License Pack}'. * * * @return the meta object for the container reference 'License Pack'. - * @see ru.arsysop.passage.lic.model.api.LicenseGrant#getLicensePack() + * @see org.eclipse.passage.lic.model.api.LicenseGrant#getLicensePack() * @see #getLicenseGrant() * @generated */ @@ -1814,217 +1806,217 @@ public interface LicPackage extends EPackage { LicFactory getLicFactory(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.Product#getDescription Description}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.Product#getDescription Description}'. * * * @return the meta object for the attribute 'Description'. - * @see ru.arsysop.passage.lic.model.api.Product#getDescription() + * @see org.eclipse.passage.lic.model.api.Product#getDescription() * @see #getProduct() * @generated */ EAttribute getProduct_Description(); /** - * Returns the meta object for the container reference '{@link ru.arsysop.passage.lic.model.api.Product#getProductLine Product Line}'. + * Returns the meta object for the container reference '{@link org.eclipse.passage.lic.model.api.Product#getProductLine Product Line}'. * * * @return the meta object for the container reference 'Product Line'. - * @see ru.arsysop.passage.lic.model.api.Product#getProductLine() + * @see org.eclipse.passage.lic.model.api.Product#getProductLine() * @see #getProduct() * @generated */ EReference getProduct_ProductLine(); /** - * Returns the meta object for the containment reference list '{@link ru.arsysop.passage.lic.model.api.Product#getProductVersions Product Versions}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.passage.lic.model.api.Product#getProductVersions Product Versions}'. * * * @return the meta object for the containment reference list 'Product Versions'. - * @see ru.arsysop.passage.lic.model.api.Product#getProductVersions() + * @see org.eclipse.passage.lic.model.api.Product#getProductVersions() * @see #getProduct() * @generated */ EReference getProduct_ProductVersions(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.model.api.ProductVersion Product Version}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.model.api.ProductVersion Product Version}'. * * * @return the meta object for class 'Product Version'. - * @see ru.arsysop.passage.lic.model.api.ProductVersion + * @see org.eclipse.passage.lic.model.api.ProductVersion * @generated */ EClass getProductVersion(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.ProductVersion#getVersion Version}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.ProductVersion#getVersion Version}'. * * * @return the meta object for the attribute 'Version'. - * @see ru.arsysop.passage.lic.model.api.ProductVersion#getVersion() + * @see org.eclipse.passage.lic.model.api.ProductVersion#getVersion() * @see #getProductVersion() * @generated */ EAttribute getProductVersion_Version(); /** - * Returns the meta object for the container reference '{@link ru.arsysop.passage.lic.model.api.ProductVersion#getProduct Product}'. + * Returns the meta object for the container reference '{@link org.eclipse.passage.lic.model.api.ProductVersion#getProduct Product}'. * * * @return the meta object for the container reference 'Product'. - * @see ru.arsysop.passage.lic.model.api.ProductVersion#getProduct() + * @see org.eclipse.passage.lic.model.api.ProductVersion#getProduct() * @see #getProductVersion() * @generated */ EReference getProductVersion_Product(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.ProductVersion#getInstallationToken Installation Token}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.ProductVersion#getInstallationToken Installation Token}'. * * * @return the meta object for the attribute 'Installation Token'. - * @see ru.arsysop.passage.lic.model.api.ProductVersion#getInstallationToken() + * @see org.eclipse.passage.lic.model.api.ProductVersion#getInstallationToken() * @see #getProductVersion() * @generated */ EAttribute getProductVersion_InstallationToken(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.ProductVersion#getSecureToken Secure Token}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.ProductVersion#getSecureToken Secure Token}'. * * * @return the meta object for the attribute 'Secure Token'. - * @see ru.arsysop.passage.lic.model.api.ProductVersion#getSecureToken() + * @see org.eclipse.passage.lic.model.api.ProductVersion#getSecureToken() * @see #getProductVersion() * @generated */ EAttribute getProductVersion_SecureToken(); /** - * Returns the meta object for the containment reference list '{@link ru.arsysop.passage.lic.model.api.ProductVersion#getProductVersionFeatures Product Version Features}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.passage.lic.model.api.ProductVersion#getProductVersionFeatures Product Version Features}'. * * * @return the meta object for the containment reference list 'Product Version Features'. - * @see ru.arsysop.passage.lic.model.api.ProductVersion#getProductVersionFeatures() + * @see org.eclipse.passage.lic.model.api.ProductVersion#getProductVersionFeatures() * @see #getProductVersion() * @generated */ EReference getProductVersion_ProductVersionFeatures(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.ProductVersion#getNews News}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.ProductVersion#getNews News}'. * * * @return the meta object for the attribute 'News'. - * @see ru.arsysop.passage.lic.model.api.ProductVersion#getNews() + * @see org.eclipse.passage.lic.model.api.ProductVersion#getNews() * @see #getProductVersion() * @generated */ EAttribute getProductVersion_News(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.model.api.ProductVersionFeature Product Version Feature}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.model.api.ProductVersionFeature Product Version Feature}'. * * * @return the meta object for class 'Product Version Feature'. - * @see ru.arsysop.passage.lic.model.api.ProductVersionFeature + * @see org.eclipse.passage.lic.model.api.ProductVersionFeature * @generated */ EClass getProductVersionFeature(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.ProductVersionFeature#getFeatureIdentifier Feature Identifier}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.ProductVersionFeature#getFeatureIdentifier Feature Identifier}'. * * * @return the meta object for the attribute 'Feature Identifier'. - * @see ru.arsysop.passage.lic.model.api.ProductVersionFeature#getFeatureIdentifier() + * @see org.eclipse.passage.lic.model.api.ProductVersionFeature#getFeatureIdentifier() * @see #getProductVersionFeature() * @generated */ EAttribute getProductVersionFeature_FeatureIdentifier(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.ProductVersionFeature#getFeatureVersion Feature Version}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.ProductVersionFeature#getFeatureVersion Feature Version}'. * * * @return the meta object for the attribute 'Feature Version'. - * @see ru.arsysop.passage.lic.model.api.ProductVersionFeature#getFeatureVersion() + * @see org.eclipse.passage.lic.model.api.ProductVersionFeature#getFeatureVersion() * @see #getProductVersionFeature() * @generated */ EAttribute getProductVersionFeature_FeatureVersion(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.ProductVersionFeature#getRestrictionLevel Restriction Level}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.ProductVersionFeature#getRestrictionLevel Restriction Level}'. * * * @return the meta object for the attribute 'Restriction Level'. - * @see ru.arsysop.passage.lic.model.api.ProductVersionFeature#getRestrictionLevel() + * @see org.eclipse.passage.lic.model.api.ProductVersionFeature#getRestrictionLevel() * @see #getProductVersionFeature() * @generated */ EAttribute getProductVersionFeature_RestrictionLevel(); /** - * Returns the meta object for the container reference '{@link ru.arsysop.passage.lic.model.api.ProductVersionFeature#getProductVersion Product Version}'. + * Returns the meta object for the container reference '{@link org.eclipse.passage.lic.model.api.ProductVersionFeature#getProductVersion Product Version}'. * * * @return the meta object for the container reference 'Product Version'. - * @see ru.arsysop.passage.lic.model.api.ProductVersionFeature#getProductVersion() + * @see org.eclipse.passage.lic.model.api.ProductVersionFeature#getProductVersion() * @see #getProductVersionFeature() * @generated */ EReference getProductVersionFeature_ProductVersion(); /** - * Returns the meta object for class '{@link ru.arsysop.passage.lic.model.api.UserOrigin User Origin}'. + * Returns the meta object for class '{@link org.eclipse.passage.lic.model.api.UserOrigin User Origin}'. * * * @return the meta object for class 'User Origin'. - * @see ru.arsysop.passage.lic.model.api.UserOrigin + * @see org.eclipse.passage.lic.model.api.UserOrigin * @generated */ EClass getUserOrigin(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.UserOrigin#getIdentifier Identifier}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.UserOrigin#getIdentifier Identifier}'. * * * @return the meta object for the attribute 'Identifier'. - * @see ru.arsysop.passage.lic.model.api.UserOrigin#getIdentifier() + * @see org.eclipse.passage.lic.model.api.UserOrigin#getIdentifier() * @see #getUserOrigin() * @generated */ EAttribute getUserOrigin_Identifier(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.UserOrigin#getName Name}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.UserOrigin#getName Name}'. * * * @return the meta object for the attribute 'Name'. - * @see ru.arsysop.passage.lic.model.api.UserOrigin#getName() + * @see org.eclipse.passage.lic.model.api.UserOrigin#getName() * @see #getUserOrigin() * @generated */ EAttribute getUserOrigin_Name(); /** - * Returns the meta object for the attribute '{@link ru.arsysop.passage.lic.model.api.UserOrigin#getDescription Description}'. + * Returns the meta object for the attribute '{@link org.eclipse.passage.lic.model.api.UserOrigin#getDescription Description}'. * * * @return the meta object for the attribute 'Description'. - * @see ru.arsysop.passage.lic.model.api.UserOrigin#getDescription() + * @see org.eclipse.passage.lic.model.api.UserOrigin#getDescription() * @see #getUserOrigin() * @generated */ EAttribute getUserOrigin_Description(); /** - * Returns the meta object for the containment reference list '{@link ru.arsysop.passage.lic.model.api.UserOrigin#getUsers Users}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.passage.lic.model.api.UserOrigin#getUsers Users}'. * * * @return the meta object for the containment reference list 'Users'. - * @see ru.arsysop.passage.lic.model.api.UserOrigin#getUsers() + * @see org.eclipse.passage.lic.model.api.UserOrigin#getUsers() * @see #getUserOrigin() * @generated */ @@ -2045,121 +2037,121 @@ public interface LicPackage extends EPackage { */ interface Literals { /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.registry.FeatureSetDescriptor Feature Set Descriptor}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.registry.FeatureSetDescriptor Feature Set Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.FeatureSetDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getFeatureSetDescriptor() + * @see org.eclipse.passage.lic.registry.FeatureSetDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getFeatureSetDescriptor() * @generated */ EClass FEATURE_SET_DESCRIPTOR = eINSTANCE.getFeatureSetDescriptor(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.registry.ProductDescriptor Product Descriptor}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.registry.ProductDescriptor Product Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.ProductDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getProductDescriptor() + * @see org.eclipse.passage.lic.registry.ProductDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getProductDescriptor() * @generated */ EClass PRODUCT_DESCRIPTOR = eINSTANCE.getProductDescriptor(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.registry.ProductVersionDescriptor Product Version Descriptor}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.registry.ProductVersionDescriptor Product Version Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.ProductVersionDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getProductVersionDescriptor() + * @see org.eclipse.passage.lic.registry.ProductVersionDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getProductVersionDescriptor() * @generated */ EClass PRODUCT_VERSION_DESCRIPTOR = eINSTANCE.getProductVersionDescriptor(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.registry.ProductVersionFeatureDescriptor Product Version Feature Descriptor}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.registry.ProductVersionFeatureDescriptor Product Version Feature Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.ProductVersionFeatureDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getProductVersionFeatureDescriptor() + * @see org.eclipse.passage.lic.registry.ProductVersionFeatureDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getProductVersionFeatureDescriptor() * @generated */ EClass PRODUCT_VERSION_FEATURE_DESCRIPTOR = eINSTANCE.getProductVersionFeatureDescriptor(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.registry.UserOriginDescriptor User Origin Descriptor}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.registry.UserOriginDescriptor User Origin Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.UserOriginDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getUserOriginDescriptor() + * @see org.eclipse.passage.lic.registry.UserOriginDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getUserOriginDescriptor() * @generated */ EClass USER_ORIGIN_DESCRIPTOR = eINSTANCE.getUserOriginDescriptor(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.registry.FeatureDescriptor Feature Descriptor}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.registry.FeatureDescriptor Feature Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.FeatureDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getFeatureDescriptor() + * @see org.eclipse.passage.lic.registry.FeatureDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getFeatureDescriptor() * @generated */ EClass FEATURE_DESCRIPTOR = eINSTANCE.getFeatureDescriptor(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.registry.FeatureVersionDescriptor Feature Version Descriptor}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.registry.FeatureVersionDescriptor Feature Version Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.FeatureVersionDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getFeatureVersionDescriptor() + * @see org.eclipse.passage.lic.registry.FeatureVersionDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getFeatureVersionDescriptor() * @generated */ EClass FEATURE_VERSION_DESCRIPTOR = eINSTANCE.getFeatureVersionDescriptor(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.registry.ProductLineDescriptor Product Line Descriptor}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.registry.ProductLineDescriptor Product Line Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.ProductLineDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getProductLineDescriptor() + * @see org.eclipse.passage.lic.registry.ProductLineDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getProductLineDescriptor() * @generated */ EClass PRODUCT_LINE_DESCRIPTOR = eINSTANCE.getProductLineDescriptor(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.registry.UserDescriptor User Descriptor}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.registry.UserDescriptor User Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.UserDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getUserDescriptor() + * @see org.eclipse.passage.lic.registry.UserDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getUserDescriptor() * @generated */ EClass USER_DESCRIPTOR = eINSTANCE.getUserDescriptor(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.registry.LicensePackDescriptor License Pack Descriptor}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.registry.LicensePackDescriptor License Pack Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.LicensePackDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getLicensePackDescriptor() + * @see org.eclipse.passage.lic.registry.LicensePackDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getLicensePackDescriptor() * @generated */ EClass LICENSE_PACK_DESCRIPTOR = eINSTANCE.getLicensePackDescriptor(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.registry.LicenseGrantDescriptor License Grant Descriptor}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.registry.LicenseGrantDescriptor License Grant Descriptor}' class. * * - * @see ru.arsysop.passage.lic.registry.LicenseGrantDescriptor - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getLicenseGrantDescriptor() + * @see org.eclipse.passage.lic.registry.LicenseGrantDescriptor + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getLicenseGrantDescriptor() * @generated */ EClass LICENSE_GRANT_DESCRIPTOR = eINSTANCE.getLicenseGrantDescriptor(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.model.impl.FeatureSetImpl Feature Set}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.model.impl.FeatureSetImpl Feature Set}' class. * * - * @see ru.arsysop.passage.lic.model.impl.FeatureSetImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getFeatureSet() + * @see org.eclipse.passage.lic.model.impl.FeatureSetImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getFeatureSet() * @generated */ EClass FEATURE_SET = eINSTANCE.getFeatureSet(); @@ -2197,11 +2189,11 @@ interface Literals { EReference FEATURE_SET__FEATURES = eINSTANCE.getFeatureSet_Features(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.model.impl.ProductImpl Product}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.model.impl.ProductImpl Product}' class. * * - * @see ru.arsysop.passage.lic.model.impl.ProductImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getProduct() + * @see org.eclipse.passage.lic.model.impl.ProductImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getProduct() * @generated */ EClass PRODUCT = eINSTANCE.getProduct(); @@ -2223,11 +2215,11 @@ interface Literals { EAttribute PRODUCT__NAME = eINSTANCE.getProduct_Name(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.model.impl.FeatureImpl Feature}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.model.impl.FeatureImpl Feature}' class. * * - * @see ru.arsysop.passage.lic.model.impl.FeatureImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getFeature() + * @see org.eclipse.passage.lic.model.impl.FeatureImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getFeature() * @generated */ EClass FEATURE = eINSTANCE.getFeature(); @@ -2273,11 +2265,11 @@ interface Literals { EReference FEATURE__FEATURE_VERSIONS = eINSTANCE.getFeature_FeatureVersions(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.model.impl.FeatureVersionImpl Feature Version}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.model.impl.FeatureVersionImpl Feature Version}' class. * * - * @see ru.arsysop.passage.lic.model.impl.FeatureVersionImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getFeatureVersion() + * @see org.eclipse.passage.lic.model.impl.FeatureVersionImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getFeatureVersion() * @generated */ EClass FEATURE_VERSION = eINSTANCE.getFeatureVersion(); @@ -2307,11 +2299,11 @@ interface Literals { EAttribute FEATURE_VERSION__NEWS = eINSTANCE.getFeatureVersion_News(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.model.impl.ProductLineImpl Product Line}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.model.impl.ProductLineImpl Product Line}' class. * * - * @see ru.arsysop.passage.lic.model.impl.ProductLineImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getProductLine() + * @see org.eclipse.passage.lic.model.impl.ProductLineImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getProductLine() * @generated */ EClass PRODUCT_LINE = eINSTANCE.getProductLine(); @@ -2349,11 +2341,11 @@ interface Literals { EReference PRODUCT_LINE__PRODUCTS = eINSTANCE.getProductLine_Products(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.model.impl.UserImpl User}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.model.impl.UserImpl User}' class. * * - * @see ru.arsysop.passage.lic.model.impl.UserImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getUser() + * @see org.eclipse.passage.lic.model.impl.UserImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getUser() * @generated */ EClass USER = eINSTANCE.getUser(); @@ -2399,11 +2391,11 @@ interface Literals { EReference USER__USER_ORIGIN = eINSTANCE.getUser_UserOrigin(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.model.impl.LicensePackImpl License Pack}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.model.impl.LicensePackImpl License Pack}' class. * * - * @see ru.arsysop.passage.lic.model.impl.LicensePackImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getLicensePack() + * @see org.eclipse.passage.lic.model.impl.LicensePackImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getLicensePack() * @generated */ EClass LICENSE_PACK = eINSTANCE.getLicensePack(); @@ -2457,11 +2449,11 @@ interface Literals { EReference LICENSE_PACK__LICENSE_GRANTS = eINSTANCE.getLicensePack_LicenseGrants(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.model.impl.LicenseGrantImpl License Grant}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.model.impl.LicenseGrantImpl License Grant}' class. * * - * @see ru.arsysop.passage.lic.model.impl.LicenseGrantImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getLicenseGrant() + * @see org.eclipse.passage.lic.model.impl.LicenseGrantImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getLicenseGrant() * @generated */ EClass LICENSE_GRANT = eINSTANCE.getLicenseGrant(); @@ -2563,11 +2555,11 @@ interface Literals { EReference PRODUCT__PRODUCT_VERSIONS = eINSTANCE.getProduct_ProductVersions(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.model.impl.ProductVersionImpl Product Version}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.model.impl.ProductVersionImpl Product Version}' class. * * - * @see ru.arsysop.passage.lic.model.impl.ProductVersionImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getProductVersion() + * @see org.eclipse.passage.lic.model.impl.ProductVersionImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getProductVersion() * @generated */ EClass PRODUCT_VERSION = eINSTANCE.getProductVersion(); @@ -2621,11 +2613,11 @@ interface Literals { EAttribute PRODUCT_VERSION__NEWS = eINSTANCE.getProductVersion_News(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.model.impl.ProductVersionFeatureImpl Product Version Feature}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.model.impl.ProductVersionFeatureImpl Product Version Feature}' class. * * - * @see ru.arsysop.passage.lic.model.impl.ProductVersionFeatureImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getProductVersionFeature() + * @see org.eclipse.passage.lic.model.impl.ProductVersionFeatureImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getProductVersionFeature() * @generated */ EClass PRODUCT_VERSION_FEATURE = eINSTANCE.getProductVersionFeature(); @@ -2663,11 +2655,11 @@ interface Literals { EReference PRODUCT_VERSION_FEATURE__PRODUCT_VERSION = eINSTANCE.getProductVersionFeature_ProductVersion(); /** - * The meta object literal for the '{@link ru.arsysop.passage.lic.model.impl.UserOriginImpl User Origin}' class. + * The meta object literal for the '{@link org.eclipse.passage.lic.model.impl.UserOriginImpl User Origin}' class. * * - * @see ru.arsysop.passage.lic.model.impl.UserOriginImpl - * @see ru.arsysop.passage.lic.model.impl.LicPackageImpl#getUserOrigin() + * @see org.eclipse.passage.lic.model.impl.UserOriginImpl + * @see org.eclipse.passage.lic.model.impl.LicPackageImpl#getUserOrigin() * @generated */ EClass USER_ORIGIN = eINSTANCE.getUserOrigin(); diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/util/LicAdapterFactory.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/util/LicAdapterFactory.java similarity index 68% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/util/LicAdapterFactory.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/util/LicAdapterFactory.java index 5a53420..8912559 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/util/LicAdapterFactory.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/util/LicAdapterFactory.java @@ -1,52 +1,41 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.model.util; +package org.eclipse.passage.lic.model.util; import org.eclipse.emf.common.notify.Adapter; import org.eclipse.emf.common.notify.Notifier; import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; import org.eclipse.emf.ecore.EObject; -import ru.arsysop.passage.lic.model.api.*; -import ru.arsysop.passage.lic.model.api.Feature; -import ru.arsysop.passage.lic.model.api.User; -import ru.arsysop.passage.lic.model.api.Product; -import ru.arsysop.passage.lic.model.meta.LicPackage; -import ru.arsysop.passage.lic.registry.FeatureDescriptor; -import ru.arsysop.passage.lic.registry.FeatureSetDescriptor; -import ru.arsysop.passage.lic.registry.FeatureVersionDescriptor; -import ru.arsysop.passage.lic.registry.LicenseGrantDescriptor; -import ru.arsysop.passage.lic.registry.LicensePackDescriptor; -import ru.arsysop.passage.lic.registry.UserDescriptor; -import ru.arsysop.passage.lic.registry.UserOriginDescriptor; -import ru.arsysop.passage.lic.registry.ProductDescriptor; -import ru.arsysop.passage.lic.registry.ProductLineDescriptor; -import ru.arsysop.passage.lic.registry.ProductVersionDescriptor; -import ru.arsysop.passage.lic.registry.ProductVersionFeatureDescriptor; +import org.eclipse.passage.lic.model.api.*; +import org.eclipse.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.registry.FeatureDescriptor; +import org.eclipse.passage.lic.registry.FeatureSetDescriptor; +import org.eclipse.passage.lic.registry.FeatureVersionDescriptor; +import org.eclipse.passage.lic.registry.LicenseGrantDescriptor; +import org.eclipse.passage.lic.registry.LicensePackDescriptor; +import org.eclipse.passage.lic.registry.ProductDescriptor; +import org.eclipse.passage.lic.registry.ProductLineDescriptor; +import org.eclipse.passage.lic.registry.ProductVersionDescriptor; +import org.eclipse.passage.lic.registry.ProductVersionFeatureDescriptor; +import org.eclipse.passage.lic.registry.UserDescriptor; +import org.eclipse.passage.lic.registry.UserOriginDescriptor; /** * * The Adapter Factory for the model. * It provides an adapter createXXX method for each class of the model. * - * @see ru.arsysop.passage.lic.model.meta.LicPackage + * @see org.eclipse.passage.lic.model.meta.LicPackage * @generated */ public class LicAdapterFactory extends AdapterFactoryImpl { @@ -206,13 +195,13 @@ public Adapter createAdapter(Notifier target) { /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.registry.FeatureSetDescriptor Feature Set Descriptor}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.registry.FeatureSetDescriptor Feature Set Descriptor}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.registry.FeatureSetDescriptor + * @see org.eclipse.passage.lic.registry.FeatureSetDescriptor * @generated */ public Adapter createFeatureSetDescriptorAdapter() { @@ -220,13 +209,13 @@ public Adapter createFeatureSetDescriptorAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.registry.ProductDescriptor Product Descriptor}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.registry.ProductDescriptor Product Descriptor}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.registry.ProductDescriptor + * @see org.eclipse.passage.lic.registry.ProductDescriptor * @generated */ public Adapter createProductDescriptorAdapter() { @@ -234,13 +223,13 @@ public Adapter createProductDescriptorAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.registry.ProductVersionDescriptor Product Version Descriptor}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.registry.ProductVersionDescriptor Product Version Descriptor}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.registry.ProductVersionDescriptor + * @see org.eclipse.passage.lic.registry.ProductVersionDescriptor * @generated */ public Adapter createProductVersionDescriptorAdapter() { @@ -248,13 +237,13 @@ public Adapter createProductVersionDescriptorAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.registry.ProductVersionFeatureDescriptor Product Version Feature Descriptor}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.registry.ProductVersionFeatureDescriptor Product Version Feature Descriptor}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.registry.ProductVersionFeatureDescriptor + * @see org.eclipse.passage.lic.registry.ProductVersionFeatureDescriptor * @generated */ public Adapter createProductVersionFeatureDescriptorAdapter() { @@ -262,13 +251,13 @@ public Adapter createProductVersionFeatureDescriptorAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.registry.UserOriginDescriptor User Origin Descriptor}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.registry.UserOriginDescriptor User Origin Descriptor}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.registry.UserOriginDescriptor + * @see org.eclipse.passage.lic.registry.UserOriginDescriptor * @generated */ public Adapter createUserOriginDescriptorAdapter() { @@ -276,13 +265,13 @@ public Adapter createUserOriginDescriptorAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.registry.FeatureDescriptor Feature Descriptor}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.registry.FeatureDescriptor Feature Descriptor}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.registry.FeatureDescriptor + * @see org.eclipse.passage.lic.registry.FeatureDescriptor * @generated */ public Adapter createFeatureDescriptorAdapter() { @@ -290,13 +279,13 @@ public Adapter createFeatureDescriptorAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.registry.FeatureVersionDescriptor Feature Version Descriptor}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.registry.FeatureVersionDescriptor Feature Version Descriptor}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.registry.FeatureVersionDescriptor + * @see org.eclipse.passage.lic.registry.FeatureVersionDescriptor * @generated */ public Adapter createFeatureVersionDescriptorAdapter() { @@ -304,13 +293,13 @@ public Adapter createFeatureVersionDescriptorAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.registry.ProductLineDescriptor Product Line Descriptor}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.registry.ProductLineDescriptor Product Line Descriptor}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.registry.ProductLineDescriptor + * @see org.eclipse.passage.lic.registry.ProductLineDescriptor * @generated */ public Adapter createProductLineDescriptorAdapter() { @@ -318,13 +307,13 @@ public Adapter createProductLineDescriptorAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.registry.UserDescriptor User Descriptor}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.registry.UserDescriptor User Descriptor}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.registry.UserDescriptor + * @see org.eclipse.passage.lic.registry.UserDescriptor * @generated */ public Adapter createUserDescriptorAdapter() { @@ -332,13 +321,13 @@ public Adapter createUserDescriptorAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.registry.LicensePackDescriptor License Pack Descriptor}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.registry.LicensePackDescriptor License Pack Descriptor}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.registry.LicensePackDescriptor + * @see org.eclipse.passage.lic.registry.LicensePackDescriptor * @generated */ public Adapter createLicensePackDescriptorAdapter() { @@ -346,13 +335,13 @@ public Adapter createLicensePackDescriptorAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.registry.LicenseGrantDescriptor License Grant Descriptor}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.registry.LicenseGrantDescriptor License Grant Descriptor}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.registry.LicenseGrantDescriptor + * @see org.eclipse.passage.lic.registry.LicenseGrantDescriptor * @generated */ public Adapter createLicenseGrantDescriptorAdapter() { @@ -360,13 +349,13 @@ public Adapter createLicenseGrantDescriptorAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.model.api.FeatureSet Feature Set}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.model.api.FeatureSet Feature Set}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.model.api.FeatureSet + * @see org.eclipse.passage.lic.model.api.FeatureSet * @generated */ public Adapter createFeatureSetAdapter() { @@ -374,13 +363,13 @@ public Adapter createFeatureSetAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.model.api.Product Product}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.model.api.Product Product}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.model.api.Product + * @see org.eclipse.passage.lic.model.api.Product * @generated */ public Adapter createProductAdapter() { @@ -388,13 +377,13 @@ public Adapter createProductAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.model.api.ProductVersion Product Version}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.model.api.ProductVersion Product Version}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.model.api.ProductVersion + * @see org.eclipse.passage.lic.model.api.ProductVersion * @generated */ public Adapter createProductVersionAdapter() { @@ -402,13 +391,13 @@ public Adapter createProductVersionAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.model.api.ProductVersionFeature Product Version Feature}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.model.api.ProductVersionFeature Product Version Feature}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.model.api.ProductVersionFeature + * @see org.eclipse.passage.lic.model.api.ProductVersionFeature * @generated */ public Adapter createProductVersionFeatureAdapter() { @@ -416,13 +405,13 @@ public Adapter createProductVersionFeatureAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.model.api.UserOrigin User Origin}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.model.api.UserOrigin User Origin}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.model.api.UserOrigin + * @see org.eclipse.passage.lic.model.api.UserOrigin * @generated */ public Adapter createUserOriginAdapter() { @@ -430,13 +419,13 @@ public Adapter createUserOriginAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.model.api.Feature Feature}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.model.api.Feature Feature}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.model.api.Feature + * @see org.eclipse.passage.lic.model.api.Feature * @generated */ public Adapter createFeatureAdapter() { @@ -444,13 +433,13 @@ public Adapter createFeatureAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.model.api.FeatureVersion Feature Version}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.model.api.FeatureVersion Feature Version}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.model.api.FeatureVersion + * @see org.eclipse.passage.lic.model.api.FeatureVersion * @generated */ public Adapter createFeatureVersionAdapter() { @@ -458,13 +447,13 @@ public Adapter createFeatureVersionAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.model.api.ProductLine Product Line}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.model.api.ProductLine Product Line}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.model.api.ProductLine + * @see org.eclipse.passage.lic.model.api.ProductLine * @generated */ public Adapter createProductLineAdapter() { @@ -472,13 +461,13 @@ public Adapter createProductLineAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.model.api.User User}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.model.api.User User}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.model.api.User + * @see org.eclipse.passage.lic.model.api.User * @generated */ public Adapter createUserAdapter() { @@ -486,13 +475,13 @@ public Adapter createUserAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.model.api.LicensePack License Pack}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.model.api.LicensePack License Pack}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.model.api.LicensePack + * @see org.eclipse.passage.lic.model.api.LicensePack * @generated */ public Adapter createLicensePackAdapter() { @@ -500,13 +489,13 @@ public Adapter createLicensePackAdapter() { } /** - * Creates a new adapter for an object of class '{@link ru.arsysop.passage.lic.model.api.LicenseGrant License Grant}'. + * Creates a new adapter for an object of class '{@link org.eclipse.passage.lic.model.api.LicenseGrant License Grant}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see ru.arsysop.passage.lic.model.api.LicenseGrant + * @see org.eclipse.passage.lic.model.api.LicenseGrant * @generated */ public Adapter createLicenseGrantAdapter() { diff --git a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/util/LicSwitch.java b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/util/LicSwitch.java similarity index 92% rename from bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/util/LicSwitch.java rename to bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/util/LicSwitch.java index 739dbab..ffab247 100644 --- a/bundles/ru.arsysop.passage.lic.model/src-gen/ru/arsysop/passage/lic/model/util/LicSwitch.java +++ b/bundles/org.eclipse.passage.lic.model/src-gen/org/eclipse/passage/lic/model/util/LicSwitch.java @@ -1,44 +1,33 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.model.util; +package org.eclipse.passage.lic.model.util; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.util.Switch; -import ru.arsysop.passage.lic.model.api.*; -import ru.arsysop.passage.lic.model.api.Feature; -import ru.arsysop.passage.lic.model.api.User; -import ru.arsysop.passage.lic.model.api.Product; -import ru.arsysop.passage.lic.model.meta.LicPackage; -import ru.arsysop.passage.lic.registry.FeatureDescriptor; -import ru.arsysop.passage.lic.registry.FeatureSetDescriptor; -import ru.arsysop.passage.lic.registry.FeatureVersionDescriptor; -import ru.arsysop.passage.lic.registry.LicenseGrantDescriptor; -import ru.arsysop.passage.lic.registry.LicensePackDescriptor; -import ru.arsysop.passage.lic.registry.UserDescriptor; -import ru.arsysop.passage.lic.registry.UserOriginDescriptor; -import ru.arsysop.passage.lic.registry.ProductDescriptor; -import ru.arsysop.passage.lic.registry.ProductLineDescriptor; -import ru.arsysop.passage.lic.registry.ProductVersionDescriptor; -import ru.arsysop.passage.lic.registry.ProductVersionFeatureDescriptor; +import org.eclipse.passage.lic.model.api.*; +import org.eclipse.passage.lic.model.meta.LicPackage; +import org.eclipse.passage.lic.registry.FeatureDescriptor; +import org.eclipse.passage.lic.registry.FeatureSetDescriptor; +import org.eclipse.passage.lic.registry.FeatureVersionDescriptor; +import org.eclipse.passage.lic.registry.LicenseGrantDescriptor; +import org.eclipse.passage.lic.registry.LicensePackDescriptor; +import org.eclipse.passage.lic.registry.ProductDescriptor; +import org.eclipse.passage.lic.registry.ProductLineDescriptor; +import org.eclipse.passage.lic.registry.ProductVersionDescriptor; +import org.eclipse.passage.lic.registry.ProductVersionFeatureDescriptor; +import org.eclipse.passage.lic.registry.UserDescriptor; +import org.eclipse.passage.lic.registry.UserOriginDescriptor; /** * @@ -50,7 +39,7 @@ * until a non-null result is returned, * which is the result of the switch. * - * @see ru.arsysop.passage.lic.model.meta.LicPackage + * @see org.eclipse.passage.lic.model.meta.LicPackage * @generated */ public class LicSwitch extends Switch { diff --git a/bundles/org.eclipse.passage.lic.net/.classpath b/bundles/org.eclipse.passage.lic.net/.classpath new file mode 100644 index 0000000..43b9862 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.net/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/bundles/org.eclipse.passage.lic.net/.project b/bundles/org.eclipse.passage.lic.net/.project new file mode 100644 index 0000000..f9298b7 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.net/.project @@ -0,0 +1,33 @@ + + + org.eclipse.passage.lic.net + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.pde.ds.core.builder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/bundles/ru.arsysop.passage.lic.oshi/.settings/org.sonarlint.eclipse.core.prefs b/bundles/org.eclipse.passage.lic.net/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from bundles/ru.arsysop.passage.lic.oshi/.settings/org.sonarlint.eclipse.core.prefs rename to bundles/org.eclipse.passage.lic.net/.settings/org.sonarlint.eclipse.core.prefs diff --git a/bundles/ru.arsysop.passage.lic.net/META-INF/MANIFEST.MF b/bundles/org.eclipse.passage.lic.net/META-INF/MANIFEST.MF similarity index 56% rename from bundles/ru.arsysop.passage.lic.net/META-INF/MANIFEST.MF rename to bundles/org.eclipse.passage.lic.net/META-INF/MANIFEST.MF index a44f50e..6643646 100644 --- a/bundles/ru.arsysop.passage.lic.net/META-INF/MANIFEST.MF +++ b/bundles/org.eclipse.passage.lic.net/META-INF/MANIFEST.MF @@ -1,8 +1,8 @@ Manifest-Version: 1.0 -Automatic-Module-Name: ru.arsysop.passage.lic.net +Automatic-Module-Name: org.eclipse.passage.lic.net Bundle-ManifestVersion: 2 -Bundle-SymbolicName: ru.arsysop.passage.lic.net -Bundle-Version: 0.3.2.qualifier +Bundle-SymbolicName: org.eclipse.passage.lic.net +Bundle-Version: 0.3.3.qualifier Bundle-Name: %Bundle-Name Bundle-Vendor: %Bundle-Vendor Bundle-Copyright: %Bundle-Copyright @@ -11,11 +11,10 @@ Require-Bundle: org.eclipse.osgi;bundle-version="0.0.0", org.eclipse.osgi.services;bundle-version="0.0.0", org.apache.httpcomponents.httpcore;bundle-version="0.0.0", org.apache.httpcomponents.httpclient;bundle-version="0.0.0", - ru.arsysop.passage.lic.runtime;bundle-version="0.0.0", - ru.arsysop.passage.lic.base;bundle-version="0.0.0", - ru.arsysop.passage.lic.net + org.eclipse.passage.lic.runtime;bundle-version="0.0.0", + org.eclipse.passage.lic.base;bundle-version="0.0.0", + org.eclipse.passage.lic.net Service-Component: OSGI-INF/*.xml Bundle-ActivationPolicy: lazy -Export-Package: ru.arsysop.passage.lic.internal.net;x-internal:=true, - ru.arsysop.passage.lic.net - +Export-Package: org.eclipse.passage.lic.internal.net;x-internal:=true, + org.eclipse.passage.lic.net diff --git a/bundles/org.eclipse.passage.lic.net/OSGI-INF/l10n/bundle.properties b/bundles/org.eclipse.passage.lic.net/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..6dee4e8 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.net/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,23 @@ +#Properties file for org.eclipse.passage.lic.net +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +Bundle-Name = Passage LIC Net +Bundle-Vendor = Eclipse Passage +Bundle-Copyright = Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ diff --git a/bundles/ru.arsysop.passage.lic.net/OSGI-INF/ru.arsysop.passage.lic.internal.net.NetConditionMiner.xml b/bundles/org.eclipse.passage.lic.net/OSGI-INF/org.eclipse.passage.lic.internal.net.NetConditionMiner.xml similarity index 54% rename from bundles/ru.arsysop.passage.lic.net/OSGI-INF/ru.arsysop.passage.lic.internal.net.NetConditionMiner.xml rename to bundles/org.eclipse.passage.lic.net/OSGI-INF/org.eclipse.passage.lic.internal.net.NetConditionMiner.xml index c75c237..9bce28e 100644 --- a/bundles/ru.arsysop.passage.lic.net/OSGI-INF/ru.arsysop.passage.lic.internal.net.NetConditionMiner.xml +++ b/bundles/org.eclipse.passage.lic.net/OSGI-INF/org.eclipse.passage.lic.internal.net.NetConditionMiner.xml @@ -1,10 +1,10 @@ - - + + - + - + diff --git a/bundles/org.eclipse.passage.lic.net/OSGI-INF/org.eclipse.passage.lic.internal.net.NtpConditionEvaluator.xml b/bundles/org.eclipse.passage.lic.net/OSGI-INF/org.eclipse.passage.lic.internal.net.NtpConditionEvaluator.xml new file mode 100644 index 0000000..3349516 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.net/OSGI-INF/org.eclipse.passage.lic.internal.net.NtpConditionEvaluator.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/bundles/org.eclipse.passage.lic.net/build.properties b/bundles/org.eclipse.passage.lic.net/build.properties new file mode 100644 index 0000000..3210bfe --- /dev/null +++ b/bundles/org.eclipse.passage.lic.net/build.properties @@ -0,0 +1,18 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + .,\ + OSGI-INF/,\ diff --git a/bundles/ru.arsysop.passage.lic.net/src/ru/arsysop/passage/lic/internal/net/NetConditionMiner.java b/bundles/org.eclipse.passage.lic.net/src/org/eclipse/passage/lic/internal/net/NetConditionMiner.java similarity index 81% rename from bundles/ru.arsysop.passage.lic.net/src/ru/arsysop/passage/lic/internal/net/NetConditionMiner.java rename to bundles/org.eclipse.passage.lic.net/src/org/eclipse/passage/lic/internal/net/NetConditionMiner.java index 43d3bd4..7cfe201 100644 --- a/bundles/ru.arsysop.passage.lic.net/src/ru/arsysop/passage/lic/internal/net/NetConditionMiner.java +++ b/bundles/org.eclipse.passage.lic.net/src/org/eclipse/passage/lic/internal/net/NetConditionMiner.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.internal.net; +package org.eclipse.passage.lic.internal.net; import java.io.IOException; import java.nio.file.FileVisitResult; @@ -44,14 +36,13 @@ import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClients; import org.eclipse.osgi.service.environment.EnvironmentInfo; - -import ru.arsysop.passage.lic.base.LicensingPaths; -import ru.arsysop.passage.lic.base.LicensingProperties; -import ru.arsysop.passage.lic.net.LicensingRequests; -import ru.arsysop.passage.lic.runtime.LicensingCondition; -import ru.arsysop.passage.lic.runtime.LicensingConfiguration; -import ru.arsysop.passage.lic.runtime.ConditionMiner; -import ru.arsysop.passage.lic.runtime.io.LicensingConditionTransport; +import org.eclipse.passage.lic.base.LicensingPaths; +import org.eclipse.passage.lic.base.LicensingProperties; +import org.eclipse.passage.lic.net.LicensingRequests; +import org.eclipse.passage.lic.runtime.ConditionMiner; +import org.eclipse.passage.lic.runtime.LicensingCondition; +import org.eclipse.passage.lic.runtime.LicensingConfiguration; +import org.eclipse.passage.lic.runtime.io.LicensingConditionTransport; public class NetConditionMiner implements ConditionMiner { @@ -67,7 +58,7 @@ public class NetConditionMiner implements ConditionMiner { private EnvironmentInfo environmentInfo; - private final Map contentType2ConditionDescriptorTransport = new HashMap<>(); + private final Map contentType2ConditionDescriptorTransport = new HashMap<>(); private final Map settingsMap = new HashMap<>(); @@ -153,7 +144,7 @@ public Iterable handleResponse(HttpResponse response) String contentType = header.getValue(); HttpEntity entity = response.getEntity(); if (entity != null && entity.getContent() != null) { - ru.arsysop.passage.lic.runtime.io.LicensingConditionTransport transport = getConditionDescriptorTransport( + org.eclipse.passage.lic.runtime.io.LicensingConditionTransport transport = getConditionDescriptorTransport( contentType); Iterable conditionDescriptors = transport .readConditionDescriptors(entity.getContent()); @@ -172,7 +163,7 @@ public Iterable handleResponse(HttpResponse response) return conditions; } - private ru.arsysop.passage.lic.runtime.io.LicensingConditionTransport getConditionDescriptorTransport( + private org.eclipse.passage.lic.runtime.io.LicensingConditionTransport getConditionDescriptorTransport( String typeOfContent) { return contentType2ConditionDescriptorTransport.get(typeOfContent); } diff --git a/bundles/ru.arsysop.passage.lic.net/src/ru/arsysop/passage/lic/internal/net/NtpConditionEvaluator.java b/bundles/org.eclipse.passage.lic.net/src/org/eclipse/passage/lic/internal/net/NtpConditionEvaluator.java similarity index 57% rename from bundles/ru.arsysop.passage.lic.net/src/ru/arsysop/passage/lic/internal/net/NtpConditionEvaluator.java rename to bundles/org.eclipse.passage.lic.net/src/org/eclipse/passage/lic/internal/net/NtpConditionEvaluator.java index fca088e..5cfac8b 100644 --- a/bundles/ru.arsysop.passage.lic.net/src/ru/arsysop/passage/lic/internal/net/NtpConditionEvaluator.java +++ b/bundles/org.eclipse.passage.lic.net/src/org/eclipse/passage/lic/internal/net/NtpConditionEvaluator.java @@ -1,31 +1,22 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.internal.net; +package org.eclipse.passage.lic.internal.net; +import org.eclipse.passage.lic.base.BaseConditionEvaluator; +import org.eclipse.passage.lic.net.TimeConditions; import org.osgi.service.component.annotations.Reference; import org.osgi.service.log.LogService; -import ru.arsysop.passage.lic.base.BaseConditionEvaluator; -import ru.arsysop.passage.lic.net.TimeConditions; - public class NtpConditionEvaluator extends BaseConditionEvaluator { private LogService logService; diff --git a/bundles/ru.arsysop.passage.lic.net/src/ru/arsysop/passage/lic/net/LicensingRequests.java b/bundles/org.eclipse.passage.lic.net/src/org/eclipse/passage/lic/net/LicensingRequests.java similarity index 80% rename from bundles/ru.arsysop.passage.lic.net/src/ru/arsysop/passage/lic/net/LicensingRequests.java rename to bundles/org.eclipse.passage.lic.net/src/org/eclipse/passage/lic/net/LicensingRequests.java index dfcc896..a13cb44 100644 --- a/bundles/ru.arsysop.passage.lic.net/src/ru/arsysop/passage/lic/net/LicensingRequests.java +++ b/bundles/org.eclipse.passage.lic.net/src/org/eclipse/passage/lic/net/LicensingRequests.java @@ -1,25 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ - -package ru.arsysop.passage.lic.net; +package org.eclipse.passage.lic.net; import java.net.URISyntaxException; import java.util.HashMap; @@ -30,8 +21,7 @@ import org.apache.http.HttpHost; import org.apache.http.client.utils.URIBuilder; import org.apache.http.impl.client.CloseableHttpClient; - -import ru.arsysop.passage.lic.base.LicensingProperties; +import org.eclipse.passage.lic.base.LicensingProperties; public class LicensingRequests { diff --git a/bundles/ru.arsysop.passage.lic.net/src/ru/arsysop/passage/lic/net/TimeConditions.java b/bundles/org.eclipse.passage.lic.net/src/org/eclipse/passage/lic/net/TimeConditions.java similarity index 56% rename from bundles/ru.arsysop.passage.lic.net/src/ru/arsysop/passage/lic/net/TimeConditions.java rename to bundles/org.eclipse.passage.lic.net/src/org/eclipse/passage/lic/net/TimeConditions.java index a334658..09aa854 100644 --- a/bundles/ru.arsysop.passage.lic.net/src/ru/arsysop/passage/lic/net/TimeConditions.java +++ b/bundles/org.eclipse.passage.lic.net/src/org/eclipse/passage/lic/net/TimeConditions.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.net; +package org.eclipse.passage.lic.net; import java.time.Duration; import java.time.LocalDateTime; diff --git a/bundles/org.eclipse.passage.lic.oshi/.classpath b/bundles/org.eclipse.passage.lic.oshi/.classpath new file mode 100644 index 0000000..43b9862 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.oshi/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/bundles/org.eclipse.passage.lic.oshi/.project b/bundles/org.eclipse.passage.lic.oshi/.project new file mode 100644 index 0000000..5e912ac --- /dev/null +++ b/bundles/org.eclipse.passage.lic.oshi/.project @@ -0,0 +1,33 @@ + + + org.eclipse.passage.lic.oshi + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.pde.ds.core.builder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/bundles/ru.arsysop.passage.lic.runtime/.settings/org.sonarlint.eclipse.core.prefs b/bundles/org.eclipse.passage.lic.oshi/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from bundles/ru.arsysop.passage.lic.runtime/.settings/org.sonarlint.eclipse.core.prefs rename to bundles/org.eclipse.passage.lic.oshi/.settings/org.sonarlint.eclipse.core.prefs diff --git a/bundles/org.eclipse.passage.lic.oshi/META-INF/MANIFEST.MF b/bundles/org.eclipse.passage.lic.oshi/META-INF/MANIFEST.MF new file mode 100644 index 0000000..24b6e40 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.oshi/META-INF/MANIFEST.MF @@ -0,0 +1,20 @@ +Manifest-Version: 1.0 +Automatic-Module-Name: org.eclipse.passage.lic.oshi +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.eclipse.passage.lic.oshi +Bundle-Version: 0.3.3.qualifier +Bundle-Name: %Bundle-Name +Bundle-Vendor: %Bundle-Vendor +Bundle-Copyright: %Bundle-Copyright +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: com.sun.jna;bundle-version="4.5.1", + com.sun.jna.platform;bundle-version="4.5.1", + org.eclipse.osgi.services;bundle-version="0.0.0", + org.eclipse.passage.brc.oshi;bundle-version="0.0.0", + org.eclipse.passage.lic.runtime;bundle-version="0.0.0", + org.eclipse.passage.lic.base;bundle-version="0.0.0", + org.eclipse.passage.lic.inspector;bundle-version="0.0.0";visibility:=reexport +Export-Package: org.eclipse.passage.lic.internal.oshi;x-internal:=true, + org.eclipse.passage.lic.oshi +Bundle-ActivationPolicy: lazy +Service-Component: OSGI-INF/*.xml diff --git a/bundles/org.eclipse.passage.lic.oshi/OSGI-INF/l10n/bundle.properties b/bundles/org.eclipse.passage.lic.oshi/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..957f7a4 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.oshi/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,23 @@ +#Properties file for org.eclipse.passage.lic.oshi +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +Bundle-Name = Passage LIC OSHI +Bundle-Vendor = Eclipse Passage +Bundle-Copyright = Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ diff --git a/bundles/ru.arsysop.passage.lic.oshi/OSGI-INF/ru.arsysop.passage.lic.internal.oshi.OshiConditionEvaluator.xml b/bundles/org.eclipse.passage.lic.oshi/OSGI-INF/org.eclipse.passage.lic.internal.oshi.OshiConditionEvaluator.xml similarity index 58% rename from bundles/ru.arsysop.passage.lic.oshi/OSGI-INF/ru.arsysop.passage.lic.internal.oshi.OshiConditionEvaluator.xml rename to bundles/org.eclipse.passage.lic.oshi/OSGI-INF/org.eclipse.passage.lic.internal.oshi.OshiConditionEvaluator.xml index 32683c6..8714fc0 100644 --- a/bundles/ru.arsysop.passage.lic.oshi/OSGI-INF/ru.arsysop.passage.lic.internal.oshi.OshiConditionEvaluator.xml +++ b/bundles/org.eclipse.passage.lic.oshi/OSGI-INF/org.eclipse.passage.lic.internal.oshi.OshiConditionEvaluator.xml @@ -1,9 +1,9 @@ - + - + - + \ No newline at end of file diff --git a/bundles/org.eclipse.passage.lic.oshi/OSGI-INF/org.eclipse.passage.lic.internal.oshi.OshiHardwareInspector.xml b/bundles/org.eclipse.passage.lic.oshi/OSGI-INF/org.eclipse.passage.lic.internal.oshi.OshiHardwareInspector.xml new file mode 100644 index 0000000..8932470 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.oshi/OSGI-INF/org.eclipse.passage.lic.internal.oshi.OshiHardwareInspector.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/bundles/org.eclipse.passage.lic.oshi/build.properties b/bundles/org.eclipse.passage.lic.oshi/build.properties new file mode 100644 index 0000000..33ea891 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.oshi/build.properties @@ -0,0 +1,18 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + .,\ + OSGI-INF/ \ No newline at end of file diff --git a/bundles/ru.arsysop.passage.lic.oshi/src/ru/arsysop/passage/lic/internal/oshi/OshiConditionEvaluator.java b/bundles/org.eclipse.passage.lic.oshi/src/org/eclipse/passage/lic/internal/oshi/OshiConditionEvaluator.java similarity index 56% rename from bundles/ru.arsysop.passage.lic.oshi/src/ru/arsysop/passage/lic/internal/oshi/OshiConditionEvaluator.java rename to bundles/org.eclipse.passage.lic.oshi/src/org/eclipse/passage/lic/internal/oshi/OshiConditionEvaluator.java index 7c10f3a..d841b6e 100644 --- a/bundles/ru.arsysop.passage.lic.oshi/src/ru/arsysop/passage/lic/internal/oshi/OshiConditionEvaluator.java +++ b/bundles/org.eclipse.passage.lic.oshi/src/org/eclipse/passage/lic/internal/oshi/OshiConditionEvaluator.java @@ -1,34 +1,25 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.internal.oshi; +package org.eclipse.passage.lic.internal.oshi; +import org.eclipse.passage.lic.base.BaseConditionEvaluator; +import org.eclipse.passage.lic.base.LicensingProperties; +import org.eclipse.passage.lic.oshi.OshiHal; +import org.eclipse.passage.lic.runtime.ConditionEvaluator; import org.osgi.service.component.annotations.Component; import org.osgi.service.component.annotations.Reference; import org.osgi.service.log.LogService; -import ru.arsysop.passage.lic.base.BaseConditionEvaluator; -import ru.arsysop.passage.lic.base.LicensingProperties; -import ru.arsysop.passage.lic.oshi.OshiHal; -import ru.arsysop.passage.lic.runtime.ConditionEvaluator; - @Component(property = { LicensingProperties.LICENSING_CONDITION_TYPE + '=' + OshiHal.CONDITION_TYPE_HARDWARE }) public class OshiConditionEvaluator extends BaseConditionEvaluator implements ConditionEvaluator { diff --git a/bundles/ru.arsysop.passage.lic.oshi/src/ru/arsysop/passage/lic/internal/oshi/OshiHardwareInspector.java b/bundles/org.eclipse.passage.lic.oshi/src/org/eclipse/passage/lic/internal/oshi/OshiHardwareInspector.java similarity index 51% rename from bundles/ru.arsysop.passage.lic.oshi/src/ru/arsysop/passage/lic/internal/oshi/OshiHardwareInspector.java rename to bundles/org.eclipse.passage.lic.oshi/src/org/eclipse/passage/lic/internal/oshi/OshiHardwareInspector.java index afe20d8..722e844 100644 --- a/bundles/ru.arsysop.passage.lic.oshi/src/ru/arsysop/passage/lic/internal/oshi/OshiHardwareInspector.java +++ b/bundles/org.eclipse.passage.lic.oshi/src/org/eclipse/passage/lic/internal/oshi/OshiHardwareInspector.java @@ -1,30 +1,22 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.internal.oshi; +package org.eclipse.passage.lic.internal.oshi; import java.io.IOException; import java.io.OutputStream; -import ru.arsysop.passage.lic.inspector.HardwareInspector; -import ru.arsysop.passage.lic.oshi.OshiHal; +import org.eclipse.passage.lic.inspector.HardwareInspector; +import org.eclipse.passage.lic.oshi.OshiHal; public class OshiHardwareInspector implements HardwareInspector { diff --git a/bundles/ru.arsysop.passage.lic.oshi/src/ru/arsysop/passage/lic/oshi/OshiHal.java b/bundles/org.eclipse.passage.lic.oshi/src/org/eclipse/passage/lic/oshi/OshiHal.java similarity index 91% rename from bundles/ru.arsysop.passage.lic.oshi/src/ru/arsysop/passage/lic/oshi/OshiHal.java rename to bundles/org.eclipse.passage.lic.oshi/src/org/eclipse/passage/lic/oshi/OshiHal.java index ad5afac..348807b 100644 --- a/bundles/ru.arsysop.passage.lic.oshi/src/ru/arsysop/passage/lic/oshi/OshiHal.java +++ b/bundles/org.eclipse.passage.lic.oshi/src/org/eclipse/passage/lic/oshi/OshiHal.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.oshi; +package org.eclipse.passage.lic.oshi; import java.io.IOException; import java.io.OutputStream; @@ -26,6 +18,9 @@ import java.util.LinkedHashSet; import java.util.Set; +import org.eclipse.passage.lic.base.LicensingConditions; +import org.eclipse.passage.lic.inspector.HardwareInspector; + import oshi.SystemInfo; import oshi.hardware.Baseboard; import oshi.hardware.CentralProcessor; @@ -34,8 +29,6 @@ import oshi.hardware.HardwareAbstractionLayer; import oshi.software.os.OperatingSystem; import oshi.software.os.OperatingSystemVersion; -import ru.arsysop.passage.lic.base.LicensingConditions; -import ru.arsysop.passage.lic.inspector.HardwareInspector; public class OshiHal { diff --git a/bundles/org.eclipse.passage.lic.registry/.classpath b/bundles/org.eclipse.passage.lic.registry/.classpath new file mode 100644 index 0000000..43b9862 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/tests/ru.arsysop.passage.lic.json.tests/.project b/bundles/org.eclipse.passage.lic.registry/.project similarity index 92% rename from tests/ru.arsysop.passage.lic.json.tests/.project rename to bundles/org.eclipse.passage.lic.registry/.project index a2f1c17..78dcf08 100644 --- a/tests/ru.arsysop.passage.lic.json.tests/.project +++ b/bundles/org.eclipse.passage.lic.registry/.project @@ -1,6 +1,6 @@ - ru.arsysop.passage.lic.json.tests + org.eclipse.passage.lic.registry diff --git a/bundles/org.eclipse.passage.lic.registry/META-INF/MANIFEST.MF b/bundles/org.eclipse.passage.lic.registry/META-INF/MANIFEST.MF new file mode 100644 index 0000000..134b058 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Automatic-Module-Name: org.eclipse.passage.lic.registry +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.eclipse.passage.lic.registry +Bundle-Version: 0.3.3.qualifier +Bundle-Name: %Bundle-Name +Bundle-Vendor: %Bundle-Vendor +Bundle-Copyright: %Bundle-Copyright +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.eclipse.passage.lic.runtime;bundle-version="0.0.0" +Export-Package: org.eclipse.passage.lic.registry diff --git a/bundles/org.eclipse.passage.lic.registry/OSGI-INF/l10n/bundle.properties b/bundles/org.eclipse.passage.lic.registry/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..5430739 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,23 @@ +#Properties file for org.eclipse.passage.lic.registry +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +Bundle-Name = Passage LIC Registry +Bundle-Vendor = Eclipse Passage +Bundle-Copyright = Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ diff --git a/bundles/org.eclipse.passage.lic.registry/build.properties b/bundles/org.eclipse.passage.lic.registry/build.properties new file mode 100644 index 0000000..25abd7a --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/build.properties @@ -0,0 +1,18 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + OSGI-INF/,\ + . diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/DescriptorRegistry.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/DescriptorRegistry.java new file mode 100644 index 0000000..fead81b --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/DescriptorRegistry.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public interface DescriptorRegistry { + + void registerSource(String source); + + void unregisterSource(String source); + + Iterable getSources(); + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeatureDescriptor.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeatureDescriptor.java new file mode 100644 index 0000000..776e02b --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeatureDescriptor.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public interface FeatureDescriptor extends Identified { + + String getName(); + + String getDescription(); + + FeatureSetDescriptor getFeatureSet(); + + Iterable getFeatureVersions(); + +} diff --git a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/FeatureRegistry.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeatureRegistry.java similarity index 54% rename from bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/FeatureRegistry.java rename to bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeatureRegistry.java index c6c08f4..8e3b9b9 100644 --- a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/FeatureRegistry.java +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeatureRegistry.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.registry; +package org.eclipse.passage.lic.registry; public interface FeatureRegistry extends DescriptorRegistry { diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeatureSetDescriptor.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeatureSetDescriptor.java new file mode 100644 index 0000000..68053a0 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeatureSetDescriptor.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public interface FeatureSetDescriptor extends Identified { + + String getName(); + + String getDescription(); + + Iterable getFeatures(); + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeatureVersionDescriptor.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeatureVersionDescriptor.java new file mode 100644 index 0000000..b26f405 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeatureVersionDescriptor.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public interface FeatureVersionDescriptor { + + public String getVersion(); + + public String getNews(); + + public FeatureDescriptor getFeature(); + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeaturesEvents.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeaturesEvents.java new file mode 100644 index 0000000..2098657 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeaturesEvents.java @@ -0,0 +1,97 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public class FeaturesEvents extends RegistryEvents { + + /** + * Base name of all Features events + */ + public static final String FEATURES_TOPIC_BASE = "ru/arsysop/passage/lic/registry/features"; //$NON-NLS-1$ + + /** + * Base name of all Feature Set events + */ + public static final String FEATURE_SET_TOPIC_BASE = FEATURES_TOPIC_BASE + TOPIC_SEP + "FeatureSet"; //$NON-NLS-1$ + + /** + * Feature Set create event + */ + public static final String FEATURE_SET_CREATE = FEATURE_SET_TOPIC_BASE + TOPIC_SEP + CREATE; + + /** + * Feature Set read event + */ + public static final String FEATURE_SET_READ = FEATURE_SET_TOPIC_BASE + TOPIC_SEP + READ; + + /** + * Feature Set update event + */ + public static final String FEATURE_SET_UPDATE = FEATURE_SET_TOPIC_BASE + TOPIC_SEP + UPDATE; + + /** + * Feature Set delete event + */ + public static final String FEATURE_SET_DELETE = FEATURE_SET_TOPIC_BASE + TOPIC_SEP + DELETE; + + /** + * Base name of all Feature events + */ + public static final String FEATURE_TOPIC_BASE = FEATURES_TOPIC_BASE + TOPIC_SEP + "Feature"; //$NON-NLS-1$ + + /** + * Feature create event + */ + public static final String FEATURE_CREATE = FEATURE_TOPIC_BASE + TOPIC_SEP + CREATE; + + /** + * Feature read event + */ + public static final String FEATURE_READ = FEATURE_TOPIC_BASE + TOPIC_SEP + READ; + + /** + * Feature update event + */ + public static final String FEATURE_UPDATE = FEATURE_TOPIC_BASE + TOPIC_SEP + UPDATE; + + /** + * Feature delete event + */ + public static final String FEATURE_DELETE = FEATURE_TOPIC_BASE + TOPIC_SEP + DELETE; + + /** + * Base name of all Feature Version events + */ + public static final String FEATURE_VERSION_TOPIC_BASE = FEATURES_TOPIC_BASE + TOPIC_SEP + "FeatureVersion"; //$NON-NLS-1$ + + /** + * Feature Version create event + */ + public static final String FEATURE_VERSION_CREATE = FEATURE_VERSION_TOPIC_BASE + TOPIC_SEP + CREATE; + + /** + * Feature Version read event + */ + public static final String FEATURE_VERSION_READ = FEATURE_VERSION_TOPIC_BASE + TOPIC_SEP + READ; + + /** + * Feature Version update event + */ + public static final String FEATURE_VERSION_UPDATE = FEATURE_VERSION_TOPIC_BASE + TOPIC_SEP + UPDATE; + + /** + * Feature Version delete event + */ + public static final String FEATURE_VERSION_DELETE = FEATURE_VERSION_TOPIC_BASE + TOPIC_SEP + DELETE; + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeaturesRegistry.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeaturesRegistry.java new file mode 100644 index 0000000..697a240 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/FeaturesRegistry.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public class FeaturesRegistry { + + public static final String DOMAIN_NAME = "features"; //$NON-NLS-1$ + public static final String FILE_EXTENSION_XMI = "lic_features"; //$NON-NLS-1$ + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/Identified.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/Identified.java new file mode 100644 index 0000000..cd11b3b --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/Identified.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public interface Identified { + + String getIdentifier(); + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/LicenseGrantDescriptor.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/LicenseGrantDescriptor.java new file mode 100644 index 0000000..89497d1 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/LicenseGrantDescriptor.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +import org.eclipse.passage.lic.runtime.LicensingCondition; + +public interface LicenseGrantDescriptor extends LicensingCondition { + + int getCapacity(); + + LicensePackDescriptor getLicensePack(); + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/LicensePackDescriptor.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/LicensePackDescriptor.java new file mode 100644 index 0000000..8d55805 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/LicensePackDescriptor.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public interface LicensePackDescriptor extends Identified { + + Iterable getLicenseGrants(); + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/LicenseRegistry.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/LicenseRegistry.java new file mode 100644 index 0000000..251a720 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/LicenseRegistry.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public interface LicenseRegistry extends DescriptorRegistry { + + Iterable getLicensePacks(); + + Iterable getUserLicensePacks(String userId); + + Iterable getProductVersionLicensePacks(String productId, String version); + + LicensePackDescriptor getLicensePack(String licensePackId); + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/LicensesEvents.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/LicensesEvents.java new file mode 100644 index 0000000..e082d02 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/LicensesEvents.java @@ -0,0 +1,72 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public class LicensesEvents extends RegistryEvents { + + /** + * Base name of all Licenses events + */ + public static final String LICENSES_TOPIC_BASE = "ru/arsysop/passage/lic/registry/licenses"; //$NON-NLS-1$ + + /** + * Base name of all License Pack events + */ + public static final String LICENSE_PACK_TOPIC_BASE = LICENSES_TOPIC_BASE + TOPIC_SEP + "LicensePack"; //$NON-NLS-1$ + + /** + * License Pack create event + */ + public static final String LICENSE_PACK_CREATE = LICENSE_PACK_TOPIC_BASE + TOPIC_SEP + CREATE; + + /** + * License Pack read event + */ + public static final String LICENSE_PACK_READ = LICENSE_PACK_TOPIC_BASE + TOPIC_SEP + READ; + + /** + * License Pack update event + */ + public static final String LICENSE_PACK_UPDATE = LICENSE_PACK_TOPIC_BASE + TOPIC_SEP + UPDATE; + + /** + * License Pack delete event + */ + public static final String LICENSE_PACK_DELETE = LICENSE_PACK_TOPIC_BASE + TOPIC_SEP + DELETE; + + /** + * Base name of all License Grant events + */ + public static final String LICENSE_GRANT_TOPIC_BASE = LICENSES_TOPIC_BASE + TOPIC_SEP + "LicenseGrant"; //$NON-NLS-1$ + + /** + * License Grant create event + */ + public static final String LICENSE_GRANT_CREATE = LICENSE_GRANT_TOPIC_BASE + TOPIC_SEP + CREATE; + + /** + * License Grant read event + */ + public static final String LICENSE_GRANT_READ = LICENSE_GRANT_TOPIC_BASE + TOPIC_SEP + READ; + + /** + * License Grant update event + */ + public static final String LICENSE_GRANT_UPDATE = LICENSE_GRANT_TOPIC_BASE + TOPIC_SEP + UPDATE; + + /** + * License Grant delete event + */ + public static final String LICENSE_GRANT_DELETE = LICENSE_GRANT_TOPIC_BASE + TOPIC_SEP + DELETE; + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/LicensesRegistry.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/LicensesRegistry.java new file mode 100644 index 0000000..ea3800f --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/LicensesRegistry.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public class LicensesRegistry { + + public static final String DOMAIN_NAME = "licenses"; //$NON-NLS-1$ + public static final String FILE_EXTENSION_XMI = "lic_licenses"; //$NON-NLS-1$ + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductDescriptor.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductDescriptor.java new file mode 100644 index 0000000..4fb7fa8 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductDescriptor.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public interface ProductDescriptor extends Identified { + + String getName(); + + String getDescription(); + + ProductLineDescriptor getProductLine(); + + Iterable getProductVersions(); + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductLineDescriptor.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductLineDescriptor.java new file mode 100644 index 0000000..a22d636 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductLineDescriptor.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public interface ProductLineDescriptor extends Identified { + + String getName(); + + String getDescription(); + + Iterable getProducts(); + +} diff --git a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/ProductRegistry.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductRegistry.java similarity index 59% rename from bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/ProductRegistry.java rename to bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductRegistry.java index bb678ea..807eee8 100644 --- a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/ProductRegistry.java +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductRegistry.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.registry; +package org.eclipse.passage.lic.registry; public interface ProductRegistry extends DescriptorRegistry { diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductVersionDescriptor.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductVersionDescriptor.java new file mode 100644 index 0000000..2278e27 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductVersionDescriptor.java @@ -0,0 +1,29 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public interface ProductVersionDescriptor { + + String getVersion(); + + public String getNews(); + + String getInstallationToken(); + + String getSecureToken(); + + ProductDescriptor getProduct(); + + Iterable getProductVersionFeatures(); + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductVersionFeatureDescriptor.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductVersionFeatureDescriptor.java new file mode 100644 index 0000000..15e4d53 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductVersionFeatureDescriptor.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public interface ProductVersionFeatureDescriptor { + + String getFeatureIdentifier(); + + String getFeatureVersion(); + + String getRestrictionLevel(); + + ProductVersionDescriptor getProductVersion(); + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductsEvents.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductsEvents.java new file mode 100644 index 0000000..7a6ed37 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductsEvents.java @@ -0,0 +1,122 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public class ProductsEvents extends RegistryEvents { + + /** + * Base name of all Products events + */ + public static final String PRODUCTS_TOPIC_BASE = "ru/arsysop/passage/lic/registry/products"; //$NON-NLS-1$ + + /** + * Base name of all Product Line events + */ + public static final String PRODUCT_LINE_TOPIC_BASE = PRODUCTS_TOPIC_BASE + TOPIC_SEP + "ProductLine"; //$NON-NLS-1$ + + /** + * Product Line create event + */ + public static final String PRODUCT_LINE_CREATE = PRODUCT_LINE_TOPIC_BASE + TOPIC_SEP + CREATE; + + /** + * Product Line read event + */ + public static final String PRODUCT_LINE_READ = PRODUCT_LINE_TOPIC_BASE + TOPIC_SEP + READ; + + /** + * Product Line update event + */ + public static final String PRODUCT_LINE_UPDATE = PRODUCT_LINE_TOPIC_BASE + TOPIC_SEP + UPDATE; + + /** + * Product Line delete event + */ + public static final String PRODUCT_LINE_DELETE = PRODUCT_LINE_TOPIC_BASE + TOPIC_SEP + DELETE; + + /** + * Base name of all Product events + */ + public static final String PRODUCT_TOPIC_BASE = PRODUCTS_TOPIC_BASE + TOPIC_SEP + "Product"; //$NON-NLS-1$ + + /** + * Product create event + */ + public static final String PRODUCT_CREATE = PRODUCT_TOPIC_BASE + TOPIC_SEP + CREATE; + + /** + * Product read event + */ + public static final String PRODUCT_READ = PRODUCT_TOPIC_BASE + TOPIC_SEP + READ; + + /** + * Product update event + */ + public static final String PRODUCT_UPDATE = PRODUCT_TOPIC_BASE + TOPIC_SEP + UPDATE; + + /** + * Product delete event + */ + public static final String PRODUCT_DELETE = PRODUCT_TOPIC_BASE + TOPIC_SEP + DELETE; + + /** + * Base name of all Product Version events + */ + public static final String PRODUCT_VERSION_TOPIC_BASE = PRODUCTS_TOPIC_BASE + TOPIC_SEP + "ProductVersion"; //$NON-NLS-1$ + + /** + * Product Version create event + */ + public static final String PRODUCT_VERSION_CREATE = PRODUCT_VERSION_TOPIC_BASE + TOPIC_SEP + CREATE; + + /** + * Product Version read event + */ + public static final String PRODUCT_VERSION_READ = PRODUCT_VERSION_TOPIC_BASE + TOPIC_SEP + READ; + + /** + * Product Version update event + */ + public static final String PRODUCT_VERSION_UPDATE = PRODUCT_VERSION_TOPIC_BASE + TOPIC_SEP + UPDATE; + + /** + * Product Version delete event + */ + public static final String PRODUCT_VERSION_DELETE = PRODUCT_VERSION_TOPIC_BASE + TOPIC_SEP + DELETE; + + /** + * Base name of all Product Version Feature events + */ + public static final String PRODUCT_VERSION_FEATURE_TOPIC_BASE = PRODUCTS_TOPIC_BASE + TOPIC_SEP + "ProductVersionFeature"; //$NON-NLS-1$ + + /** + * Product Version Feature create event + */ + public static final String PRODUCT_VERSION_FEATURE_CREATE = PRODUCT_VERSION_FEATURE_TOPIC_BASE + TOPIC_SEP + CREATE; + + /** + * Product Version Feature read event + */ + public static final String PRODUCT_VERSION_FEATURE_READ = PRODUCT_VERSION_FEATURE_TOPIC_BASE + TOPIC_SEP + READ; + + /** + * Product Version Feature update event + */ + public static final String PRODUCT_VERSION_FEATURE_UPDATE = PRODUCT_VERSION_FEATURE_TOPIC_BASE + TOPIC_SEP + UPDATE; + + /** + * Product Version Feature delete event + */ + public static final String PRODUCT_VERSION_FEATURE_DELETE = PRODUCT_VERSION_FEATURE_TOPIC_BASE + TOPIC_SEP + DELETE; + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductsRegistry.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductsRegistry.java new file mode 100644 index 0000000..da91902 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/ProductsRegistry.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public class ProductsRegistry { + + public static final String DOMAIN_NAME = "products"; //$NON-NLS-1$ + public static final String FILE_EXTENSION_XMI = "lic_products"; //$NON-NLS-1$ + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/RegistryEvents.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/RegistryEvents.java new file mode 100644 index 0000000..8efe39c --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/RegistryEvents.java @@ -0,0 +1,48 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public class RegistryEvents { + + /** + * Topic separator character + */ + public static final String TOPIC_SEP = "/"; //$NON-NLS-1$ + + /** + * Wild card character for matching all sub topics + */ + public static final String ALL_SUB_TOPICS = "*"; //$NON-NLS-1$ + + + /** + * Segment for events of type create + */ + public static final String CREATE = "create"; //$NON-NLS-1$ + + /** + * Segment for events of type read + */ + public static final String READ = "read"; //$NON-NLS-1$ + + /** + * Segment for events of type update + */ + public static final String UPDATE = "update"; //$NON-NLS-1$ + + /** + * Segment for events of type delete + */ + public static final String DELETE = "delete"; //$NON-NLS-1$ + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/UserDescriptor.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/UserDescriptor.java new file mode 100644 index 0000000..9245dca --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/UserDescriptor.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public interface UserDescriptor extends Identified { + + String getEmail(); + + String getFullName(); + + String getDescription(); + + UserOriginDescriptor getUserOrigin(); + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/UserOriginDescriptor.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/UserOriginDescriptor.java new file mode 100644 index 0000000..69f210a --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/UserOriginDescriptor.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public interface UserOriginDescriptor extends Identified { + + String getName(); + + String getDescription(); + + Iterable getUsers(); + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/UserRegistry.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/UserRegistry.java new file mode 100644 index 0000000..e8cddbb --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/UserRegistry.java @@ -0,0 +1,27 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public interface UserRegistry extends DescriptorRegistry { + + Iterable getUserOrigins(); + + UserOriginDescriptor getUserOrigin(String userOriginId); + + Iterable getUsers(); + + Iterable getUsers(String userOriginId); + + UserDescriptor getUser(String userId); + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/UsersEvents.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/UsersEvents.java new file mode 100644 index 0000000..f19dad7 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/UsersEvents.java @@ -0,0 +1,72 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public class UsersEvents extends RegistryEvents { + + /** + * Base name of all Users events + */ + public static final String USERS_TOPIC_BASE = "ru/arsysop/passage/lic/registry/users"; //$NON-NLS-1$ + + /** + * Base name of all User Origin events + */ + public static final String USER_ORIGIN_TOPIC_BASE = USERS_TOPIC_BASE + TOPIC_SEP + "UserOrigin"; //$NON-NLS-1$ + + /** + * User Origin create event + */ + public static final String USER_ORIGIN_CREATE = USER_ORIGIN_TOPIC_BASE + TOPIC_SEP + CREATE; + + /** + * User Origin read event + */ + public static final String USER_ORIGIN_READ = USER_ORIGIN_TOPIC_BASE + TOPIC_SEP + READ; + + /** + * User Origin update event + */ + public static final String USER_ORIGIN_UPDATE = USER_ORIGIN_TOPIC_BASE + TOPIC_SEP + UPDATE; + + /** + * User Origin delete event + */ + public static final String USER_ORIGIN_DELETE = USER_ORIGIN_TOPIC_BASE + TOPIC_SEP + DELETE; + + /** + * Base name of all User events + */ + public static final String USER_TOPIC_BASE = USERS_TOPIC_BASE + TOPIC_SEP + "User"; //$NON-NLS-1$ + + /** + * User create event + */ + public static final String USER_CREATE = USER_TOPIC_BASE + TOPIC_SEP + CREATE; + + /** + * User read event + */ + public static final String USER_READ = USER_TOPIC_BASE + TOPIC_SEP + READ; + + /** + * User update event + */ + public static final String USER_UPDATE = USER_TOPIC_BASE + TOPIC_SEP + UPDATE; + + /** + * User delete event + */ + public static final String USER_DELETE = USER_TOPIC_BASE + TOPIC_SEP + DELETE; + +} diff --git a/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/UsersRegistry.java b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/UsersRegistry.java new file mode 100644 index 0000000..93c871e --- /dev/null +++ b/bundles/org.eclipse.passage.lic.registry/src/org/eclipse/passage/lic/registry/UsersRegistry.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.registry; + +public class UsersRegistry { + + public static final String DOMAIN_NAME = "users"; //$NON-NLS-1$ + public static final String FILE_EXTENSION_XMI = "lic_users"; //$NON-NLS-1$ + +} diff --git a/bundles/org.eclipse.passage.lic.runtime/.classpath b/bundles/org.eclipse.passage.lic.runtime/.classpath new file mode 100644 index 0000000..43b9862 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.runtime/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/bundles/org.eclipse.passage.lic.runtime/.project b/bundles/org.eclipse.passage.lic.runtime/.project new file mode 100644 index 0000000..b596b81 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.runtime/.project @@ -0,0 +1,28 @@ + + + org.eclipse.passage.lic.runtime + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/features/ru.arsysop.passage.lic.bc.feature/.settings/org.sonarlint.eclipse.core.prefs b/bundles/org.eclipse.passage.lic.runtime/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from features/ru.arsysop.passage.lic.bc.feature/.settings/org.sonarlint.eclipse.core.prefs rename to bundles/org.eclipse.passage.lic.runtime/.settings/org.sonarlint.eclipse.core.prefs diff --git a/bundles/org.eclipse.passage.lic.runtime/META-INF/MANIFEST.MF b/bundles/org.eclipse.passage.lic.runtime/META-INF/MANIFEST.MF new file mode 100644 index 0000000..e52f3c0 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.runtime/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Automatic-Module-Name: org.eclipse.passage.lic.runtime +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.eclipse.passage.lic.runtime +Bundle-Version: 0.3.3.qualifier +Bundle-Name: %Bundle-Name +Bundle-Vendor: %Bundle-Vendor +Bundle-Copyright: %Bundle-Copyright +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: org.eclipse.passage.lic.runtime, + org.eclipse.passage.lic.runtime.io diff --git a/bundles/org.eclipse.passage.lic.runtime/OSGI-INF/l10n/bundle.properties b/bundles/org.eclipse.passage.lic.runtime/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..4330e1c --- /dev/null +++ b/bundles/org.eclipse.passage.lic.runtime/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,23 @@ +#Properties file for org.eclipse.passage.lic.runtime +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +Bundle-Name = Passage LIC Runtime +Bundle-Vendor = Eclipse Passage +Bundle-Copyright = Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ diff --git a/bundles/org.eclipse.passage.lic.runtime/build.properties b/bundles/org.eclipse.passage.lic.runtime/build.properties new file mode 100644 index 0000000..9275df7 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.runtime/build.properties @@ -0,0 +1,18 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + .,\ + OSGI-INF/ diff --git a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/AccessManager.java b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/AccessManager.java similarity index 68% rename from bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/AccessManager.java rename to bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/AccessManager.java index 2667438..adc3932 100644 --- a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/AccessManager.java +++ b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/AccessManager.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.runtime; +package org.eclipse.passage.lic.runtime; /** * The main entry point to the licensing diff --git a/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/ConditionEvaluator.java b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/ConditionEvaluator.java new file mode 100644 index 0000000..3c2681d --- /dev/null +++ b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/ConditionEvaluator.java @@ -0,0 +1,24 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.runtime; + +/** + * Evaluates the collection of {@link LicensingCondition} to obtain a + * collection of {@link FeaturePermission} + * + */ +public interface ConditionEvaluator { + + Iterable evaluateConditions(Iterable conditions, LicensingConfiguration configuration); + +} diff --git a/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/ConditionMiner.java b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/ConditionMiner.java new file mode 100644 index 0000000..d7bee8d --- /dev/null +++ b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/ConditionMiner.java @@ -0,0 +1,30 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.runtime; + +/** + * The miner to extract {@link LicensingCondition}(s) from different sources: + *
  • local file system
  • + *
  • network server
  • + *
  • etc
  • + */ +public interface ConditionMiner { + + /** + * + * @param configuration + * @return + */ + Iterable extractLicensingConditions(LicensingConfiguration configuration); + +} diff --git a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/ConfigurationRequirement.java b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/ConfigurationRequirement.java similarity index 57% rename from bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/ConfigurationRequirement.java rename to bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/ConfigurationRequirement.java index 97f820c..8db6b49 100644 --- a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/ConfigurationRequirement.java +++ b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/ConfigurationRequirement.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.runtime; +package org.eclipse.passage.lic.runtime; /** * The usage constraint defined for specific feature identifier with given diff --git a/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/ConfigurationResolver.java b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/ConfigurationResolver.java new file mode 100644 index 0000000..ebe48ad --- /dev/null +++ b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/ConfigurationResolver.java @@ -0,0 +1,30 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.runtime; + +/** + * + * Resolves the given configuration and produces + * {@link ConfigurationRequirement}(s). + * + */ +public interface ConfigurationResolver { + + /** + * + * @param configuration + * @return + */ + Iterable resolveConfigurationRequirements(LicensingConfiguration configuration); + +} diff --git a/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/FeaturePermission.java b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/FeaturePermission.java new file mode 100644 index 0000000..e5a4af1 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/FeaturePermission.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.runtime; + +import java.util.Date; + +/** + * Permission to use the component of given name and version range obtained from + * {@link ConditionEvaluator} as a result of evaluation for + * {@link LicensingCondition} + */ +public interface FeaturePermission { + + LicensingCondition getLicensingCondition(); + + LicensingConfiguration getLicensingConfiguration(); + + Date getLeaseDate(); + + Date getExpireDate(); +} diff --git a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/LicensingCondition.java b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/LicensingCondition.java similarity index 51% rename from bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/LicensingCondition.java rename to bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/LicensingCondition.java index ded4ce1..322c241 100644 --- a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/LicensingCondition.java +++ b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/LicensingCondition.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.runtime; +package org.eclipse.passage.lic.runtime; import java.util.Date; diff --git a/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/LicensingConfiguration.java b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/LicensingConfiguration.java new file mode 100644 index 0000000..9346c29 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/LicensingConfiguration.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.runtime; + +public interface LicensingConfiguration { + + String getProductIdentifier(); + + String getProductVersion(); + +} diff --git a/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/PermissionExaminer.java b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/PermissionExaminer.java new file mode 100644 index 0000000..3353c21 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/PermissionExaminer.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.runtime; + +/** + * Examines how {@link FeaturePermission}(s) cover the + * {@link ConfigurationRequirement}(s) and produce {@link RestrictionVerdict}(s) + * to be consumed by {@link RestrictionExecutor}(s) + */ +public interface PermissionExaminer { + + Iterable examine(Iterable requirements, + Iterable permissions); + +} diff --git a/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/RestrictionExecutor.java b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/RestrictionExecutor.java new file mode 100644 index 0000000..41a9eb3 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/RestrictionExecutor.java @@ -0,0 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.runtime; + +/** + * + * Realize the {@link RestrictionVerdict}(s) for the licensed feature: + *
  • early exit from command line tools with notice
  • + *
  • blocking dialogs for UI application
  • + *
  • filtering out the UI
  • + *
  • blocking of bundles using OSGi level
  • + * + */ +public interface RestrictionExecutor { + + void execute(Iterable actions); + +} diff --git a/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/RestrictionVerdict.java b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/RestrictionVerdict.java new file mode 100644 index 0000000..2b758c6 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/RestrictionVerdict.java @@ -0,0 +1,27 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.runtime; + +/** + * + * The data required to execute the permission, produced by + * {@link PermissionExaminer} and consumed by {@link RestrictionExecutor} + * + */ +public interface RestrictionVerdict { + + ConfigurationRequirement getConfigurationRequirement(); + + String getRestrictionLevel(); + +} diff --git a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/io/FeaturePermissionTransport.java b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/io/FeaturePermissionTransport.java similarity index 53% rename from bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/io/FeaturePermissionTransport.java rename to bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/io/FeaturePermissionTransport.java index d0d9106..f467408 100644 --- a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/io/FeaturePermissionTransport.java +++ b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/io/FeaturePermissionTransport.java @@ -1,30 +1,22 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.runtime.io; +package org.eclipse.passage.lic.runtime.io; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; -import ru.arsysop.passage.lic.runtime.FeaturePermission; +import org.eclipse.passage.lic.runtime.FeaturePermission; /** * Transport interface for {@link FeaturePermission}(s) diff --git a/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/io/KeyKeeper.java b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/io/KeyKeeper.java new file mode 100644 index 0000000..47cc794 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/io/KeyKeeper.java @@ -0,0 +1,35 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.runtime.io; + +import java.io.IOException; +import java.io.InputStream; + +import org.eclipse.passage.lic.runtime.LicensingConfiguration; + +/** + * Provides the key required for given configuration + * + */ +public interface KeyKeeper { + + /** + * + * @param configuration + * @return the stream to read the key + * @throws IOException + */ + + InputStream openKeyStream(LicensingConfiguration configuration) throws IOException; + +} diff --git a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/io/LicensingConditionTransport.java b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/io/LicensingConditionTransport.java similarity index 53% rename from bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/io/LicensingConditionTransport.java rename to bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/io/LicensingConditionTransport.java index c0da724..f154ada 100644 --- a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/io/LicensingConditionTransport.java +++ b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/io/LicensingConditionTransport.java @@ -1,30 +1,22 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.runtime.io; +package org.eclipse.passage.lic.runtime.io; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; -import ru.arsysop.passage.lic.runtime.LicensingCondition; +import org.eclipse.passage.lic.runtime.LicensingCondition; /** * Transport interface for {@link LicensingCondition}(s) diff --git a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/io/StreamCodec.java b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/io/StreamCodec.java similarity index 54% rename from bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/io/StreamCodec.java rename to bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/io/StreamCodec.java index f24013a..0a268c6 100644 --- a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/io/StreamCodec.java +++ b/bundles/org.eclipse.passage.lic.runtime/src/org/eclipse/passage/lic/runtime/io/StreamCodec.java @@ -1,30 +1,22 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.runtime.io; +package org.eclipse.passage.lic.runtime.io; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; -import ru.arsysop.passage.lic.runtime.ConditionMiner; +import org.eclipse.passage.lic.runtime.ConditionMiner; /** * Coder and decoder for licensing data, used by {@link ConditionMiner} diff --git a/bundles/pom.xml b/bundles/pom.xml index a61a652..5a3d3e3 100644 --- a/bundles/pom.xml +++ b/bundles/pom.xml @@ -1,20 +1,12 @@ - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.base.ui/.project b/bundles/ru.arsysop.passage.lic.base.ui/.project deleted file mode 100644 index efc2318..0000000 --- a/bundles/ru.arsysop.passage.lic.base.ui/.project +++ /dev/null @@ -1,48 +0,0 @@ - - - - ru.arsysop.passage.lic.base.ui - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/bundles/ru.arsysop.passage.lic.base.ui/META-INF/MANIFEST.MF b/bundles/ru.arsysop.passage.lic.base.ui/META-INF/MANIFEST.MF deleted file mode 100644 index 28a1274..0000000 --- a/bundles/ru.arsysop.passage.lic.base.ui/META-INF/MANIFEST.MF +++ /dev/null @@ -1,14 +0,0 @@ -Manifest-Version: 1.0 -Automatic-Module-Name: ru.arsysop.passage.lic.base.ui -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: ru.arsysop.passage.lic.base.ui -Bundle-Version: 0.3.2.qualifier -Bundle-Name: %Bundle-Name -Bundle-Vendor: %Bundle-Vendor -Bundle-Copyright: %Bundle-Copyright -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: ru.arsysop.passage.lic.runtime;bundle-version="0.0.0";visibility:=reexport, - ru.arsysop.passage.lic.registry;bundle-version="0.0.0", - ru.arsysop.passage.lic.base;bundle-version="0.0.0", - org.eclipse.jface -Export-Package: ru.arsysop.passage.lic.base.ui diff --git a/bundles/ru.arsysop.passage.lic.base.ui/OSGI-INF/l10n/bundle.properties b/bundles/ru.arsysop.passage.lic.base.ui/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 6d0ca6d..0000000 --- a/bundles/ru.arsysop.passage.lic.base.ui/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.base.ui -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC Base -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/bundles/ru.arsysop.passage.lic.base.ui/build.properties b/bundles/ru.arsysop.passage.lic.base.ui/build.properties deleted file mode 100644 index 969cf77..0000000 --- a/bundles/ru.arsysop.passage.lic.base.ui/build.properties +++ /dev/null @@ -1,6 +0,0 @@ -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/,\ - icons/ diff --git a/bundles/ru.arsysop.passage.lic.base/.classpath b/bundles/ru.arsysop.passage.lic.base/.classpath deleted file mode 100644 index b32e089..0000000 --- a/bundles/ru.arsysop.passage.lic.base/.classpath +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.base/.project b/bundles/ru.arsysop.passage.lic.base/.project deleted file mode 100644 index 27b10fb..0000000 --- a/bundles/ru.arsysop.passage.lic.base/.project +++ /dev/null @@ -1,48 +0,0 @@ - - - - ru.arsysop.passage.lic.base - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/bundles/ru.arsysop.passage.lic.base/META-INF/MANIFEST.MF b/bundles/ru.arsysop.passage.lic.base/META-INF/MANIFEST.MF deleted file mode 100644 index 1da8f3e..0000000 --- a/bundles/ru.arsysop.passage.lic.base/META-INF/MANIFEST.MF +++ /dev/null @@ -1,11 +0,0 @@ -Manifest-Version: 1.0 -Automatic-Module-Name: ru.arsysop.passage.lic.runtime.base -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: ru.arsysop.passage.lic.base -Bundle-Version: 0.3.2.qualifier -Bundle-Name: %Bundle-Name -Bundle-Vendor: %Bundle-Vendor -Bundle-Copyright: %Bundle-Copyright -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: ru.arsysop.passage.lic.runtime;bundle-version="0.0.0";visibility:=reexport -Export-Package: ru.arsysop.passage.lic.base diff --git a/bundles/ru.arsysop.passage.lic.base/OSGI-INF/l10n/bundle.properties b/bundles/ru.arsysop.passage.lic.base/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index cd1e4bd..0000000 --- a/bundles/ru.arsysop.passage.lic.base/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.base -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC Base -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/bundles/ru.arsysop.passage.lic.base/build.properties b/bundles/ru.arsysop.passage.lic.base/build.properties deleted file mode 100644 index 449b823..0000000 --- a/bundles/ru.arsysop.passage.lic.base/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/ diff --git a/bundles/ru.arsysop.passage.lic.bc/.classpath b/bundles/ru.arsysop.passage.lic.bc/.classpath deleted file mode 100644 index b32e089..0000000 --- a/bundles/ru.arsysop.passage.lic.bc/.classpath +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.bc/.project b/bundles/ru.arsysop.passage.lic.bc/.project deleted file mode 100644 index 6e2ee21..0000000 --- a/bundles/ru.arsysop.passage.lic.bc/.project +++ /dev/null @@ -1,53 +0,0 @@ - - - - ru.arsysop.passage.lic.bc - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.pde.ds.core.builder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/bundles/ru.arsysop.passage.lic.bc/OSGI-INF/l10n/bundle.properties b/bundles/ru.arsysop.passage.lic.bc/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 7bbc360..0000000 --- a/bundles/ru.arsysop.passage.lic.bc/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.bc -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC BC -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/bundles/ru.arsysop.passage.lic.bc/build.properties b/bundles/ru.arsysop.passage.lic.bc/build.properties deleted file mode 100644 index 449b823..0000000 --- a/bundles/ru.arsysop.passage.lic.bc/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/ diff --git a/bundles/ru.arsysop.passage.lic.bc/src/ru/arsysop/passage/lic/bc/BcDigest.java b/bundles/ru.arsysop.passage.lic.bc/src/ru/arsysop/passage/lic/bc/BcDigest.java deleted file mode 100644 index fc44b94..0000000 --- a/bundles/ru.arsysop.passage.lic.bc/src/ru/arsysop/passage/lic/bc/BcDigest.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.bc; - -import org.bouncycastle.crypto.digests.SHA512Digest; - -public class BcDigest { - - private BcDigest() { - //block - } - - public static byte[] calculateDigest(byte[] source) { - final SHA512Digest dig = new SHA512Digest(); - dig.reset(); - dig.update(source, 0, source.length); - final byte[] digest = new byte[dig.getDigestSize()]; - dig.doFinal(digest, 0); - return digest; - } - -} diff --git a/bundles/ru.arsysop.passage.lic.equinox/.classpath b/bundles/ru.arsysop.passage.lic.equinox/.classpath deleted file mode 100644 index b32e089..0000000 --- a/bundles/ru.arsysop.passage.lic.equinox/.classpath +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.equinox/.project b/bundles/ru.arsysop.passage.lic.equinox/.project deleted file mode 100644 index 2e14325..0000000 --- a/bundles/ru.arsysop.passage.lic.equinox/.project +++ /dev/null @@ -1,53 +0,0 @@ - - - - ru.arsysop.passage.lic.equinox - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.pde.ds.core.builder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/bundles/ru.arsysop.passage.lic.equinox/META-INF/p2.inf b/bundles/ru.arsysop.passage.lic.equinox/META-INF/p2.inf deleted file mode 100644 index a90bb95..0000000 --- a/bundles/ru.arsysop.passage.lic.equinox/META-INF/p2.inf +++ /dev/null @@ -1,24 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -provides.0.namespace = licensing.management -provides.0.name = equinox -provides.0.version = 0.3.2 diff --git a/bundles/ru.arsysop.passage.lic.equinox/OSGI-INF/l10n/bundle.properties b/bundles/ru.arsysop.passage.lic.equinox/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 966a7ef..0000000 --- a/bundles/ru.arsysop.passage.lic.equinox/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.equinox -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC Equinox -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/bundles/ru.arsysop.passage.lic.equinox/OSGI-INF/ru.arsysop.passage.lic.internal.equinox.BundleCapabilityResolver.xml b/bundles/ru.arsysop.passage.lic.equinox/OSGI-INF/ru.arsysop.passage.lic.internal.equinox.BundleCapabilityResolver.xml deleted file mode 100644 index f996e31..0000000 --- a/bundles/ru.arsysop.passage.lic.equinox/OSGI-INF/ru.arsysop.passage.lic.internal.equinox.BundleCapabilityResolver.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/bundles/ru.arsysop.passage.lic.equinox/OSGI-INF/ru.arsysop.passage.lic.internal.equinox.EquinoxAccessManager.xml b/bundles/ru.arsysop.passage.lic.equinox/OSGI-INF/ru.arsysop.passage.lic.internal.equinox.EquinoxAccessManager.xml deleted file mode 100644 index eb24ac8..0000000 --- a/bundles/ru.arsysop.passage.lic.equinox/OSGI-INF/ru.arsysop.passage.lic.internal.equinox.EquinoxAccessManager.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.equinox/build.properties b/bundles/ru.arsysop.passage.lic.equinox/build.properties deleted file mode 100644 index 755ea8c..0000000 --- a/bundles/ru.arsysop.passage.lic.equinox/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/ \ No newline at end of file diff --git a/bundles/ru.arsysop.passage.lic.inspector.ui/.classpath b/bundles/ru.arsysop.passage.lic.inspector.ui/.classpath deleted file mode 100644 index b32e089..0000000 --- a/bundles/ru.arsysop.passage.lic.inspector.ui/.classpath +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.inspector.ui/META-INF/MANIFEST.MF b/bundles/ru.arsysop.passage.lic.inspector.ui/META-INF/MANIFEST.MF deleted file mode 100644 index 7738309..0000000 --- a/bundles/ru.arsysop.passage.lic.inspector.ui/META-INF/MANIFEST.MF +++ /dev/null @@ -1,22 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name -Bundle-SymbolicName: ru.arsysop.passage.lic.inspector.ui -Bundle-Version: 0.3.2.qualifier -Bundle-Vendor: %Bundle-Vendor -Require-Bundle: org.eclipse.jface;bundle-version="0.0.0", - org.eclipse.osgi.services;bundle-version="0.0.0", - org.eclipse.e4.core.di, - org.eclipse.e4.core.services;bundle-version="0.0.0", - org.eclipse.e4.core.contexts;bundle-version="0.0.0", - ru.arsysop.passage.lic.base.ui;bundle-version="0.0.0", - ru.arsysop.passage.lic.model.edit;bundle-version="0.0.0", - ru.arsysop.passage.lic.inspector;bundle-version="0.0.0" -Bundle-Copyright: %Bundle-Copyright -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Automatic-Module-Name: ru.arsysop.passage.lic.inspector.ui -Import-Package: javax.inject;version="1.0.0" -Export-Package: ru.arsysop.passage.lic.inspector.ui.dialogs, - ru.arsysop.passage.lic.inspector.ui.hadlers -Service-Component: OSGI-INF/ru.arsysop.passage.lic.internal.inspector.ui.LicesnsingImageRegistry.xml -Bundle-ActivationPolicy: lazy diff --git a/bundles/ru.arsysop.passage.lic.inspector.ui/OSGI-INF/l10n/bundle.properties b/bundles/ru.arsysop.passage.lic.inspector.ui/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 985f348..0000000 --- a/bundles/ru.arsysop.passage.lic.inspector.ui/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.inspector.ui -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC Inspector UI -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/bundles/ru.arsysop.passage.lic.inspector.ui/OSGI-INF/ru.arsysop.passage.lic.internal.inspector.ui.LicesnsingImageRegistry.xml b/bundles/ru.arsysop.passage.lic.inspector.ui/OSGI-INF/ru.arsysop.passage.lic.internal.inspector.ui.LicesnsingImageRegistry.xml deleted file mode 100644 index 882b522..0000000 --- a/bundles/ru.arsysop.passage.lic.inspector.ui/OSGI-INF/ru.arsysop.passage.lic.internal.inspector.ui.LicesnsingImageRegistry.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/bundles/ru.arsysop.passage.lic.inspector.ui/build.properties b/bundles/ru.arsysop.passage.lic.inspector.ui/build.properties deleted file mode 100644 index 901b210..0000000 --- a/bundles/ru.arsysop.passage.lic.inspector.ui/build.properties +++ /dev/null @@ -1,27 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/,\ - icons/ diff --git a/bundles/ru.arsysop.passage.lic.inspector.ui/src/ru/arsysop/passage/lic/inspector/ui/LicInspectorUi.java b/bundles/ru.arsysop.passage.lic.inspector.ui/src/ru/arsysop/passage/lic/inspector/ui/LicInspectorUi.java deleted file mode 100644 index 5b455a4..0000000 --- a/bundles/ru.arsysop.passage.lic.inspector.ui/src/ru/arsysop/passage/lic/inspector/ui/LicInspectorUi.java +++ /dev/null @@ -1,7 +0,0 @@ -package ru.arsysop.passage.lic.inspector.ui; - -public class LicInspectorUi { - - public static final String IMG_INSPECTOR = "IMG_INSPECTOR"; //$NON-NLS-1$ - -} diff --git a/bundles/ru.arsysop.passage.lic.inspector.ui/src/ru/arsysop/passage/lic/inspector/ui/hadlers/InspectHardwareHandler.java b/bundles/ru.arsysop.passage.lic.inspector.ui/src/ru/arsysop/passage/lic/inspector/ui/hadlers/InspectHardwareHandler.java deleted file mode 100644 index 340fc62..0000000 --- a/bundles/ru.arsysop.passage.lic.inspector.ui/src/ru/arsysop/passage/lic/inspector/ui/hadlers/InspectHardwareHandler.java +++ /dev/null @@ -1,38 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.inspector.ui.hadlers; - -import org.eclipse.e4.core.di.annotations.Execute; -import org.eclipse.swt.widgets.Shell; - -import ru.arsysop.passage.lic.base.ui.LicensingImages; -import ru.arsysop.passage.lic.inspector.HardwareInspector; -import ru.arsysop.passage.lic.inspector.ui.dialogs.HardwareInspectorDialog; - -public class InspectHardwareHandler { - - @Execute - public void execute(LicensingImages images, HardwareInspector inspector, Shell shell) { - HardwareInspectorDialog dialog = new HardwareInspectorDialog(images, inspector, shell); - dialog.open(); - } - -} \ No newline at end of file diff --git a/bundles/ru.arsysop.passage.lic.inspector/.classpath b/bundles/ru.arsysop.passage.lic.inspector/.classpath deleted file mode 100644 index b32e089..0000000 --- a/bundles/ru.arsysop.passage.lic.inspector/.classpath +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.inspector/.project b/bundles/ru.arsysop.passage.lic.inspector/.project deleted file mode 100644 index e292dc5..0000000 --- a/bundles/ru.arsysop.passage.lic.inspector/.project +++ /dev/null @@ -1,48 +0,0 @@ - - - - ru.arsysop.passage.lic.inspector - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/bundles/ru.arsysop.passage.lic.inspector/META-INF/MANIFEST.MF b/bundles/ru.arsysop.passage.lic.inspector/META-INF/MANIFEST.MF deleted file mode 100644 index af8298f..0000000 --- a/bundles/ru.arsysop.passage.lic.inspector/META-INF/MANIFEST.MF +++ /dev/null @@ -1,10 +0,0 @@ -Manifest-Version: 1.0 -Automatic-Module-Name: ru.arsysop.passage.lic.inspector -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: ru.arsysop.passage.lic.inspector -Bundle-Version: 0.3.2.qualifier -Bundle-Name: %Bundle-Name -Bundle-Vendor: %Bundle-Vendor -Bundle-Copyright: %Bundle-Copyright -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: ru.arsysop.passage.lic.inspector diff --git a/bundles/ru.arsysop.passage.lic.inspector/OSGI-INF/l10n/bundle.properties b/bundles/ru.arsysop.passage.lic.inspector/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index cb5ab01..0000000 --- a/bundles/ru.arsysop.passage.lic.inspector/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.inspector -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC Inspector -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/bundles/ru.arsysop.passage.lic.inspector/build.properties b/bundles/ru.arsysop.passage.lic.inspector/build.properties deleted file mode 100644 index 449b823..0000000 --- a/bundles/ru.arsysop.passage.lic.inspector/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/ diff --git a/bundles/ru.arsysop.passage.lic.json/.classpath b/bundles/ru.arsysop.passage.lic.json/.classpath deleted file mode 100644 index b32e089..0000000 --- a/bundles/ru.arsysop.passage.lic.json/.classpath +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.json/OSGI-INF/l10n/bundle.properties b/bundles/ru.arsysop.passage.lic.json/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 69587ff..0000000 --- a/bundles/ru.arsysop.passage.lic.json/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.json -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC JSON -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/bundles/ru.arsysop.passage.lic.json/OSGI-INF/ru.arsysop.passage.lic.internal.json.JsonFeaturePermissionTransport.xml b/bundles/ru.arsysop.passage.lic.json/OSGI-INF/ru.arsysop.passage.lic.internal.json.JsonFeaturePermissionTransport.xml deleted file mode 100644 index a279b85..0000000 --- a/bundles/ru.arsysop.passage.lic.json/OSGI-INF/ru.arsysop.passage.lic.internal.json.JsonFeaturePermissionTransport.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/bundles/ru.arsysop.passage.lic.json/OSGI-INF/ru.arsysop.passage.lic.internal.json.JsonLicensingConditionTransport.xml b/bundles/ru.arsysop.passage.lic.json/OSGI-INF/ru.arsysop.passage.lic.internal.json.JsonLicensingConditionTransport.xml deleted file mode 100644 index dd86cfd..0000000 --- a/bundles/ru.arsysop.passage.lic.json/OSGI-INF/ru.arsysop.passage.lic.internal.json.JsonLicensingConditionTransport.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/bundles/ru.arsysop.passage.lic.json/build.properties b/bundles/ru.arsysop.passage.lic.json/build.properties deleted file mode 100644 index 449b823..0000000 --- a/bundles/ru.arsysop.passage.lic.json/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/ diff --git a/bundles/ru.arsysop.passage.lic.json/src/ru/arsysop/passage/lic/internal/json/ConditionDescriptorAggregator.java b/bundles/ru.arsysop.passage.lic.json/src/ru/arsysop/passage/lic/internal/json/ConditionDescriptorAggregator.java deleted file mode 100644 index dc489a1..0000000 --- a/bundles/ru.arsysop.passage.lic.json/src/ru/arsysop/passage/lic/internal/json/ConditionDescriptorAggregator.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.internal.json; - -import java.util.ArrayList; -import java.util.List; - -import ru.arsysop.passage.lic.base.BaseLicensingCondition; - -public class ConditionDescriptorAggregator { - - private final List licensingConditions = new ArrayList<>(); - - public List getLicensingConditions() { - return licensingConditions; - } - - public void addLicensingCondition(BaseLicensingCondition d) { - licensingConditions.add(d); - } - -} diff --git a/bundles/ru.arsysop.passage.lic.json/src/ru/arsysop/passage/lic/internal/json/FeaturePermissionAggregator.java b/bundles/ru.arsysop.passage.lic.json/src/ru/arsysop/passage/lic/internal/json/FeaturePermissionAggregator.java deleted file mode 100644 index 53c8529..0000000 --- a/bundles/ru.arsysop.passage.lic.json/src/ru/arsysop/passage/lic/internal/json/FeaturePermissionAggregator.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.internal.json; - -import java.util.ArrayList; -import java.util.List; - -import ru.arsysop.passage.lic.base.BaseFeaturePermission; - -public class FeaturePermissionAggregator { - - private final List featurePermissions = new ArrayList<>(); - - public void addFeaturePermission(BaseFeaturePermission p) { - featurePermissions.add(p); - } - - public List getFeaturePermissions() { - return featurePermissions; - } - -} diff --git a/bundles/ru.arsysop.passage.lic.json/src/ru/arsysop/passage/lic/internal/json/FeaturePermissionMixln.java b/bundles/ru.arsysop.passage.lic.json/src/ru/arsysop/passage/lic/internal/json/FeaturePermissionMixln.java deleted file mode 100644 index ca3de53..0000000 --- a/bundles/ru.arsysop.passage.lic.json/src/ru/arsysop/passage/lic/internal/json/FeaturePermissionMixln.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.internal.json; - -import com.fasterxml.jackson.annotation.JsonProperty; - -public class FeaturePermissionMixln { - - public FeaturePermissionMixln(@JsonProperty("featureIdentifier") String featureIdentifier, - @JsonProperty("matchVersion") String matchVersion, @JsonProperty("matchRule") String matchRule, - @JsonProperty("leaseTime") String leaseTime, @JsonProperty("expireTime") String expireTime) { - } -} diff --git a/bundles/ru.arsysop.passage.lic.model.core/.classpath b/bundles/ru.arsysop.passage.lic.model.core/.classpath deleted file mode 100644 index b32e089..0000000 --- a/bundles/ru.arsysop.passage.lic.model.core/.classpath +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.model.core/OSGI-INF/l10n/bundle.properties b/bundles/ru.arsysop.passage.lic.model.core/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index f6f4c39..0000000 --- a/bundles/ru.arsysop.passage.lic.model.core/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.model.core -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC Model Core -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/bundles/ru.arsysop.passage.lic.model.core/OSGI-INF/ru.arsysop.passage.lic.model.core.XmiLicensingConditionExtractor.xml b/bundles/ru.arsysop.passage.lic.model.core/OSGI-INF/ru.arsysop.passage.lic.model.core.XmiLicensingConditionExtractor.xml deleted file mode 100644 index 283bc8d..0000000 --- a/bundles/ru.arsysop.passage.lic.model.core/OSGI-INF/ru.arsysop.passage.lic.model.core.XmiLicensingConditionExtractor.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/bundles/ru.arsysop.passage.lic.model.core/build.properties b/bundles/ru.arsysop.passage.lic.model.core/build.properties deleted file mode 100644 index 449b823..0000000 --- a/bundles/ru.arsysop.passage.lic.model.core/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/ diff --git a/bundles/ru.arsysop.passage.lic.model.core/src/ru/arsysop/passage/lic/model/core/LicModelCore.java b/bundles/ru.arsysop.passage.lic.model.core/src/ru/arsysop/passage/lic/model/core/LicModelCore.java deleted file mode 100644 index 2bd6992..0000000 --- a/bundles/ru.arsysop.passage.lic.model.core/src/ru/arsysop/passage/lic/model/core/LicModelCore.java +++ /dev/null @@ -1,49 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.model.core; - -import java.io.IOException; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Status; -import org.eclipse.emf.ecore.resource.Resource; - -public class LicModelCore { - - public static final String BUNDLE_SYMBOLIC_NAME = "ru.arsysop.passage.lic.model.core"; //$NON-NLS-1$ - - public static final String FILE_EXTENSION_FEATURES = "lic_features"; //$NON-NLS-1$ - public static final String FILE_EXTENSION_PRODUCTS = "lic_products"; //$NON-NLS-1$ - - public static final String FILE_EXTENSION_CONDITIONS = "lic_conditions"; //$NON-NLS-1$ - public static final String FILE_EXTENSION_USERS = "lic_users"; //$NON-NLS-1$ - - public static IStatus save(Resource resource) { - try { - //FIXME: define parameters - resource.save(null); - return Status.OK_STATUS; - } catch (IOException e) { - return new Status(IStatus.ERROR, BUNDLE_SYMBOLIC_NAME, "Error saving resource", e); - } - } - -} diff --git a/bundles/ru.arsysop.passage.lic.model.ecore/.classpath b/bundles/ru.arsysop.passage.lic.model.ecore/.classpath deleted file mode 100644 index 2aa7ad2..0000000 --- a/bundles/ru.arsysop.passage.lic.model.ecore/.classpath +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.model.ecore/.project b/bundles/ru.arsysop.passage.lic.model.ecore/.project deleted file mode 100644 index 414c24d..0000000 --- a/bundles/ru.arsysop.passage.lic.model.ecore/.project +++ /dev/null @@ -1,48 +0,0 @@ - - - - ru.arsysop.passage.lic.model.ecore - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - - diff --git a/bundles/ru.arsysop.passage.lic.model.ecore/OSGI-INF/l10n/bundle.properties b/bundles/ru.arsysop.passage.lic.model.ecore/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index f6f9c04..0000000 --- a/bundles/ru.arsysop.passage.lic.model.ecore/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.model.ecore -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC Model Ecore -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/bundles/ru.arsysop.passage.lic.model.ecore/build.properties b/bundles/ru.arsysop.passage.lic.model.ecore/build.properties deleted file mode 100644 index e94bce7..0000000 --- a/bundles/ru.arsysop.passage.lic.model.ecore/build.properties +++ /dev/null @@ -1,24 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -bin.includes = model/,\ - META-INF/,\ - OSGI-INF/ diff --git a/bundles/ru.arsysop.passage.lic.model.edit/.classpath b/bundles/ru.arsysop.passage.lic.model.edit/.classpath deleted file mode 100644 index b618d57..0000000 --- a/bundles/ru.arsysop.passage.lic.model.edit/.classpath +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.model.edit/.project b/bundles/ru.arsysop.passage.lic.model.edit/.project deleted file mode 100644 index a9b3c34..0000000 --- a/bundles/ru.arsysop.passage.lic.model.edit/.project +++ /dev/null @@ -1,53 +0,0 @@ - - - - ru.arsysop.passage.lic.model.edit - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.pde.ds.core.builder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/bundles/ru.arsysop.passage.lic.model.edit/META-INF/MANIFEST.MF b/bundles/ru.arsysop.passage.lic.model.edit/META-INF/MANIFEST.MF deleted file mode 100644 index e376db1..0000000 --- a/bundles/ru.arsysop.passage.lic.model.edit/META-INF/MANIFEST.MF +++ /dev/null @@ -1,18 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: ru.arsysop.passage.lic.model.edit;singleton:=true -Automatic-Module-Name: ru.arsysop.passage.lic.model.edit -Bundle-Version: 0.3.2.qualifier -Bundle-ClassPath: . -Bundle-Activator: ru.arsysop.passage.lic.model.edit.LicEditPlugin$Implementation$Activator -Bundle-Vendor: %providerName -Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: ru.arsysop.passage.lic.model.edit, - ru.arsysop.passage.lic.model.edit.providers -Require-Bundle: org.eclipse.core.runtime;resolution:=optional;x-installation:=greedy, - ru.arsysop.passage.lic.model;visibility:=reexport, - org.eclipse.emf.edit;visibility:=reexport -Import-Package: org.osgi.framework -Bundle-ActivationPolicy: lazy diff --git a/bundles/ru.arsysop.passage.lic.model.edit/build.properties b/bundles/ru.arsysop.passage.lic.model.edit/build.properties deleted file mode 100644 index 9d3a213..0000000 --- a/bundles/ru.arsysop.passage.lic.model.edit/build.properties +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -# - -source.. = src-gen/ -output.. = target/classes/ -bin.includes = .,\ - icons/,\ - META-INF/,\ - plugin.xml,\ - plugin.properties diff --git a/bundles/ru.arsysop.passage.lic.model.edit/plugin.xml b/bundles/ru.arsysop.passage.lic.model.edit/plugin.xml deleted file mode 100644 index b0aac1c..0000000 --- a/bundles/ru.arsysop.passage.lic.model.edit/plugin.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.model/.classpath b/bundles/ru.arsysop.passage.lic.model/.classpath deleted file mode 100644 index b618d57..0000000 --- a/bundles/ru.arsysop.passage.lic.model/.classpath +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.model/.project b/bundles/ru.arsysop.passage.lic.model/.project deleted file mode 100644 index 58afa57..0000000 --- a/bundles/ru.arsysop.passage.lic.model/.project +++ /dev/null @@ -1,48 +0,0 @@ - - - - ru.arsysop.passage.lic.model - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/bundles/ru.arsysop.passage.lic.model/META-INF/MANIFEST.MF b/bundles/ru.arsysop.passage.lic.model/META-INF/MANIFEST.MF deleted file mode 100644 index 7070a58..0000000 --- a/bundles/ru.arsysop.passage.lic.model/META-INF/MANIFEST.MF +++ /dev/null @@ -1,20 +0,0 @@ -Manifest-Version: 1.0 -Automatic-Module-Name: ru.arsysop.passage.lic.model -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: ru.arsysop.passage.lic.model;singleton:=true -Bundle-Version: 0.3.2.qualifier -Bundle-Name: %pluginName -Bundle-Vendor: %providerName -Bundle-Copyright: %pluginCopyright -Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: org.eclipse.core.runtime;resolution:=optional;x-installation:=greedy, - org.eclipse.emf.ecore;visibility:=reexport, - ru.arsysop.passage.lic.runtime;bundle-version="0.0.0";visibility:=reexport, - ru.arsysop.passage.lic.registry;bundle-version="0.0.0";visibility:=reexport -Export-Package: ru.arsysop.passage.lic.model.api, - ru.arsysop.passage.lic.model.impl, - ru.arsysop.passage.lic.model.meta, - ru.arsysop.passage.lic.model.util -Bundle-ClassPath: . -Bundle-ActivationPolicy: lazy diff --git a/bundles/ru.arsysop.passage.lic.model/build.properties b/bundles/ru.arsysop.passage.lic.model/build.properties deleted file mode 100644 index 4c142f3..0000000 --- a/bundles/ru.arsysop.passage.lic.model/build.properties +++ /dev/null @@ -1,28 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src-gen/ -output.. = target/classes -bin.includes = .,\ - model/,\ - META-INF/,\ - plugin.xml,\ - plugin.properties diff --git a/bundles/ru.arsysop.passage.lic.model/model/lic.genmodel b/bundles/ru.arsysop.passage.lic.model/model/lic.genmodel deleted file mode 100644 index 37657d7..0000000 --- a/bundles/ru.arsysop.passage.lic.model/model/lic.genmodel +++ /dev/null @@ -1,107 +0,0 @@ - - - platform:/resource/ru.arsysop.passage.lic.model.ecore/model/lic.ecore - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.model/plugin.properties b/bundles/ru.arsysop.passage.lic.model/plugin.properties deleted file mode 100644 index de0c0b9..0000000 --- a/bundles/ru.arsysop.passage.lic.model/plugin.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.runtime.model -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -pluginName = Passage LIC Model -providerName = ArSysOp -pluginCopyright = Copyright (c) 2018 ArSysOp diff --git a/bundles/ru.arsysop.passage.lic.model/plugin.xml b/bundles/ru.arsysop.passage.lic.model/plugin.xml deleted file mode 100644 index 2d45f0d..0000000 --- a/bundles/ru.arsysop.passage.lic.model/plugin.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.net/.classpath b/bundles/ru.arsysop.passage.lic.net/.classpath deleted file mode 100644 index b32e089..0000000 --- a/bundles/ru.arsysop.passage.lic.net/.classpath +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.net/.project b/bundles/ru.arsysop.passage.lic.net/.project deleted file mode 100644 index 6022f3f..0000000 --- a/bundles/ru.arsysop.passage.lic.net/.project +++ /dev/null @@ -1,53 +0,0 @@ - - - - ru.arsysop.passage.lic.net - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.pde.ds.core.builder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/bundles/ru.arsysop.passage.lic.net/OSGI-INF/l10n/bundle.properties b/bundles/ru.arsysop.passage.lic.net/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 9a996c4..0000000 --- a/bundles/ru.arsysop.passage.lic.net/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.net -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC Net -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/bundles/ru.arsysop.passage.lic.net/OSGI-INF/ru.arsysop.passage.lic.internal.net.NtpConditionEvaluator.xml b/bundles/ru.arsysop.passage.lic.net/OSGI-INF/ru.arsysop.passage.lic.internal.net.NtpConditionEvaluator.xml deleted file mode 100644 index 22adfc4..0000000 --- a/bundles/ru.arsysop.passage.lic.net/OSGI-INF/ru.arsysop.passage.lic.internal.net.NtpConditionEvaluator.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.net/build.properties b/bundles/ru.arsysop.passage.lic.net/build.properties deleted file mode 100644 index 3571c40..0000000 --- a/bundles/ru.arsysop.passage.lic.net/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/,\ diff --git a/bundles/ru.arsysop.passage.lic.oshi/.classpath b/bundles/ru.arsysop.passage.lic.oshi/.classpath deleted file mode 100644 index b32e089..0000000 --- a/bundles/ru.arsysop.passage.lic.oshi/.classpath +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.oshi/.project b/bundles/ru.arsysop.passage.lic.oshi/.project deleted file mode 100644 index 478466c..0000000 --- a/bundles/ru.arsysop.passage.lic.oshi/.project +++ /dev/null @@ -1,53 +0,0 @@ - - - - ru.arsysop.passage.lic.oshi - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.pde.ds.core.builder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/bundles/ru.arsysop.passage.lic.oshi/META-INF/MANIFEST.MF b/bundles/ru.arsysop.passage.lic.oshi/META-INF/MANIFEST.MF deleted file mode 100644 index 9b1bde1..0000000 --- a/bundles/ru.arsysop.passage.lic.oshi/META-INF/MANIFEST.MF +++ /dev/null @@ -1,20 +0,0 @@ -Manifest-Version: 1.0 -Automatic-Module-Name: ru.arsysop.passage.lic.oshi -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: ru.arsysop.passage.lic.oshi -Bundle-Version: 0.3.2.qualifier -Bundle-Name: %Bundle-Name -Bundle-Vendor: %Bundle-Vendor -Bundle-Copyright: %Bundle-Copyright -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: com.sun.jna;bundle-version="4.5.1", - com.sun.jna.platform;bundle-version="4.5.1", - org.eclipse.osgi.services;bundle-version="0.0.0", - ru.arsysop.passage.brc.oshi;bundle-version="0.0.0", - ru.arsysop.passage.lic.runtime;bundle-version="0.0.0", - ru.arsysop.passage.lic.base;bundle-version="0.0.0", - ru.arsysop.passage.lic.inspector;bundle-version="0.0.0";visibility:=reexport -Export-Package: ru.arsysop.passage.lic.internal.oshi;x-internal:=true, - ru.arsysop.passage.lic.oshi -Bundle-ActivationPolicy: lazy -Service-Component: OSGI-INF/*.xml diff --git a/bundles/ru.arsysop.passage.lic.oshi/OSGI-INF/l10n/bundle.properties b/bundles/ru.arsysop.passage.lic.oshi/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index c6000a4..0000000 --- a/bundles/ru.arsysop.passage.lic.oshi/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.oshi -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC OSHI -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/bundles/ru.arsysop.passage.lic.oshi/OSGI-INF/ru.arsysop.passage.lic.internal.oshi.OshiHardwareInspector.xml b/bundles/ru.arsysop.passage.lic.oshi/OSGI-INF/ru.arsysop.passage.lic.internal.oshi.OshiHardwareInspector.xml deleted file mode 100644 index 9c60321..0000000 --- a/bundles/ru.arsysop.passage.lic.oshi/OSGI-INF/ru.arsysop.passage.lic.internal.oshi.OshiHardwareInspector.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.oshi/build.properties b/bundles/ru.arsysop.passage.lic.oshi/build.properties deleted file mode 100644 index 755ea8c..0000000 --- a/bundles/ru.arsysop.passage.lic.oshi/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/ \ No newline at end of file diff --git a/bundles/ru.arsysop.passage.lic.registry/.classpath b/bundles/ru.arsysop.passage.lic.registry/.classpath deleted file mode 100644 index b32e089..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/.classpath +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.registry/.project b/bundles/ru.arsysop.passage.lic.registry/.project deleted file mode 100644 index 4832471..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/.project +++ /dev/null @@ -1,48 +0,0 @@ - - - - ru.arsysop.passage.lic.registry - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/bundles/ru.arsysop.passage.lic.registry/META-INF/MANIFEST.MF b/bundles/ru.arsysop.passage.lic.registry/META-INF/MANIFEST.MF deleted file mode 100644 index 5e253e2..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/META-INF/MANIFEST.MF +++ /dev/null @@ -1,11 +0,0 @@ -Manifest-Version: 1.0 -Automatic-Module-Name: ru.arsysop.passage.lic.registry -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: ru.arsysop.passage.lic.registry -Bundle-Version: 0.3.2.qualifier -Bundle-Name: %Bundle-Name -Bundle-Vendor: %Bundle-Vendor -Bundle-Copyright: %Bundle-Copyright -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: ru.arsysop.passage.lic.runtime;bundle-version="0.0.0" -Export-Package: ru.arsysop.passage.lic.registry diff --git a/bundles/ru.arsysop.passage.lic.registry/OSGI-INF/l10n/bundle.properties b/bundles/ru.arsysop.passage.lic.registry/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 05aa8fa..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.registry -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC Registry -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/bundles/ru.arsysop.passage.lic.registry/build.properties b/bundles/ru.arsysop.passage.lic.registry/build.properties deleted file mode 100644 index 6e1747e..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - OSGI-INF/,\ - . diff --git a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/DescriptorRegistry.java b/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/DescriptorRegistry.java deleted file mode 100644 index dec634a..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/DescriptorRegistry.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.registry; - -public interface DescriptorRegistry { - - void registerSource(String source); - - void unregisterSource(String source); - - Iterable getSources(); - -} diff --git a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/FeatureDescriptor.java b/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/FeatureDescriptor.java deleted file mode 100644 index 105d755..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/FeatureDescriptor.java +++ /dev/null @@ -1,33 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.registry; - -public interface FeatureDescriptor extends Identified { - - String getName(); - - String getDescription(); - - FeatureSetDescriptor getFeatureSet(); - - Iterable getFeatureVersions(); - -} diff --git a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/FeatureSetDescriptor.java b/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/FeatureSetDescriptor.java deleted file mode 100644 index 7d9adc7..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/FeatureSetDescriptor.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.registry; - -public interface FeatureSetDescriptor extends Identified { - - String getName(); - - String getDescription(); - - Iterable getFeatures(); - -} diff --git a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/FeatureVersionDescriptor.java b/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/FeatureVersionDescriptor.java deleted file mode 100644 index e9d4973..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/FeatureVersionDescriptor.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.registry; - -public interface FeatureVersionDescriptor { - - public String getVersion(); - - public String getNews(); - - public FeatureDescriptor getFeature(); - -} diff --git a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/Identified.java b/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/Identified.java deleted file mode 100644 index c65555f..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/Identified.java +++ /dev/null @@ -1,27 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.registry; - -public interface Identified { - - String getIdentifier(); - -} diff --git a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/LicenseGrantDescriptor.java b/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/LicenseGrantDescriptor.java deleted file mode 100644 index 0c3971b..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/LicenseGrantDescriptor.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.registry; - -import ru.arsysop.passage.lic.runtime.LicensingCondition; - -public interface LicenseGrantDescriptor extends LicensingCondition { - - int getCapacity(); - - LicensePackDescriptor getLicensePack(); - -} diff --git a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/LicensePackDescriptor.java b/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/LicensePackDescriptor.java deleted file mode 100644 index ee49742..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/LicensePackDescriptor.java +++ /dev/null @@ -1,27 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.registry; - -public interface LicensePackDescriptor extends Identified { - - Iterable getLicenseGrants(); - -} diff --git a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/LicenseRegistry.java b/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/LicenseRegistry.java deleted file mode 100644 index 58b9735..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/LicenseRegistry.java +++ /dev/null @@ -1,33 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.registry; - -public interface LicenseRegistry extends DescriptorRegistry { - - Iterable getLicensePacks(); - - Iterable getUserLicensePacks(String userId); - - Iterable getProductVersionLicensePacks(String productId, String version); - - LicensePackDescriptor getLicensePack(String licensePackId); - -} diff --git a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/ProductDescriptor.java b/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/ProductDescriptor.java deleted file mode 100644 index 5020f28..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/ProductDescriptor.java +++ /dev/null @@ -1,33 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.registry; - -public interface ProductDescriptor extends Identified { - - String getName(); - - String getDescription(); - - ProductLineDescriptor getProductLine(); - - Iterable getProductVersions(); - -} diff --git a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/ProductLineDescriptor.java b/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/ProductLineDescriptor.java deleted file mode 100644 index 60bf34d..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/ProductLineDescriptor.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.registry; - -public interface ProductLineDescriptor extends Identified { - - String getName(); - - String getDescription(); - - Iterable getProducts(); - -} diff --git a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/ProductVersionDescriptor.java b/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/ProductVersionDescriptor.java deleted file mode 100644 index decbcd0..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/ProductVersionDescriptor.java +++ /dev/null @@ -1,37 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.registry; - -public interface ProductVersionDescriptor { - - String getVersion(); - - public String getNews(); - - String getInstallationToken(); - - String getSecureToken(); - - ProductDescriptor getProduct(); - - Iterable getProductVersionFeatures(); - -} diff --git a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/ProductVersionFeatureDescriptor.java b/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/ProductVersionFeatureDescriptor.java deleted file mode 100644 index 21abb00..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/ProductVersionFeatureDescriptor.java +++ /dev/null @@ -1,33 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.registry; - -public interface ProductVersionFeatureDescriptor { - - String getFeatureIdentifier(); - - String getFeatureVersion(); - - String getRestrictionLevel(); - - ProductVersionDescriptor getProductVersion(); - -} diff --git a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/UserDescriptor.java b/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/UserDescriptor.java deleted file mode 100644 index af6d030..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/UserDescriptor.java +++ /dev/null @@ -1,33 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.registry; - -public interface UserDescriptor extends Identified { - - String getEmail(); - - String getFullName(); - - String getDescription(); - - UserOriginDescriptor getUserOrigin(); - -} diff --git a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/UserOriginDescriptor.java b/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/UserOriginDescriptor.java deleted file mode 100644 index f7ee1a8..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/UserOriginDescriptor.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.registry; - -public interface UserOriginDescriptor extends Identified { - - String getName(); - - String getDescription(); - - Iterable getUsers(); - -} diff --git a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/UserRegistry.java b/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/UserRegistry.java deleted file mode 100644 index b820654..0000000 --- a/bundles/ru.arsysop.passage.lic.registry/src/ru/arsysop/passage/lic/registry/UserRegistry.java +++ /dev/null @@ -1,35 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.registry; - -public interface UserRegistry extends DescriptorRegistry { - - Iterable getUserOrigins(); - - UserOriginDescriptor getUserOrigin(String userOriginId); - - Iterable getUsers(); - - Iterable getUsers(String userOriginId); - - UserDescriptor getUser(String userId); - -} diff --git a/bundles/ru.arsysop.passage.lic.runtime/.classpath b/bundles/ru.arsysop.passage.lic.runtime/.classpath deleted file mode 100644 index b32e089..0000000 --- a/bundles/ru.arsysop.passage.lic.runtime/.classpath +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - diff --git a/bundles/ru.arsysop.passage.lic.runtime/META-INF/MANIFEST.MF b/bundles/ru.arsysop.passage.lic.runtime/META-INF/MANIFEST.MF deleted file mode 100644 index 93751d6..0000000 --- a/bundles/ru.arsysop.passage.lic.runtime/META-INF/MANIFEST.MF +++ /dev/null @@ -1,11 +0,0 @@ -Manifest-Version: 1.0 -Automatic-Module-Name: ru.arsysop.passage.lic.runtime -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: ru.arsysop.passage.lic.runtime -Bundle-Version: 0.3.2.qualifier -Bundle-Name: %Bundle-Name -Bundle-Vendor: %Bundle-Vendor -Bundle-Copyright: %Bundle-Copyright -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: ru.arsysop.passage.lic.runtime, - ru.arsysop.passage.lic.runtime.io diff --git a/bundles/ru.arsysop.passage.lic.runtime/OSGI-INF/l10n/bundle.properties b/bundles/ru.arsysop.passage.lic.runtime/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 4349429..0000000 --- a/bundles/ru.arsysop.passage.lic.runtime/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.runtime -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC Runtime -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/bundles/ru.arsysop.passage.lic.runtime/build.properties b/bundles/ru.arsysop.passage.lic.runtime/build.properties deleted file mode 100644 index 449b823..0000000 --- a/bundles/ru.arsysop.passage.lic.runtime/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/ diff --git a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/ConditionEvaluator.java b/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/ConditionEvaluator.java deleted file mode 100644 index f89921f..0000000 --- a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/ConditionEvaluator.java +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.runtime; - -/** - * Evaluates the collection of {@link LicensingCondition} to obtain a - * collection of {@link FeaturePermission} - * - */ -public interface ConditionEvaluator { - - Iterable evaluateConditions(Iterable conditions, LicensingConfiguration configuration); - -} diff --git a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/ConditionMiner.java b/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/ConditionMiner.java deleted file mode 100644 index 3d24816..0000000 --- a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/ConditionMiner.java +++ /dev/null @@ -1,38 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.runtime; - -/** - * The miner to extract {@link LicensingCondition}(s) from different sources: - *
  • local file system
  • - *
  • network server
  • - *
  • etc
  • - */ -public interface ConditionMiner { - - /** - * - * @param configuration - * @return - */ - Iterable extractLicensingConditions(LicensingConfiguration configuration); - -} diff --git a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/ConfigurationResolver.java b/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/ConfigurationResolver.java deleted file mode 100644 index 0122f95..0000000 --- a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/ConfigurationResolver.java +++ /dev/null @@ -1,38 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.runtime; - -/** - * - * Resolves the given configuration and produces - * {@link ConfigurationRequirement}(s). - * - */ -public interface ConfigurationResolver { - - /** - * - * @param configuration - * @return - */ - Iterable resolveConfigurationRequirements(LicensingConfiguration configuration); - -} diff --git a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/FeaturePermission.java b/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/FeaturePermission.java deleted file mode 100644 index 2d2ef51..0000000 --- a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/FeaturePermission.java +++ /dev/null @@ -1,39 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.runtime; - -import java.util.Date; - -/** - * Permission to use the component of given name and version range obtained from - * {@link ConditionEvaluator} as a result of evaluation for - * {@link LicensingCondition} - */ -public interface FeaturePermission { - - LicensingCondition getLicensingCondition(); - - LicensingConfiguration getLicensingConfiguration(); - - Date getLeaseDate(); - - Date getExpireDate(); -} diff --git a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/LicensingConfiguration.java b/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/LicensingConfiguration.java deleted file mode 100644 index 7c38fe4..0000000 --- a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/LicensingConfiguration.java +++ /dev/null @@ -1,29 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.runtime; - -public interface LicensingConfiguration { - - String getProductIdentifier(); - - String getProductVersion(); - -} diff --git a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/PermissionExaminer.java b/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/PermissionExaminer.java deleted file mode 100644 index ddced57..0000000 --- a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/PermissionExaminer.java +++ /dev/null @@ -1,33 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.runtime; - -/** - * Examines how {@link FeaturePermission}(s) cover the - * {@link ConfigurationRequirement}(s) and produce {@link RestrictionVerdict}(s) - * to be consumed by {@link RestrictionExecutor}(s) - */ -public interface PermissionExaminer { - - Iterable examine(Iterable requirements, - Iterable permissions); - -} diff --git a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/RestrictionExecutor.java b/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/RestrictionExecutor.java deleted file mode 100644 index 0a870dc..0000000 --- a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/RestrictionExecutor.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.runtime; - -/** - * - * Realize the {@link RestrictionVerdict}(s) for the licensed feature: - *
  • early exit from command line tools with notice
  • - *
  • blocking dialogs for UI application
  • - *
  • filtering out the UI
  • - *
  • blocking of bundles using OSGi level
  • - * - */ -public interface RestrictionExecutor { - - void execute(Iterable actions); - -} diff --git a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/RestrictionVerdict.java b/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/RestrictionVerdict.java deleted file mode 100644 index 892f1b2..0000000 --- a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/RestrictionVerdict.java +++ /dev/null @@ -1,35 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.runtime; - -/** - * - * The data required to execute the permission, produced by - * {@link PermissionExaminer} and consumed by {@link RestrictionExecutor} - * - */ -public interface RestrictionVerdict { - - ConfigurationRequirement getConfigurationRequirement(); - - String getRestrictionLevel(); - -} diff --git a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/io/KeyKeeper.java b/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/io/KeyKeeper.java deleted file mode 100644 index 07113da..0000000 --- a/bundles/ru.arsysop.passage.lic.runtime/src/ru/arsysop/passage/lic/runtime/io/KeyKeeper.java +++ /dev/null @@ -1,43 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.runtime.io; - -import java.io.IOException; -import java.io.InputStream; - -import ru.arsysop.passage.lic.runtime.LicensingConfiguration; - -/** - * Provides the key required for given configuration - * - */ -public interface KeyKeeper { - - /** - * - * @param configuration - * @return the stream to read the key - * @throws IOException - */ - - InputStream openKeyStream(LicensingConfiguration configuration) throws IOException; - -} diff --git a/features/org.eclipse.passage.lic.bc.feature/.project b/features/org.eclipse.passage.lic.bc.feature/.project new file mode 100644 index 0000000..af9d7f2 --- /dev/null +++ b/features/org.eclipse.passage.lic.bc.feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.passage.lic.bc.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/features/ru.arsysop.passage.lic.equinox.feature/.settings/org.sonarlint.eclipse.core.prefs b/features/org.eclipse.passage.lic.bc.feature/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from features/ru.arsysop.passage.lic.equinox.feature/.settings/org.sonarlint.eclipse.core.prefs rename to features/org.eclipse.passage.lic.bc.feature/.settings/org.sonarlint.eclipse.core.prefs diff --git a/features/org.eclipse.passage.lic.bc.feature/build.properties b/features/org.eclipse.passage.lic.bc.feature/build.properties new file mode 100644 index 0000000..6dc34af --- /dev/null +++ b/features/org.eclipse.passage.lic.bc.feature/build.properties @@ -0,0 +1,15 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +bin.includes = feature.xml,\ + feature.properties diff --git a/features/org.eclipse.passage.lic.bc.feature/feature.properties b/features/org.eclipse.passage.lic.bc.feature/feature.properties new file mode 100644 index 0000000..d77609b --- /dev/null +++ b/features/org.eclipse.passage.lic.bc.feature/feature.properties @@ -0,0 +1,25 @@ +#Properties file for org.eclipse.passage.lic.bc.feature +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +featureName=Passage LIC BC +providerName=Eclipse Passage +description=Passage Licensing Integration Components: Bouncy Castle integration +copyright=Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ + diff --git a/features/org.eclipse.passage.lic.bc.feature/feature.xml b/features/org.eclipse.passage.lic.bc.feature/feature.xml new file mode 100644 index 0000000..7a7a64f --- /dev/null +++ b/features/org.eclipse.passage.lic.bc.feature/feature.xml @@ -0,0 +1,45 @@ + + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + diff --git a/features/org.eclipse.passage.lic.equinox.feature/.project b/features/org.eclipse.passage.lic.equinox.feature/.project new file mode 100644 index 0000000..a97d2ef --- /dev/null +++ b/features/org.eclipse.passage.lic.equinox.feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.passage.lic.equinox.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/features/ru.arsysop.passage.lic.feature/.settings/org.sonarlint.eclipse.core.prefs b/features/org.eclipse.passage.lic.equinox.feature/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from features/ru.arsysop.passage.lic.feature/.settings/org.sonarlint.eclipse.core.prefs rename to features/org.eclipse.passage.lic.equinox.feature/.settings/org.sonarlint.eclipse.core.prefs diff --git a/features/org.eclipse.passage.lic.equinox.feature/build.properties b/features/org.eclipse.passage.lic.equinox.feature/build.properties new file mode 100644 index 0000000..6dc34af --- /dev/null +++ b/features/org.eclipse.passage.lic.equinox.feature/build.properties @@ -0,0 +1,15 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +bin.includes = feature.xml,\ + feature.properties diff --git a/features/org.eclipse.passage.lic.equinox.feature/feature.properties b/features/org.eclipse.passage.lic.equinox.feature/feature.properties new file mode 100644 index 0000000..196ee90 --- /dev/null +++ b/features/org.eclipse.passage.lic.equinox.feature/feature.properties @@ -0,0 +1,25 @@ +#Properties file for org.eclipse.passage.lic.equinox.feature +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +featureName=Passage LIC Equinox +providerName=Eclipse Passage +description=Passage Licensing Integration Components Equinox includes runtime interfaces and its implementation for Eclipse Equinox +copyright=Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ + diff --git a/features/org.eclipse.passage.lic.equinox.feature/feature.xml b/features/org.eclipse.passage.lic.equinox.feature/feature.xml new file mode 100644 index 0000000..4194758 --- /dev/null +++ b/features/org.eclipse.passage.lic.equinox.feature/feature.xml @@ -0,0 +1,76 @@ + + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + + + + + diff --git a/features/org.eclipse.passage.lic.feature/.project b/features/org.eclipse.passage.lic.feature/.project new file mode 100644 index 0000000..2218c1d --- /dev/null +++ b/features/org.eclipse.passage.lic.feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.passage.lic.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/features/ru.arsysop.passage.lic.inspector.feature/.settings/org.sonarlint.eclipse.core.prefs b/features/org.eclipse.passage.lic.feature/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from features/ru.arsysop.passage.lic.inspector.feature/.settings/org.sonarlint.eclipse.core.prefs rename to features/org.eclipse.passage.lic.feature/.settings/org.sonarlint.eclipse.core.prefs diff --git a/features/org.eclipse.passage.lic.feature/build.properties b/features/org.eclipse.passage.lic.feature/build.properties new file mode 100644 index 0000000..6dc34af --- /dev/null +++ b/features/org.eclipse.passage.lic.feature/build.properties @@ -0,0 +1,15 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +bin.includes = feature.xml,\ + feature.properties diff --git a/features/org.eclipse.passage.lic.feature/feature.properties b/features/org.eclipse.passage.lic.feature/feature.properties new file mode 100644 index 0000000..4e8b6bb --- /dev/null +++ b/features/org.eclipse.passage.lic.feature/feature.properties @@ -0,0 +1,25 @@ +#Properties file for org.eclipse.passage.lic.feature +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +featureName=Passage Licensing Integration Components +providerName=Eclipse Passage +description=Passage Licensing Integration Components layer includes interfaces and its implementation for Eclipse Equinox +copyright=Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ + diff --git a/features/org.eclipse.passage.lic.feature/feature.xml b/features/org.eclipse.passage.lic.feature/feature.xml new file mode 100644 index 0000000..a93c238 --- /dev/null +++ b/features/org.eclipse.passage.lic.feature/feature.xml @@ -0,0 +1,54 @@ + + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + + + diff --git a/features/org.eclipse.passage.lic.inspector.feature/.project b/features/org.eclipse.passage.lic.inspector.feature/.project new file mode 100644 index 0000000..2313f56 --- /dev/null +++ b/features/org.eclipse.passage.lic.inspector.feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.passage.lic.inspector.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/features/ru.arsysop.passage.lic.json.feature/.settings/org.sonarlint.eclipse.core.prefs b/features/org.eclipse.passage.lic.inspector.feature/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from features/ru.arsysop.passage.lic.json.feature/.settings/org.sonarlint.eclipse.core.prefs rename to features/org.eclipse.passage.lic.inspector.feature/.settings/org.sonarlint.eclipse.core.prefs diff --git a/features/org.eclipse.passage.lic.inspector.feature/build.properties b/features/org.eclipse.passage.lic.inspector.feature/build.properties new file mode 100644 index 0000000..6dc34af --- /dev/null +++ b/features/org.eclipse.passage.lic.inspector.feature/build.properties @@ -0,0 +1,15 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +bin.includes = feature.xml,\ + feature.properties diff --git a/features/org.eclipse.passage.lic.inspector.feature/feature.properties b/features/org.eclipse.passage.lic.inspector.feature/feature.properties new file mode 100644 index 0000000..33fac23 --- /dev/null +++ b/features/org.eclipse.passage.lic.inspector.feature/feature.properties @@ -0,0 +1,26 @@ +#Properties file for org.eclipse.passage.lic.inspector.feature +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +featureName=Passage LIC Inspector +providerName=Eclipse Passage +description=Passage Licensing Integration Components: Configuration and Requirements Inspector +copyright=Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ + + diff --git a/features/org.eclipse.passage.lic.inspector.feature/feature.xml b/features/org.eclipse.passage.lic.inspector.feature/feature.xml new file mode 100644 index 0000000..063dc25 --- /dev/null +++ b/features/org.eclipse.passage.lic.inspector.feature/feature.xml @@ -0,0 +1,60 @@ + + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + + + + diff --git a/features/org.eclipse.passage.lic.json.feature/.project b/features/org.eclipse.passage.lic.json.feature/.project new file mode 100644 index 0000000..ec64991 --- /dev/null +++ b/features/org.eclipse.passage.lic.json.feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.passage.lic.json.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/features/ru.arsysop.passage.lic.model.feature/.settings/org.sonarlint.eclipse.core.prefs b/features/org.eclipse.passage.lic.json.feature/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from features/ru.arsysop.passage.lic.model.feature/.settings/org.sonarlint.eclipse.core.prefs rename to features/org.eclipse.passage.lic.json.feature/.settings/org.sonarlint.eclipse.core.prefs diff --git a/features/org.eclipse.passage.lic.json.feature/build.properties b/features/org.eclipse.passage.lic.json.feature/build.properties new file mode 100644 index 0000000..6dc34af --- /dev/null +++ b/features/org.eclipse.passage.lic.json.feature/build.properties @@ -0,0 +1,15 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +bin.includes = feature.xml,\ + feature.properties diff --git a/features/org.eclipse.passage.lic.json.feature/feature.properties b/features/org.eclipse.passage.lic.json.feature/feature.properties new file mode 100644 index 0000000..468fc6d --- /dev/null +++ b/features/org.eclipse.passage.lic.json.feature/feature.properties @@ -0,0 +1,25 @@ +#Properties file for org.eclipse.passage.lic.json.feature +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +featureName=Passage LIC JSON +providerName=Eclipse Passage +description=Passage Licensing Integration Components: JSON support +copyright=Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ + diff --git a/features/org.eclipse.passage.lic.json.feature/feature.xml b/features/org.eclipse.passage.lic.json.feature/feature.xml new file mode 100644 index 0000000..28c867f --- /dev/null +++ b/features/org.eclipse.passage.lic.json.feature/feature.xml @@ -0,0 +1,46 @@ + + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + diff --git a/features/org.eclipse.passage.lic.model.feature/.project b/features/org.eclipse.passage.lic.model.feature/.project new file mode 100644 index 0000000..0cb2294 --- /dev/null +++ b/features/org.eclipse.passage.lic.model.feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.passage.lic.model.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/features/ru.arsysop.passage.lic.net.feature/.settings/org.sonarlint.eclipse.core.prefs b/features/org.eclipse.passage.lic.model.feature/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from features/ru.arsysop.passage.lic.net.feature/.settings/org.sonarlint.eclipse.core.prefs rename to features/org.eclipse.passage.lic.model.feature/.settings/org.sonarlint.eclipse.core.prefs diff --git a/features/org.eclipse.passage.lic.model.feature/build.properties b/features/org.eclipse.passage.lic.model.feature/build.properties new file mode 100644 index 0000000..6dc34af --- /dev/null +++ b/features/org.eclipse.passage.lic.model.feature/build.properties @@ -0,0 +1,15 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +bin.includes = feature.xml,\ + feature.properties diff --git a/features/org.eclipse.passage.lic.model.feature/feature.properties b/features/org.eclipse.passage.lic.model.feature/feature.properties new file mode 100644 index 0000000..d178a13 --- /dev/null +++ b/features/org.eclipse.passage.lic.model.feature/feature.properties @@ -0,0 +1,25 @@ +#Properties file for org.eclipse.passage.lic.model.feature +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +featureName=Passage LIC Model +providerName=Eclipse Passage +description=Passage Licensing Integration Components: EMF Model API for Licensing data +copyright=Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ + diff --git a/features/org.eclipse.passage.lic.model.feature/feature.xml b/features/org.eclipse.passage.lic.model.feature/feature.xml new file mode 100644 index 0000000..960f36d --- /dev/null +++ b/features/org.eclipse.passage.lic.model.feature/feature.xml @@ -0,0 +1,59 @@ + + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + + + + + diff --git a/features/org.eclipse.passage.lic.net.feature/.project b/features/org.eclipse.passage.lic.net.feature/.project new file mode 100644 index 0000000..54b3831 --- /dev/null +++ b/features/org.eclipse.passage.lic.net.feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.passage.lic.net.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/features/ru.arsysop.passage.lic.oshi.feature/.settings/org.sonarlint.eclipse.core.prefs b/features/org.eclipse.passage.lic.net.feature/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from features/ru.arsysop.passage.lic.oshi.feature/.settings/org.sonarlint.eclipse.core.prefs rename to features/org.eclipse.passage.lic.net.feature/.settings/org.sonarlint.eclipse.core.prefs diff --git a/features/org.eclipse.passage.lic.net.feature/build.properties b/features/org.eclipse.passage.lic.net.feature/build.properties new file mode 100644 index 0000000..6dc34af --- /dev/null +++ b/features/org.eclipse.passage.lic.net.feature/build.properties @@ -0,0 +1,15 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +bin.includes = feature.xml,\ + feature.properties diff --git a/features/org.eclipse.passage.lic.net.feature/feature.properties b/features/org.eclipse.passage.lic.net.feature/feature.properties new file mode 100644 index 0000000..f7eca6c --- /dev/null +++ b/features/org.eclipse.passage.lic.net.feature/feature.properties @@ -0,0 +1,25 @@ +#Properties file for org.eclipse.passage.lic.net.feature +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +featureName=Passage LIC Net +providerName=Eclipse Passage +description=Passage Licensing Integration Components: Network facilities integration +copyright=Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ + diff --git a/features/org.eclipse.passage.lic.net.feature/feature.xml b/features/org.eclipse.passage.lic.net.feature/feature.xml new file mode 100644 index 0000000..2b00d02 --- /dev/null +++ b/features/org.eclipse.passage.lic.net.feature/feature.xml @@ -0,0 +1,45 @@ + + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + diff --git a/features/org.eclipse.passage.lic.oshi.feature/.project b/features/org.eclipse.passage.lic.oshi.feature/.project new file mode 100644 index 0000000..f044f92 --- /dev/null +++ b/features/org.eclipse.passage.lic.oshi.feature/.project @@ -0,0 +1,17 @@ + + + org.eclipse.passage.lic.oshi.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/tests/ru.arsysop.passage.lic.base.tests/.settings/org.sonarlint.eclipse.core.prefs b/features/org.eclipse.passage.lic.oshi.feature/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from tests/ru.arsysop.passage.lic.base.tests/.settings/org.sonarlint.eclipse.core.prefs rename to features/org.eclipse.passage.lic.oshi.feature/.settings/org.sonarlint.eclipse.core.prefs diff --git a/features/org.eclipse.passage.lic.oshi.feature/build.properties b/features/org.eclipse.passage.lic.oshi.feature/build.properties new file mode 100644 index 0000000..6dc34af --- /dev/null +++ b/features/org.eclipse.passage.lic.oshi.feature/build.properties @@ -0,0 +1,15 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +bin.includes = feature.xml,\ + feature.properties diff --git a/features/org.eclipse.passage.lic.oshi.feature/feature.properties b/features/org.eclipse.passage.lic.oshi.feature/feature.properties new file mode 100644 index 0000000..f13baa6 --- /dev/null +++ b/features/org.eclipse.passage.lic.oshi.feature/feature.properties @@ -0,0 +1,25 @@ +#Properties file for org.eclipse.passage.lic.oshi.feature +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +featureName=Passage LIC OSHI +providerName=Eclipse Passage +description=Passage Licensing Integration Components: OSHI integration +copyright=Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ + diff --git a/features/org.eclipse.passage.lic.oshi.feature/feature.xml b/features/org.eclipse.passage.lic.oshi.feature/feature.xml new file mode 100644 index 0000000..2c322c0 --- /dev/null +++ b/features/org.eclipse.passage.lic.oshi.feature/feature.xml @@ -0,0 +1,45 @@ + + + + + + %description + + + + %copyright + + + + %license + + + + + + + + + diff --git a/features/pom.xml b/features/pom.xml index 91c44c9..e55430a 100644 --- a/features/pom.xml +++ b/features/pom.xml @@ -1,20 +1,12 @@ - - ru.arsysop.passage.lic.bc.feature - - - - - - org.eclipse.pde.FeatureBuilder - - - - - - org.eclipse.pde.FeatureNature - - diff --git a/features/ru.arsysop.passage.lic.bc.feature/build.properties b/features/ru.arsysop.passage.lic.bc.feature/build.properties deleted file mode 100644 index 2c656df..0000000 --- a/features/ru.arsysop.passage.lic.bc.feature/build.properties +++ /dev/null @@ -1,23 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -bin.includes = feature.xml,\ - feature.properties diff --git a/features/ru.arsysop.passage.lic.bc.feature/feature.properties b/features/ru.arsysop.passage.lic.bc.feature/feature.properties deleted file mode 100644 index 53a6939..0000000 --- a/features/ru.arsysop.passage.lic.bc.feature/feature.properties +++ /dev/null @@ -1,26 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.bc.feature -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -featureName=Passage LIC BC -providerName=ArSysOp -description=Passage Licensing Integration Components: Bouncy Castle integration -copyright=Copyright (c) 2018 ArSysOp \ No newline at end of file diff --git a/features/ru.arsysop.passage.lic.bc.feature/feature.xml b/features/ru.arsysop.passage.lic.bc.feature/feature.xml deleted file mode 100644 index 70757ca..0000000 --- a/features/ru.arsysop.passage.lic.bc.feature/feature.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - %description - - - - %copyright - - - - %license - - - - - - - - - diff --git a/features/ru.arsysop.passage.lic.equinox.feature/.project b/features/ru.arsysop.passage.lic.equinox.feature/.project deleted file mode 100644 index b1a13c7..0000000 --- a/features/ru.arsysop.passage.lic.equinox.feature/.project +++ /dev/null @@ -1,37 +0,0 @@ - - - - ru.arsysop.passage.lic.equinox.feature - - - - - - org.eclipse.pde.FeatureBuilder - - - - - - org.eclipse.pde.FeatureNature - - diff --git a/features/ru.arsysop.passage.lic.equinox.feature/build.properties b/features/ru.arsysop.passage.lic.equinox.feature/build.properties deleted file mode 100644 index 2c656df..0000000 --- a/features/ru.arsysop.passage.lic.equinox.feature/build.properties +++ /dev/null @@ -1,23 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -bin.includes = feature.xml,\ - feature.properties diff --git a/features/ru.arsysop.passage.lic.equinox.feature/feature.properties b/features/ru.arsysop.passage.lic.equinox.feature/feature.properties deleted file mode 100644 index 8e8d394..0000000 --- a/features/ru.arsysop.passage.lic.equinox.feature/feature.properties +++ /dev/null @@ -1,26 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.equinox.feature -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -featureName=Passage LIC Equinox -providerName=ArSysOp -description=Passage Licensing Integration Components Equinox includes runtime interfaces and its implementation for Eclipse Equinox -copyright=Copyright (c) 2018 ArSysOp \ No newline at end of file diff --git a/features/ru.arsysop.passage.lic.equinox.feature/feature.xml b/features/ru.arsysop.passage.lic.equinox.feature/feature.xml deleted file mode 100644 index 00ee78c..0000000 --- a/features/ru.arsysop.passage.lic.equinox.feature/feature.xml +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - %description - - - - %copyright - - - - %license - - - - - - - - - - - - - diff --git a/features/ru.arsysop.passage.lic.feature/.project b/features/ru.arsysop.passage.lic.feature/.project deleted file mode 100644 index 68af51d..0000000 --- a/features/ru.arsysop.passage.lic.feature/.project +++ /dev/null @@ -1,37 +0,0 @@ - - - - ru.arsysop.passage.lic.feature - - - - - - org.eclipse.pde.FeatureBuilder - - - - - - org.eclipse.pde.FeatureNature - - diff --git a/features/ru.arsysop.passage.lic.feature/build.properties b/features/ru.arsysop.passage.lic.feature/build.properties deleted file mode 100644 index 2c656df..0000000 --- a/features/ru.arsysop.passage.lic.feature/build.properties +++ /dev/null @@ -1,23 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -bin.includes = feature.xml,\ - feature.properties diff --git a/features/ru.arsysop.passage.lic.feature/feature.properties b/features/ru.arsysop.passage.lic.feature/feature.properties deleted file mode 100644 index bda32f8..0000000 --- a/features/ru.arsysop.passage.lic.feature/feature.properties +++ /dev/null @@ -1,26 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.feature -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -featureName=Passage Licensing Integration Components -providerName=ArSysOp -description=Passage Licensing Integration Components layer includes interfaces and its implementation for Eclipse Equinox -copyright=Copyright (c) 2018 ArSysOp \ No newline at end of file diff --git a/features/ru.arsysop.passage.lic.feature/feature.xml b/features/ru.arsysop.passage.lic.feature/feature.xml deleted file mode 100644 index b4129ce..0000000 --- a/features/ru.arsysop.passage.lic.feature/feature.xml +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - %description - - - - %copyright - - - - %license - - - - - - - - - - - - - diff --git a/features/ru.arsysop.passage.lic.inspector.feature/.project b/features/ru.arsysop.passage.lic.inspector.feature/.project deleted file mode 100644 index 5cbe751..0000000 --- a/features/ru.arsysop.passage.lic.inspector.feature/.project +++ /dev/null @@ -1,37 +0,0 @@ - - - - ru.arsysop.passage.lic.inspector.feature - - - - - - org.eclipse.pde.FeatureBuilder - - - - - - org.eclipse.pde.FeatureNature - - diff --git a/features/ru.arsysop.passage.lic.inspector.feature/build.properties b/features/ru.arsysop.passage.lic.inspector.feature/build.properties deleted file mode 100644 index 2c656df..0000000 --- a/features/ru.arsysop.passage.lic.inspector.feature/build.properties +++ /dev/null @@ -1,23 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -bin.includes = feature.xml,\ - feature.properties diff --git a/features/ru.arsysop.passage.lic.inspector.feature/feature.properties b/features/ru.arsysop.passage.lic.inspector.feature/feature.properties deleted file mode 100644 index 28af2a7..0000000 --- a/features/ru.arsysop.passage.lic.inspector.feature/feature.properties +++ /dev/null @@ -1,26 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.inspector.feature -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -featureName=Passage LIC Inspector -providerName=ArSysOp -description=Passage Licensing Integration Components: Configuration and Requirements Inspector -copyright=Copyright (c) 2018 ArSysOp diff --git a/features/ru.arsysop.passage.lic.inspector.feature/feature.xml b/features/ru.arsysop.passage.lic.inspector.feature/feature.xml deleted file mode 100644 index c49e7ba..0000000 --- a/features/ru.arsysop.passage.lic.inspector.feature/feature.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - %description - - - - %copyright - - - - %license - - - - - - - - - - - - - - diff --git a/features/ru.arsysop.passage.lic.json.feature/.project b/features/ru.arsysop.passage.lic.json.feature/.project deleted file mode 100644 index dbf784d..0000000 --- a/features/ru.arsysop.passage.lic.json.feature/.project +++ /dev/null @@ -1,37 +0,0 @@ - - - - ru.arsysop.passage.lic.json.feature - - - - - - org.eclipse.pde.FeatureBuilder - - - - - - org.eclipse.pde.FeatureNature - - diff --git a/features/ru.arsysop.passage.lic.json.feature/build.properties b/features/ru.arsysop.passage.lic.json.feature/build.properties deleted file mode 100644 index 2c656df..0000000 --- a/features/ru.arsysop.passage.lic.json.feature/build.properties +++ /dev/null @@ -1,23 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -bin.includes = feature.xml,\ - feature.properties diff --git a/features/ru.arsysop.passage.lic.json.feature/feature.properties b/features/ru.arsysop.passage.lic.json.feature/feature.properties deleted file mode 100644 index 45ef161..0000000 --- a/features/ru.arsysop.passage.lic.json.feature/feature.properties +++ /dev/null @@ -1,26 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.json.feature -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -featureName=Passage LIC JSON -providerName=ArSysOp -description=Passage Licensing Integration Components: JSON support -copyright=Copyright (c) 2018 ArSysOp \ No newline at end of file diff --git a/features/ru.arsysop.passage.lic.json.feature/feature.xml b/features/ru.arsysop.passage.lic.json.feature/feature.xml deleted file mode 100644 index 9dcd2b6..0000000 --- a/features/ru.arsysop.passage.lic.json.feature/feature.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - %description - - - - %copyright - - - - %license - - - - - - - - - - diff --git a/features/ru.arsysop.passage.lic.model.feature/.project b/features/ru.arsysop.passage.lic.model.feature/.project deleted file mode 100644 index 3a3d894..0000000 --- a/features/ru.arsysop.passage.lic.model.feature/.project +++ /dev/null @@ -1,37 +0,0 @@ - - - - ru.arsysop.passage.lic.model.feature - - - - - - org.eclipse.pde.FeatureBuilder - - - - - - org.eclipse.pde.FeatureNature - - diff --git a/features/ru.arsysop.passage.lic.model.feature/build.properties b/features/ru.arsysop.passage.lic.model.feature/build.properties deleted file mode 100644 index 2c656df..0000000 --- a/features/ru.arsysop.passage.lic.model.feature/build.properties +++ /dev/null @@ -1,23 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -bin.includes = feature.xml,\ - feature.properties diff --git a/features/ru.arsysop.passage.lic.model.feature/feature.properties b/features/ru.arsysop.passage.lic.model.feature/feature.properties deleted file mode 100644 index d071438..0000000 --- a/features/ru.arsysop.passage.lic.model.feature/feature.properties +++ /dev/null @@ -1,26 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.model.feature -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -featureName=Passage LIC Model -providerName=ArSysOp -description=Passage Licensing Integration Components: EMF Model API for Licensing data -copyright=Copyright (c) 2018 ArSysOp \ No newline at end of file diff --git a/features/ru.arsysop.passage.lic.model.feature/feature.xml b/features/ru.arsysop.passage.lic.model.feature/feature.xml deleted file mode 100644 index 42ee2b3..0000000 --- a/features/ru.arsysop.passage.lic.model.feature/feature.xml +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - %description - - - - %copyright - - - - %license - - - - - - - - - - - - - diff --git a/features/ru.arsysop.passage.lic.net.feature/.project b/features/ru.arsysop.passage.lic.net.feature/.project deleted file mode 100644 index ee4001e..0000000 --- a/features/ru.arsysop.passage.lic.net.feature/.project +++ /dev/null @@ -1,37 +0,0 @@ - - - - ru.arsysop.passage.lic.net.feature - - - - - - org.eclipse.pde.FeatureBuilder - - - - - - org.eclipse.pde.FeatureNature - - diff --git a/features/ru.arsysop.passage.lic.net.feature/build.properties b/features/ru.arsysop.passage.lic.net.feature/build.properties deleted file mode 100644 index 2c656df..0000000 --- a/features/ru.arsysop.passage.lic.net.feature/build.properties +++ /dev/null @@ -1,23 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -bin.includes = feature.xml,\ - feature.properties diff --git a/features/ru.arsysop.passage.lic.net.feature/feature.properties b/features/ru.arsysop.passage.lic.net.feature/feature.properties deleted file mode 100644 index aa356e1..0000000 --- a/features/ru.arsysop.passage.lic.net.feature/feature.properties +++ /dev/null @@ -1,26 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.net.feature -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -featureName=Passage LIC Net -providerName=ArSysOp -description=Passage Licensing Integration Components: Network facilities integration -copyright=Copyright (c) 2018 ArSysOp \ No newline at end of file diff --git a/features/ru.arsysop.passage.lic.net.feature/feature.xml b/features/ru.arsysop.passage.lic.net.feature/feature.xml deleted file mode 100644 index 5e6288e..0000000 --- a/features/ru.arsysop.passage.lic.net.feature/feature.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - %description - - - - %copyright - - - - %license - - - - - - - - - diff --git a/features/ru.arsysop.passage.lic.oshi.feature/.project b/features/ru.arsysop.passage.lic.oshi.feature/.project deleted file mode 100644 index 6e4eb90..0000000 --- a/features/ru.arsysop.passage.lic.oshi.feature/.project +++ /dev/null @@ -1,37 +0,0 @@ - - - - ru.arsysop.passage.lic.oshi.feature - - - - - - org.eclipse.pde.FeatureBuilder - - - - - - org.eclipse.pde.FeatureNature - - diff --git a/features/ru.arsysop.passage.lic.oshi.feature/build.properties b/features/ru.arsysop.passage.lic.oshi.feature/build.properties deleted file mode 100644 index 2c656df..0000000 --- a/features/ru.arsysop.passage.lic.oshi.feature/build.properties +++ /dev/null @@ -1,23 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -bin.includes = feature.xml,\ - feature.properties diff --git a/features/ru.arsysop.passage.lic.oshi.feature/feature.properties b/features/ru.arsysop.passage.lic.oshi.feature/feature.properties deleted file mode 100644 index 9048fd3..0000000 --- a/features/ru.arsysop.passage.lic.oshi.feature/feature.properties +++ /dev/null @@ -1,26 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.oshi.feature -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -featureName=Passage LIC OSHI -providerName=ArSysOp -description=Passage Licensing Integration Components: OSHI integration -copyright=Copyright (c) 2018 ArSysOp \ No newline at end of file diff --git a/features/ru.arsysop.passage.lic.oshi.feature/feature.xml b/features/ru.arsysop.passage.lic.oshi.feature/feature.xml deleted file mode 100644 index d2d7c61..0000000 --- a/features/ru.arsysop.passage.lic.oshi.feature/feature.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - %description - - - - %copyright - - - - %license - - - - - - - - - diff --git a/pom.xml b/pom.xml index 096362a..22002ce 100644 --- a/pom.xml +++ b/pom.xml @@ -1,20 +1,12 @@ + + 4.0.0 + + org.eclipse.passage.lic.aggregator + pom + + + org.eclipse.passage.lic + org.eclipse.passage.lic.parent + 0.3.3 + ../../releng/org.eclipse.passage.lic.parent + + + + ../../releng/org.eclipse.passage.lic.target + + ../../bundles/org.eclipse.passage.lic.runtime + ../../bundles/org.eclipse.passage.lic.base + ../../bundles/org.eclipse.passage.lic.inspector + ../../bundles/org.eclipse.passage.lic.equinox + ../../bundles/org.eclipse.passage.lic.jface + ../../features/org.eclipse.passage.lic.equinox.feature + + ../../bundles/org.eclipse.passage.lic.bc + ../../features/org.eclipse.passage.lic.bc.feature + + ../../bundles/org.eclipse.passage.lic.net + ../../features/org.eclipse.passage.lic.net.feature + + ../../bundles/org.eclipse.passage.lic.json + ../../features/org.eclipse.passage.lic.json.feature + + ../../bundles/org.eclipse.passage.lic.oshi + ../../features/org.eclipse.passage.lic.oshi.feature + + ../../bundles/org.eclipse.passage.lic.registry + ../../bundles/org.eclipse.passage.lic.model.ecore + ../../bundles/org.eclipse.passage.lic.model + ../../bundles/org.eclipse.passage.lic.model.core + ../../features/org.eclipse.passage.lic.model.feature + + ../../bundles/org.eclipse.passage.lic.emf.edit + ../../bundles/org.eclipse.passage.lic.model.edit + ../../bundles/org.eclipse.passage.lic.inspector.ui + ../../features/org.eclipse.passage.lic.inspector.feature + + ../../features/org.eclipse.passage.lic.feature + ../../releng/org.eclipse.passage.lic.repository + + ../../tests/org.eclipse.passage.lic.base.tests + ../../tests/org.eclipse.passage.lic.bc.tests + ../../tests/org.eclipse.passage.lic.equinox.tests + ../../tests/org.eclipse.passage.lic.net.tests + ../../tests/org.eclipse.passage.lic.oshi.tests + ../../tests/org.eclipse.passage.lic.model.core.tests + + ../../tests/org.eclipse.passage.lic.integration.tests + + + + \ No newline at end of file diff --git a/releng/ru.arsysop.passage.lic.parent/pom.xml b/releng/org.eclipse.passage.lic.parent/pom.xml similarity index 65% rename from releng/ru.arsysop.passage.lic.parent/pom.xml rename to releng/org.eclipse.passage.lic.parent/pom.xml index fcd948d..d1fc64b 100644 --- a/releng/ru.arsysop.passage.lic.parent/pom.xml +++ b/releng/org.eclipse.passage.lic.parent/pom.xml @@ -1,20 +1,12 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + Passage Licensing Integration Components layer includes runtime interfaces and its implementation for Eclipse Equinox + + + diff --git a/releng/org.eclipse.passage.lic.repository/pom.xml b/releng/org.eclipse.passage.lic.repository/pom.xml new file mode 100644 index 0000000..66e2cb2 --- /dev/null +++ b/releng/org.eclipse.passage.lic.repository/pom.xml @@ -0,0 +1,31 @@ + + + + 4.0.0 + + org.eclipse.passage.lic.repository + eclipse-repository + + + org.eclipse.passage.lic + org.eclipse.passage.lic.parent + 0.3.3 + ../../releng/org.eclipse.passage.lic.parent + + + \ No newline at end of file diff --git a/releng/ru.arsysop.passage.lic.target/ru.arsysop.passage.lic.target.target b/releng/org.eclipse.passage.lic.target/org.eclipse.passage.lic.target.target similarity index 78% rename from releng/ru.arsysop.passage.lic.target/ru.arsysop.passage.lic.target.target rename to releng/org.eclipse.passage.lic.target/org.eclipse.passage.lic.target.target index 4a238ec..5d8de4f 100644 --- a/releng/ru.arsysop.passage.lic.target/ru.arsysop.passage.lic.target.target +++ b/releng/org.eclipse.passage.lic.target/org.eclipse.passage.lic.target.target @@ -1,27 +1,23 @@ - + + + + + @@ -54,9 +50,8 @@ - - - + + diff --git a/releng/org.eclipse.passage.lic.target/pom.xml b/releng/org.eclipse.passage.lic.target/pom.xml new file mode 100644 index 0000000..fee9e3a --- /dev/null +++ b/releng/org.eclipse.passage.lic.target/pom.xml @@ -0,0 +1,31 @@ + + + + 4.0.0 + + org.eclipse.passage.lic.target + eclipse-target-definition + + + org.eclipse.passage.lic + org.eclipse.passage.lic.parent + 0.3.3 + ../../releng/org.eclipse.passage.lic.parent + + + \ No newline at end of file diff --git a/releng/ru.arsysop.passage.lic.aggregator/pom.xml b/releng/ru.arsysop.passage.lic.aggregator/pom.xml deleted file mode 100644 index 63f5e5c..0000000 --- a/releng/ru.arsysop.passage.lic.aggregator/pom.xml +++ /dev/null @@ -1,85 +0,0 @@ - - - - 4.0.0 - - ru.arsysop.passage.lic.aggregator - pom - - - ru.arsysop.passage.lic - ru.arsysop.passage.lic.parent - 0.3.2 - ../../releng/ru.arsysop.passage.lic.parent - - - - ../../releng/ru.arsysop.passage.lic.target - - ../../bundles/ru.arsysop.passage.lic.runtime - ../../bundles/ru.arsysop.passage.lic.base - ../../bundles/ru.arsysop.passage.lic.inspector - ../../bundles/ru.arsysop.passage.lic.equinox - ../../features/ru.arsysop.passage.lic.equinox.feature - - ../../bundles/ru.arsysop.passage.lic.bc - ../../features/ru.arsysop.passage.lic.bc.feature - - ../../bundles/ru.arsysop.passage.lic.net - ../../features/ru.arsysop.passage.lic.net.feature - - ../../bundles/ru.arsysop.passage.lic.json - ../../features/ru.arsysop.passage.lic.json.feature - - ../../bundles/ru.arsysop.passage.lic.oshi - ../../features/ru.arsysop.passage.lic.oshi.feature - - ../../bundles/ru.arsysop.passage.lic.registry - ../../bundles/ru.arsysop.passage.lic.model.ecore - ../../bundles/ru.arsysop.passage.lic.model - ../../bundles/ru.arsysop.passage.lic.model.core - ../../features/ru.arsysop.passage.lic.model.feature - - ../../bundles/ru.arsysop.passage.lic.base.ui - ../../bundles/ru.arsysop.passage.lic.model.edit - ../../bundles/ru.arsysop.passage.lic.inspector.ui - ../../features/ru.arsysop.passage.lic.inspector.feature - - ../../features/ru.arsysop.passage.lic.feature - ../../releng/ru.arsysop.passage.lic.repository - - ../../tests/ru.arsysop.passage.lic.base.tests - ../../tests/ru.arsysop.passage.lic.bc.tests - ../../tests/ru.arsysop.passage.lic.equinox.tests - ../../tests/ru.arsysop.passage.lic.net.tests - ../../tests/ru.arsysop.passage.lic.oshi.tests - ../../tests/ru.arsysop.passage.lic.model.core.tests - - ../../tests/ru.arsysop.passage.lic.integration.tests - - - - \ No newline at end of file diff --git a/releng/ru.arsysop.passage.lic.repository/category.xml b/releng/ru.arsysop.passage.lic.repository/category.xml deleted file mode 100644 index d6d6cbb..0000000 --- a/releng/ru.arsysop.passage.lic.repository/category.xml +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Passage Licensing Integration Components layer includes runtime interfaces and its implementation for Eclipse Equinox - - - diff --git a/releng/ru.arsysop.passage.lic.repository/pom.xml b/releng/ru.arsysop.passage.lic.repository/pom.xml deleted file mode 100644 index b49e672..0000000 --- a/releng/ru.arsysop.passage.lic.repository/pom.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - 4.0.0 - - ru.arsysop.passage.lic.repository - eclipse-repository - - - ru.arsysop.passage.lic - ru.arsysop.passage.lic.parent - 0.3.2 - ../../releng/ru.arsysop.passage.lic.parent - - - \ No newline at end of file diff --git a/releng/ru.arsysop.passage.lic.target/pom.xml b/releng/ru.arsysop.passage.lic.target/pom.xml deleted file mode 100644 index 2046ed9..0000000 --- a/releng/ru.arsysop.passage.lic.target/pom.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - 4.0.0 - - ru.arsysop.passage.lic.target - eclipse-target-definition - - - ru.arsysop.passage.lic - ru.arsysop.passage.lic.parent - 0.3.2 - ../../releng/ru.arsysop.passage.lic.parent - - - \ No newline at end of file diff --git a/tests/ru.arsysop.passage.lic.json.tests/.classpath b/tests/org.eclipse.passage.lic.base.tests/.classpath similarity index 100% rename from tests/ru.arsysop.passage.lic.json.tests/.classpath rename to tests/org.eclipse.passage.lic.base.tests/.classpath diff --git a/tests/org.eclipse.passage.lic.base.tests/.project b/tests/org.eclipse.passage.lic.base.tests/.project new file mode 100644 index 0000000..eed763d --- /dev/null +++ b/tests/org.eclipse.passage.lic.base.tests/.project @@ -0,0 +1,28 @@ + + + org.eclipse.passage.lic.base.tests + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/tests/ru.arsysop.passage.lic.bc.tests/.settings/org.sonarlint.eclipse.core.prefs b/tests/org.eclipse.passage.lic.base.tests/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from tests/ru.arsysop.passage.lic.bc.tests/.settings/org.sonarlint.eclipse.core.prefs rename to tests/org.eclipse.passage.lic.base.tests/.settings/org.sonarlint.eclipse.core.prefs diff --git a/tests/ru.arsysop.passage.lic.base.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.passage.lic.base.tests/META-INF/MANIFEST.MF similarity index 54% rename from tests/ru.arsysop.passage.lic.base.tests/META-INF/MANIFEST.MF rename to tests/org.eclipse.passage.lic.base.tests/META-INF/MANIFEST.MF index a80b187..298cd1a 100644 --- a/tests/ru.arsysop.passage.lic.base.tests/META-INF/MANIFEST.MF +++ b/tests/org.eclipse.passage.lic.base.tests/META-INF/MANIFEST.MF @@ -1,11 +1,11 @@ Manifest-Version: 1.0 -Automatic-Module-Name: ru.arsysop.passage.lic.base.tests +Automatic-Module-Name: org.eclipse.passage.lic.base.tests Bundle-ManifestVersion: 2 -Bundle-SymbolicName: ru.arsysop.passage.lic.base.tests -Bundle-Version: 0.3.2.qualifier +Bundle-SymbolicName: org.eclipse.passage.lic.base.tests +Bundle-Version: 0.3.3.qualifier Bundle-Name: %Bundle-Name Bundle-Vendor: %Bundle-Vendor Bundle-Copyright: %Bundle-Copyright Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Require-Bundle: org.junit;bundle-version="0.0.0", - ru.arsysop.passage.lic.base;bundle-version="0.0.0" + org.eclipse.passage.lic.base;bundle-version="0.0.0" diff --git a/tests/org.eclipse.passage.lic.base.tests/OSGI-INF/l10n/bundle.properties b/tests/org.eclipse.passage.lic.base.tests/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..546124d --- /dev/null +++ b/tests/org.eclipse.passage.lic.base.tests/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,23 @@ +#Properties file for org.eclipse.passage.lic.base.tests +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +Bundle-Name = Passage LIC Base Tests +Bundle-Vendor = Eclipse Passage +Bundle-Copyright = Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ diff --git a/tests/org.eclipse.passage.lic.base.tests/build.properties b/tests/org.eclipse.passage.lic.base.tests/build.properties new file mode 100644 index 0000000..9275df7 --- /dev/null +++ b/tests/org.eclipse.passage.lic.base.tests/build.properties @@ -0,0 +1,18 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + .,\ + OSGI-INF/ diff --git a/tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/BaseAccessManagerTest.java b/tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/BaseAccessManagerTest.java similarity index 82% rename from tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/BaseAccessManagerTest.java rename to tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/BaseAccessManagerTest.java index ea2b1c0..469f0f6 100644 --- a/tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/BaseAccessManagerTest.java +++ b/tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/BaseAccessManagerTest.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.base.tests; +package org.eclipse.passage.lic.base.tests; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -28,17 +20,16 @@ import java.util.Date; import java.util.List; +import org.eclipse.passage.lic.base.BaseAccessManager; +import org.eclipse.passage.lic.base.BaseLicensingCondition; +import org.eclipse.passage.lic.base.LicensingConditions; +import org.eclipse.passage.lic.base.LicensingConfigurations; +import org.eclipse.passage.lic.runtime.FeaturePermission; +import org.eclipse.passage.lic.runtime.LicensingConfiguration; +import org.eclipse.passage.lic.runtime.RestrictionVerdict; import org.junit.After; import org.junit.Test; -import ru.arsysop.passage.lic.base.BaseAccessManager; -import ru.arsysop.passage.lic.base.BaseLicensingCondition; -import ru.arsysop.passage.lic.base.LicensingConditions; -import ru.arsysop.passage.lic.base.LicensingConfigurations; -import ru.arsysop.passage.lic.runtime.FeaturePermission; -import ru.arsysop.passage.lic.runtime.LicensingConfiguration; -import ru.arsysop.passage.lic.runtime.RestrictionVerdict; - public class BaseAccessManagerTest { private static final String PRODUCT_ID = "product.id"; //$NON-NLS-1$ diff --git a/tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/BaseConditionEvaluatorTest.java b/tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/BaseConditionEvaluatorTest.java similarity index 58% rename from tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/BaseConditionEvaluatorTest.java rename to tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/BaseConditionEvaluatorTest.java index a457bed..15b6355 100644 --- a/tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/BaseConditionEvaluatorTest.java +++ b/tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/BaseConditionEvaluatorTest.java @@ -1,35 +1,26 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.base.tests; +package org.eclipse.passage.lic.base.tests; import static org.junit.Assert.assertEquals; import java.util.HashMap; import java.util.Map; +import org.eclipse.passage.lic.base.BaseConditionEvaluator; import org.junit.After; import org.junit.Test; -import ru.arsysop.passage.lic.base.BaseConditionEvaluator; - public class BaseConditionEvaluatorTest { private Map segments = new HashMap<>(); diff --git a/tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/BasePermissionExaminerTest.java b/tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/BasePermissionExaminerTest.java similarity index 65% rename from tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/BasePermissionExaminerTest.java rename to tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/BasePermissionExaminerTest.java index 5a5b97a..2f9767e 100644 --- a/tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/BasePermissionExaminerTest.java +++ b/tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/BasePermissionExaminerTest.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.base.tests; +package org.eclipse.passage.lic.base.tests; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -28,23 +20,22 @@ import java.util.Date; import java.util.Iterator; +import org.eclipse.passage.lic.base.BaseConfigurationRequirement; +import org.eclipse.passage.lic.base.BaseFeaturePermission; +import org.eclipse.passage.lic.base.BasePermissionExaminer; +import org.eclipse.passage.lic.base.ConfigurationRequirements; +import org.eclipse.passage.lic.base.FeaturePermissions; +import org.eclipse.passage.lic.base.LicensingConditions; +import org.eclipse.passage.lic.base.LicensingConfigurations; +import org.eclipse.passage.lic.base.LicensingProperties; +import org.eclipse.passage.lic.base.LicensingVersions; +import org.eclipse.passage.lic.runtime.ConfigurationRequirement; +import org.eclipse.passage.lic.runtime.FeaturePermission; +import org.eclipse.passage.lic.runtime.LicensingCondition; +import org.eclipse.passage.lic.runtime.LicensingConfiguration; +import org.eclipse.passage.lic.runtime.RestrictionVerdict; import org.junit.Test; -import ru.arsysop.passage.lic.base.BaseConfigurationRequirement; -import ru.arsysop.passage.lic.base.BaseFeaturePermission; -import ru.arsysop.passage.lic.base.BasePermissionExaminer; -import ru.arsysop.passage.lic.base.ConfigurationRequirements; -import ru.arsysop.passage.lic.base.FeaturePermissions; -import ru.arsysop.passage.lic.base.LicensingConditions; -import ru.arsysop.passage.lic.base.LicensingConfigurations; -import ru.arsysop.passage.lic.base.LicensingProperties; -import ru.arsysop.passage.lic.base.LicensingVersions; -import ru.arsysop.passage.lic.runtime.ConfigurationRequirement; -import ru.arsysop.passage.lic.runtime.FeaturePermission; -import ru.arsysop.passage.lic.runtime.LicensingCondition; -import ru.arsysop.passage.lic.runtime.LicensingConfiguration; -import ru.arsysop.passage.lic.runtime.RestrictionVerdict; - public class BasePermissionExaminerTest { private static final String FOO_FEATURE_ID = "foo"; //$NON-NLS-1$ diff --git a/tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/LicensingConditionsTest.java b/tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/LicensingConditionsTest.java similarity index 57% rename from tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/LicensingConditionsTest.java rename to tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/LicensingConditionsTest.java index 3e9fa2e..8d7b458 100644 --- a/tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/LicensingConditionsTest.java +++ b/tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/LicensingConditionsTest.java @@ -1,32 +1,23 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.base.tests; +package org.eclipse.passage.lic.base.tests; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; +import org.eclipse.passage.lic.base.LicensingConditions; import org.junit.Test; -import ru.arsysop.passage.lic.base.LicensingConditions; - public class LicensingConditionsTest { @SuppressWarnings("nls") diff --git a/tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/LicensingNamespacesTest.java b/tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/LicensingNamespacesTest.java similarity index 58% rename from tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/LicensingNamespacesTest.java rename to tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/LicensingNamespacesTest.java index e150307..ad63acb 100644 --- a/tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/LicensingNamespacesTest.java +++ b/tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/LicensingNamespacesTest.java @@ -1,29 +1,20 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.base.tests; +package org.eclipse.passage.lic.base.tests; +import static org.eclipse.passage.lic.base.LicensingNamespaces.*; import static org.junit.Assert.assertEquals; -import static ru.arsysop.passage.lic.base.LicensingNamespaces.*; - import org.junit.Test; public class LicensingNamespacesTest { diff --git a/tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/LicensingPropertiesTest.java b/tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/LicensingPropertiesTest.java similarity index 62% rename from tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/LicensingPropertiesTest.java rename to tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/LicensingPropertiesTest.java index 8495a44..2a91f30 100644 --- a/tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/LicensingPropertiesTest.java +++ b/tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/LicensingPropertiesTest.java @@ -1,29 +1,20 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.base.tests; +package org.eclipse.passage.lic.base.tests; +import static org.eclipse.passage.lic.base.LicensingProperties.*; import static org.junit.Assert.assertEquals; -import static ru.arsysop.passage.lic.base.LicensingProperties.*; - import org.junit.Test; public class LicensingPropertiesTest { diff --git a/tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/LicensingVersionsTest.java b/tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/LicensingVersionsTest.java similarity index 88% rename from tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/LicensingVersionsTest.java rename to tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/LicensingVersionsTest.java index 1455a33..c3e4373 100644 --- a/tests/ru.arsysop.passage.lic.base.tests/src/ru/arsysop/passage/lic/base/tests/LicensingVersionsTest.java +++ b/tests/org.eclipse.passage.lic.base.tests/src/org/eclipse/passage/lic/base/tests/LicensingVersionsTest.java @@ -1,27 +1,19 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.base.tests; +package org.eclipse.passage.lic.base.tests; +import static org.eclipse.passage.lic.base.LicensingVersions.*; import static org.junit.Assert.assertEquals; -import static ru.arsysop.passage.lic.base.LicensingVersions.*; import org.junit.Test; diff --git a/tests/org.eclipse.passage.lic.bc.tests/.classpath b/tests/org.eclipse.passage.lic.bc.tests/.classpath new file mode 100644 index 0000000..f193818 --- /dev/null +++ b/tests/org.eclipse.passage.lic.bc.tests/.classpath @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/tests/org.eclipse.passage.lic.bc.tests/.project b/tests/org.eclipse.passage.lic.bc.tests/.project new file mode 100644 index 0000000..3ac750f --- /dev/null +++ b/tests/org.eclipse.passage.lic.bc.tests/.project @@ -0,0 +1,28 @@ + + + org.eclipse.passage.lic.bc.tests + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/tests/ru.arsysop.passage.lic.equinox.tests/.settings/org.sonarlint.eclipse.core.prefs b/tests/org.eclipse.passage.lic.bc.tests/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from tests/ru.arsysop.passage.lic.equinox.tests/.settings/org.sonarlint.eclipse.core.prefs rename to tests/org.eclipse.passage.lic.bc.tests/.settings/org.sonarlint.eclipse.core.prefs diff --git a/tests/org.eclipse.passage.lic.bc.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.passage.lic.bc.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..d3f3e96 --- /dev/null +++ b/tests/org.eclipse.passage.lic.bc.tests/META-INF/MANIFEST.MF @@ -0,0 +1,14 @@ +Manifest-Version: 1.0 +Automatic-Module-Name: org.eclipse.passage.lic.bc.tests +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.eclipse.passage.lic.bc.tests +Bundle-Version: 0.3.3.qualifier +Bundle-Name: %Bundle-Name +Bundle-Vendor: %Bundle-Vendor +Bundle-Copyright: %Bundle-Copyright +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.junit;bundle-version="4.12.0", + org.eclipse.osgi.services;bundle-version="0.0.0", + org.eclipse.passage.lic.runtime;bundle-version="0.0.0", + org.eclipse.passage.lic.base;bundle-version="0.0.0", + org.eclipse.passage.lic.bc;bundle-version="0.0.0" diff --git a/tests/org.eclipse.passage.lic.bc.tests/OSGI-INF/l10n/bundle.properties b/tests/org.eclipse.passage.lic.bc.tests/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..e5015a4 --- /dev/null +++ b/tests/org.eclipse.passage.lic.bc.tests/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,23 @@ +#Properties file for org.eclipse.passage.lic.bc.tests +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +Bundle-Name = Passage LIC BC Tests +Bundle-Vendor = Eclipse Passage +Bundle-Copyright = Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ diff --git a/tests/org.eclipse.passage.lic.bc.tests/build.properties b/tests/org.eclipse.passage.lic.bc.tests/build.properties new file mode 100644 index 0000000..9275df7 --- /dev/null +++ b/tests/org.eclipse.passage.lic.bc.tests/build.properties @@ -0,0 +1,18 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + .,\ + OSGI-INF/ diff --git a/tests/ru.arsysop.passage.lic.bc.tests/src/ru/arsysop/passage/lic/bc/tests/BcPropertiesTest.java b/tests/org.eclipse.passage.lic.bc.tests/src/org/eclipse/passage/lic/bc/tests/BcPropertiesTest.java similarity index 50% rename from tests/ru.arsysop.passage.lic.bc.tests/src/ru/arsysop/passage/lic/bc/tests/BcPropertiesTest.java rename to tests/org.eclipse.passage.lic.bc.tests/src/org/eclipse/passage/lic/bc/tests/BcPropertiesTest.java index 2161a11..5da10a1 100644 --- a/tests/ru.arsysop.passage.lic.bc.tests/src/ru/arsysop/passage/lic/bc/tests/BcPropertiesTest.java +++ b/tests/org.eclipse.passage.lic.bc.tests/src/org/eclipse/passage/lic/bc/tests/BcPropertiesTest.java @@ -1,29 +1,20 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.bc.tests; +package org.eclipse.passage.lic.bc.tests; +import static org.eclipse.passage.lic.bc.BcProperties.*; import static org.junit.Assert.assertEquals; -import static ru.arsysop.passage.lic.bc.BcProperties.*; - import java.util.HashMap; import org.junit.Test; diff --git a/tests/ru.arsysop.passage.lic.bc.tests/src/ru/arsysop/passage/lic/bc/tests/BcStreamCodecTest.java b/tests/org.eclipse.passage.lic.bc.tests/src/org/eclipse/passage/lic/bc/tests/BcStreamCodecTest.java similarity index 81% rename from tests/ru.arsysop.passage.lic.bc.tests/src/ru/arsysop/passage/lic/bc/tests/BcStreamCodecTest.java rename to tests/org.eclipse.passage.lic.bc.tests/src/org/eclipse/passage/lic/bc/tests/BcStreamCodecTest.java index 325714d..84c01ae 100644 --- a/tests/ru.arsysop.passage.lic.bc.tests/src/ru/arsysop/passage/lic/bc/tests/BcStreamCodecTest.java +++ b/tests/org.eclipse.passage.lic.bc.tests/src/org/eclipse/passage/lic/bc/tests/BcStreamCodecTest.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.bc.tests; +package org.eclipse.passage.lic.bc.tests; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; @@ -32,15 +24,14 @@ import java.util.HashMap; import java.util.Map; +import org.eclipse.passage.lic.base.LicensingPaths; +import org.eclipse.passage.lic.base.LicensingProperties; +import org.eclipse.passage.lic.bc.BcProperties; +import org.eclipse.passage.lic.bc.BcStreamCodec; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; -import ru.arsysop.passage.lic.base.LicensingPaths; -import ru.arsysop.passage.lic.base.LicensingProperties; -import ru.arsysop.passage.lic.bc.BcProperties; -import ru.arsysop.passage.lic.bc.BcStreamCodec; - @SuppressWarnings("restriction") public class BcStreamCodecTest { diff --git a/tests/org.eclipse.passage.lic.equinox.tests/.classpath b/tests/org.eclipse.passage.lic.equinox.tests/.classpath new file mode 100644 index 0000000..f193818 --- /dev/null +++ b/tests/org.eclipse.passage.lic.equinox.tests/.classpath @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/tests/ru.arsysop.passage.lic.equinox.tests/.project b/tests/org.eclipse.passage.lic.equinox.tests/.project similarity index 92% rename from tests/ru.arsysop.passage.lic.equinox.tests/.project rename to tests/org.eclipse.passage.lic.equinox.tests/.project index 45835e4..2f389c7 100644 --- a/tests/ru.arsysop.passage.lic.equinox.tests/.project +++ b/tests/org.eclipse.passage.lic.equinox.tests/.project @@ -1,6 +1,6 @@ - ru.arsysop.passage.lic.equinox.tests + org.eclipse.passage.lic.equinox.tests diff --git a/tests/ru.arsysop.passage.lic.integration.tests/.settings/org.sonarlint.eclipse.core.prefs b/tests/org.eclipse.passage.lic.equinox.tests/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from tests/ru.arsysop.passage.lic.integration.tests/.settings/org.sonarlint.eclipse.core.prefs rename to tests/org.eclipse.passage.lic.equinox.tests/.settings/org.sonarlint.eclipse.core.prefs diff --git a/tests/ru.arsysop.passage.lic.equinox.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.passage.lic.equinox.tests/META-INF/MANIFEST.MF similarity index 55% rename from tests/ru.arsysop.passage.lic.equinox.tests/META-INF/MANIFEST.MF rename to tests/org.eclipse.passage.lic.equinox.tests/META-INF/MANIFEST.MF index 3c5993f..d08840c 100644 --- a/tests/ru.arsysop.passage.lic.equinox.tests/META-INF/MANIFEST.MF +++ b/tests/org.eclipse.passage.lic.equinox.tests/META-INF/MANIFEST.MF @@ -1,8 +1,8 @@ Manifest-Version: 1.0 -Automatic-Module-Name: ru.arsysop.passage.lic.equinox.tests +Automatic-Module-Name: org.eclipse.passage.lic.equinox.tests Bundle-ManifestVersion: 2 -Bundle-SymbolicName: ru.arsysop.passage.lic.equinox.tests -Bundle-Version: 0.3.2.qualifier +Bundle-SymbolicName: org.eclipse.passage.lic.equinox.tests +Bundle-Version: 0.3.3.qualifier Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Bundle-Name: %Bundle-Name Bundle-Vendor: %Bundle-Vendor @@ -10,5 +10,5 @@ Bundle-Copyright: %Bundle-Copyright Require-Bundle: org.junit;bundle-version="0.0.0", org.mockito;bundle-version="0.0.0", org.eclipse.equinox.event;bundle-version="0.0.0", - ru.arsysop.passage.lic.base;bundle-version="0.0.0", - ru.arsysop.passage.lic.equinox;bundle-version="0.0.0" + org.eclipse.passage.lic.base;bundle-version="0.0.0", + org.eclipse.passage.lic.equinox;bundle-version="0.0.0" diff --git a/tests/org.eclipse.passage.lic.equinox.tests/OSGI-INF/l10n/bundle.properties b/tests/org.eclipse.passage.lic.equinox.tests/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..c333b29 --- /dev/null +++ b/tests/org.eclipse.passage.lic.equinox.tests/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,23 @@ +#Properties file for org.eclipse.passage.lic.equinox.tests +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +Bundle-Name = Passage LIC Equinox Tests +Bundle-Vendor = Eclipse Passage +Bundle-Copyright = Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ diff --git a/tests/org.eclipse.passage.lic.equinox.tests/build.properties b/tests/org.eclipse.passage.lic.equinox.tests/build.properties new file mode 100644 index 0000000..9275df7 --- /dev/null +++ b/tests/org.eclipse.passage.lic.equinox.tests/build.properties @@ -0,0 +1,18 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + .,\ + OSGI-INF/ diff --git a/tests/ru.arsysop.passage.lic.equinox.tests/src/ru/arsysop/passage/lic/equinox/tests/ComponentConfigurationResolverTest.java b/tests/org.eclipse.passage.lic.equinox.tests/src/org/eclipse/passage/lic/equinox/tests/ComponentConfigurationResolverTest.java similarity index 55% rename from tests/ru.arsysop.passage.lic.equinox.tests/src/ru/arsysop/passage/lic/equinox/tests/ComponentConfigurationResolverTest.java rename to tests/org.eclipse.passage.lic.equinox.tests/src/org/eclipse/passage/lic/equinox/tests/ComponentConfigurationResolverTest.java index 3337993..5c5c4f8 100644 --- a/tests/ru.arsysop.passage.lic.equinox.tests/src/ru/arsysop/passage/lic/equinox/tests/ComponentConfigurationResolverTest.java +++ b/tests/org.eclipse.passage.lic.equinox.tests/src/org/eclipse/passage/lic/equinox/tests/ComponentConfigurationResolverTest.java @@ -1,36 +1,27 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.equinox.tests; +package org.eclipse.passage.lic.equinox.tests; import static org.junit.Assert.assertNotNull; +import org.eclipse.passage.lic.internal.equinox.ComponentConfigurationResolver; +import org.eclipse.passage.lic.runtime.ConfigurationRequirement; import org.junit.Test; import org.mockito.Mockito; import org.osgi.framework.BundleContext; import org.osgi.service.component.runtime.ServiceComponentRuntime; import org.osgi.service.log.LoggerFactory; -import ru.arsysop.passage.lic.internal.equinox.ComponentConfigurationResolver; -import ru.arsysop.passage.lic.runtime.ConfigurationRequirement; - @SuppressWarnings("restriction") public class ComponentConfigurationResolverTest { diff --git a/tests/ru.arsysop.passage.lic.equinox.tests/src/ru/arsysop/passage/lic/equinox/tests/EquinoxAccessManagerTest.java b/tests/org.eclipse.passage.lic.equinox.tests/src/org/eclipse/passage/lic/equinox/tests/EquinoxAccessManagerTest.java similarity index 50% rename from tests/ru.arsysop.passage.lic.equinox.tests/src/ru/arsysop/passage/lic/equinox/tests/EquinoxAccessManagerTest.java rename to tests/org.eclipse.passage.lic.equinox.tests/src/org/eclipse/passage/lic/equinox/tests/EquinoxAccessManagerTest.java index 29797d3..7ea1016 100644 --- a/tests/ru.arsysop.passage.lic.equinox.tests/src/ru/arsysop/passage/lic/equinox/tests/EquinoxAccessManagerTest.java +++ b/tests/org.eclipse.passage.lic.equinox.tests/src/org/eclipse/passage/lic/equinox/tests/EquinoxAccessManagerTest.java @@ -1,32 +1,23 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.equinox.tests; +package org.eclipse.passage.lic.equinox.tests; +import org.eclipse.passage.lic.internal.equinox.EquinoxAccessManager; import org.junit.Test; import org.mockito.Mockito; import org.osgi.service.event.EventAdmin; import org.osgi.service.log.LogService; -import ru.arsysop.passage.lic.internal.equinox.EquinoxAccessManager; - @SuppressWarnings("restriction") public class EquinoxAccessManagerTest { diff --git a/tests/org.eclipse.passage.lic.integration.tests/.classpath b/tests/org.eclipse.passage.lic.integration.tests/.classpath new file mode 100644 index 0000000..f193818 --- /dev/null +++ b/tests/org.eclipse.passage.lic.integration.tests/.classpath @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/tests/org.eclipse.passage.lic.integration.tests/.project b/tests/org.eclipse.passage.lic.integration.tests/.project new file mode 100644 index 0000000..4fe8d81 --- /dev/null +++ b/tests/org.eclipse.passage.lic.integration.tests/.project @@ -0,0 +1,33 @@ + + + org.eclipse.passage.lic.integration.tests + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.pde.ds.core.builder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/tests/ru.arsysop.passage.lic.json.tests/.settings/org.sonarlint.eclipse.core.prefs b/tests/org.eclipse.passage.lic.integration.tests/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from tests/ru.arsysop.passage.lic.json.tests/.settings/org.sonarlint.eclipse.core.prefs rename to tests/org.eclipse.passage.lic.integration.tests/.settings/org.sonarlint.eclipse.core.prefs diff --git a/tests/org.eclipse.passage.lic.integration.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.passage.lic.integration.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..3f21b2c --- /dev/null +++ b/tests/org.eclipse.passage.lic.integration.tests/META-INF/MANIFEST.MF @@ -0,0 +1,25 @@ +Manifest-Version: 1.0 +Automatic-Module-Name: org.eclipse.passage.lic.integration.tests +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.eclipse.passage.lic.integration.tests +Bundle-Version: 0.3.3.qualifier +Bundle-Name: %Bundle-Name +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.junit;bundle-version="4.12.0", + org.eclipse.osgi;bundle-version="0.0.0", + org.eclipse.emf.ecore.xmi;bundle-version="0.0.0", + org.eclipse.passage.brc.oshi;bundle-version="0.0.0", + org.eclipse.passage.lic.runtime;bundle-version="0.0.0", + org.eclipse.passage.lic.base;bundle-version="0.0.0", + org.eclipse.passage.lic.inspector;bundle-version="0.0.0", + org.eclipse.passage.lic.equinox;bundle-version="0.0.0", + org.eclipse.passage.lic.bc;bundle-version="0.0.0", + org.eclipse.passage.lic.net;bundle-version="0.0.0", + org.eclipse.passage.lic.oshi;bundle-version="0.0.0", + org.eclipse.passage.lic.registry;bundle-version="0.0.0", + org.eclipse.passage.lic.model;bundle-version="0.0.0", + org.eclipse.passage.lic.model.core;bundle-version="0.0.0" +Bundle-ActivationPolicy: lazy +Service-Component: OSGI-INF/*.xml +Provide-Capability: licensing.feature;licensing.feature="some.licensed.bundle", + licensing.configuration;licensing.configuration="some.licensed.configuration";keypath="OSGI-INF/key.pub" diff --git a/tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/l10n/bundle.properties b/tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..fd6acec --- /dev/null +++ b/tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,23 @@ +#Properties file for org.eclipse.passage.lic.integration.tests +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +Bundle-Name = Passage LIC Integration Tests +Bundle-Vendor = Eclipse Passage +Bundle-Copyright = Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ diff --git a/tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/ru.arsysop.passage.lic.integration.tests.LicIntegrationComponent.xml b/tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/org.eclipse.passage.lic.integration.tests.LicIntegrationComponent.xml similarity index 65% rename from tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/ru.arsysop.passage.lic.integration.tests.LicIntegrationComponent.xml rename to tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/org.eclipse.passage.lic.integration.tests.LicIntegrationComponent.xml index dbfe68a..d8da37c 100644 --- a/tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/ru.arsysop.passage.lic.integration.tests.LicIntegrationComponent.xml +++ b/tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/org.eclipse.passage.lic.integration.tests.LicIntegrationComponent.xml @@ -1,7 +1,7 @@ - + - + \ No newline at end of file diff --git a/tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/org.eclipse.passage.lic.integration.tests.OsgiInstallAreaConditionMiner.xml b/tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/org.eclipse.passage.lic.integration.tests.OsgiInstallAreaConditionMiner.xml new file mode 100644 index 0000000..f0382a1 --- /dev/null +++ b/tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/org.eclipse.passage.lic.integration.tests.OsgiInstallAreaConditionMiner.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/ru.arsysop.passage.lic.integration.tests.SomeKeyKeeper.xml b/tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/org.eclipse.passage.lic.integration.tests.SomeKeyKeeper.xml similarity index 50% rename from tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/ru.arsysop.passage.lic.integration.tests.SomeKeyKeeper.xml rename to tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/org.eclipse.passage.lic.integration.tests.SomeKeyKeeper.xml index 89a327d..3b42c2c 100644 --- a/tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/ru.arsysop.passage.lic.integration.tests.SomeKeyKeeper.xml +++ b/tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/org.eclipse.passage.lic.integration.tests.SomeKeyKeeper.xml @@ -1,8 +1,8 @@ - - + + - + diff --git a/tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/ru.arsysop.passage.lic.integration.tests.SomeStreamCodec.xml b/tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/org.eclipse.passage.lic.integration.tests.SomeStreamCodec.xml similarity index 62% rename from tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/ru.arsysop.passage.lic.integration.tests.SomeStreamCodec.xml rename to tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/org.eclipse.passage.lic.integration.tests.SomeStreamCodec.xml index 3c5c499..050399d 100644 --- a/tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/ru.arsysop.passage.lic.integration.tests.SomeStreamCodec.xml +++ b/tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/org.eclipse.passage.lic.integration.tests.SomeStreamCodec.xml @@ -1,8 +1,8 @@ - - + + - + diff --git a/tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/org.eclipse.passage.lic.integration.tests.SystemPropertyExecutor.xml b/tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/org.eclipse.passage.lic.integration.tests.SystemPropertyExecutor.xml new file mode 100644 index 0000000..a295095 --- /dev/null +++ b/tests/org.eclipse.passage.lic.integration.tests/OSGI-INF/org.eclipse.passage.lic.integration.tests.SystemPropertyExecutor.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/tests/org.eclipse.passage.lic.integration.tests/build.properties b/tests/org.eclipse.passage.lic.integration.tests/build.properties new file mode 100644 index 0000000..9275df7 --- /dev/null +++ b/tests/org.eclipse.passage.lic.integration.tests/build.properties @@ -0,0 +1,18 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + .,\ + OSGI-INF/ diff --git a/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/AccessManagerIntegrationTest.java b/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/AccessManagerIntegrationTest.java similarity index 79% rename from tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/AccessManagerIntegrationTest.java rename to tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/AccessManagerIntegrationTest.java index 84df9f0..c08b9da 100644 --- a/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/AccessManagerIntegrationTest.java +++ b/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/AccessManagerIntegrationTest.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.integration.tests; +package org.eclipse.passage.lic.integration.tests; import static org.junit.Assert.assertEquals; @@ -26,18 +18,17 @@ import java.util.Date; import org.eclipse.emf.common.util.EList; +import org.eclipse.passage.lic.base.LicensingConfigurations; +import org.eclipse.passage.lic.base.LicensingNamespaces; +import org.eclipse.passage.lic.inspector.HardwareInspector; +import org.eclipse.passage.lic.model.api.LicenseGrant; +import org.eclipse.passage.lic.model.api.LicensePack; +import org.eclipse.passage.lic.model.meta.LicFactory; +import org.eclipse.passage.lic.oshi.OshiHal; +import org.eclipse.passage.lic.runtime.LicensingConfiguration; import org.junit.Before; import org.junit.Test; -import ru.arsysop.passage.lic.base.LicensingConfigurations; -import ru.arsysop.passage.lic.base.LicensingNamespaces; -import ru.arsysop.passage.lic.inspector.HardwareInspector; -import ru.arsysop.passage.lic.model.api.LicensePack; -import ru.arsysop.passage.lic.model.api.LicenseGrant; -import ru.arsysop.passage.lic.model.meta.LicFactory; -import ru.arsysop.passage.lic.oshi.OshiHal; -import ru.arsysop.passage.lic.runtime.LicensingConfiguration; - public class AccessManagerIntegrationTest extends LicIntegrationBase { private static final String UNDEFINED = "undefined"; //$NON-NLS-1$ diff --git a/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/ConfigurationRequirementIntegrationTest.java b/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/ConfigurationRequirementIntegrationTest.java similarity index 65% rename from tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/ConfigurationRequirementIntegrationTest.java rename to tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/ConfigurationRequirementIntegrationTest.java index bc6d75a..72d06ad 100644 --- a/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/ConfigurationRequirementIntegrationTest.java +++ b/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/ConfigurationRequirementIntegrationTest.java @@ -1,38 +1,28 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.integration.tests; +package org.eclipse.passage.lic.integration.tests; +import static org.eclipse.passage.lic.base.LicensingProperties.*; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.util.HashMap; import java.util.Map; +import org.eclipse.passage.lic.base.LicensingVersions; +import org.eclipse.passage.lic.runtime.ConfigurationRequirement; import org.junit.Test; -import static ru.arsysop.passage.lic.base.LicensingProperties.*; - -import ru.arsysop.passage.lic.base.LicensingVersions; -import ru.arsysop.passage.lic.runtime.ConfigurationRequirement; - public class ConfigurationRequirementIntegrationTest extends LicIntegrationBase { @Test diff --git a/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/FeaturePermissionIntegrationTest.java b/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/FeaturePermissionIntegrationTest.java similarity index 73% rename from tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/FeaturePermissionIntegrationTest.java rename to tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/FeaturePermissionIntegrationTest.java index 53a927d..5190649 100644 --- a/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/FeaturePermissionIntegrationTest.java +++ b/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/FeaturePermissionIntegrationTest.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.integration.tests; +package org.eclipse.passage.lic.integration.tests; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; @@ -27,18 +19,17 @@ import java.util.Date; import org.eclipse.emf.common.util.EList; +import org.eclipse.passage.lic.base.LicensingConfigurations; +import org.eclipse.passage.lic.inspector.HardwareInspector; +import org.eclipse.passage.lic.model.api.LicenseGrant; +import org.eclipse.passage.lic.model.api.LicensePack; +import org.eclipse.passage.lic.model.meta.LicFactory; +import org.eclipse.passage.lic.oshi.OshiHal; +import org.eclipse.passage.lic.runtime.FeaturePermission; +import org.eclipse.passage.lic.runtime.LicensingCondition; +import org.eclipse.passage.lic.runtime.LicensingConfiguration; import org.junit.Test; -import ru.arsysop.passage.lic.base.LicensingConfigurations; -import ru.arsysop.passage.lic.inspector.HardwareInspector; -import ru.arsysop.passage.lic.model.api.LicenseGrant; -import ru.arsysop.passage.lic.model.api.LicensePack; -import ru.arsysop.passage.lic.model.meta.LicFactory; -import ru.arsysop.passage.lic.oshi.OshiHal; -import ru.arsysop.passage.lic.runtime.FeaturePermission; -import ru.arsysop.passage.lic.runtime.LicensingCondition; -import ru.arsysop.passage.lic.runtime.LicensingConfiguration; - public class FeaturePermissionIntegrationTest extends LicIntegrationBase { @Test diff --git a/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/LicIntegrationBase.java b/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/LicIntegrationBase.java similarity index 88% rename from tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/LicIntegrationBase.java rename to tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/LicIntegrationBase.java index 2392fa8..ba0aebe 100644 --- a/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/LicIntegrationBase.java +++ b/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/LicIntegrationBase.java @@ -1,29 +1,20 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.integration.tests; +package org.eclipse.passage.lic.integration.tests; +import static org.eclipse.passage.lic.base.LicensingPaths.*; import static org.junit.Assert.assertNotNull; -import static ru.arsysop.passage.lic.base.LicensingPaths.*; - import java.io.File; import java.io.IOException; import java.nio.file.FileVisitResult; @@ -35,6 +26,10 @@ import java.nio.file.attribute.BasicFileAttributes; import org.eclipse.osgi.service.environment.EnvironmentInfo; +import org.eclipse.passage.lic.base.LicensingPaths; +import org.eclipse.passage.lic.model.api.LicensePack; +import org.eclipse.passage.lic.runtime.AccessManager; +import org.eclipse.passage.lic.runtime.LicensingConfiguration; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Rule; @@ -45,11 +40,6 @@ import org.osgi.framework.FrameworkUtil; import org.osgi.framework.ServiceReference; -import ru.arsysop.passage.lic.base.LicensingPaths; -import ru.arsysop.passage.lic.model.api.LicensePack; -import ru.arsysop.passage.lic.runtime.AccessManager; -import ru.arsysop.passage.lic.runtime.LicensingConfiguration; - public abstract class LicIntegrationBase { private static final String EXTENSION_SERVER_SETTINGS = ".settings"; //$NON-NLS-1$ diff --git a/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/LicIntegrationComponent.java b/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/LicIntegrationComponent.java new file mode 100644 index 0000000..b9335a3 --- /dev/null +++ b/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/LicIntegrationComponent.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.integration.tests; + +import org.eclipse.passage.lic.base.LicensingProperties; +import org.osgi.service.component.annotations.Component; + +@Component(property = { LicensingProperties.LICENSING_FEATURE_IDENTIFIER + "=some.licensed.component", + LicensingProperties.LICENSING_FEATURE_VERSION + '=' + "1.2.0", + LicensingProperties.LICENSING_RESTRICTION_LEVEL + '=' + LicensingProperties.LICENSING_RESTRICTION_LEVEL_ERROR }) +public class LicIntegrationComponent { + +} diff --git a/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/LicensingConditionIntegrationTest.java b/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/LicensingConditionIntegrationTest.java similarity index 80% rename from tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/LicensingConditionIntegrationTest.java rename to tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/LicensingConditionIntegrationTest.java index 904fd10..8f0aee2 100644 --- a/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/LicensingConditionIntegrationTest.java +++ b/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/LicensingConditionIntegrationTest.java @@ -1,40 +1,31 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.integration.tests; +package org.eclipse.passage.lic.integration.tests; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.eclipse.emf.common.util.EList; +import org.eclipse.passage.lic.base.LicensingConfigurations; +import org.eclipse.passage.lic.inspector.HardwareInspector; +import org.eclipse.passage.lic.model.api.LicenseGrant; +import org.eclipse.passage.lic.model.api.LicensePack; +import org.eclipse.passage.lic.model.meta.LicFactory; +import org.eclipse.passage.lic.oshi.OshiHal; +import org.eclipse.passage.lic.runtime.LicensingCondition; +import org.eclipse.passage.lic.runtime.LicensingConfiguration; import org.junit.Test; -import ru.arsysop.passage.lic.base.LicensingConfigurations; -import ru.arsysop.passage.lic.inspector.HardwareInspector; -import ru.arsysop.passage.lic.model.api.LicensePack; -import ru.arsysop.passage.lic.model.api.LicenseGrant; -import ru.arsysop.passage.lic.model.meta.LicFactory; -import ru.arsysop.passage.lic.oshi.OshiHal; -import ru.arsysop.passage.lic.runtime.LicensingCondition; -import ru.arsysop.passage.lic.runtime.LicensingConfiguration; - public class LicensingConditionIntegrationTest extends LicIntegrationBase { @Test diff --git a/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/LocOfflineEmulator.java b/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/LocOfflineEmulator.java similarity index 66% rename from tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/LocOfflineEmulator.java rename to tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/LocOfflineEmulator.java index b044467..c5fab9e 100644 --- a/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/LocOfflineEmulator.java +++ b/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/LocOfflineEmulator.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.integration.tests; +package org.eclipse.passage.lic.integration.tests; import java.io.File; import java.io.FileInputStream; @@ -29,10 +21,9 @@ import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl; - -import ru.arsysop.passage.lic.bc.BcStreamCodec; -import ru.arsysop.passage.lic.model.api.LicensePack; -import ru.arsysop.passage.lic.runtime.io.StreamCodec; +import org.eclipse.passage.lic.bc.BcStreamCodec; +import org.eclipse.passage.lic.model.api.LicensePack; +import org.eclipse.passage.lic.runtime.io.StreamCodec; @SuppressWarnings("restriction") public class LocOfflineEmulator { diff --git a/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/SystemPropertyExecutor.java b/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/SystemPropertyExecutor.java new file mode 100644 index 0000000..e2ab219 --- /dev/null +++ b/tests/org.eclipse.passage.lic.integration.tests/src/org/eclipse/passage/lic/integration/tests/SystemPropertyExecutor.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.integration.tests; + +import org.eclipse.passage.lic.runtime.RestrictionExecutor; +import org.eclipse.passage.lic.runtime.RestrictionVerdict; +import org.osgi.service.component.annotations.Component; + +@Component +public class SystemPropertyExecutor implements RestrictionExecutor { + + @Override + public void execute(Iterable actions) { + for (RestrictionVerdict verdict : actions) { + String featureIdentifier = verdict.getConfigurationRequirement().getFeatureIdentifier(); + String restrictionLevel = verdict.getRestrictionLevel(); + System.setProperty(featureIdentifier, restrictionLevel); + } + } + +} diff --git a/tests/org.eclipse.passage.lic.json.tests/.classpath b/tests/org.eclipse.passage.lic.json.tests/.classpath new file mode 100644 index 0000000..f193818 --- /dev/null +++ b/tests/org.eclipse.passage.lic.json.tests/.classpath @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/tests/org.eclipse.passage.lic.json.tests/.project b/tests/org.eclipse.passage.lic.json.tests/.project new file mode 100644 index 0000000..9e78805 --- /dev/null +++ b/tests/org.eclipse.passage.lic.json.tests/.project @@ -0,0 +1,28 @@ + + + org.eclipse.passage.lic.json.tests + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/tests/ru.arsysop.passage.lic.model.core.tests/.settings/org.sonarlint.eclipse.core.prefs b/tests/org.eclipse.passage.lic.json.tests/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from tests/ru.arsysop.passage.lic.model.core.tests/.settings/org.sonarlint.eclipse.core.prefs rename to tests/org.eclipse.passage.lic.json.tests/.settings/org.sonarlint.eclipse.core.prefs diff --git a/tests/ru.arsysop.passage.lic.json.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.passage.lic.json.tests/META-INF/MANIFEST.MF similarity index 63% rename from tests/ru.arsysop.passage.lic.json.tests/META-INF/MANIFEST.MF rename to tests/org.eclipse.passage.lic.json.tests/META-INF/MANIFEST.MF index f3993e6..217e85b 100644 --- a/tests/ru.arsysop.passage.lic.json.tests/META-INF/MANIFEST.MF +++ b/tests/org.eclipse.passage.lic.json.tests/META-INF/MANIFEST.MF @@ -1,8 +1,8 @@ Manifest-Version: 1.0 -Automatic-Module-Name: ru.arsysop.passage.lic.json.tests +Automatic-Module-Name: org.eclipse.passage.lic.json.tests Bundle-ManifestVersion: 2 -Bundle-SymbolicName: ru.arsysop.passage.lic.json.tests -Bundle-Version: 0.3.2.qualifier +Bundle-SymbolicName: org.eclipse.passage.lic.json.tests +Bundle-Version: 0.3.3.qualifier Bundle-Name: %Bundle-Name Bundle-Vendor: %Bundle-Vendor Bundle-Copyright: %Bundle-Copyright @@ -11,5 +11,5 @@ Require-Bundle: org.junit;bundle-version="4.12.0", com.fasterxml.jackson.core.jackson-annotations;bundle-version="2.9.2", com.fasterxml.jackson.core.jackson-core;bundle-version="2.9.2", com.fasterxml.jackson.core.jackson-databind;bundle-version="2.9.2", - ru.arsysop.passage.lic.base;bundle-version="0.0.0", - ru.arsysop.passage.lic.json;bundle-version="0.0.0" + org.eclipse.passage.lic.base;bundle-version="0.0.0", + org.eclipse.passage.lic.json;bundle-version="0.0.0" diff --git a/tests/org.eclipse.passage.lic.json.tests/OSGI-INF/l10n/bundle.properties b/tests/org.eclipse.passage.lic.json.tests/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..76656c2 --- /dev/null +++ b/tests/org.eclipse.passage.lic.json.tests/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,23 @@ +#Properties file for org.eclipse.passage.lic.json.tests +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +Bundle-Name = Passage LIC JSON Tests +Bundle-Vendor = Eclipse Passage +Bundle-Copyright = Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ diff --git a/tests/org.eclipse.passage.lic.json.tests/build.properties b/tests/org.eclipse.passage.lic.json.tests/build.properties new file mode 100644 index 0000000..9275df7 --- /dev/null +++ b/tests/org.eclipse.passage.lic.json.tests/build.properties @@ -0,0 +1,18 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + .,\ + OSGI-INF/ diff --git a/tests/ru.arsysop.passage.lic.json.tests/src/ru/arsysop/passage/lic/json/tests/JsonFeaturePermissionTransportTest.java b/tests/org.eclipse.passage.lic.json.tests/src/org/eclipse/passage/lic/json/tests/JsonFeaturePermissionTransportTest.java similarity index 71% rename from tests/ru.arsysop.passage.lic.json.tests/src/ru/arsysop/passage/lic/json/tests/JsonFeaturePermissionTransportTest.java rename to tests/org.eclipse.passage.lic.json.tests/src/org/eclipse/passage/lic/json/tests/JsonFeaturePermissionTransportTest.java index db3e33a..7421f63 100644 --- a/tests/ru.arsysop.passage.lic.json.tests/src/ru/arsysop/passage/lic/json/tests/JsonFeaturePermissionTransportTest.java +++ b/tests/org.eclipse.passage.lic.json.tests/src/org/eclipse/passage/lic/json/tests/JsonFeaturePermissionTransportTest.java @@ -1,4 +1,16 @@ -package ru.arsysop.passage.lic.json.tests; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.json.tests; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; @@ -8,23 +20,22 @@ import java.io.IOException; import java.util.Date; +import org.eclipse.passage.lic.base.BaseFeaturePermission; +import org.eclipse.passage.lic.base.BaseLicensingCondition; +import org.eclipse.passage.lic.base.FeaturePermissions; +import org.eclipse.passage.lic.base.LicensingConditions; +import org.eclipse.passage.lic.internal.json.FeaturePermissionAggregator; +import org.eclipse.passage.lic.internal.json.FeaturePermissionMixln; +import org.eclipse.passage.lic.internal.json.JsonFeaturePermissionTransport; +import org.eclipse.passage.lic.runtime.FeaturePermission; +import org.eclipse.passage.lic.runtime.LicensingCondition; +import org.eclipse.passage.lic.runtime.LicensingConfiguration; import org.junit.Test; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; -import ru.arsysop.passage.lic.base.BaseFeaturePermission; -import ru.arsysop.passage.lic.base.BaseLicensingCondition; -import ru.arsysop.passage.lic.base.FeaturePermissions; -import ru.arsysop.passage.lic.base.LicensingConditions; -import ru.arsysop.passage.lic.internal.json.FeaturePermissionAggregator; -import ru.arsysop.passage.lic.internal.json.FeaturePermissionMixln; -import ru.arsysop.passage.lic.internal.json.JsonFeaturePermissionTransport; -import ru.arsysop.passage.lic.runtime.FeaturePermission; -import ru.arsysop.passage.lic.runtime.LicensingCondition; -import ru.arsysop.passage.lic.runtime.LicensingConfiguration; - @SuppressWarnings("restriction") public class JsonFeaturePermissionTransportTest { diff --git a/tests/ru.arsysop.passage.lic.json.tests/src/ru/arsysop/passage/lic/json/tests/NetConditionDescriptorTransportTest.java b/tests/org.eclipse.passage.lic.json.tests/src/org/eclipse/passage/lic/json/tests/NetConditionDescriptorTransportTest.java similarity index 74% rename from tests/ru.arsysop.passage.lic.json.tests/src/ru/arsysop/passage/lic/json/tests/NetConditionDescriptorTransportTest.java rename to tests/org.eclipse.passage.lic.json.tests/src/org/eclipse/passage/lic/json/tests/NetConditionDescriptorTransportTest.java index 2fa0062..06ec974 100644 --- a/tests/ru.arsysop.passage.lic.json.tests/src/ru/arsysop/passage/lic/json/tests/NetConditionDescriptorTransportTest.java +++ b/tests/org.eclipse.passage.lic.json.tests/src/org/eclipse/passage/lic/json/tests/NetConditionDescriptorTransportTest.java @@ -1,4 +1,16 @@ -package ru.arsysop.passage.lic.json.tests; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.json.tests; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; @@ -8,19 +20,18 @@ import java.io.IOException; import java.util.Date; +import org.eclipse.passage.lic.base.BaseLicensingCondition; +import org.eclipse.passage.lic.base.LicensingConditions; +import org.eclipse.passage.lic.internal.json.ConditionDescriptorAggregator; +import org.eclipse.passage.lic.internal.json.JsonLicensingConditionTransport; +import org.eclipse.passage.lic.internal.json.LicensingConditionMixIn; +import org.eclipse.passage.lic.runtime.LicensingCondition; import org.junit.Test; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; -import ru.arsysop.passage.lic.base.BaseLicensingCondition; -import ru.arsysop.passage.lic.base.LicensingConditions; -import ru.arsysop.passage.lic.internal.json.ConditionDescriptorAggregator; -import ru.arsysop.passage.lic.internal.json.JsonLicensingConditionTransport; -import ru.arsysop.passage.lic.internal.json.LicensingConditionMixIn; -import ru.arsysop.passage.lic.runtime.LicensingCondition; - @SuppressWarnings("restriction") public class NetConditionDescriptorTransportTest { diff --git a/tests/org.eclipse.passage.lic.model.core.tests/.classpath b/tests/org.eclipse.passage.lic.model.core.tests/.classpath new file mode 100644 index 0000000..f193818 --- /dev/null +++ b/tests/org.eclipse.passage.lic.model.core.tests/.classpath @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/tests/org.eclipse.passage.lic.model.core.tests/.project b/tests/org.eclipse.passage.lic.model.core.tests/.project new file mode 100644 index 0000000..64f8073 --- /dev/null +++ b/tests/org.eclipse.passage.lic.model.core.tests/.project @@ -0,0 +1,28 @@ + + + org.eclipse.passage.lic.model.core.tests + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/tests/ru.arsysop.passage.lic.net.tests/.settings/org.sonarlint.eclipse.core.prefs b/tests/org.eclipse.passage.lic.model.core.tests/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from tests/ru.arsysop.passage.lic.net.tests/.settings/org.sonarlint.eclipse.core.prefs rename to tests/org.eclipse.passage.lic.model.core.tests/.settings/org.sonarlint.eclipse.core.prefs diff --git a/tests/ru.arsysop.passage.lic.model.core.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.passage.lic.model.core.tests/META-INF/MANIFEST.MF similarity index 51% rename from tests/ru.arsysop.passage.lic.model.core.tests/META-INF/MANIFEST.MF rename to tests/org.eclipse.passage.lic.model.core.tests/META-INF/MANIFEST.MF index c3f162d..555f139 100644 --- a/tests/ru.arsysop.passage.lic.model.core.tests/META-INF/MANIFEST.MF +++ b/tests/org.eclipse.passage.lic.model.core.tests/META-INF/MANIFEST.MF @@ -1,13 +1,13 @@ Manifest-Version: 1.0 -Automatic-Module-Name: ru.arsysop.passage.lic.model.core.tests +Automatic-Module-Name: org.eclipse.passage.lic.model.core.tests Bundle-ManifestVersion: 2 -Bundle-SymbolicName: ru.arsysop.passage.lic.model.core.tests -Bundle-Version: 0.3.2.qualifier +Bundle-SymbolicName: org.eclipse.passage.lic.model.core.tests +Bundle-Version: 0.3.3.qualifier Bundle-Name: %Bundle-Name Bundle-Vendor: %Bundle-Vendor Bundle-Copyright: %Bundle-Copyright Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Require-Bundle: org.junit;bundle-version="4.12.0", org.eclipse.emf.ecore.xmi;bundle-version="0.0.0", - ru.arsysop.passage.lic.model;bundle-version="0.0.0", - ru.arsysop.passage.lic.model.core;bundle-version="0.0.0" + org.eclipse.passage.lic.model;bundle-version="0.0.0", + org.eclipse.passage.lic.model.core;bundle-version="0.0.0" diff --git a/tests/org.eclipse.passage.lic.model.core.tests/OSGI-INF/l10n/bundle.properties b/tests/org.eclipse.passage.lic.model.core.tests/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..437e507 --- /dev/null +++ b/tests/org.eclipse.passage.lic.model.core.tests/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,23 @@ +#Properties file for org.eclipse.passage.lic.model.core.tests +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +Bundle-Name = Passage LIC Model Core Tests +Bundle-Vendor = Eclipse Passage +Bundle-Copyright = Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ diff --git a/tests/org.eclipse.passage.lic.model.core.tests/build.properties b/tests/org.eclipse.passage.lic.model.core.tests/build.properties new file mode 100644 index 0000000..9275df7 --- /dev/null +++ b/tests/org.eclipse.passage.lic.model.core.tests/build.properties @@ -0,0 +1,18 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + .,\ + OSGI-INF/ diff --git a/tests/ru.arsysop.passage.lic.model.core.tests/src/ru/arsysop/passage/lic/model/core/tests/XmiLicensingConditionExtractorTest.java b/tests/org.eclipse.passage.lic.model.core.tests/src/org/eclipse/passage/lic/model/core/tests/XmiLicensingConditionExtractorTest.java similarity index 79% rename from tests/ru.arsysop.passage.lic.model.core.tests/src/ru/arsysop/passage/lic/model/core/tests/XmiLicensingConditionExtractorTest.java rename to tests/org.eclipse.passage.lic.model.core.tests/src/org/eclipse/passage/lic/model/core/tests/XmiLicensingConditionExtractorTest.java index c677ade..7cdb5ba 100644 --- a/tests/ru.arsysop.passage.lic.model.core.tests/src/ru/arsysop/passage/lic/model/core/tests/XmiLicensingConditionExtractorTest.java +++ b/tests/org.eclipse.passage.lic.model.core.tests/src/org/eclipse/passage/lic/model/core/tests/XmiLicensingConditionExtractorTest.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.model.core.tests; +package org.eclipse.passage.lic.model.core.tests; import static org.junit.Assert.assertEquals; @@ -32,16 +24,15 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl; +import org.eclipse.passage.lic.model.api.LicenseGrant; +import org.eclipse.passage.lic.model.api.LicensePack; +import org.eclipse.passage.lic.model.core.XmiLicensingConditionExtractor; +import org.eclipse.passage.lic.model.meta.LicFactory; +import org.eclipse.passage.lic.runtime.LicensingCondition; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; -import ru.arsysop.passage.lic.model.api.LicenseGrant; -import ru.arsysop.passage.lic.model.api.LicensePack; -import ru.arsysop.passage.lic.model.core.XmiLicensingConditionExtractor; -import ru.arsysop.passage.lic.model.meta.LicFactory; -import ru.arsysop.passage.lic.runtime.LicensingCondition; - public class XmiLicensingConditionExtractorTest { private static final String COND1_FEATURE_ID = "loc.workbench"; //$NON-NLS-1$ diff --git a/tests/org.eclipse.passage.lic.net.tests/.classpath b/tests/org.eclipse.passage.lic.net.tests/.classpath new file mode 100644 index 0000000..f193818 --- /dev/null +++ b/tests/org.eclipse.passage.lic.net.tests/.classpath @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/tests/org.eclipse.passage.lic.net.tests/.project b/tests/org.eclipse.passage.lic.net.tests/.project new file mode 100644 index 0000000..c0588e6 --- /dev/null +++ b/tests/org.eclipse.passage.lic.net.tests/.project @@ -0,0 +1,28 @@ + + + org.eclipse.passage.lic.net.tests + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/tests/ru.arsysop.passage.lic.oshi.tests/.settings/org.sonarlint.eclipse.core.prefs b/tests/org.eclipse.passage.lic.net.tests/.settings/org.sonarlint.eclipse.core.prefs similarity index 100% rename from tests/ru.arsysop.passage.lic.oshi.tests/.settings/org.sonarlint.eclipse.core.prefs rename to tests/org.eclipse.passage.lic.net.tests/.settings/org.sonarlint.eclipse.core.prefs diff --git a/tests/ru.arsysop.passage.lic.net.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.passage.lic.net.tests/META-INF/MANIFEST.MF similarity index 64% rename from tests/ru.arsysop.passage.lic.net.tests/META-INF/MANIFEST.MF rename to tests/org.eclipse.passage.lic.net.tests/META-INF/MANIFEST.MF index c8abf26..ab4ddc9 100644 --- a/tests/ru.arsysop.passage.lic.net.tests/META-INF/MANIFEST.MF +++ b/tests/org.eclipse.passage.lic.net.tests/META-INF/MANIFEST.MF @@ -1,8 +1,8 @@ Manifest-Version: 1.0 -Automatic-Module-Name: ru.arsysop.passage.lic.net.tests +Automatic-Module-Name: org.eclipse.passage.lic.net.tests Bundle-ManifestVersion: 2 -Bundle-SymbolicName: ru.arsysop.passage.lic.net.tests -Bundle-Version: 0.3.2.qualifier +Bundle-SymbolicName: org.eclipse.passage.lic.net.tests +Bundle-Version: 0.3.3.qualifier Bundle-Name: %Bundle-Name Bundle-Vendor: %Bundle-Vendor Bundle-Copyright: %Bundle-Copyright @@ -14,6 +14,6 @@ Require-Bundle: org.junit;bundle-version="4.12.0", org.mockito;bundle-version="0.0.0", org.eclipse.osgi;bundle-version="0.0.0", org.eclipse.osgi.services;bundle-version="0.0.0", - ru.arsysop.passage.lic.runtime;bundle-version="0.0.0", - ru.arsysop.passage.lic.base;bundle-version="0.0.0", - ru.arsysop.passage.lic.net;bundle-version="0.0.0" + org.eclipse.passage.lic.runtime;bundle-version="0.0.0", + org.eclipse.passage.lic.base;bundle-version="0.0.0", + org.eclipse.passage.lic.net;bundle-version="0.0.0" diff --git a/tests/org.eclipse.passage.lic.net.tests/OSGI-INF/l10n/bundle.properties b/tests/org.eclipse.passage.lic.net.tests/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..efcf08b --- /dev/null +++ b/tests/org.eclipse.passage.lic.net.tests/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,23 @@ +#Properties file for org.eclipse.passage.lic.net.tests +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +Bundle-Name = Passage LIC Net Tests +Bundle-Vendor = Eclipse Passage +Bundle-Copyright = Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ diff --git a/tests/org.eclipse.passage.lic.net.tests/build.properties b/tests/org.eclipse.passage.lic.net.tests/build.properties new file mode 100644 index 0000000..9275df7 --- /dev/null +++ b/tests/org.eclipse.passage.lic.net.tests/build.properties @@ -0,0 +1,18 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + .,\ + OSGI-INF/ diff --git a/tests/ru.arsysop.passage.lic.net.tests/src/ru/arsysop/passage/lic/net/tests/NtpConditionEvaluatorTest.java b/tests/org.eclipse.passage.lic.net.tests/src/org/eclipse/passage/lic/net/tests/NtpConditionEvaluatorTest.java similarity index 79% rename from tests/ru.arsysop.passage.lic.net.tests/src/ru/arsysop/passage/lic/net/tests/NtpConditionEvaluatorTest.java rename to tests/org.eclipse.passage.lic.net.tests/src/org/eclipse/passage/lic/net/tests/NtpConditionEvaluatorTest.java index 67a97de..0ef5685 100644 --- a/tests/ru.arsysop.passage.lic.net.tests/src/ru/arsysop/passage/lic/net/tests/NtpConditionEvaluatorTest.java +++ b/tests/org.eclipse.passage.lic.net.tests/src/org/eclipse/passage/lic/net/tests/NtpConditionEvaluatorTest.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.net.tests; +package org.eclipse.passage.lic.net.tests; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -30,16 +22,15 @@ import java.util.Iterator; import java.util.Set; +import org.eclipse.passage.lic.base.LicensingConditions; +import org.eclipse.passage.lic.internal.net.NtpConditionEvaluator; +import org.eclipse.passage.lic.net.TimeConditions; +import org.eclipse.passage.lic.runtime.FeaturePermission; +import org.eclipse.passage.lic.runtime.LicensingCondition; import org.junit.Test; import org.mockito.Mockito; import org.osgi.service.log.LogService; -import ru.arsysop.passage.lic.base.LicensingConditions; -import ru.arsysop.passage.lic.internal.net.NtpConditionEvaluator; -import ru.arsysop.passage.lic.net.TimeConditions; -import ru.arsysop.passage.lic.runtime.FeaturePermission; -import ru.arsysop.passage.lic.runtime.LicensingCondition; - @SuppressWarnings("restriction") public class NtpConditionEvaluatorTest { diff --git a/tests/ru.arsysop.passage.lic.net.tests/src/ru/arsysop/passage/lic/net/tests/TimeConditionsTest.java b/tests/org.eclipse.passage.lic.net.tests/src/org/eclipse/passage/lic/net/tests/TimeConditionsTest.java similarity index 53% rename from tests/ru.arsysop.passage.lic.net.tests/src/ru/arsysop/passage/lic/net/tests/TimeConditionsTest.java rename to tests/org.eclipse.passage.lic.net.tests/src/org/eclipse/passage/lic/net/tests/TimeConditionsTest.java index e685e27..e190b95 100644 --- a/tests/ru.arsysop.passage.lic.net.tests/src/ru/arsysop/passage/lic/net/tests/TimeConditionsTest.java +++ b/tests/org.eclipse.passage.lic.net.tests/src/org/eclipse/passage/lic/net/tests/TimeConditionsTest.java @@ -1,32 +1,23 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.net.tests; +package org.eclipse.passage.lic.net.tests; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; +import org.eclipse.passage.lic.net.TimeConditions; import org.junit.Test; -import ru.arsysop.passage.lic.net.TimeConditions; - public class TimeConditionsTest { @Test diff --git a/tests/org.eclipse.passage.lic.oshi.tests/.classpath b/tests/org.eclipse.passage.lic.oshi.tests/.classpath new file mode 100644 index 0000000..f193818 --- /dev/null +++ b/tests/org.eclipse.passage.lic.oshi.tests/.classpath @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/tests/org.eclipse.passage.lic.oshi.tests/.project b/tests/org.eclipse.passage.lic.oshi.tests/.project new file mode 100644 index 0000000..4f8dfd1 --- /dev/null +++ b/tests/org.eclipse.passage.lic.oshi.tests/.project @@ -0,0 +1,28 @@ + + + org.eclipse.passage.lic.oshi.tests + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/tests/org.eclipse.passage.lic.oshi.tests/.settings/org.sonarlint.eclipse.core.prefs b/tests/org.eclipse.passage.lic.oshi.tests/.settings/org.sonarlint.eclipse.core.prefs new file mode 100644 index 0000000..2bfe394 --- /dev/null +++ b/tests/org.eclipse.passage.lic.oshi.tests/.settings/org.sonarlint.eclipse.core.prefs @@ -0,0 +1,4 @@ +autoEnabled=false +eclipse.preferences.version=1 +extraProperties= +fileExclusions= diff --git a/tests/ru.arsysop.passage.lic.oshi.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.passage.lic.oshi.tests/META-INF/MANIFEST.MF similarity index 50% rename from tests/ru.arsysop.passage.lic.oshi.tests/META-INF/MANIFEST.MF rename to tests/org.eclipse.passage.lic.oshi.tests/META-INF/MANIFEST.MF index 4af79a0..6ee88cf 100644 --- a/tests/ru.arsysop.passage.lic.oshi.tests/META-INF/MANIFEST.MF +++ b/tests/org.eclipse.passage.lic.oshi.tests/META-INF/MANIFEST.MF @@ -1,8 +1,8 @@ Manifest-Version: 1.0 -Automatic-Module-Name: ru.arsysop.passage.lic.oshi.tests +Automatic-Module-Name: org.eclipse.passage.lic.oshi.tests Bundle-ManifestVersion: 2 -Bundle-SymbolicName: ru.arsysop.passage.lic.oshi.tests -Bundle-Version: 0.3.2.qualifier +Bundle-SymbolicName: org.eclipse.passage.lic.oshi.tests +Bundle-Version: 0.3.3.qualifier Bundle-Name: %Bundle-Name Bundle-Vendor: %Bundle-Vendor Bundle-Copyright: %Bundle-Copyright @@ -11,7 +11,7 @@ Require-Bundle: org.junit;bundle-version="4.12.0", org.slf4j.api;bundle-version="0.0.0", org.mockito;bundle-version="0.0.0", org.eclipse.osgi.services;bundle-version="0.0.0", - ru.arsysop.passage.brc.oshi;bundle-version="0.0.0", - ru.arsysop.passage.lic.runtime;bundle-version="0.0.0", - ru.arsysop.passage.lic.base;bundle-version="0.0.0", - ru.arsysop.passage.lic.oshi;bundle-version="0.0.0" + org.eclipse.passage.brc.oshi;bundle-version="0.0.0", + org.eclipse.passage.lic.runtime;bundle-version="0.0.0", + org.eclipse.passage.lic.base;bundle-version="0.0.0", + org.eclipse.passage.lic.oshi;bundle-version="0.0.0" diff --git a/tests/org.eclipse.passage.lic.oshi.tests/OSGI-INF/l10n/bundle.properties b/tests/org.eclipse.passage.lic.oshi.tests/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..845304d --- /dev/null +++ b/tests/org.eclipse.passage.lic.oshi.tests/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,23 @@ +#Properties file for org.eclipse.passage.lic.oshi.tests +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +Bundle-Name = Passage LIC OSHI Tests +Bundle-Vendor = Eclipse Passage +Bundle-Copyright = Copyright (c) 2018-2019 ArSysOp and others.\n\ +\n\ +This program and the accompanying materials are made\n\ +available under the terms of the Eclipse Public License 2.0\n\ +which is available at https://www.eclipse.org/legal/epl-2.0/\n\ +\n\ +SPDX-License-Identifier: EPL-2.0\n\ diff --git a/tests/org.eclipse.passage.lic.oshi.tests/build.properties b/tests/org.eclipse.passage.lic.oshi.tests/build.properties new file mode 100644 index 0000000..9275df7 --- /dev/null +++ b/tests/org.eclipse.passage.lic.oshi.tests/build.properties @@ -0,0 +1,18 @@ +############################################################################### +# Copyright (c) 2018-2019 ArSysOp and others +# +# 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 +# +# Contributors: +# ArSysOp - initial API and implementation +############################################################################### + +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + .,\ + OSGI-INF/ diff --git a/tests/ru.arsysop.passage.lic.oshi.tests/src/ru/arsysop/passage/lic/oshi/tests/OshiConditionEvaluatorTest.java b/tests/org.eclipse.passage.lic.oshi.tests/src/org/eclipse/passage/lic/oshi/tests/OshiConditionEvaluatorTest.java similarity index 78% rename from tests/ru.arsysop.passage.lic.oshi.tests/src/ru/arsysop/passage/lic/oshi/tests/OshiConditionEvaluatorTest.java rename to tests/org.eclipse.passage.lic.oshi.tests/src/org/eclipse/passage/lic/oshi/tests/OshiConditionEvaluatorTest.java index 582600f..14c002b 100644 --- a/tests/ru.arsysop.passage.lic.oshi.tests/src/ru/arsysop/passage/lic/oshi/tests/OshiConditionEvaluatorTest.java +++ b/tests/org.eclipse.passage.lic.oshi.tests/src/org/eclipse/passage/lic/oshi/tests/OshiConditionEvaluatorTest.java @@ -1,24 +1,16 @@ /******************************************************************************* - * Copyright (c) 2018 ArSysOp + * Copyright (c) 2018-2019 ArSysOp * - * 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 + * 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. * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * ArSysOp - initial API and implementation *******************************************************************************/ -package ru.arsysop.passage.lic.oshi.tests; +package org.eclipse.passage.lic.oshi.tests; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -30,16 +22,15 @@ import java.util.Iterator; import java.util.Set; +import org.eclipse.passage.lic.base.LicensingConditions; +import org.eclipse.passage.lic.internal.oshi.OshiConditionEvaluator; +import org.eclipse.passage.lic.oshi.OshiHal; +import org.eclipse.passage.lic.runtime.FeaturePermission; +import org.eclipse.passage.lic.runtime.LicensingCondition; import org.junit.Test; import org.mockito.Mockito; import org.osgi.service.log.LogService; -import ru.arsysop.passage.lic.base.LicensingConditions; -import ru.arsysop.passage.lic.internal.oshi.OshiConditionEvaluator; -import ru.arsysop.passage.lic.oshi.OshiHal; -import ru.arsysop.passage.lic.runtime.LicensingCondition; -import ru.arsysop.passage.lic.runtime.FeaturePermission; - @SuppressWarnings("restriction") public class OshiConditionEvaluatorTest { diff --git a/tests/org.eclipse.passage.lic.oshi.tests/src/org/eclipse/passage/lic/oshi/tests/OshiHalTest.java b/tests/org.eclipse.passage.lic.oshi.tests/src/org/eclipse/passage/lic/oshi/tests/OshiHalTest.java new file mode 100644 index 0000000..49f642e --- /dev/null +++ b/tests/org.eclipse.passage.lic.oshi.tests/src/org/eclipse/passage/lic/oshi/tests/OshiHalTest.java @@ -0,0 +1,30 @@ +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.oshi.tests; + +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNull; + +import org.eclipse.passage.lic.oshi.OshiHal; +import org.junit.Test; + +public class OshiHalTest { + + @Test + public void testExtractPropertyNegative() throws Exception { + assertNull(OshiHal.extractProperty(null)); + assertNull(OshiHal.extractProperty(new String())); + assertFalse(OshiHal.evaluateProperty(null, null)); + } + +} diff --git a/tests/ru.arsysop.passage.lic.oshi.tests/src/ru/arsysop/passage/lic/oshi/tests/OshiHardwareInspectorTest.java b/tests/org.eclipse.passage.lic.oshi.tests/src/org/eclipse/passage/lic/oshi/tests/OshiHardwareInspectorTest.java similarity index 66% rename from tests/ru.arsysop.passage.lic.oshi.tests/src/ru/arsysop/passage/lic/oshi/tests/OshiHardwareInspectorTest.java rename to tests/org.eclipse.passage.lic.oshi.tests/src/org/eclipse/passage/lic/oshi/tests/OshiHardwareInspectorTest.java index 3e97517..204e1b5 100644 --- a/tests/ru.arsysop.passage.lic.oshi.tests/src/ru/arsysop/passage/lic/oshi/tests/OshiHardwareInspectorTest.java +++ b/tests/org.eclipse.passage.lic.oshi.tests/src/org/eclipse/passage/lic/oshi/tests/OshiHardwareInspectorTest.java @@ -1,4 +1,16 @@ -package ru.arsysop.passage.lic.oshi.tests; +/******************************************************************************* + * Copyright (c) 2018-2019 ArSysOp + * + * 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 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.oshi.tests; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -8,30 +20,10 @@ import java.io.IOException; import java.util.stream.StreamSupport; +import org.eclipse.passage.lic.inspector.HardwareInspector; +import org.eclipse.passage.lic.internal.oshi.OshiHardwareInspector; import org.junit.Test; -import ru.arsysop.passage.lic.inspector.HardwareInspector; -import ru.arsysop.passage.lic.internal.oshi.OshiHardwareInspector; -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ @SuppressWarnings("restriction") public class OshiHardwareInspectorTest { diff --git a/tests/pom.xml b/tests/pom.xml index 1479ea0..3b28d34 100644 --- a/tests/pom.xml +++ b/tests/pom.xml @@ -1,20 +1,12 @@ - - - - - - - - - - diff --git a/tests/ru.arsysop.passage.lic.base.tests/OSGI-INF/l10n/bundle.properties b/tests/ru.arsysop.passage.lic.base.tests/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 122ddcd..0000000 --- a/tests/ru.arsysop.passage.lic.base.tests/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.base.tests -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC Base Tests -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/tests/ru.arsysop.passage.lic.base.tests/build.properties b/tests/ru.arsysop.passage.lic.base.tests/build.properties deleted file mode 100644 index 449b823..0000000 --- a/tests/ru.arsysop.passage.lic.base.tests/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/ diff --git a/tests/ru.arsysop.passage.lic.bc.tests/.classpath b/tests/ru.arsysop.passage.lic.bc.tests/.classpath deleted file mode 100644 index f1eb2e5..0000000 --- a/tests/ru.arsysop.passage.lic.bc.tests/.classpath +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/tests/ru.arsysop.passage.lic.bc.tests/META-INF/MANIFEST.MF b/tests/ru.arsysop.passage.lic.bc.tests/META-INF/MANIFEST.MF deleted file mode 100644 index df484e5..0000000 --- a/tests/ru.arsysop.passage.lic.bc.tests/META-INF/MANIFEST.MF +++ /dev/null @@ -1,14 +0,0 @@ -Manifest-Version: 1.0 -Automatic-Module-Name: ru.arsysop.passage.lic.bc.tests -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: ru.arsysop.passage.lic.bc.tests -Bundle-Version: 0.3.2.qualifier -Bundle-Name: %Bundle-Name -Bundle-Vendor: %Bundle-Vendor -Bundle-Copyright: %Bundle-Copyright -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: org.junit;bundle-version="4.12.0", - org.eclipse.osgi.services;bundle-version="0.0.0", - ru.arsysop.passage.lic.runtime;bundle-version="0.0.0", - ru.arsysop.passage.lic.base;bundle-version="0.0.0", - ru.arsysop.passage.lic.bc;bundle-version="0.0.0" diff --git a/tests/ru.arsysop.passage.lic.bc.tests/OSGI-INF/l10n/bundle.properties b/tests/ru.arsysop.passage.lic.bc.tests/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 3b441ec..0000000 --- a/tests/ru.arsysop.passage.lic.bc.tests/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.bc.tests -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC BC Tests -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/tests/ru.arsysop.passage.lic.bc.tests/build.properties b/tests/ru.arsysop.passage.lic.bc.tests/build.properties deleted file mode 100644 index 449b823..0000000 --- a/tests/ru.arsysop.passage.lic.bc.tests/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/ diff --git a/tests/ru.arsysop.passage.lic.equinox.tests/.classpath b/tests/ru.arsysop.passage.lic.equinox.tests/.classpath deleted file mode 100644 index f1eb2e5..0000000 --- a/tests/ru.arsysop.passage.lic.equinox.tests/.classpath +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/tests/ru.arsysop.passage.lic.equinox.tests/OSGI-INF/l10n/bundle.properties b/tests/ru.arsysop.passage.lic.equinox.tests/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 7c80661..0000000 --- a/tests/ru.arsysop.passage.lic.equinox.tests/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.equinox.tests -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC Equinox Tests -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/tests/ru.arsysop.passage.lic.equinox.tests/build.properties b/tests/ru.arsysop.passage.lic.equinox.tests/build.properties deleted file mode 100644 index 449b823..0000000 --- a/tests/ru.arsysop.passage.lic.equinox.tests/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/ diff --git a/tests/ru.arsysop.passage.lic.integration.tests/.classpath b/tests/ru.arsysop.passage.lic.integration.tests/.classpath deleted file mode 100644 index f1eb2e5..0000000 --- a/tests/ru.arsysop.passage.lic.integration.tests/.classpath +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/tests/ru.arsysop.passage.lic.integration.tests/.project b/tests/ru.arsysop.passage.lic.integration.tests/.project deleted file mode 100644 index f6e7548..0000000 --- a/tests/ru.arsysop.passage.lic.integration.tests/.project +++ /dev/null @@ -1,53 +0,0 @@ - - - - ru.arsysop.passage.lic.integration.tests - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.pde.ds.core.builder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/tests/ru.arsysop.passage.lic.integration.tests/META-INF/MANIFEST.MF b/tests/ru.arsysop.passage.lic.integration.tests/META-INF/MANIFEST.MF deleted file mode 100644 index 0fe20af..0000000 --- a/tests/ru.arsysop.passage.lic.integration.tests/META-INF/MANIFEST.MF +++ /dev/null @@ -1,24 +0,0 @@ -Manifest-Version: 1.0 -Automatic-Module-Name: ru.arsysop.passage.lic.integration.tests -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: ru.arsysop.passage.lic.integration.tests -Bundle-Version: 0.3.2.qualifier -Bundle-Name: %Bundle-Name -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: org.junit;bundle-version="4.12.0", - org.eclipse.osgi;bundle-version="0.0.0", - org.eclipse.emf.ecore.xmi;bundle-version="0.0.0", - ru.arsysop.passage.lic.runtime;bundle-version="0.0.0", - ru.arsysop.passage.lic.base;bundle-version="0.0.0", - ru.arsysop.passage.lic.inspector;bundle-version="0.0.0", - ru.arsysop.passage.lic.equinox;bundle-version="0.0.0", - ru.arsysop.passage.lic.bc;bundle-version="0.0.0", - ru.arsysop.passage.lic.net;bundle-version="0.0.0", - ru.arsysop.passage.lic.oshi;bundle-version="0.0.0", - ru.arsysop.passage.lic.registry;bundle-version="0.0.0", - ru.arsysop.passage.lic.model;bundle-version="0.0.0", - ru.arsysop.passage.lic.model.core;bundle-version="0.0.0" -Bundle-ActivationPolicy: lazy -Service-Component: OSGI-INF/*.xml -Provide-Capability: licensing.feature;licensing.feature="some.licensed.bundle", - licensing.configuration;licensing.configuration="some.licensed.configuration";keypath="OSGI-INF/key.pub" diff --git a/tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/l10n/bundle.properties b/tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 77109c9..0000000 --- a/tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.integration.tests -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC Integration Tests -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/ru.arsysop.passage.lic.integration.tests.OsgiInstallAreaConditionMiner.xml b/tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/ru.arsysop.passage.lic.integration.tests.OsgiInstallAreaConditionMiner.xml deleted file mode 100644 index 0e74a6e..0000000 --- a/tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/ru.arsysop.passage.lic.integration.tests.OsgiInstallAreaConditionMiner.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/ru.arsysop.passage.lic.integration.tests.SystemPropertyExecutor.xml b/tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/ru.arsysop.passage.lic.integration.tests.SystemPropertyExecutor.xml deleted file mode 100644 index 3de2870..0000000 --- a/tests/ru.arsysop.passage.lic.integration.tests/OSGI-INF/ru.arsysop.passage.lic.integration.tests.SystemPropertyExecutor.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/tests/ru.arsysop.passage.lic.integration.tests/build.properties b/tests/ru.arsysop.passage.lic.integration.tests/build.properties deleted file mode 100644 index 449b823..0000000 --- a/tests/ru.arsysop.passage.lic.integration.tests/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/ diff --git a/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/LicIntegrationComponent.java b/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/LicIntegrationComponent.java deleted file mode 100644 index b3de566..0000000 --- a/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/LicIntegrationComponent.java +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.integration.tests; - -import org.osgi.service.component.annotations.Component; - -import ru.arsysop.passage.lic.base.LicensingProperties; - -@Component(property = { LicensingProperties.LICENSING_FEATURE_IDENTIFIER + "=some.licensed.component", - LicensingProperties.LICENSING_FEATURE_VERSION + '=' + "1.2.0", - LicensingProperties.LICENSING_RESTRICTION_LEVEL + '=' + LicensingProperties.LICENSING_RESTRICTION_LEVEL_ERROR }) -public class LicIntegrationComponent { - -} diff --git a/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/SystemPropertyExecutor.java b/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/SystemPropertyExecutor.java deleted file mode 100644 index a781f18..0000000 --- a/tests/ru.arsysop.passage.lic.integration.tests/src/ru/arsysop/passage/lic/integration/tests/SystemPropertyExecutor.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.integration.tests; - -import org.osgi.service.component.annotations.Component; - -import ru.arsysop.passage.lic.runtime.RestrictionExecutor; -import ru.arsysop.passage.lic.runtime.RestrictionVerdict; - -@Component -public class SystemPropertyExecutor implements RestrictionExecutor { - - @Override - public void execute(Iterable actions) { - for (RestrictionVerdict verdict : actions) { - String featureIdentifier = verdict.getConfigurationRequirement().getFeatureIdentifier(); - String restrictionLevel = verdict.getRestrictionLevel(); - System.setProperty(featureIdentifier, restrictionLevel); - } - } - -} diff --git a/tests/ru.arsysop.passage.lic.json.tests/OSGI-INF/l10n/bundle.properties b/tests/ru.arsysop.passage.lic.json.tests/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 290ad43..0000000 --- a/tests/ru.arsysop.passage.lic.json.tests/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.json.tests -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC JSON Tests -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/tests/ru.arsysop.passage.lic.json.tests/build.properties b/tests/ru.arsysop.passage.lic.json.tests/build.properties deleted file mode 100644 index 449b823..0000000 --- a/tests/ru.arsysop.passage.lic.json.tests/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/ diff --git a/tests/ru.arsysop.passage.lic.model.core.tests/.classpath b/tests/ru.arsysop.passage.lic.model.core.tests/.classpath deleted file mode 100644 index f1eb2e5..0000000 --- a/tests/ru.arsysop.passage.lic.model.core.tests/.classpath +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/tests/ru.arsysop.passage.lic.model.core.tests/.project b/tests/ru.arsysop.passage.lic.model.core.tests/.project deleted file mode 100644 index c606598..0000000 --- a/tests/ru.arsysop.passage.lic.model.core.tests/.project +++ /dev/null @@ -1,48 +0,0 @@ - - - - ru.arsysop.passage.lic.model.core.tests - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/tests/ru.arsysop.passage.lic.model.core.tests/OSGI-INF/l10n/bundle.properties b/tests/ru.arsysop.passage.lic.model.core.tests/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index cbcc1b9..0000000 --- a/tests/ru.arsysop.passage.lic.model.core.tests/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.model.core.tests -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC Model Core Tests -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/tests/ru.arsysop.passage.lic.model.core.tests/build.properties b/tests/ru.arsysop.passage.lic.model.core.tests/build.properties deleted file mode 100644 index 449b823..0000000 --- a/tests/ru.arsysop.passage.lic.model.core.tests/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/ diff --git a/tests/ru.arsysop.passage.lic.net.tests/.classpath b/tests/ru.arsysop.passage.lic.net.tests/.classpath deleted file mode 100644 index f1eb2e5..0000000 --- a/tests/ru.arsysop.passage.lic.net.tests/.classpath +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/tests/ru.arsysop.passage.lic.net.tests/OSGI-INF/l10n/bundle.properties b/tests/ru.arsysop.passage.lic.net.tests/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 429ff53..0000000 --- a/tests/ru.arsysop.passage.lic.net.tests/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.net.tests -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC Net Tests -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/tests/ru.arsysop.passage.lic.net.tests/build.properties b/tests/ru.arsysop.passage.lic.net.tests/build.properties deleted file mode 100644 index 449b823..0000000 --- a/tests/ru.arsysop.passage.lic.net.tests/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/ diff --git a/tests/ru.arsysop.passage.lic.oshi.tests/.classpath b/tests/ru.arsysop.passage.lic.oshi.tests/.classpath deleted file mode 100644 index f1eb2e5..0000000 --- a/tests/ru.arsysop.passage.lic.oshi.tests/.classpath +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - diff --git a/tests/ru.arsysop.passage.lic.oshi.tests/.project b/tests/ru.arsysop.passage.lic.oshi.tests/.project deleted file mode 100644 index c43d099..0000000 --- a/tests/ru.arsysop.passage.lic.oshi.tests/.project +++ /dev/null @@ -1,28 +0,0 @@ - - - ru.arsysop.passage.lic.oshi.tests - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/tests/ru.arsysop.passage.lic.oshi.tests/OSGI-INF/l10n/bundle.properties b/tests/ru.arsysop.passage.lic.oshi.tests/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 3470ed6..0000000 --- a/tests/ru.arsysop.passage.lic.oshi.tests/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -#Properties file for ru.arsysop.passage.lic.oshi.tests -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -Bundle-Name = Passage LIC OSHI Tests -Bundle-Vendor = ArSysOp -Bundle-Copyright = Copyright (c) 2018 ArSysOp diff --git a/tests/ru.arsysop.passage.lic.oshi.tests/build.properties b/tests/ru.arsysop.passage.lic.oshi.tests/build.properties deleted file mode 100644 index 449b823..0000000 --- a/tests/ru.arsysop.passage.lic.oshi.tests/build.properties +++ /dev/null @@ -1,26 +0,0 @@ -############################################################################### -# Copyright (c) 2018 ArSysOp -# -# 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. -# -# SPDX-License-Identifier: Apache-2.0 -# -# Contributors: -# ArSysOp - initial API and implementation -############################################################################### - -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - OSGI-INF/ diff --git a/tests/ru.arsysop.passage.lic.oshi.tests/src/ru/arsysop/passage/lic/oshi/tests/OshiHalTest.java b/tests/ru.arsysop.passage.lic.oshi.tests/src/ru/arsysop/passage/lic/oshi/tests/OshiHalTest.java deleted file mode 100644 index e78282c..0000000 --- a/tests/ru.arsysop.passage.lic.oshi.tests/src/ru/arsysop/passage/lic/oshi/tests/OshiHalTest.java +++ /dev/null @@ -1,39 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 ArSysOp - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * ArSysOp - initial API and implementation - *******************************************************************************/ -package ru.arsysop.passage.lic.oshi.tests; - -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertNull; - -import org.junit.Test; - -import ru.arsysop.passage.lic.oshi.OshiHal; - -public class OshiHalTest { - - @Test - public void testExtractPropertyNegative() throws Exception { - assertNull(OshiHal.extractProperty(null)); - assertNull(OshiHal.extractProperty(new String())); - assertFalse(OshiHal.evaluateProperty(null, null)); - } - -}