├── .codecov.yml
├── .gitattributes
├── .gitignore
├── .project
├── .settings
└── org.eclipse.m2e.core.prefs
├── .travis.yml
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── ISSUE_TEMPLATE.md
├── LICENSE.md
├── PULL_REQUEST_TEMPLATE.md
├── README.md
├── bnd.bnd
├── build.xml
├── docker
├── Dockerfile
└── Dockerfile-osc-base
├── images
└── OSC_logo.jpg
├── osc-common
├── .classpath
├── .project
├── .settings
│ ├── org.eclipse.jdt.core.prefs
│ ├── org.eclipse.m2e.core.prefs
│ ├── org.eclipse.wst.common.component
│ ├── org.eclipse.wst.common.project.facet.core.xml
│ └── org.eclipse.wst.validation.prefs
├── README.md
├── pom.xml
└── src
│ └── main
│ └── java
│ └── org
│ └── osc
│ └── core
│ └── common
│ ├── alarm
│ ├── AlarmAction.java
│ ├── EventType.java
│ ├── Severity.java
│ └── package-info.java
│ ├── job
│ ├── AcknowledgementStatus.java
│ ├── FreqType.java
│ ├── JobState.java
│ ├── JobStatus.java
│ ├── TaskGuard.java
│ ├── TaskState.java
│ ├── TaskStatus.java
│ ├── ThresholdType.java
│ └── package-info.java
│ └── virtualization
│ ├── OpenstackSoftwareVersion.java
│ ├── VirtualizationConnectorProperties.java
│ ├── VirtualizationType.java
│ └── package-info.java
├── osc-control
├── .classpath
├── .gitignore
├── .project
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── README.md
├── bnd.bnd
├── pom.xml
└── src
│ └── main
│ └── java
│ └── org
│ └── osc
│ └── core
│ └── server
│ └── control
│ └── ServerControl.java
├── osc-domain
├── .classpath
├── .project
├── .settings
│ ├── org.eclipse.jdt.core.prefs
│ ├── org.eclipse.jpt.core.prefs
│ └── org.eclipse.wst.common.project.facet.core.xml
├── README.md
├── bnd.bnd
├── pom.xml
└── src
│ └── main
│ ├── java
│ └── org
│ │ └── osc
│ │ └── core
│ │ └── broker
│ │ └── model
│ │ └── entities
│ │ ├── BaseEntity.java
│ │ ├── IscEntity.java
│ │ ├── ObjectType.java
│ │ ├── ReleaseInfo.java
│ │ ├── RoleType.java
│ │ ├── SslCertificateAttr.java
│ │ ├── User.java
│ │ ├── appliance
│ │ ├── Appliance.java
│ │ ├── ApplianceSoftwareVersion.java
│ │ ├── DistributedAppliance.java
│ │ ├── DistributedApplianceInstance.java
│ │ ├── TagEncapsulationType.java
│ │ ├── VirtualSystem.java
│ │ └── package-info.java
│ │ ├── archive
│ │ ├── JobsArchive.java
│ │ └── package-info.java
│ │ ├── events
│ │ ├── Alarm.java
│ │ ├── Alert.java
│ │ ├── DaiFailureType.java
│ │ ├── EmailSettings.java
│ │ ├── SystemFailureType.java
│ │ └── package-info.java
│ │ ├── job
│ │ ├── JobObject.java
│ │ ├── JobRecord.java
│ │ ├── LastJobContainer.java
│ │ ├── TaskObject.java
│ │ ├── TaskRecord.java
│ │ └── package-info.java
│ │ ├── management
│ │ ├── ApplianceManagerConnector.java
│ │ ├── Domain.java
│ │ ├── Policy.java
│ │ └── package-info.java
│ │ ├── package-info.java
│ │ └── virtualization
│ │ ├── FailurePolicyType.java
│ │ ├── ProtectionEntity.java
│ │ ├── SecurityGroup.java
│ │ ├── SecurityGroupInterface.java
│ │ ├── SecurityGroupMember.java
│ │ ├── SecurityGroupMemberType.java
│ │ ├── ServiceFunctionChain.java
│ │ ├── VirtualPort.java
│ │ ├── VirtualizationConnector.java
│ │ ├── k8s
│ │ ├── Label.java
│ │ ├── Pod.java
│ │ ├── PodPort.java
│ │ └── package-info.java
│ │ ├── openstack
│ │ ├── AvailabilityZone.java
│ │ ├── DeploymentSpec.java
│ │ ├── Host.java
│ │ ├── HostAggregate.java
│ │ ├── Network.java
│ │ ├── OsFlavorReference.java
│ │ ├── OsImageReference.java
│ │ ├── OsProtectionEntity.java
│ │ ├── OsSecurityGroupReference.java
│ │ ├── Subnet.java
│ │ ├── VM.java
│ │ ├── VMPort.java
│ │ └── package-info.java
│ │ └── package-info.java
│ └── resources
│ └── META-INF
│ └── persistence.xml
├── osc-export
├── .gitignore
├── .project
├── .settings
│ └── org.eclipse.core.resources.prefs
├── README.md
├── config
│ ├── org.apache.felix.http-api.cfg
│ ├── org.apache.felix.http-redirect.cfg
│ ├── org.apache.felix.http-ui.cfg
│ ├── org.osc.core.broker.upload.cfg
│ ├── org.osc.core.broker.util.db.cfg
│ ├── ui.servlet.cfg
│ └── ui.servlet.context.cfg
├── data
│ ├── .keep
│ ├── mainKeyStore.p12
│ ├── osctrustore.jks
│ └── vmidcServer.conf
├── db_password.txt
├── logback.xml
├── pom.xml
├── quartz.properties
├── server-debug.bndrun
├── server.bnd
└── server.bndrun
├── osc-installer-simple
├── .classpath
├── .gitignore
├── .project
├── .settings
│ ├── org.eclipse.jdt.core.prefs
│ └── org.eclipse.m2e.core.prefs
├── README.md
├── pom.xml
└── src
│ └── main
│ └── java
│ └── org
│ └── osc
│ └── core
│ └── server
│ └── installer
│ └── simple
│ └── SimpleInstaller.java
├── osc-installer-test
├── .classpath
├── .gitignore
├── .project
├── .settings
│ ├── org.eclipse.core.resources.prefs
│ ├── org.eclipse.jdt.core.prefs
│ ├── org.eclipse.jdt.ui.prefs
│ └── org.eclipse.m2e.core.prefs
├── README.md
├── pom.xml
└── src
│ └── test
│ ├── java
│ └── org
│ │ └── osc
│ │ └── core
│ │ └── server
│ │ └── installer
│ │ └── test
│ │ └── InstallerIntegrationTest.java
│ └── resources
│ ├── org.example.a.jar
│ ├── org.example.b.jar
│ ├── org.example.c.jar
│ ├── org.example.invalid-missing-rb.bar
│ ├── valid1.bar
│ └── valid2.bar
├── osc-installer
├── .classpath
├── .gitignore
├── .project
├── .settings
│ ├── org.eclipse.jdt.core.prefs
│ └── org.eclipse.m2e.core.prefs
├── README.md
├── bnd.bnd
├── pom.xml
└── src
│ ├── main
│ └── java
│ │ └── org
│ │ └── osc
│ │ └── core
│ │ └── server
│ │ └── installer
│ │ ├── Artifact.java
│ │ ├── FrameworkInstaller.java
│ │ ├── Hash.java
│ │ ├── InstallableListener.java
│ │ ├── InstallableManager.java
│ │ ├── InstallableUnit.java
│ │ ├── InstallableUnitEvent.java
│ │ ├── State.java
│ │ ├── impl
│ │ ├── ArtifactImpl.java
│ │ ├── Constants.java
│ │ ├── DeploymentInstaller.java
│ │ ├── FrameworkInstallerComponent.java
│ │ ├── InstallableUnitImpl.java
│ │ ├── Job.java
│ │ ├── Locking.java
│ │ └── RequirementParser.java
│ │ └── package-info.java
│ └── test
│ ├── java
│ └── org
│ │ └── osc
│ │ └── core
│ │ └── server
│ │ └── installer
│ │ └── impl
│ │ ├── CompositeBundleInstallerTest.java
│ │ ├── RequirementParserTest.java
│ │ └── TestLogService.java
│ └── resources
│ ├── invalid-missing-index-path.bar
│ ├── invalid-missing-requires.bar
│ ├── invalid-no-index.bar
│ ├── invalid-wrong-extension.xxx
│ ├── valid1.bar
│ └── valid2.bar
├── osc-resolver
├── .classpath
├── .gitignore
├── .project
├── .settings
│ ├── org.eclipse.jdt.core.prefs
│ └── org.eclipse.m2e.core.prefs
├── README.md
├── bnd.bnd
├── pom.xml
└── src
│ ├── main
│ └── java
│ │ └── org
│ │ └── osc
│ │ └── core
│ │ └── server
│ │ └── resolver
│ │ ├── PluginResolver.java
│ │ ├── ResolveRequest.java
│ │ ├── ResolveResult.java
│ │ ├── impl
│ │ ├── BasicRegistry.java
│ │ ├── CapReqBase.java
│ │ ├── CapabilityImpl.java
│ │ ├── JarURLConnector.java
│ │ ├── Path.java
│ │ ├── PluginResolveContext.java
│ │ ├── PluginResolverComponent.java
│ │ ├── RequirementImpl.java
│ │ ├── ResolveResultImpl.java
│ │ ├── ResourceImpl.java
│ │ └── URIUtils.java
│ │ └── package-info.java
│ └── test
│ └── java
│ └── org
│ └── osc
│ └── core
│ └── server
│ └── resolver
│ └── impl
│ ├── PluginResolveContextTest.java
│ └── URIUtilsTest.java
├── osc-rest-server
├── .classpath
├── .project
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── README.md
├── api-doc.zip
├── pom.xml
└── src
│ ├── main
│ └── java
│ │ └── org
│ │ └── osc
│ │ └── core
│ │ └── broker
│ │ └── rest
│ │ └── server
│ │ ├── ApiServletContext.java
│ │ ├── ApiServletDelegate.java
│ │ ├── ApiUtil.java
│ │ ├── LocalHostAuthFilter.java
│ │ ├── OscAuthFilter.java
│ │ ├── ServerRestConstants.java
│ │ ├── annotations
│ │ ├── LocalHostAuth.java
│ │ └── OscAuth.java
│ │ ├── api
│ │ ├── AlarmApis.java
│ │ ├── AlertApis.java
│ │ ├── ApplianceApis.java
│ │ ├── DistributedApplianceApis.java
│ │ ├── DistributedApplianceInstanceApis.java
│ │ ├── JobApis.java
│ │ ├── ManagerApis.java
│ │ ├── ManagerConnectorApis.java
│ │ ├── ServerDebugApis.java
│ │ ├── ServerMgmtApis.java
│ │ ├── VirtualSystemApis.java
│ │ ├── VirtualizationConnectorApis.java
│ │ └── proprietary
│ │ │ └── NsmMgrApis.java
│ │ ├── exception
│ │ ├── BadRequestExceptionMapper.java
│ │ ├── BaseExceptionMapperUtil.java
│ │ ├── InternalServerErrorExceptionMapper.java
│ │ ├── JsonProcessingExceptionMapper.java
│ │ ├── NotFoundExceptionMapper.java
│ │ ├── PathParamExceptionMapper.java
│ │ ├── VmidcRestServerException.java
│ │ └── XMLParseExceptionMapper.java
│ │ └── model
│ │ └── Notification.java
│ └── test
│ └── java
│ └── org
│ └── osc
│ └── core
│ └── broker
│ └── rest
│ └── server
│ └── api
│ ├── AlarmApisTest.java
│ └── test
│ └── BaseJerseyTest.java
├── osc-server-bom
├── MAKE_IMAGE
├── OSC.ovf
├── README.md
├── Sources
│ └── pxz-4.999.9beta.20091201git.tar.xz
├── bin
│ ├── centos-6.yum.conf
│ ├── create-centos
│ ├── freezeversions.py
│ ├── pbkdf2_key_config.ini
│ └── qemu-img
├── build.xml
├── centos-6-new.packages
├── centos-6.packages1
├── centos-6.packages2
├── centos-epel.packages
├── centos
│ ├── boot
│ │ └── grub
│ │ │ └── grub.conf
│ └── initrmfs
│ │ └── dracut-mods
│ │ └── 95osc_mod
│ │ ├── centos_rc.sh
│ │ └── install
├── make-cmd-line.sh
├── makefiles
│ ├── install.mk
│ ├── master.mk
│ ├── mount.mk
│ └── packages.mk
├── postinstall
├── repo
│ ├── centos-6-updated.yum.conf
│ ├── centos-6.yum.conf
│ └── centos-epel.yum.conf
├── root
│ ├── boot
│ │ └── grub
│ │ │ └── device.map
│ ├── etc
│ │ ├── crypttab
│ │ ├── fstab
│ │ ├── init.d
│ │ │ ├── firstconfig
│ │ │ └── securityBroker
│ │ ├── issue
│ │ ├── mtab
│ │ ├── sudoers.d
│ │ │ └── admin
│ │ ├── sysconfig
│ │ │ ├── network
│ │ │ └── network-scripts
│ │ │ │ └── ifcfg-eth0
│ │ └── system-release
│ ├── opt
│ │ └── vmidc
│ │ │ ├── bin
│ │ │ ├── default-data
│ │ │ │ ├── mainKeyStore.p12
│ │ │ │ ├── osctrustore.jks
│ │ │ │ ├── plugins
│ │ │ │ │ └── .keep
│ │ │ │ └── vmidcServer.conf
│ │ │ ├── logback.xml
│ │ │ ├── osc_pbkdf2_key.py
│ │ │ ├── pbkdf2.py
│ │ │ ├── quartz.properties
│ │ │ ├── scripts
│ │ │ │ ├── centos-6.repo
│ │ │ │ └── vmidcBootstrap.sh
│ │ │ ├── vmidc.sh
│ │ │ └── vmidcShell.py
│ │ │ └── jre
│ │ │ └── .keep
│ └── usr
│ │ └── local
│ │ └── share
│ │ └── initrd
│ │ ├── bin
│ │ └── .keep
│ │ ├── etc
│ │ └── rc.local
│ │ └── lib64
│ │ └── .keep
└── src
│ └── boot
│ └── grub
│ └── grub.conf
├── osc-server
├── .classpath
├── .gitignore
├── .project
├── .settings
│ ├── .jsdtscope
│ ├── com.vaadin.integration.eclipse.prefs
│ ├── org.eclipse.core.resources.prefs
│ ├── org.eclipse.jdt.core.prefs
│ ├── org.eclipse.m2e.core.prefs
│ ├── org.eclipse.wst.common.component
│ ├── org.eclipse.wst.common.project.facet.core.prefs.xml
│ ├── org.eclipse.wst.common.project.facet.core.xml
│ ├── org.eclipse.wst.jsdt.core.prefs
│ ├── org.eclipse.wst.jsdt.ui.superType.container
│ ├── org.eclipse.wst.jsdt.ui.superType.name
│ └── org.eclipse.wst.validation.prefs
├── README.md
├── bnd.bnd
├── images
│ ├── Readme.txt
│ └── meta_os.json
├── pom.xml
├── src
│ ├── main
│ │ ├── java
│ │ │ └── org
│ │ │ │ └── osc
│ │ │ │ └── core
│ │ │ │ ├── broker
│ │ │ │ ├── job
│ │ │ │ │ ├── EndTask.java
│ │ │ │ │ ├── Graph.java
│ │ │ │ │ ├── Job.java
│ │ │ │ │ ├── JobEngine.java
│ │ │ │ │ ├── JobQueuer.java
│ │ │ │ │ ├── JobStateElementImpl.java
│ │ │ │ │ ├── JobStatusElementImpl.java
│ │ │ │ │ ├── MetaTask.java
│ │ │ │ │ ├── StartTask.java
│ │ │ │ │ ├── Task.java
│ │ │ │ │ ├── TaskGraph.java
│ │ │ │ │ ├── TaskInput.java
│ │ │ │ │ ├── TaskNode.java
│ │ │ │ │ ├── TaskOutput.java
│ │ │ │ │ ├── TaskStateElementImpl.java
│ │ │ │ │ ├── TaskStatusElementImpl.java
│ │ │ │ │ └── lock
│ │ │ │ │ │ ├── LockInfoService.java
│ │ │ │ │ │ ├── LockInformationDto.java
│ │ │ │ │ │ ├── LockManager.java
│ │ │ │ │ │ ├── LockObjectReference.java
│ │ │ │ │ │ ├── LockRequest.java
│ │ │ │ │ │ ├── ReadWriteLockRecord.java
│ │ │ │ │ │ └── ReadWriteLockRecordDto.java
│ │ │ │ ├── model
│ │ │ │ │ ├── image
│ │ │ │ │ │ └── ImageMetadata.java
│ │ │ │ │ ├── plugin
│ │ │ │ │ │ ├── ApiFactoryService.java
│ │ │ │ │ │ ├── ApiFactoryServiceImpl.java
│ │ │ │ │ │ ├── Plugin.java
│ │ │ │ │ │ ├── PluginEvent.java
│ │ │ │ │ │ ├── PluginTracker.java
│ │ │ │ │ │ ├── PluginTrackerCustomizer.java
│ │ │ │ │ │ ├── manager
│ │ │ │ │ │ │ ├── ApplianceElementImpl.java
│ │ │ │ │ │ │ ├── ApplianceManagerConnectorElementImpl.java
│ │ │ │ │ │ │ ├── ApplianceSoftwareVersionElementImpl.java
│ │ │ │ │ │ │ ├── CustomClientEndPointConfigurator.java
│ │ │ │ │ │ │ ├── DistributedApplianceElementImpl.java
│ │ │ │ │ │ │ ├── DistributedApplianceInstanceElementImpl.java
│ │ │ │ │ │ │ ├── DomainElementImpl.java
│ │ │ │ │ │ │ ├── ManagerPolicyElementImpl.java
│ │ │ │ │ │ │ ├── ManagerTypeElementImpl.java
│ │ │ │ │ │ │ ├── SecurityGroupInterfaceElementImpl.java
│ │ │ │ │ │ │ ├── SecurityGroupMemberElementImpl.java
│ │ │ │ │ │ │ ├── SecurityGroupMemberListElementImpl.java
│ │ │ │ │ │ │ ├── ServiceUnavailableException.java
│ │ │ │ │ │ │ ├── VirtualSystemElementImpl.java
│ │ │ │ │ │ │ ├── VirtualizationConnectorElementImpl.java
│ │ │ │ │ │ │ ├── WebSocketClient.java
│ │ │ │ │ │ │ └── WebSocketClientEndPoint.java
│ │ │ │ │ │ └── sdncontroller
│ │ │ │ │ │ │ ├── InspectionHookElementImpl.java
│ │ │ │ │ │ │ └── VirtualizationConnectorElementImpl.java
│ │ │ │ │ └── sdn
│ │ │ │ │ │ ├── NetworkElementImpl.java
│ │ │ │ │ │ └── PortPairGroupNetworkElementImpl.java
│ │ │ │ ├── rest
│ │ │ │ │ └── client
│ │ │ │ │ │ ├── ClientResponseNotOkException.java
│ │ │ │ │ │ ├── RestBaseClient.java
│ │ │ │ │ │ ├── VmidcServerRestClient.java
│ │ │ │ │ │ ├── k8s
│ │ │ │ │ │ ├── KubernetesApi.java
│ │ │ │ │ │ ├── KubernetesClient.java
│ │ │ │ │ │ ├── KubernetesDeployment.java
│ │ │ │ │ │ ├── KubernetesDeploymentApi.java
│ │ │ │ │ │ ├── KubernetesEntity.java
│ │ │ │ │ │ ├── KubernetesPod.java
│ │ │ │ │ │ ├── KubernetesPodApi.java
│ │ │ │ │ │ └── KubernetesStatusApi.java
│ │ │ │ │ │ └── openstack
│ │ │ │ │ │ ├── discovery
│ │ │ │ │ │ └── VmDiscoveryCache.java
│ │ │ │ │ │ ├── openstack4j
│ │ │ │ │ │ ├── BaseOpenstack4jApi.java
│ │ │ │ │ │ ├── Endpoint.java
│ │ │ │ │ │ ├── HostAvailabilityZoneMapping.java
│ │ │ │ │ │ ├── KeystoneProvider.java
│ │ │ │ │ │ ├── Openstack4JNeutron.java
│ │ │ │ │ │ ├── Openstack4JNova.java
│ │ │ │ │ │ ├── Openstack4jAuthentication.java
│ │ │ │ │ │ ├── Openstack4jGlance.java
│ │ │ │ │ │ └── Openstack4jKeystone.java
│ │ │ │ │ │ └── vmidc
│ │ │ │ │ │ └── notification
│ │ │ │ │ │ ├── OsNotificationKeyType.java
│ │ │ │ │ │ ├── OsNotificationObjectType.java
│ │ │ │ │ │ ├── OsNotificationUtil.java
│ │ │ │ │ │ ├── OsRabbitMQClient.java
│ │ │ │ │ │ ├── RabbitMQClient.java
│ │ │ │ │ │ ├── listener
│ │ │ │ │ │ ├── NotificationListener.java
│ │ │ │ │ │ ├── NotificationListenerFactory.java
│ │ │ │ │ │ ├── OsHostAggregrateNotificationListener.java
│ │ │ │ │ │ ├── OsNetworkNotificationListener.java
│ │ │ │ │ │ ├── OsNotificationEventState.java
│ │ │ │ │ │ ├── OsNotificationListener.java
│ │ │ │ │ │ ├── OsPortNotificationListener.java
│ │ │ │ │ │ ├── OsProjectNotificationListener.java
│ │ │ │ │ │ └── OsVMNotificationListener.java
│ │ │ │ │ │ └── runner
│ │ │ │ │ │ ├── OsDeploymentSpecNotificationRunner.java
│ │ │ │ │ │ ├── OsSecurityGroupNotificationRunner.java
│ │ │ │ │ │ └── RabbitMQRunner.java
│ │ │ │ ├── service
│ │ │ │ │ ├── AddDeploymentSpecService.java
│ │ │ │ │ ├── AddDistributedApplianceService.java
│ │ │ │ │ ├── AddSslCertificateService.java
│ │ │ │ │ ├── AddUserService.java
│ │ │ │ │ ├── BackupData.java
│ │ │ │ │ ├── BackupFileService.java
│ │ │ │ │ ├── BackupService.java
│ │ │ │ │ ├── BaseDeploymentSpecService.java
│ │ │ │ │ ├── ChainedDispatch.java
│ │ │ │ │ ├── CheckNetworkSettingsService.java
│ │ │ │ │ ├── DeleteApplianceManagerConnectorService.java
│ │ │ │ │ ├── DeleteApplianceService.java
│ │ │ │ │ ├── DeleteApplianceSoftwareVersionService.java
│ │ │ │ │ ├── DeleteDeploymentSpecService.java
│ │ │ │ │ ├── DeleteDistributedApplianceService.java
│ │ │ │ │ ├── DeleteSslCertificateService.java
│ │ │ │ │ ├── DeleteUserService.java
│ │ │ │ │ ├── DeploymentSpecConformJobFactory.java
│ │ │ │ │ ├── DistributedApplianceConformJobFactory.java
│ │ │ │ │ ├── ForceDeleteVirtualSystemService.java
│ │ │ │ │ ├── GetAgentStatusService.java
│ │ │ │ │ ├── GetDtoFromEntityService.java
│ │ │ │ │ ├── GetDtoFromEntityServiceFactory.java
│ │ │ │ │ ├── GetMCPublicKeyService.java
│ │ │ │ │ ├── GetNATSettingsService.java
│ │ │ │ │ ├── GetNetworkSettingsService.java
│ │ │ │ │ ├── GetVSPublicKeyService.java
│ │ │ │ │ ├── ImportPluginService.java
│ │ │ │ │ ├── ListApplianceModelSwVersionComboService.java
│ │ │ │ │ ├── ListApplianceService.java
│ │ │ │ │ ├── ListApplianceSoftwareVersionByApplianceIdService.java
│ │ │ │ │ ├── ListApplianceSoftwareVersionService.java
│ │ │ │ │ ├── ListDeploymentSpecServiceByVirtualSystem.java
│ │ │ │ │ ├── ListDistributedApplianceInstanceByVSService.java
│ │ │ │ │ ├── ListDistributedApplianceInstanceService.java
│ │ │ │ │ ├── ListDistributedApplianceService.java
│ │ │ │ │ ├── ListDomainsByMcIdService.java
│ │ │ │ │ ├── ListEncapsulationTypeByVersionTypeAndModel.java
│ │ │ │ │ ├── ListJobService.java
│ │ │ │ │ ├── ListSslCertificatesService.java
│ │ │ │ │ ├── ListTaskService.java
│ │ │ │ │ ├── ListUserService.java
│ │ │ │ │ ├── ListVirtualSystemService.java
│ │ │ │ │ ├── LockUtil.java
│ │ │ │ │ ├── LoginService.java
│ │ │ │ │ ├── ManagerConnectorConformJobFactory.java
│ │ │ │ │ ├── QueryVmInfoService.java
│ │ │ │ │ ├── ReplaceInternalKeypairService.java
│ │ │ │ │ ├── RestoreService.java
│ │ │ │ │ ├── SecurityGroupConformJobFactory.java
│ │ │ │ │ ├── ServiceDispatcher.java
│ │ │ │ │ ├── SetNATSettingsService.java
│ │ │ │ │ ├── SetNetworkSettingsService.java
│ │ │ │ │ ├── SyncDeploymentSpecService.java
│ │ │ │ │ ├── SyncDistributedApplianceService.java
│ │ │ │ │ ├── UpdateDeploymentSpecService.java
│ │ │ │ │ ├── UpdateDistributedApplianceService.java
│ │ │ │ │ ├── UpdateUserService.java
│ │ │ │ │ ├── UpdateVSKeyStoreService.java
│ │ │ │ │ ├── alarm
│ │ │ │ │ │ ├── AddAlarmService.java
│ │ │ │ │ │ ├── DeleteAlarmService.java
│ │ │ │ │ │ ├── ListAlarmService.java
│ │ │ │ │ │ └── UpdateAlarmService.java
│ │ │ │ │ ├── alert
│ │ │ │ │ │ ├── AcknowledgeAlertService.java
│ │ │ │ │ │ ├── AlertGenerator.java
│ │ │ │ │ │ ├── DeleteAlertService.java
│ │ │ │ │ │ └── ListAlertService.java
│ │ │ │ │ ├── appliance
│ │ │ │ │ │ ├── AddApplianceService.java
│ │ │ │ │ │ ├── AddApplianceSoftwareVersionService.java
│ │ │ │ │ │ ├── ImageMetadataValidator.java
│ │ │ │ │ │ ├── ImportApplianceSoftwareVersionService.java
│ │ │ │ │ │ ├── UploadApplianceVersionFileService.java
│ │ │ │ │ │ └── UploadConfig.java
│ │ │ │ │ ├── archive
│ │ │ │ │ │ ├── ArchiveService.java
│ │ │ │ │ │ ├── ArchiveUtil.java
│ │ │ │ │ │ ├── GetJobsArchiveService.java
│ │ │ │ │ │ └── UpdateJobsArchiveService.java
│ │ │ │ │ ├── common
│ │ │ │ │ │ └── VmidcMessages.java
│ │ │ │ │ ├── email
│ │ │ │ │ │ ├── GetEmailSettingsService.java
│ │ │ │ │ │ └── SetEmailSettingsService.java
│ │ │ │ │ ├── mc
│ │ │ │ │ │ ├── AddApplianceManagerConnectorService.java
│ │ │ │ │ │ ├── ListApplianceManagerConnectorService.java
│ │ │ │ │ │ ├── MCChangeNotificationService.java
│ │ │ │ │ │ ├── SyncManagerConnectorService.java
│ │ │ │ │ │ ├── UpdateApplianceManagerConnectorService.java
│ │ │ │ │ │ └── UpdateMCPublicKeyService.java
│ │ │ │ │ ├── openstack
│ │ │ │ │ │ ├── ListAvailabilityZonesService.java
│ │ │ │ │ │ ├── ListFloatingIpPoolsService.java
│ │ │ │ │ │ ├── ListHostAggregateService.java
│ │ │ │ │ │ ├── ListHostService.java
│ │ │ │ │ │ ├── ListNetworkService.java
│ │ │ │ │ │ ├── ListOpenstackMembersService.java
│ │ │ │ │ │ ├── ListProjectByVcIdService.java
│ │ │ │ │ │ ├── ListProjectService.java
│ │ │ │ │ │ ├── ListRegionByVcIdService.java
│ │ │ │ │ │ └── ListRegionService.java
│ │ │ │ │ ├── persistence
│ │ │ │ │ │ ├── AlarmEntityMgr.java
│ │ │ │ │ │ ├── AlertEntityMgr.java
│ │ │ │ │ │ ├── ApplianceEntityMgr.java
│ │ │ │ │ │ ├── ApplianceManagerConnectorEntityMgr.java
│ │ │ │ │ │ ├── ApplianceSoftwareVersionEntityMgr.java
│ │ │ │ │ │ ├── AvailabilityZoneEntityMgr.java
│ │ │ │ │ │ ├── DatabaseUtils.java
│ │ │ │ │ │ ├── DeploymentSpecEntityMgr.java
│ │ │ │ │ │ ├── DistributedApplianceEntityMgr.java
│ │ │ │ │ │ ├── DistributedApplianceInstanceEntityMgr.java
│ │ │ │ │ │ ├── EmailSettingsEntityMgr.java
│ │ │ │ │ │ ├── HostAggregateEntityMgr.java
│ │ │ │ │ │ ├── HostEntityMgr.java
│ │ │ │ │ │ ├── JobEntityManager.java
│ │ │ │ │ │ ├── JobsArchiveEntityMgr.java
│ │ │ │ │ │ ├── LabelEntityMgr.java
│ │ │ │ │ │ ├── NetworkEntityManager.java
│ │ │ │ │ │ ├── OSCEntityManager.java
│ │ │ │ │ │ ├── PodEntityMgr.java
│ │ │ │ │ │ ├── PolicyEntityMgr.java
│ │ │ │ │ │ ├── SecurityGroupEntityMgr.java
│ │ │ │ │ │ ├── SecurityGroupInterfaceEntityMgr.java
│ │ │ │ │ │ ├── SecurityGroupMemberEntityMgr.java
│ │ │ │ │ │ ├── ServiceFunctionChainEntityMgr.java
│ │ │ │ │ │ ├── SslCertificateAttrEntityMgr.java
│ │ │ │ │ │ ├── SubnetEntityManager.java
│ │ │ │ │ │ ├── TaskEntityMgr.java
│ │ │ │ │ │ ├── UserEntityMgr.java
│ │ │ │ │ │ ├── VMEntityManager.java
│ │ │ │ │ │ ├── VMPortEntityManager.java
│ │ │ │ │ │ ├── VirtualSystemEntityMgr.java
│ │ │ │ │ │ └── VirtualizationConnectorEntityMgr.java
│ │ │ │ │ ├── policy
│ │ │ │ │ │ ├── ListManagerConnectoryPolicyService.java
│ │ │ │ │ │ └── ListVirtualSystemPolicyService.java
│ │ │ │ │ ├── securitygroup
│ │ │ │ │ │ ├── AddSecurityGroupService.java
│ │ │ │ │ │ ├── BaseSecurityGroupService.java
│ │ │ │ │ │ ├── BindSecurityGroupService.java
│ │ │ │ │ │ ├── DeleteSecurityGroupService.java
│ │ │ │ │ │ ├── ListSecurityGroupBindingsBySgService.java
│ │ │ │ │ │ ├── ListSecurityGroupByVcService.java
│ │ │ │ │ │ ├── ListSecurityGroupMembersBySgService.java
│ │ │ │ │ │ ├── SyncSecurityGroupService.java
│ │ │ │ │ │ ├── UpdateSecurityGroupPropertiesService.java
│ │ │ │ │ │ ├── UpdateSecurityGroupService.java
│ │ │ │ │ │ └── exception
│ │ │ │ │ │ │ └── SecurityGroupMemberPartOfAnotherSecurityGroupException.java
│ │ │ │ │ ├── securityinterface
│ │ │ │ │ │ ├── AddSecurityGroupInterfaceService.java
│ │ │ │ │ │ ├── BaseSecurityGroupInterfaceService.java
│ │ │ │ │ │ ├── DeleteSecurityGroupInterfaceService.java
│ │ │ │ │ │ ├── ListSecurityGroupInterfaceServiceByVirtualSystem.java
│ │ │ │ │ │ └── UpdateSecurityGroupInterfaceService.java
│ │ │ │ │ ├── servicefunctionchain
│ │ │ │ │ │ ├── AddServiceFunctionChainService.java
│ │ │ │ │ │ ├── DeleteServiceFunctionChainService.java
│ │ │ │ │ │ ├── ListServiceFunctionChainByVcService.java
│ │ │ │ │ │ └── UpdateServiceFunctionChainService.java
│ │ │ │ │ ├── tasks
│ │ │ │ │ │ ├── BaseTask.java
│ │ │ │ │ │ ├── FailedInfoTask.java
│ │ │ │ │ │ ├── FailedWithObjectInfoTask.java
│ │ │ │ │ │ ├── IgnoreCompare.java
│ │ │ │ │ │ ├── InfoTask.java
│ │ │ │ │ │ ├── TransactionalMetaTask.java
│ │ │ │ │ │ ├── TransactionalTask.java
│ │ │ │ │ │ ├── conformance
│ │ │ │ │ │ │ ├── DAConformanceCheckMetaTask.java
│ │ │ │ │ │ │ ├── DowngradeLockObjectTask.java
│ │ │ │ │ │ │ ├── GenerateVSSKeysTask.java
│ │ │ │ │ │ │ ├── LockObjectTask.java
│ │ │ │ │ │ │ ├── UnlockObjectMetaTask.java
│ │ │ │ │ │ │ ├── UnlockObjectTask.java
│ │ │ │ │ │ │ ├── deleteda
│ │ │ │ │ │ │ │ ├── DeleteDAFromDbTask.java
│ │ │ │ │ │ │ │ ├── DeleteDAIFromDbTask.java
│ │ │ │ │ │ │ │ ├── DeleteVsFromDbTask.java
│ │ │ │ │ │ │ │ ├── ForceDeleteDATask.java
│ │ │ │ │ │ │ │ └── ForceDeleteVirtualSystemTask.java
│ │ │ │ │ │ │ ├── k8s
│ │ │ │ │ │ │ │ ├── deploymentspec
│ │ │ │ │ │ │ │ │ ├── CheckK8sDeploymentStateTask.java
│ │ │ │ │ │ │ │ │ ├── CleanK8sDAITask.java
│ │ │ │ │ │ │ │ │ ├── ConformK8sDeploymentPodsMetaTask.java
│ │ │ │ │ │ │ │ │ ├── ConformK8sDeploymentSpecInspectionPortsMetaTask.java
│ │ │ │ │ │ │ │ │ ├── ConformK8sDeploymentSpecMetaTask.java
│ │ │ │ │ │ │ │ │ ├── CreateK8sDeploymentTask.java
│ │ │ │ │ │ │ │ │ ├── CreateOrUpdateK8sDAITask.java
│ │ │ │ │ │ │ │ │ ├── CreateOrUpdateK8sDeploymentSpecMetaTask.java
│ │ │ │ │ │ │ │ │ ├── DeleteK8sDAIInspectionPortTask.java
│ │ │ │ │ │ │ │ │ ├── DeleteK8sDeploymentTask.java
│ │ │ │ │ │ │ │ │ ├── K8sUtil.java
│ │ │ │ │ │ │ │ │ ├── RegisterK8sDAIInspectionPortTask.java
│ │ │ │ │ │ │ │ │ └── UpdateK8sDeploymentTask.java
│ │ │ │ │ │ │ │ └── securitygroup
│ │ │ │ │ │ │ │ │ ├── CheckK8sSecurityGroupLabelMetaTask.java
│ │ │ │ │ │ │ │ │ ├── CreateK8sLabelPodTask.java
│ │ │ │ │ │ │ │ │ ├── DeleteK8sLabelPodTask.java
│ │ │ │ │ │ │ │ │ ├── UpdateK8sSecurityGroupMemberLabelMetaTask.java
│ │ │ │ │ │ │ │ │ └── UpdateOrDeleteK8sSecurityGroupMetaTask.java
│ │ │ │ │ │ │ ├── manager
│ │ │ │ │ │ │ │ ├── CreateDomainTask.java
│ │ │ │ │ │ │ │ ├── CreatePolicyTask.java
│ │ │ │ │ │ │ │ ├── DeleteDomainTask.java
│ │ │ │ │ │ │ │ ├── DeletePolicyTask.java
│ │ │ │ │ │ │ │ ├── MCConformanceCheckMetaTask.java
│ │ │ │ │ │ │ │ ├── MCDeleteMetaTask.java
│ │ │ │ │ │ │ │ ├── MgrCheckDevicesMetaTask.java
│ │ │ │ │ │ │ │ ├── MgrCreateMemberDeviceTask.java
│ │ │ │ │ │ │ │ ├── MgrCreateVSSDeviceTask.java
│ │ │ │ │ │ │ │ ├── MgrDeleteMemberDeviceTask.java
│ │ │ │ │ │ │ │ ├── MgrDeleteVSSDeviceTask.java
│ │ │ │ │ │ │ │ ├── MgrUpdateMemberDeviceTask.java
│ │ │ │ │ │ │ │ ├── MgrUpdateVSSDeviceTask.java
│ │ │ │ │ │ │ │ ├── RegisterMgrDomainNotificationTask.java
│ │ │ │ │ │ │ │ ├── RegisterMgrPolicyNotificationTask.java
│ │ │ │ │ │ │ │ ├── SyncDomainMetaTask.java
│ │ │ │ │ │ │ │ ├── SyncMgrPublicKeyTask.java
│ │ │ │ │ │ │ │ ├── SyncPolicyMetaTask.java
│ │ │ │ │ │ │ │ ├── UpdateDAISManagerDeviceId.java
│ │ │ │ │ │ │ │ ├── UpdateMgrDomainNotificationTask.java
│ │ │ │ │ │ │ │ ├── UpdateMgrPolicyNotificationTask.java
│ │ │ │ │ │ │ │ └── UpdatePolicyTask.java
│ │ │ │ │ │ │ ├── openstack
│ │ │ │ │ │ │ │ ├── CreateFlavorTask.java
│ │ │ │ │ │ │ │ ├── CreateOsSecurityGroupTask.java
│ │ │ │ │ │ │ │ ├── DeleteFlavorTask.java
│ │ │ │ │ │ │ │ ├── DeleteImageFromGlanceTask.java
│ │ │ │ │ │ │ │ ├── DeleteImageReferenceTask.java
│ │ │ │ │ │ │ │ ├── DeleteOsSecurityGroupTask.java
│ │ │ │ │ │ │ │ ├── FlavorCheckMetaTask.java
│ │ │ │ │ │ │ │ ├── OsImageCheckMetaTask.java
│ │ │ │ │ │ │ │ ├── OsSecurityGroupCheckMetaTask.java
│ │ │ │ │ │ │ │ ├── UpdateVsWithImageVersionTask.java
│ │ │ │ │ │ │ │ ├── UploadImageToGlanceTask.java
│ │ │ │ │ │ │ │ ├── deploymentspec
│ │ │ │ │ │ │ │ │ ├── DSConformanceCheckMetaTask.java
│ │ │ │ │ │ │ │ │ ├── DSUpdateOrDeleteMetaTask.java
│ │ │ │ │ │ │ │ │ ├── DeleteDSFromDbTask.java
│ │ │ │ │ │ │ │ │ ├── DeleteInspectionPortTask.java
│ │ │ │ │ │ │ │ │ ├── DeleteSvaServerAndDAIMetaTask.java
│ │ │ │ │ │ │ │ │ ├── DeleteSvaServerTask.java
│ │ │ │ │ │ │ │ │ ├── ForceDeleteDSTask.java
│ │ │ │ │ │ │ │ │ ├── OnboardDAITask.java
│ │ │ │ │ │ │ │ │ ├── OpenstackUtil.java
│ │ │ │ │ │ │ │ │ ├── OsDAIConformanceCheckMetaTask.java
│ │ │ │ │ │ │ │ │ ├── OsDAIUpgradeMetaTask.java
│ │ │ │ │ │ │ │ │ ├── OsSvaCheckFloatingIpTask.java
│ │ │ │ │ │ │ │ │ ├── OsSvaCheckNetworkInfoTask.java
│ │ │ │ │ │ │ │ │ ├── OsSvaCreateMetaTask.java
│ │ │ │ │ │ │ │ │ ├── OsSvaDeleteFloatingIpTask.java
│ │ │ │ │ │ │ │ │ ├── OsSvaEnsureActiveTask.java
│ │ │ │ │ │ │ │ │ ├── OsSvaInspectionPortRegisterTask.java
│ │ │ │ │ │ │ │ │ ├── OsSvaServerCreateTask.java
│ │ │ │ │ │ │ │ │ ├── OsSvaStateCheckTask.java
│ │ │ │ │ │ │ │ │ ├── ValidateDSNetworkTask.java
│ │ │ │ │ │ │ │ │ └── ValidateDSProjectTask.java
│ │ │ │ │ │ │ │ ├── securitygroup
│ │ │ │ │ │ │ │ │ ├── AddSecurityGroupMemberTask.java
│ │ │ │ │ │ │ │ │ ├── AllocateDAIWithSGIMembersTask.java
│ │ │ │ │ │ │ │ │ ├── BasePortGroupHookTask.java
│ │ │ │ │ │ │ │ │ ├── CheckPortGroupHookMetaTask.java
│ │ │ │ │ │ │ │ │ ├── CreatePortGroupHookTask.java
│ │ │ │ │ │ │ │ │ ├── CreatePortGroupTask.java
│ │ │ │ │ │ │ │ │ ├── DeallocateDAIOfSGIMembersTask.java
│ │ │ │ │ │ │ │ │ ├── DeletePortGroupTask.java
│ │ │ │ │ │ │ │ │ ├── DeleteSecurityGroupFromDbTask.java
│ │ │ │ │ │ │ │ │ ├── ForceDeleteSecurityGroupTask.java
│ │ │ │ │ │ │ │ │ ├── MarkStalePortsAsDeletedTask.java
│ │ │ │ │ │ │ │ │ ├── PortGroupCheckMetaTask.java
│ │ │ │ │ │ │ │ │ ├── RemovePortGroupHookTask.java
│ │ │ │ │ │ │ │ │ ├── SecurityGroupCheckMetaTask.java
│ │ │ │ │ │ │ │ │ ├── SecurityGroupMemberAllHooksRemoveTask.java
│ │ │ │ │ │ │ │ │ ├── SecurityGroupMemberDeleteTask.java
│ │ │ │ │ │ │ │ │ ├── SecurityGroupMemberHookCheckTask.java
│ │ │ │ │ │ │ │ │ ├── SecurityGroupMemberMapPropagateMetaTask.java
│ │ │ │ │ │ │ │ │ ├── SecurityGroupMemberNetworkCheckTask.java
│ │ │ │ │ │ │ │ │ ├── SecurityGroupMemberNetworkUpdateTask.java
│ │ │ │ │ │ │ │ │ ├── SecurityGroupMemberSubnetCheckTask.java
│ │ │ │ │ │ │ │ │ ├── SecurityGroupMemberSubnetUpdateTask.java
│ │ │ │ │ │ │ │ │ ├── SecurityGroupMemberVmCheckTask.java
│ │ │ │ │ │ │ │ │ ├── SecurityGroupMemberVmUpdateTask.java
│ │ │ │ │ │ │ │ │ ├── SecurityGroupUpdateOrDeleteMetaTask.java
│ │ │ │ │ │ │ │ │ ├── UpdateDAIToSGIMembersTask.java
│ │ │ │ │ │ │ │ │ ├── UpdatePortGroupHookTask.java
│ │ │ │ │ │ │ │ │ ├── UpdatePortGroupTask.java
│ │ │ │ │ │ │ │ │ ├── ValidateSecurityGroupProjectTask.java
│ │ │ │ │ │ │ │ │ ├── VmPortAllHooksRemoveTask.java
│ │ │ │ │ │ │ │ │ ├── VmPortDeleteFromDbTask.java
│ │ │ │ │ │ │ │ │ ├── VmPortHookCheckTask.java
│ │ │ │ │ │ │ │ │ ├── VmPortHookCreateTask.java
│ │ │ │ │ │ │ │ │ ├── VmPortHookFailurePolicyUpdateTask.java
│ │ │ │ │ │ │ │ │ ├── VmPortHookOrderUpdateTask.java
│ │ │ │ │ │ │ │ │ ├── VmPortHookRemoveTask.java
│ │ │ │ │ │ │ │ │ ├── VmPortHookTagUpdateTask.java
│ │ │ │ │ │ │ │ │ └── VmPortHookUpdateTask.java
│ │ │ │ │ │ │ │ └── sfc
│ │ │ │ │ │ │ │ │ ├── CheckServiceFunctionChainMetaTask.java
│ │ │ │ │ │ │ │ │ ├── CreateServiceFunctionChainTask.java
│ │ │ │ │ │ │ │ │ ├── DeleteServiceFunctionChainTask.java
│ │ │ │ │ │ │ │ │ ├── SfcFlowClassifierCreateTask.java
│ │ │ │ │ │ │ │ │ ├── SfcFlowClassifierDeleteTask.java
│ │ │ │ │ │ │ │ │ ├── SfcFlowClassifierUpdateTask.java
│ │ │ │ │ │ │ │ │ └── UpdateServiceFunctionChainTask.java
│ │ │ │ │ │ │ ├── securitygroup
│ │ │ │ │ │ │ │ ├── CreateMgrSecurityGroupTask.java
│ │ │ │ │ │ │ │ ├── DeleteMgrSecurityGroupTask.java
│ │ │ │ │ │ │ │ ├── MarkSecurityGroupMemberDeleteTask.java
│ │ │ │ │ │ │ │ ├── MgrSecurityGroupCheckMetaTask.java
│ │ │ │ │ │ │ │ └── UpdateMgrSecurityGroupTask.java
│ │ │ │ │ │ │ ├── securitygroupinterface
│ │ │ │ │ │ │ │ ├── CreateMgrSecurityGroupInterfaceTask.java
│ │ │ │ │ │ │ │ ├── DeleteMgrSecurityGroupInterfaceTask.java
│ │ │ │ │ │ │ │ ├── DeleteSecurityGroupInterfaceTask.java
│ │ │ │ │ │ │ │ ├── MarkSecurityGroupInterfaceDeleteTask.java
│ │ │ │ │ │ │ │ ├── MgrSecurityGroupInterfacesCheckMetaTask.java
│ │ │ │ │ │ │ │ ├── SecurityGroupCleanupCheckMetaTask.java
│ │ │ │ │ │ │ │ └── UpdateMgrSecurityGroupInterfaceTask.java
│ │ │ │ │ │ │ └── virtualsystem
│ │ │ │ │ │ │ │ └── VSConformanceCheckMetaTask.java
│ │ │ │ │ │ ├── network
│ │ │ │ │ │ │ └── IpChangePropagateMetaTask.java
│ │ │ │ │ │ └── passwordchange
│ │ │ │ │ │ │ └── PasswordChangePropagateMgrMetaTask.java
│ │ │ │ │ ├── transactions
│ │ │ │ │ │ ├── CompleteJobTransaction.java
│ │ │ │ │ │ └── CompleteJobTransactionInput.java
│ │ │ │ │ ├── validator
│ │ │ │ │ │ ├── AddVirtualizationConnectorServiceRequestValidator.java
│ │ │ │ │ │ ├── AgentRegisterServiceRequestValidator.java
│ │ │ │ │ │ ├── AlarmDtoValidator.java
│ │ │ │ │ │ ├── AlertDtoValidator.java
│ │ │ │ │ │ ├── ApplianceDtoValidator.java
│ │ │ │ │ │ ├── ApplianceManagerConnectorDtoValidator.java
│ │ │ │ │ │ ├── ApplianceSoftwareVersionDtoValidator.java
│ │ │ │ │ │ ├── AvailabilityZoneDtoValidator.java
│ │ │ │ │ │ ├── BaseDtoValidator.java
│ │ │ │ │ │ ├── BaseIdRequestValidator.java
│ │ │ │ │ │ ├── BindSecurityGroupRequestValidator.java
│ │ │ │ │ │ ├── DeleteDistributedApplianceRequestValidator.java
│ │ │ │ │ │ ├── DeploymentSpecDtoValidator.java
│ │ │ │ │ │ ├── DistributedApplianceDtoValidator.java
│ │ │ │ │ │ ├── DistributedApplianceInstancesRequestValidator.java
│ │ │ │ │ │ ├── DtoValidator.java
│ │ │ │ │ │ ├── EmailSettingsDtoValidator.java
│ │ │ │ │ │ ├── JobsArchiveDtoValidator.java
│ │ │ │ │ │ ├── ListRequestValidator.java
│ │ │ │ │ │ ├── NATSettingsDtoValidator.java
│ │ │ │ │ │ ├── NetworkSettingsDtoValidator.java
│ │ │ │ │ │ ├── RequestValidator.java
│ │ │ │ │ │ ├── SecurityGroupDtoValidator.java
│ │ │ │ │ │ ├── SecurityGroupInterfaceDtoValidator.java
│ │ │ │ │ │ ├── SecurityGroupMemberItemDtoValidator.java
│ │ │ │ │ │ ├── ServiceFunctionChainRequestValidator.java
│ │ │ │ │ │ ├── UserDtoValidator.java
│ │ │ │ │ │ ├── VirtualSystemDtoValidator.java
│ │ │ │ │ │ └── VirtualizationConnectorDtoValidator.java
│ │ │ │ │ └── vc
│ │ │ │ │ │ ├── AddVirtualizationConnectorService.java
│ │ │ │ │ │ ├── DeleteVirtualizationConnectorService.java
│ │ │ │ │ │ ├── ListVirtualizationConnectorBySwVersionService.java
│ │ │ │ │ │ ├── ListVirtualizationConnectorService.java
│ │ │ │ │ │ └── UpdateVirtualizationConnectorService.java
│ │ │ │ └── util
│ │ │ │ │ ├── AuthUtil.java
│ │ │ │ │ ├── BroadcasterUtil.java
│ │ │ │ │ ├── CorruptedPidException.java
│ │ │ │ │ ├── EmailUtil.java
│ │ │ │ │ ├── FileUtil.java
│ │ │ │ │ ├── IpAddress.java
│ │ │ │ │ ├── NetworkUtil.java
│ │ │ │ │ ├── PasswordUtil.java
│ │ │ │ │ ├── ServerStatusResponseInjection.java
│ │ │ │ │ ├── ServerUtil.java
│ │ │ │ │ ├── SessionUtil.java
│ │ │ │ │ ├── StaticRegistry.java
│ │ │ │ │ ├── TransactionalBroadcastUtil.java
│ │ │ │ │ ├── ValidateUtil.java
│ │ │ │ │ ├── VersionUtil.java
│ │ │ │ │ ├── VirtualizationConnectorUtil.java
│ │ │ │ │ ├── crypto
│ │ │ │ │ ├── AESCTREncryption.java
│ │ │ │ │ ├── AESGCMEncryption.java
│ │ │ │ │ ├── ByteOperations.java
│ │ │ │ │ ├── DESDecryption.java
│ │ │ │ │ ├── EncryptionUtil.java
│ │ │ │ │ ├── KeyStoreProvider.java
│ │ │ │ │ ├── PBKDF2Derivation.java
│ │ │ │ │ ├── PKIUtil.java
│ │ │ │ │ ├── SslContextProvider.java
│ │ │ │ │ └── X509TrustManagerFactory.java
│ │ │ │ │ ├── db
│ │ │ │ │ ├── DBConnectionManager.java
│ │ │ │ │ ├── DBConnectionParameters.java
│ │ │ │ │ ├── HibernateUtil.java
│ │ │ │ │ ├── RestoreUtil.java
│ │ │ │ │ └── upgrade
│ │ │ │ │ │ ├── ReleaseUpgradeMgr.java
│ │ │ │ │ │ └── Schema.java
│ │ │ │ │ ├── log
│ │ │ │ │ ├── LogUtil.java
│ │ │ │ │ └── LoggingUtil.java
│ │ │ │ │ └── network
│ │ │ │ │ └── NetworkSettingsApi.java
│ │ │ │ └── server
│ │ │ │ ├── Server.java
│ │ │ │ ├── scheduler
│ │ │ │ ├── ApplianceAgentsJob.java
│ │ │ │ ├── ArchiveScheduledJob.java
│ │ │ │ ├── MonitorDistributedApplianceInstanceJob.java
│ │ │ │ ├── SyncDistributedApplianceJob.java
│ │ │ │ └── SyncSecurityGroupJob.java
│ │ │ │ └── websocket
│ │ │ │ └── WebSocketRunner.java
│ │ └── resources
│ │ │ └── org
│ │ │ └── osc
│ │ │ └── core
│ │ │ └── broker
│ │ │ ├── service
│ │ │ └── common
│ │ │ │ └── VmidcMessages.properties
│ │ │ └── util
│ │ │ └── crypto
│ │ │ └── security.properties
│ └── test
│ │ ├── java
│ │ └── org
│ │ │ └── osc
│ │ │ └── core
│ │ │ ├── broker
│ │ │ ├── job
│ │ │ │ ├── JobEngineTest.java
│ │ │ │ └── JobQueuerTest.java
│ │ │ ├── rest
│ │ │ │ └── client
│ │ │ │ │ └── k8s
│ │ │ │ │ ├── KubernetesDeploymentApiTest.java
│ │ │ │ │ ├── KubernetesPodApiTest.java
│ │ │ │ │ └── KubernetesStatusApiTest.java
│ │ │ ├── service
│ │ │ │ ├── AddDistributedApplianceServiceTest.java
│ │ │ │ ├── AddUserServiceTest.java
│ │ │ │ ├── AgentRegisterServiceTestData.java
│ │ │ │ ├── BackupFileServiceTest.java
│ │ │ │ ├── BackupServiceTest.java
│ │ │ │ ├── BindSecurityGroupServiceTest.java
│ │ │ │ ├── BindSecurityGroupServiceWithPersistenceTest.java
│ │ │ │ ├── DeleteDistributedApplianceServiceTest.java
│ │ │ │ ├── ServiceDispatcherTest.java
│ │ │ │ ├── SyncDistributedApplianceServiceTest.java
│ │ │ │ ├── UpdateDistributedApplianceServiceTest.java
│ │ │ │ ├── appliance
│ │ │ │ │ ├── AddApplianceServiceTest.java
│ │ │ │ │ ├── AddApplianceSoftwareVersionServiceTest.java
│ │ │ │ │ └── ImportApplianceSoftwareVersionServiceTest.java
│ │ │ │ ├── archive
│ │ │ │ │ └── ArchiveUtilTest.java
│ │ │ │ ├── request
│ │ │ │ │ ├── AddVirtualizationConnectorServiceRequestValidatorTest.java
│ │ │ │ │ ├── AgentRegisterServiceRequestValidatorTest.java
│ │ │ │ │ └── DeleteDistributedApplianceRequestValidatorTest.java
│ │ │ │ ├── servicefunctionchain
│ │ │ │ │ ├── AddServiceFunctionChainServiceTest.java
│ │ │ │ │ ├── BaseServiceFunctionChainRequestValidatorTest.java
│ │ │ │ │ ├── BaseServiceFunctionChainServiceTest.java
│ │ │ │ │ ├── DeleteServiceFunctionChainServiceTest.java
│ │ │ │ │ ├── ListServiceFunctionChainByVcServiceTest.java
│ │ │ │ │ ├── ServiceFunctionChainRequestValidatorPersistTest.java
│ │ │ │ │ ├── ServiceFunctionChainRequestValidatorTest.java
│ │ │ │ │ └── UpdateServiceFunctionChainServiceTest.java
│ │ │ │ ├── tasks
│ │ │ │ │ └── conformance
│ │ │ │ │ │ ├── k8s
│ │ │ │ │ │ ├── deploymentspec
│ │ │ │ │ │ │ ├── CheckK8sDeploymentStateTaskTest.java
│ │ │ │ │ │ │ ├── CleanK8sDAITaskTest.java
│ │ │ │ │ │ │ ├── ConformK8sDeploymentPodsMetaTaskTest.java
│ │ │ │ │ │ │ ├── ConformK8sDeploymentPodsMetaTaskTestData.java
│ │ │ │ │ │ │ ├── ConformK8sDeploymentSpecInspectionPortsMetaTaskTest.java
│ │ │ │ │ │ │ ├── ConformK8sDeploymentSpecInspectionPortsMetaTaskTestData.java
│ │ │ │ │ │ │ ├── ConformK8sDeploymentSpecMetaTaskTest.java
│ │ │ │ │ │ │ ├── ConformK8sDeploymentSpecMetaTaskTestData.java
│ │ │ │ │ │ │ ├── CreateK8sDeploymentTaskTest.java
│ │ │ │ │ │ │ ├── CreateOrUpdateK8sDAITaskTest.java
│ │ │ │ │ │ │ ├── CreateOrUpdateK8sDeploymentSpecMetaTaskTest.java
│ │ │ │ │ │ │ ├── CreateOrUpdateK8sDeploymentSpecMetaTaskTestData.java
│ │ │ │ │ │ │ ├── DeleteK8sDAIInspectionPortTaskTest.java
│ │ │ │ │ │ │ ├── DeleteK8sDeploymentTaskTest.java
│ │ │ │ │ │ │ ├── RegisterK8sDAIInspectionPortTaskTest.java
│ │ │ │ │ │ │ └── UpdateK8sDeploymentTaskTest.java
│ │ │ │ │ │ └── securitygroup
│ │ │ │ │ │ │ ├── CheckK8sSecurityGroupLabelMetaTaskTest.java
│ │ │ │ │ │ │ ├── CheckK8sSecurityGroupLabelMetaTaskTestData.java
│ │ │ │ │ │ │ ├── CreateK8sLabelPodTaskTest.java
│ │ │ │ │ │ │ ├── CreateK8sLabelPodTaskTestData.java
│ │ │ │ │ │ │ ├── DeleteK8sLabelPodTaskTest.java
│ │ │ │ │ │ │ ├── UpdateK8sSecurityGroupMemberLabelMetaTaskTest.java
│ │ │ │ │ │ │ ├── UpdateK8sSecurityGroupMemberLabelMetaTaskTestData.java
│ │ │ │ │ │ │ ├── UpdateOrDeleteK8sSecurityGroupMetaTaskTest.java
│ │ │ │ │ │ │ └── UpdateOrDeleteK8sSecurityGroupMetaTaskTestData.java
│ │ │ │ │ │ ├── manager
│ │ │ │ │ │ ├── MCConformanceCheckMetaTaskTest.java
│ │ │ │ │ │ ├── MCConformanceCheckMetaTaskTestData.java
│ │ │ │ │ │ ├── MgrCheckDevicesMetaTaskTest.java
│ │ │ │ │ │ ├── MgrCheckDevicesMetaTaskTestData.java
│ │ │ │ │ │ ├── SyncPolicyMetaTaskTest.java
│ │ │ │ │ │ └── SyncPolicyMetaTaskTestData.java
│ │ │ │ │ │ ├── openstack
│ │ │ │ │ │ ├── DeleteImageReferenceTaskTest.java
│ │ │ │ │ │ ├── OsImageCheckMetaTaskTest.java
│ │ │ │ │ │ ├── OsImageCheckMetaTaskTestData.java
│ │ │ │ │ │ ├── UpdateVsWithImageVersionTaskTest.java
│ │ │ │ │ │ ├── deploymentspec
│ │ │ │ │ │ │ ├── DSUpdateOrDeleteMetaTaskTest.java
│ │ │ │ │ │ │ ├── DSUpdateOrDeleteMetaTaskTestData.java
│ │ │ │ │ │ │ └── DeleteInspectionPortTaskTest.java
│ │ │ │ │ │ ├── securitygroup
│ │ │ │ │ │ │ ├── AllocateDAIWithSGIMembersTaskTest.java
│ │ │ │ │ │ │ ├── BasePortGroupHookTaskTest.java
│ │ │ │ │ │ │ ├── CheckPortGroupHookMetaTaskTest.java
│ │ │ │ │ │ │ ├── CheckPortGroupHookMetaTaskTestData.java
│ │ │ │ │ │ │ ├── CreatePortGroupHookTaskTest.java
│ │ │ │ │ │ │ ├── CreatePortGroupTaskTest.java
│ │ │ │ │ │ │ ├── DeallocateDAIOfSGIMembersTaskTest.java
│ │ │ │ │ │ │ ├── DeletePortGroupTaskTest.java
│ │ │ │ │ │ │ ├── PortGroupCheckMetaTaskTest.java
│ │ │ │ │ │ │ ├── PortGroupCheckMetaTaskTestData.java
│ │ │ │ │ │ │ ├── RemovePortGroupHookTaskTest.java
│ │ │ │ │ │ │ ├── SecurityGroupCheckMetaTaskTest.java
│ │ │ │ │ │ │ ├── SecurityGroupCheckMetaTaskTestData.java
│ │ │ │ │ │ │ ├── SecurityGroupMemberDeleteTaskTest.java
│ │ │ │ │ │ │ ├── SecurityGroupMemberHookCheckTaskTest.java
│ │ │ │ │ │ │ ├── SecurityGroupMemberHookCheckTaskTestData.java
│ │ │ │ │ │ │ ├── UpdateDAIToSGIMembersTaskTest.java
│ │ │ │ │ │ │ ├── UpdatePortGroupHookTaskTest.java
│ │ │ │ │ │ │ └── UpdatePortGroupTaskTest.java
│ │ │ │ │ │ └── sfc
│ │ │ │ │ │ │ ├── CheckServiceFunctionChainMetaTaskTest.java
│ │ │ │ │ │ │ ├── CheckServiceFunctionChainMetaTaskTestData.java
│ │ │ │ │ │ │ ├── CreateServiceFunctionChainTaskTest.java
│ │ │ │ │ │ │ ├── CreateServiceFunctionChainTaskTestData.java
│ │ │ │ │ │ │ ├── DeleteServiceFunctionChainTaskTest.java
│ │ │ │ │ │ │ ├── DeleteServiceFunctionChainTaskTestData.java
│ │ │ │ │ │ │ ├── SfcFlowClassifierCreateTaskTest.java
│ │ │ │ │ │ │ ├── SfcFlowClassifierDeleteTaskTest.java
│ │ │ │ │ │ │ ├── SfcFlowClassifierUpdateTaskTest.java
│ │ │ │ │ │ │ └── UpdateServiceFunctionChainTaskTest.java
│ │ │ │ │ │ ├── securitygroup
│ │ │ │ │ │ ├── MarkSecurityGroupMemberDeleteTaskTest.java
│ │ │ │ │ │ ├── MarkSecurityGroupMemberDeleteTaskTestData.java
│ │ │ │ │ │ ├── MgrSecurityGroupCheckMetaTaskTest.java
│ │ │ │ │ │ └── MgrSecurityGroupCheckMetaTaskTestData.java
│ │ │ │ │ │ ├── securitygroupinterface
│ │ │ │ │ │ ├── MarkSecurityGroupInterfaceDeleteTaskTest.java
│ │ │ │ │ │ ├── MarkSecurityGroupInterfaceDeleteTaskTestData.java
│ │ │ │ │ │ ├── MgrSecurityGroupInterfaceCheckMetaTaskTest.java
│ │ │ │ │ │ └── MgrSecurityGroupInterfaceCheckMetaTaskTestData.java
│ │ │ │ │ │ └── virtualsystem
│ │ │ │ │ │ ├── VSConformanceCheckMetaTaskTest.java
│ │ │ │ │ │ └── VSConformanceCheckMetaTaskTestData.java
│ │ │ │ ├── test
│ │ │ │ │ ├── InMemDB.java
│ │ │ │ │ └── ValidateDbCreate.java
│ │ │ │ ├── transactions
│ │ │ │ │ └── CompleteJobTransactionTest.java
│ │ │ │ ├── validator
│ │ │ │ │ ├── ApplianceDtoValidatorTest.java
│ │ │ │ │ ├── ApplianceSoftwareVersionDtoValidatorTest.java
│ │ │ │ │ ├── DistributedApplianceDtoValidatorBaseTest.java
│ │ │ │ │ ├── DistributedApplianceDtoValidatorParameterizedTest.java
│ │ │ │ │ ├── DistributedApplianceDtoValidatorTest.java
│ │ │ │ │ ├── DistributedApplianceDtoValidatorTestData.java
│ │ │ │ │ ├── UserDtoValidatorTest.java
│ │ │ │ │ ├── UserDtoValidatorTestData.java
│ │ │ │ │ ├── VirtualizationConnectorDtoValidatorBaseTest.java
│ │ │ │ │ ├── VirtualizationConnectorDtoValidatorParameterizedTest.java
│ │ │ │ │ ├── VirtualizationConnectorDtoValidatorTest.java
│ │ │ │ │ └── VirtualizationConnectorDtoValidatorTestData.java
│ │ │ │ └── vc
│ │ │ │ │ ├── AddVirtualizationConnectorServiceTest.java
│ │ │ │ │ └── VirtualizationConnectorServiceData.java
│ │ │ └── util
│ │ │ │ ├── AuthUtilTest.java
│ │ │ │ ├── FileUtilTest.java
│ │ │ │ ├── NetworkUtilTest.java
│ │ │ │ ├── ServerUtilTest.java
│ │ │ │ ├── ValidateUtilTest.java
│ │ │ │ ├── VersionUtilTest.java
│ │ │ │ ├── VirtualizationConnectorUtilTest.java
│ │ │ │ ├── VirtualizationConnectorUtilTestData.java
│ │ │ │ ├── crypto
│ │ │ │ ├── EncryptionUtilTest.java
│ │ │ │ ├── KeyStoreProviderTest.java
│ │ │ │ ├── PKIUtilTest.java
│ │ │ │ └── X509TrustManagerFactoryTest.java
│ │ │ │ └── network
│ │ │ │ └── NetworkSettingsApiTest.java
│ │ │ └── test
│ │ │ └── util
│ │ │ ├── ErrorMessageConstants.java
│ │ │ ├── TaskGraphHelper.java
│ │ │ ├── TaskNodeComparer.java
│ │ │ ├── TestTransactionControl.java
│ │ │ └── mockito
│ │ │ └── matchers
│ │ │ ├── ElementIdMatcher.java
│ │ │ ├── SetLockObjectReferenceMatcher.java
│ │ │ └── TaskGraphMatcher.java
│ │ └── resources
│ │ ├── data
│ │ └── osctrustore.jks
│ │ ├── logback.xml
│ │ ├── oscx509test.pem
│ │ ├── oscx509test.zip
│ │ ├── oscx509test_x509pem.zip
│ │ └── testcertificate.crt
└── techdoc
│ ├── ISC-Product-Guide.pdf
│ ├── ISC-Release-Notes.pdf
│ ├── OSC_v2 5-HelpToUI-Mapping.xlsx
│ └── WebHelp.zip
├── osc-service-api
├── .classpath
├── .project
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── README.md
├── pom.xml
└── src
│ └── main
│ └── java
│ └── org
│ └── osc
│ └── core
│ └── broker
│ └── service
│ ├── annotations
│ ├── VmidcLogHidden.java
│ └── package-info.java
│ ├── api
│ ├── AcknowledgeAlertServiceApi.java
│ ├── AddAlarmServiceApi.java
│ ├── AddApplianceManagerConnectorServiceApi.java
│ ├── AddApplianceServiceApi.java
│ ├── AddApplianceSoftwareVersionServiceApi.java
│ ├── AddDeploymentSpecServiceApi.java
│ ├── AddDistributedApplianceServiceApi.java
│ ├── AddSecurityGroupInterfaceServiceApi.java
│ ├── AddSecurityGroupServiceApi.java
│ ├── AddServiceFunctionChainServiceApi.java
│ ├── AddSslCertificateServiceApi.java
│ ├── AddUserServiceApi.java
│ ├── AddVirtualizationConnectorServiceApi.java
│ ├── AlertGeneratorApi.java
│ ├── ArchiveServiceApi.java
│ ├── BackupFileServiceApi.java
│ ├── BackupServiceApi.java
│ ├── BindSecurityGroupServiceApi.java
│ ├── CheckNetworkSettingsServiceApi.java
│ ├── DBConnectionManagerApi.java
│ ├── DeleteAlarmServiceApi.java
│ ├── DeleteAlertServiceApi.java
│ ├── DeleteApplianceManagerConnectorServiceApi.java
│ ├── DeleteApplianceServiceApi.java
│ ├── DeleteApplianceSoftwareVersionServiceApi.java
│ ├── DeleteDeploymentSpecServiceApi.java
│ ├── DeleteDistributedApplianceServiceApi.java
│ ├── DeleteSecurityGroupInterfaceServiceApi.java
│ ├── DeleteSecurityGroupServiceApi.java
│ ├── DeleteServiceFunctionChainServiceApi.java
│ ├── DeleteSslCertificateServiceApi.java
│ ├── DeleteUserServiceApi.java
│ ├── ForceDeleteVirtualSystemServiceApi.java
│ ├── GetAgentStatusServiceApi.java
│ ├── GetDtoFromEntityServiceApi.java
│ ├── GetDtoFromEntityServiceFactoryApi.java
│ ├── GetEmailSettingsServiceApi.java
│ ├── GetJobsArchiveServiceApi.java
│ ├── GetMCPublicKeyServiceApi.java
│ ├── GetNATSettingsServiceApi.java
│ ├── GetNetworkSettingsServiceApi.java
│ ├── GetVSPublicKeyServiceApi.java
│ ├── ImportApplianceSoftwareVersionServiceApi.java
│ ├── ImportPluginServiceApi.java
│ ├── JobEntityManagerApi.java
│ ├── ListAlarmServiceApi.java
│ ├── ListAlertServiceApi.java
│ ├── ListApplianceManagerConnectorServiceApi.java
│ ├── ListApplianceModelSwVersionComboServiceApi.java
│ ├── ListApplianceServiceApi.java
│ ├── ListApplianceSoftwareVersionByApplianceIdServiceApi.java
│ ├── ListApplianceSoftwareVersionServiceApi.java
│ ├── ListAvailabilityZonesServiceApi.java
│ ├── ListDeploymentSpecServiceByVirtualSystemApi.java
│ ├── ListDistributedApplianceInstanceByVSServiceApi.java
│ ├── ListDistributedApplianceInstanceServiceApi.java
│ ├── ListDistributedApplianceServiceApi.java
│ ├── ListDomainsByMcIdServiceApi.java
│ ├── ListEncapsulationTypeByVersionTypeAndModelApi.java
│ ├── ListFloatingIpPoolsServiceApi.java
│ ├── ListHostAggregateServiceApi.java
│ ├── ListHostServiceApi.java
│ ├── ListJobServiceApi.java
│ ├── ListManagerConnectoryPolicyServiceApi.java
│ ├── ListNetworkServiceApi.java
│ ├── ListOpenstackMembersServiceApi.java
│ ├── ListProjectByVcIdServiceApi.java
│ ├── ListProjectServiceApi.java
│ ├── ListRegionByVcIdServiceApi.java
│ ├── ListRegionServiceApi.java
│ ├── ListSecurityGroupBindingsBySgServiceApi.java
│ ├── ListSecurityGroupByVcServiceApi.java
│ ├── ListSecurityGroupInterfaceServiceByVirtualSystemApi.java
│ ├── ListSecurityGroupMembersBySgServiceApi.java
│ ├── ListServiceFunctionChainByVcServiceApi.java
│ ├── ListSslCertificatesServiceApi.java
│ ├── ListTaskServiceApi.java
│ ├── ListUserServiceApi.java
│ ├── ListVirtualSystemPolicyServiceApi.java
│ ├── ListVirtualSystemServiceApi.java
│ ├── ListVirtualizationConnectorBySwVersionServiceApi.java
│ ├── ListVirtualizationConnectorServiceApi.java
│ ├── LockInfoServiceApi.java
│ ├── LoginServiceApi.java
│ ├── MCChangeNotificationServiceApi.java
│ ├── ManagerApi.java
│ ├── PasswordUtilApi.java
│ ├── QueryVmInfoServiceApi.java
│ ├── ReplaceInternalKeypairServiceApi.java
│ ├── RestConstants.java
│ ├── RestoreServiceApi.java
│ ├── ServiceDispatcherApi.java
│ ├── SetEmailSettingsServiceApi.java
│ ├── SetNATSettingsServiceApi.java
│ ├── SetNetworkSettingsServiceApi.java
│ ├── SyncDeploymentSpecServiceApi.java
│ ├── SyncDistributedApplianceServiceApi.java
│ ├── SyncManagerConnectorServiceApi.java
│ ├── SyncSecurityGroupServiceApi.java
│ ├── UpdateAlarmServiceApi.java
│ ├── UpdateApplianceManagerConnectorServiceApi.java
│ ├── UpdateDeploymentSpecServiceApi.java
│ ├── UpdateDistributedApplianceServiceApi.java
│ ├── UpdateJobsArchiveServiceApi.java
│ ├── UpdateMCPublicKeyServiceApi.java
│ ├── UpdateSecurityGroupInterfaceServiceApi.java
│ ├── UpdateSecurityGroupPropertiesServiceApi.java
│ ├── UpdateSecurityGroupServiceApi.java
│ ├── UpdateServiceFunctionChainServiceApi.java
│ ├── UpdateUserServiceApi.java
│ ├── UpdateVSKeyStoreServiceApi.java
│ ├── UpdateVirtualizationConnectorServiceApi.java
│ ├── UploadApplianceVersionFileServiceApi.java
│ ├── package-info.java
│ ├── plugin
│ │ ├── PluginApi.java
│ │ ├── PluginEvent.java
│ │ ├── PluginListener.java
│ │ ├── PluginService.java
│ │ └── package-info.java
│ ├── server
│ │ ├── ArchiveApi.java
│ │ ├── EncryptionApi.java
│ │ ├── EncryptionException.java
│ │ ├── LoggingApi.java
│ │ ├── ServerApi.java
│ │ ├── ServerTerminationListener.java
│ │ ├── UserContextApi.java
│ │ ├── ValidationApi.java
│ │ └── package-info.java
│ └── vc
│ │ ├── DeleteVirtualizationConnectorServiceApi.java
│ │ └── package-info.java
│ ├── broadcast
│ ├── BroadcastListener.java
│ ├── BroadcastMessage.java
│ ├── Broadcaster.java
│ ├── EventType.java
│ └── package-info.java
│ ├── dto
│ ├── AlarmDto.java
│ ├── AlertDto.java
│ ├── ApplianceDto.java
│ ├── ApplianceManagerConnectorDto.java
│ ├── ApplianceModelSoftwareVersionDto.java
│ ├── ApplianceSoftwareVersionDto.java
│ ├── BaseDto.java
│ ├── BaseVirtualSystemPoliciesDto.java
│ ├── DistributedApplianceDto.java
│ ├── DistributedApplianceInstanceDto.java
│ ├── DomainDto.java
│ ├── EmailSettingsDto.java
│ ├── JobRecordDto.java
│ ├── JobsArchiveDto.java
│ ├── NATSettingsDto.java
│ ├── NetworkSettingsDto.java
│ ├── PolicyDto.java
│ ├── PortDto.java
│ ├── SecurityGroupDto.java
│ ├── SecurityGroupInterfaceDto.java
│ ├── SecurityGroupMemberItemDto.java
│ ├── ServiceFunctionChainDto.java
│ ├── SslCertificateAttrDto.java
│ ├── SslCertificateDto.java
│ ├── TaskFailureRecordDto.java
│ ├── TaskRecordDto.java
│ ├── UserDto.java
│ ├── VirtualSystemDto.java
│ ├── VirtualSystemPolicyBindingDto.java
│ ├── VirtualizationConnectorDto.java
│ ├── job
│ │ ├── LockObjectDto.java
│ │ ├── ObjectTypeDto.java
│ │ └── package-info.java
│ ├── openstack
│ │ ├── AvailabilityZoneDto.java
│ │ ├── DeploymentSpecDto.java
│ │ ├── HostAggregateDto.java
│ │ ├── HostDto.java
│ │ ├── OsNetworkDto.java
│ │ ├── OsProjectDto.java
│ │ └── package-info.java
│ └── package-info.java
│ ├── exceptions
│ ├── ActionNotSupportedException.java
│ ├── ErrorCodeDto.java
│ ├── ExceptionConstants.java
│ ├── ExtensionNotPresentException.java
│ ├── OscBadRequestException.java
│ ├── OscInternalServerErrorException.java
│ ├── OscNotFoundException.java
│ ├── RestClientException.java
│ ├── VmidcBrokerInvalidEntryException.java
│ ├── VmidcBrokerInvalidRequestException.java
│ ├── VmidcBrokerValidationException.java
│ ├── VmidcDbConcurrencyException.java
│ ├── VmidcDbConstraintViolationException.java
│ ├── VmidcException.java
│ └── package-info.java
│ ├── request
│ ├── AddOrUpdateSecurityGroupRequest.java
│ ├── AddOrUpdateServiceFunctionChainRequest.java
│ ├── AddSslEntryRequest.java
│ ├── AddUserRequest.java
│ ├── AgentRegisterRequest.java
│ ├── AgentRegisterServiceRequest.java
│ ├── AlertRequest.java
│ ├── ApplianceManagerConnectorRequest.java
│ ├── Attribute.java
│ ├── BackupRequest.java
│ ├── BaseDeleteRequest.java
│ ├── BaseIdRequest.java
│ ├── BaseJobRequest.java
│ ├── BaseOpenStackRequest.java
│ ├── BaseRequest.java
│ ├── BindSecurityGroupRequest.java
│ ├── DeleteSslEntryRequest.java
│ ├── DeleteUserRequest.java
│ ├── DeploymentScope.java
│ ├── DistributedApplianceInstancesRequest.java
│ ├── DryRunRequest.java
│ ├── EndpointGroupList.java
│ ├── ErrorTypeException.java
│ ├── GetDtoFromEntityRequest.java
│ ├── GetMCPublicKeyRequest.java
│ ├── GetNetworkSettingsRequest.java
│ ├── GetVSPublicKeyRequest.java
│ ├── ImportFileRequest.java
│ ├── ListApplianceModelSwVersionComboRequest.java
│ ├── ListApplianceSoftwareVersionByApplianceIdRequest.java
│ ├── ListApplianceSoftwareVersionRequest.java
│ ├── ListEncapsulationTypeByVersionTypeAndModelRequest.java
│ ├── ListJobRequest.java
│ ├── ListOpenstackMembersRequest.java
│ ├── ListTaskRequest.java
│ ├── ListUserRequest.java
│ ├── ListVirtualSystemRequest.java
│ ├── ListVirtualizationConnectorBySwVersionRequest.java
│ ├── LoginRequest.java
│ ├── MCChangeNotificationRequest.java
│ ├── QueryVmInfoRequest.java
│ ├── Request.java
│ ├── RestoreRequest.java
│ ├── SetNetworkSettingsRequest.java
│ ├── UpdateMCPublicKeyRequest.java
│ ├── UpdateSecurityGroupMemberRequest.java
│ ├── UpdateUserRequest.java
│ ├── UpdateVSKeyStoreRequest.java
│ ├── UpgradeRequest.java
│ ├── UploadRequest.java
│ ├── VirtualizationConnectorRequest.java
│ └── package-info.java
│ ├── response
│ ├── AddDistributedApplianceResponse.java
│ ├── AddUserResponse.java
│ ├── AgentDpaInfo.java
│ ├── AgentRegisterResponse.java
│ ├── AgentRegisterServiceResponse.java
│ ├── AgentStatusResponse.java
│ ├── BackupResponse.java
│ ├── BaseDtoResponse.java
│ ├── BaseJobResponse.java
│ ├── BaseResponse.java
│ ├── BindSecurityGroupResponse.java
│ ├── CertificateBasicInfoModel.java
│ ├── CheckNetworkSettingResponse.java
│ ├── DownloadAgentLogResponse.java
│ ├── EmptySuccessResponse.java
│ ├── GetAgentStatusResponse.java
│ ├── GetMCPublicKeyResponse.java
│ ├── GetNetworkSettingsResponse.java
│ ├── GetVSPublicKeyResponse.java
│ ├── ListResponse.java
│ ├── LoginResponse.java
│ ├── QueryVmInfoResponse.java
│ ├── Response.java
│ ├── ServerStatusResponse.java
│ ├── SetNetworkSettingsResponse.java
│ ├── SetResponse.java
│ ├── UpdateUserResponse.java
│ └── package-info.java
│ └── ssl
│ ├── CertificateResolverModel.java
│ ├── SslCertificatesExtendedException.java
│ ├── TruststoreChangedListener.java
│ ├── X509TrustManagerApi.java
│ └── package-info.java
├── osc-tools
├── .classpath
├── .gitignore
├── .project
├── .settings
│ ├── org.eclipse.jdt.core.prefs
│ └── org.eclipse.m2e.core.prefs
├── README.md
├── pom.xml
└── src
│ └── main
│ ├── java
│ └── org
│ │ └── osc
│ │ └── core
│ │ ├── poc
│ │ ├── FieldNameGenerator.java
│ │ ├── PocGenerator.java
│ │ └── TestClass.java
│ │ ├── sample
│ │ ├── Messages.java
│ │ ├── Messages_.java
│ │ └── SampleMessageGenerator.java
│ │ └── tools
│ │ ├── Generator.java
│ │ └── ResourceBundleKeyGenerator.java
│ └── resources
│ ├── org
│ └── osc
│ │ └── core
│ │ └── sample
│ │ └── messages.properties
│ └── quality
│ ├── OSC_checks.xml
│ ├── checkstyle-suppressions.xml
│ └── java.header
├── osc-uber-kubernetes
├── .classpath
├── .project
├── .settings
│ ├── org.eclipse.core.resources.prefs
│ └── org.eclipse.jdt.core.prefs
├── README.md
├── bnd.bnd
└── pom.xml
├── osc-uber-openstack4j
├── .classpath
├── .project
├── .settings
│ ├── org.eclipse.core.resources.prefs
│ └── org.eclipse.jdt.core.prefs
├── README.md
├── bnd.bnd
└── pom.xml
├── osc-uber
├── .classpath
├── .project
├── .settings
│ ├── org.eclipse.core.resources.prefs
│ └── org.eclipse.jdt.core.prefs
├── README.md
├── bnd.bnd
└── pom.xml
├── osc-ui-widgetset
├── .classpath
├── .project
├── .settings
│ ├── org.eclipse.core.resources.prefs
│ └── org.eclipse.jdt.core.prefs
├── README.md
├── bnd.bnd
└── pom.xml
├── osc-ui
├── .classpath
├── .gitignore
├── .project
├── .settings
│ ├── org.eclipse.core.resources.prefs
│ └── org.eclipse.jdt.core.prefs
├── README.md
├── bnd.bnd
├── pom.xml
└── src
│ └── main
│ ├── java
│ └── org
│ │ └── osc
│ │ └── core
│ │ ├── broker
│ │ ├── view
│ │ │ ├── AlertView.java
│ │ │ ├── AppWidgetSet.gwt.xml
│ │ │ ├── ApplianceInstanceView.java
│ │ │ ├── ApplianceView.java
│ │ │ ├── CRUDBaseSubView.java
│ │ │ ├── CRUDBaseView.java
│ │ │ ├── DistributedApplianceView.java
│ │ │ ├── JobView.java
│ │ │ ├── MainUI.java
│ │ │ ├── MainUIProvider.java
│ │ │ ├── MaintenanceView.java
│ │ │ ├── ManagerConnectorView.java
│ │ │ ├── OSCViewProvider.java
│ │ │ ├── PageInformationComponent.java
│ │ │ ├── PluginView.java
│ │ │ ├── UserView.java
│ │ │ ├── alarm
│ │ │ │ ├── AddAlarmWindow.java
│ │ │ │ ├── AlarmView.java
│ │ │ │ ├── BaseAlarmWindow.java
│ │ │ │ └── UpdateAlarmWindow.java
│ │ │ ├── common
│ │ │ │ ├── StyleConstants.java
│ │ │ │ └── VmidcMessages.java
│ │ │ ├── deploymentspec
│ │ │ │ ├── AddDeploymentSpecWindow.java
│ │ │ │ ├── BaseDeploymentSpecWindow.java
│ │ │ │ ├── DeploymentSpecSubView.java
│ │ │ │ └── UpdateDeploymentSpecWindow.java
│ │ │ ├── maintenance
│ │ │ │ ├── ApplianceUploader.java
│ │ │ │ ├── ArchiveLayout.java
│ │ │ │ ├── DbRestorer.java
│ │ │ │ ├── EmailLayout.java
│ │ │ │ ├── InternalCertReplacementUploader.java
│ │ │ │ ├── JobsArchiverPanel.java
│ │ │ │ ├── ManageLayout.java
│ │ │ │ ├── NetworkLayout.java
│ │ │ │ ├── PluginUploader.java
│ │ │ │ ├── PluginsLayout.java
│ │ │ │ ├── SslCertificateUploader.java
│ │ │ │ ├── SslConfigurationLayout.java
│ │ │ │ ├── SummaryLayout.java
│ │ │ │ └── SupportLayout.java
│ │ │ ├── securityinterface
│ │ │ │ ├── AddSecurityGroupInterfaceWindow.java
│ │ │ │ ├── BaseSecurityGroupInterfaceWindow.java
│ │ │ │ ├── SecurityGroupInterfaceSubView.java
│ │ │ │ └── UpdateSecurityGroupInterfaceWindow.java
│ │ │ ├── util
│ │ │ │ ├── SdkUtil.java
│ │ │ │ ├── ToolbarButtons.java
│ │ │ │ └── ViewUtil.java
│ │ │ └── vc
│ │ │ │ ├── AddSSLCertificateWindow.java
│ │ │ │ ├── AddVirtualizationConnectorWindow.java
│ │ │ │ ├── AdvancedSettingsWindow.java
│ │ │ │ ├── BaseVCWindow.java
│ │ │ │ ├── UpdateVirtualizationConnectorWindow.java
│ │ │ │ ├── VirtualizationConnectorView.java
│ │ │ │ └── securitygroup
│ │ │ │ ├── AddSecurityGroupWindow.java
│ │ │ │ ├── BaseSecurityGroupWindow.java
│ │ │ │ ├── BindSecurityGroupWindow.java
│ │ │ │ ├── SecurityGroupMembershipInfoWindow.java
│ │ │ │ └── UpdateSecurityGroupWindow.java
│ │ └── window
│ │ │ ├── BaseDAWindow.java
│ │ │ ├── BaseDeleteWindow.java
│ │ │ ├── CRUDBaseApproveWindow.java
│ │ │ ├── CRUDBaseValidateWindow.java
│ │ │ ├── CRUDBaseWindow.java
│ │ │ ├── LoadingIndicatorCRUDBaseWindow.java
│ │ │ ├── ProgressIndicatorWindow.java
│ │ │ ├── UploadInfoWindow.java
│ │ │ ├── VmidcWindow.java
│ │ │ ├── WindowUtil.java
│ │ │ ├── add
│ │ │ ├── AddDistributedApplianceWindow.java
│ │ │ ├── AddManagerConnectorWindow.java
│ │ │ ├── AddUserWindow.java
│ │ │ ├── ImportApplianceSoftwareVersionWindow.java
│ │ │ └── PasswordWindow.java
│ │ │ ├── button
│ │ │ ├── ApproveCancelButtonModel.java
│ │ │ ├── CloseButtonModel.java
│ │ │ ├── ComponentModel.java
│ │ │ ├── OkCancelButtonModel.java
│ │ │ ├── OkCancelForceDeleteModel.java
│ │ │ └── OkCancelValidateButtonModel.java
│ │ │ ├── delete
│ │ │ ├── DeleteApplianceSoftwareVersionWindow.java
│ │ │ ├── DeleteApplianceWindow.java
│ │ │ ├── DeleteManagerConnectorWindow.java
│ │ │ ├── DeleteUserWindow.java
│ │ │ └── DeleteWindowUtil.java
│ │ │ ├── status
│ │ │ └── AgentStatusWindow.java
│ │ │ └── update
│ │ │ ├── SetEmailSettingsWindow.java
│ │ │ ├── SetNATSettingsWindow.java
│ │ │ ├── SetNetworkSettingsWindow.java
│ │ │ ├── UpdateDistributedApplianceWindow.java
│ │ │ ├── UpdateManagerConnectorWindow.java
│ │ │ └── UpdateUserWindow.java
│ │ └── ui
│ │ ├── RedirectServletContext.java
│ │ ├── UiListenerDelegate.java
│ │ ├── UiServlet.java
│ │ └── UiServletContext.java
│ ├── resources
│ └── org
│ │ └── osc
│ │ └── core
│ │ └── broker
│ │ └── view
│ │ └── common
│ │ └── VmidcMessages.properties
│ └── webapp
│ ├── META-INF
│ ├── MANIFEST.MF
│ └── context.xml
│ ├── VAADIN
│ └── themes
│ │ └── vmidc
│ │ ├── addons.scss
│ │ ├── favicon.ico
│ │ ├── img
│ │ ├── Body_Tile.gif
│ │ ├── Help.png
│ │ ├── Refresh.png
│ │ ├── acknowledge.png
│ │ ├── add.png
│ │ ├── back.png
│ │ ├── cancel.png
│ │ ├── collapse.png
│ │ ├── conform.png
│ │ ├── delete.png
│ │ ├── deploy.png
│ │ ├── download.png
│ │ ├── drilldown.png
│ │ ├── edit.png
│ │ ├── expand.png
│ │ ├── headerHelp.png
│ │ ├── job-graph.png
│ │ ├── logo.png
│ │ ├── manage_header.png
│ │ ├── register.png
│ │ ├── setup_header.png
│ │ ├── spinner.gif
│ │ ├── status.png
│ │ ├── status_header.png
│ │ ├── unacknowledge.png
│ │ └── upgrade.png
│ │ ├── modules
│ │ └── mixins.scss
│ │ ├── partials
│ │ ├── _common.scss
│ │ ├── _infoComponent.scss
│ │ ├── _notification.scss
│ │ └── _selector.scss
│ │ ├── styles.css
│ │ ├── styles.scss
│ │ └── vmidc.scss
│ └── WEB-INF
│ └── web.xml
├── pom.xml
├── vmiDC-code-style-format.xml
├── vmiDC-code-templates.xml
└── vmidc_cleanup_profile.xml
/.codecov.yml:
--------------------------------------------------------------------------------
1 | # Copyright (c) Intel Corporation
2 | # Copyright (c) 2017
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | coverage:
17 | status:
18 | project:
19 | default:
20 | enabled: yes
21 | target: 25%
22 | threshold: 1%
23 | base: parent
24 | patch: false
25 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Files with default ending character (default w.r.t Operating system)
2 | *.java text=auto
3 | *.bnd text=auto
4 | *.xml text=auto
5 |
6 |
7 | # Files with linux line ending character (w.r.t target OS which is linux)
8 | *.sh text=lf
9 | *.mk text=lf
10 | *.repo text=lf
11 | *.properties text=lf
12 | *.cfg text=lf
13 | *.MF text=lf
14 | *.py text=lf
15 | *.ini text=lf
16 | *.txt text=lf
17 | *.html text=lf
18 | *.json text=lf
19 | *.js text=lf
20 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | **/target/**
2 | **/.settings/org.eclipse.m2e.core.prefs
3 | **/src/main/generated/**
4 | **/.settings/org.eclipse.m2e.core.prefs
5 | osc-server-bom/root/opt/vmidc/bin/webapp/**
6 | osc-export/generated/**
7 | osc-export/webapp/**
8 | osc-export/data/*.db*
9 | osc-export/data/log/**
10 | osc-export/data/plugins/**
11 | osc-export/data/ovf/**
12 | osc-export/data/mainKeyStore.p12
13 | osc-export/data/osctrustore.jks
14 | osc-export/*.db*
15 | osc-export/server.pid
16 | osc-server-bom/root/opt/vmidc/bin/META-INF/
17 | osc-server-bom/root/opt/vmidc/bin/aQute/
18 | osc-server-bom/root/opt/vmidc/bin/config/
19 | osc-server-bom/root/opt/vmidc/bin/jar/
20 | osc-server-bom/root/opt/vmidc/bin/launcher.properties
21 | osc-server-bom/root/opt/vmidc/bin/default-data/**
22 | osc-server-bom/root/opt/vmidc/bin/osc-control.jar
23 | osc-server-bom/root/opt/vmidc/bin/vmidcKeyStore.jks
24 | osc-server-bom/Sources/jre*.tar.*
25 | osc-server/src/main/webapp/VAADIN/gwt-unitCache/
26 | osc-server/src/main/webapp/VAADIN/themes/vmidc/styles.css
27 | osc-server/src/main/webapp/VAADIN/widgetsets/
28 | **/*.iml
29 | **/?
30 |
--------------------------------------------------------------------------------
/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | osc-core
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.m2e.core.maven2Builder
10 |
11 |
12 |
13 |
14 |
15 | org.eclipse.m2e.core.maven2Nature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/.settings/org.eclipse.m2e.core.prefs:
--------------------------------------------------------------------------------
1 | activeProfiles=
2 | eclipse.preferences.version=1
3 | resolveWorkspaceProjects=true
4 | version=1
5 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing to OSC
2 |
3 | We are so glad you are here! All types of contributions are welcome.
4 |
5 | Information for contributing to OSC can be found in the [OSC Community](https://github.com/opensecuritycontroller/community).
6 |
--------------------------------------------------------------------------------
/ISSUE_TEMPLATE.md:
--------------------------------------------------------------------------------
1 | ### Description
2 |
3 | ### Expected Behavior
4 |
5 | ### Actual Behavior
6 |
7 | ### Steps to Reproduce
8 |
9 | ### Additional Information
10 |
11 | ### Environment
12 | - OSC Version/Build:
13 | - Cloud Provider Info:
14 | - Plugin Info:
15 | - Other:
16 |
17 | ### Status
18 | - [ ] Reproduced
19 | - [ ] In Progress
20 | - [ ] Validated => Verified in Version/Build:
21 |
22 |
--------------------------------------------------------------------------------
/bnd.bnd:
--------------------------------------------------------------------------------
1 | # This file sets default bnd configuration inherited by all sub-projects
2 |
3 | # Export any package defined by the current project which is versioned
4 | -exportcontents: ${packages;VERSIONED}
--------------------------------------------------------------------------------
/docker/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM osc-base-image:osc-base
2 |
3 | MAINTAINER Arvind Nadendla
4 |
5 | COPY opt /opt
6 |
7 | EXPOSE 8090 443
8 |
9 | WORKDIR /opt/vmidc/bin/
10 |
11 | RUN chmod +x vmidc.sh
12 |
13 | # Run OSC in console mode, otherwise container exists immediately
14 | CMD ["/opt/vmidc/bin/vmidc.sh", "--console", "--start"]
15 |
--------------------------------------------------------------------------------
/docker/Dockerfile-osc-base:
--------------------------------------------------------------------------------
1 | FROM centos:latest
2 |
3 | MAINTAINER Arvind Nadendla
4 |
5 | RUN yum update -y && \
6 | yum install -y wget && \
7 | wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u162-b12/0da788060d494f5095bf8624735fa2f1/jre-8u162-linux-x64.rpm && \
8 | yum localinstall -y jre-8u162-linux-x64.rpm && \
9 | rm -rf jre-8u162-linux-x64.rpm && \
10 | yum install -y iproute && \
11 | yum install -y graphviz && \
12 | rm -rf /var/cache/yum
13 |
14 | # Set environment variables.
15 | ENV JAVA_HOME /usr/java/jre1.8.0_162
16 |
17 | # Define working directory.
18 | WORKDIR /root
19 |
20 | # Define default command.
21 | CMD ["bash"]
22 |
--------------------------------------------------------------------------------
/images/OSC_logo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/images/OSC_logo.jpg
--------------------------------------------------------------------------------
/osc-common/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/osc-common/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | osc-common
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.wst.common.project.facet.core.builder
10 |
11 |
12 |
13 |
14 | org.eclipse.jdt.core.javabuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.wst.validation.validationbuilder
20 |
21 |
22 |
23 |
24 | org.eclipse.m2e.core.maven2Builder
25 |
26 |
27 |
28 |
29 |
30 | org.eclipse.jem.workbench.JavaEMFNature
31 | org.eclipse.wst.common.modulecore.ModuleCoreNature
32 | org.eclipse.jdt.core.javanature
33 | org.eclipse.m2e.core.maven2Nature
34 | org.eclipse.wst.common.project.facet.core.nature
35 |
36 |
37 |
--------------------------------------------------------------------------------
/osc-common/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4 | org.eclipse.jdt.core.compiler.compliance=1.8
5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
8 | org.eclipse.jdt.core.compiler.source=1.8
9 |
--------------------------------------------------------------------------------
/osc-common/.settings/org.eclipse.m2e.core.prefs:
--------------------------------------------------------------------------------
1 | activeProfiles=
2 | eclipse.preferences.version=1
3 | resolveWorkspaceProjects=true
4 | version=1
5 |
--------------------------------------------------------------------------------
/osc-common/.settings/org.eclipse.wst.common.component:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/osc-common/.settings/org.eclipse.wst.common.project.facet.core.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/osc-common/.settings/org.eclipse.wst.validation.prefs:
--------------------------------------------------------------------------------
1 | disabled=06target
2 | eclipse.preferences.version=1
3 |
--------------------------------------------------------------------------------
/osc-common/README.md:
--------------------------------------------------------------------------------
1 | # OSC Common
2 |
3 | The purpose of the **osc-common** project is for common lightweight types and simple helpers to be used across multiple core projects.
4 |
5 | ### Dependencies
6 | This project should only include Java standard library dependencies.
7 |
--------------------------------------------------------------------------------
/osc-common/src/main/java/org/osc/core/common/alarm/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.common.alarm;
20 |
--------------------------------------------------------------------------------
/osc-common/src/main/java/org/osc/core/common/job/FreqType.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.common.job;
18 |
19 | public enum FreqType {
20 | WEEKLY("WEEKLY"), MONTHLY("MONTHLY");
21 |
22 | private final String text;
23 |
24 | FreqType(final String text) {
25 | this.text = text;
26 | }
27 |
28 | @Override
29 | public String toString() {
30 | return text;
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/osc-common/src/main/java/org/osc/core/common/job/JobStatus.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.common.job;
18 |
19 | /**
20 | * The JobStatus represent how well a {@link Job} is executing.
21 | */
22 | public enum JobStatus {
23 | FAILED, PASSED, ABORTED;
24 |
25 | public boolean isSuccessful() {
26 | return equals(PASSED);
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/osc-common/src/main/java/org/osc/core/common/job/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.common.job;
20 |
--------------------------------------------------------------------------------
/osc-common/src/main/java/org/osc/core/common/virtualization/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.common.virtualization;
20 |
--------------------------------------------------------------------------------
/osc-control/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/osc-control/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 |
--------------------------------------------------------------------------------
/osc-control/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | osc-control
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.m2e.core.maven2Builder
15 |
16 |
17 |
18 |
19 |
20 | org.eclipse.jdt.core.javanature
21 | org.eclipse.m2e.core.maven2Nature
22 |
23 |
24 |
--------------------------------------------------------------------------------
/osc-control/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4 | org.eclipse.jdt.core.compiler.compliance=1.8
5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
8 | org.eclipse.jdt.core.compiler.source=1.8
9 |
--------------------------------------------------------------------------------
/osc-control/README.md:
--------------------------------------------------------------------------------
1 | # OSC Control
2 |
3 | The **osc-control** project is an executable JAR which launches the server process through the [vmidc shell script](https://github.com/opensecuritycontroller/osc-core/blob/master/osc-server-bom/root/opt/vmidc/bin/vmidc.sh). It does not run in OSGi.
4 |
5 | ### Dependencies
6 | It is not expected for this project to have direct dependencies on other **osc-core** projects.
--------------------------------------------------------------------------------
/osc-domain/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/osc-domain/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | osc-domain
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.wst.common.project.facet.core.builder
10 |
11 |
12 |
13 |
14 | org.eclipse.jdt.core.javabuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.m2e.core.maven2Builder
20 |
21 |
22 |
23 |
24 |
25 | org.eclipse.jdt.core.javanature
26 | org.eclipse.m2e.core.maven2Nature
27 | org.eclipse.wst.common.project.facet.core.nature
28 |
29 |
30 |
--------------------------------------------------------------------------------
/osc-domain/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
3 | org.eclipse.jdt.core.compiler.compliance=1.8
4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
5 | org.eclipse.jdt.core.compiler.source=1.8
6 |
--------------------------------------------------------------------------------
/osc-domain/.settings/org.eclipse.jpt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jpt.core.platform=generic2_0
3 | org.eclipse.jpt.jpa.core.discoverAnnotatedClasses=true
4 |
--------------------------------------------------------------------------------
/osc-domain/.settings/org.eclipse.wst.common.project.facet.core.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/osc-domain/README.md:
--------------------------------------------------------------------------------
1 | # OSC Domain
2 |
3 | The **osc-domain** project contains all database entities that represents the OSC business model. This project functions as a thin data access layer and, as such, should not contain any business logic.
4 |
5 | ### Dependencies
6 | It is not expected for this project to have direct dependencies on other **osc-core** projects besides [**osc-common**](../osc-common).
--------------------------------------------------------------------------------
/osc-domain/bnd.bnd:
--------------------------------------------------------------------------------
1 | Meta-Persistence: META-INF/persistence.xml
2 |
3 | Require-Capability: osgi.extender;filter:="(&(osgi.extender=aries.jpa)(version>=2.6)(!(version>=3.0)))"
4 |
5 | Import-Package: org.hibernate.proxy, \
6 | javassist.util.proxy, \
7 | *
--------------------------------------------------------------------------------
/osc-domain/src/main/java/org/osc/core/broker/model/entities/RoleType.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.model.entities;
18 |
19 | public enum RoleType {
20 | ADMIN("ADMIN");
21 |
22 | private final String text;
23 |
24 | RoleType(final String text) {
25 | this.text = text;
26 | }
27 |
28 | @Override
29 | public String toString() {
30 | return this.text;
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/osc-domain/src/main/java/org/osc/core/broker/model/entities/appliance/TagEncapsulationType.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.model.entities.appliance;
18 |
19 | public enum TagEncapsulationType {
20 | VLAN, MPLS, GRE, QINQ, VXLAN, NSH;
21 | }
22 |
--------------------------------------------------------------------------------
/osc-domain/src/main/java/org/osc/core/broker/model/entities/appliance/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.model.entities.appliance;
--------------------------------------------------------------------------------
/osc-domain/src/main/java/org/osc/core/broker/model/entities/archive/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.model.entities.archive;
--------------------------------------------------------------------------------
/osc-domain/src/main/java/org/osc/core/broker/model/entities/events/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.model.entities.events;
--------------------------------------------------------------------------------
/osc-domain/src/main/java/org/osc/core/broker/model/entities/job/LastJobContainer.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.model.entities.job;
18 |
19 | import org.osc.core.broker.model.entities.IscEntity;
20 |
21 | /**
22 | * Attaches to entity info about last job
23 | */
24 | public interface LastJobContainer extends IscEntity{
25 | void setLastJob(JobRecord lastJob);
26 | JobRecord getLastJob();
27 | }
28 |
--------------------------------------------------------------------------------
/osc-domain/src/main/java/org/osc/core/broker/model/entities/job/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.model.entities.job;
--------------------------------------------------------------------------------
/osc-domain/src/main/java/org/osc/core/broker/model/entities/management/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.model.entities.management;
--------------------------------------------------------------------------------
/osc-domain/src/main/java/org/osc/core/broker/model/entities/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.model.entities;
--------------------------------------------------------------------------------
/osc-domain/src/main/java/org/osc/core/broker/model/entities/virtualization/FailurePolicyType.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.model.entities.virtualization;
18 |
19 | public enum FailurePolicyType {
20 | FAIL_OPEN, FAIL_CLOSE, NA;
21 | }
22 |
--------------------------------------------------------------------------------
/osc-domain/src/main/java/org/osc/core/broker/model/entities/virtualization/k8s/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.model.entities.virtualization.k8s;
--------------------------------------------------------------------------------
/osc-domain/src/main/java/org/osc/core/broker/model/entities/virtualization/openstack/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.model.entities.virtualization.openstack;
--------------------------------------------------------------------------------
/osc-domain/src/main/java/org/osc/core/broker/model/entities/virtualization/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.model.entities.virtualization;
--------------------------------------------------------------------------------
/osc-domain/src/main/resources/META-INF/persistence.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
22 |
23 |
24 | The persistence unit for the OSC domain classes
25 |
26 |
--------------------------------------------------------------------------------
/osc-export/.gitignore:
--------------------------------------------------------------------------------
1 | /KeyStoreAccess-1.0.jar
2 | /ServerSupportBundle.zip
3 |
--------------------------------------------------------------------------------
/osc-export/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | osc-export
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.m2e.core.maven2Builder
10 |
11 |
12 |
13 |
14 |
15 | org.eclipse.m2e.core.maven2Nature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/osc-export/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding/=UTF-8
3 |
--------------------------------------------------------------------------------
/osc-export/README.md:
--------------------------------------------------------------------------------
1 | # OSC Export
2 |
3 | The **osc-export** project creates an OSGi bundle index from the transitive dependencies specified in its POM file. The index is defined in `server.bnd` and used by `server.bndrun` to resolve the required bundles and produce an executable JAR.
4 |
5 | ### Running
6 | The `server.bndrun` file can be used to run the server from Eclipse (Run OSGi), using the [bndtools plugin](http://bndtools.org/installation.html) and is then exported by the `bnd-export-maven-plugin`. This project uses antrun to copy the resources into the [**osc-server-bom**](../osc-server-bom) project.
7 |
8 | ### Debugging
9 |
10 | Locally debugging the server is easier using `server-debug.bndrun`.
11 | * This adds [Felix Web Console](http://felix.apache.org/documentation/subprojects/apache-felix-web-console.html) and the [GoGo shell](http://felix.apache.org/documentation/subprojects/apache-felix-gogo.html).
12 | * Both `server.bndrun` and `server-debug.bndrun` can be used with the Eclipse Java debugger.
13 |
14 | ### Dependencies
15 | This project will list all dependencies needed to create an executable JAR of OSC.
--------------------------------------------------------------------------------
/osc-export/config/org.apache.felix.http-redirect.cfg:
--------------------------------------------------------------------------------
1 | # HTTP configuration for OSC-REDIRECT instance
2 |
3 | org.apache.felix.http.enable=true
4 | org.osgi.service.http.port=80
5 |
6 | # Name MUST match OSC_REDIRECT_NAME in RedirectServletContext.java
7 | org.apache.felix.http.name=OSC-REDIRECT
8 |
9 | #end
10 |
--------------------------------------------------------------------------------
/osc-export/config/org.apache.felix.http-ui.cfg:
--------------------------------------------------------------------------------
1 | # HTTP configuration for OSC-UI instance
2 |
3 | org.apache.felix.https.enable=true
4 | org.osgi.service.http.port.secure=443
5 |
6 | # Name MUST match OSC_UI_NAME in UiServletContext.java
7 | org.apache.felix.http.name=OSC-UI
8 |
9 | # Session timeout, in minutes
10 | org.apache.felix.http.session.timeout=30
11 |
12 | org.apache.felix.https.keystore=data/osctrustore.jks
13 | org.apache.felix.https.keystore.password=abc12345
14 |
15 |
16 | # Flag to determine if the HTTPS protocol requires,
17 | # wants or does not use client certificates.
18 | # Legal values are needs, wants and none. The default is none.
19 | #org.apache.felix.https.clientcertificate = none
20 |
21 | #end
22 |
--------------------------------------------------------------------------------
/osc-export/config/org.osc.core.broker.upload.cfg:
--------------------------------------------------------------------------------
1 | upload.path=data/ovf/
2 | tmp.upload.parent=data/ovf/tmp/
3 |
--------------------------------------------------------------------------------
/osc-export/config/org.osc.core.broker.util.db.cfg:
--------------------------------------------------------------------------------
1 | hibernate.dialect=org.hibernate.dialect.H2Dialect
2 | hibernate.show_sql=false
3 | hibernate.cache.provider_class=org.hibernate.cache.internal.NoCacheProvider
4 | hibernate.connection.pool_size=5
5 | hibernate.current_session_context_class=thread
6 |
--------------------------------------------------------------------------------
/osc-export/config/ui.servlet.cfg:
--------------------------------------------------------------------------------
1 | # ui.servlet.cfg
2 |
3 | # properties defined here with servlet.init. prefix
4 | # are passed to UI Servlet (without the servlet.init. prefix)
5 |
6 | servlet.init.widgetset=org.osc.core.broker.view.AppWidgetSet
7 | servlet.init.closeIdleSessions=true
8 | servlet.init.org.atmosphere.cpr.broadcaster.maxAsyncWriteThreads=20
9 | servlet.init.org.atmosphere.cpr.broadcaster.maxProcessingThreads=20
10 | servlet.init.org.atmosphere.cpr.broadcaster.shareableThreadPool=true
11 | servlet.init.org.atmosphere.cpr.broadcasterLifeCyclePolicy=EMPTY_DESTROY
12 |
13 | #end
14 |
--------------------------------------------------------------------------------
/osc-export/config/ui.servlet.context.cfg:
--------------------------------------------------------------------------------
1 | # ui.servlet.context.cfg
2 |
3 | # properties defined here with 'context.init.' prefix
4 | # are passed to UI Servlet Context (without the 'context.init.' prefix)
5 |
6 | context.init.org.atmosphere.cpr.sessionSupport=true
7 | context.init.productionMode=true
8 |
9 | #end
10 |
--------------------------------------------------------------------------------
/osc-export/data/.keep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-export/data/.keep
--------------------------------------------------------------------------------
/osc-export/data/mainKeyStore.p12:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-export/data/mainKeyStore.p12
--------------------------------------------------------------------------------
/osc-export/data/osctrustore.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-export/data/osctrustore.jks
--------------------------------------------------------------------------------
/osc-export/data/vmidcServer.conf:
--------------------------------------------------------------------------------
1 | #Fri Dec 30 15:15:38 CET 2016
2 |
3 | server.reboots=0
4 | server.port=8090
5 | devMode=true
6 |
7 | db.backup.key.alias=DB_BACKUP_KEY
8 | db.backup.key.password=%@YZ\!y7rwWSvmd83zdL6Y&*$UutU\!%sv
9 |
10 | db.backup.iv.alias=DB_BACKUP_IV
11 | db.backup.iv.password=42pJrRzUw\=k8\!E\!DkC$rmUMhvSw_Kwy\!
12 |
13 | db.connection.password.keystore.alias=DB_PASSWORD
14 | db.connection.password.keystore.password=pGszjP_6t&pbJcJqm@NFm@Qan7BPyDwB
15 |
16 | db.connection.default.password.keystore.alias=DB_DEFAULT_PASSWORD
17 | db.connection.default.password.keystore.password=JgA\!JMtuj-NgK\=MzHd3QRt-StN$PQs&^
18 |
19 | db.connection.url=jdbc\:h2\:./data/vmiDCDB;MVCC\=TRUE;LOCK_TIMEOUT\=10000;MV_STORE=FALSE;
20 | db.connection.url.extraArgs=AUTO_SERVER\=TRUE;
21 | db.connection.login=admin
22 |
23 | internal.keypair.startup.location=replace_keypair.zip
24 |
--------------------------------------------------------------------------------
/osc-export/db_password.txt:
--------------------------------------------------------------------------------
1 | "g1X8jenMv/I|_1gC$K"F>FKU]L\!lw7
2 |
--------------------------------------------------------------------------------
/osc-export/quartz.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) Intel Corporation
3 | # Copyright (c) 2017
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License");
6 | # you may not use this file except in compliance with the License.
7 | # You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | ###############################################################################
17 | org.quartz.scheduler.instanceName = MyScheduler
18 | org.quartz.threadPool.threadCount = 3
19 | org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
--------------------------------------------------------------------------------
/osc-installer-simple/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/osc-installer-simple/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 |
--------------------------------------------------------------------------------
/osc-installer-simple/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | osc-installer-simple
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.m2e.core.maven2Builder
15 |
16 |
17 |
18 |
19 |
20 | org.eclipse.jdt.core.javanature
21 | org.eclipse.m2e.core.maven2Nature
22 |
23 |
24 |
--------------------------------------------------------------------------------
/osc-installer-simple/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
3 | org.eclipse.jdt.core.compiler.compliance=1.8
4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
5 | org.eclipse.jdt.core.compiler.source=1.8
6 |
--------------------------------------------------------------------------------
/osc-installer-simple/.settings/org.eclipse.m2e.core.prefs:
--------------------------------------------------------------------------------
1 | activeProfiles=
2 | eclipse.preferences.version=1
3 | resolveWorkspaceProjects=true
4 | version=1
5 |
--------------------------------------------------------------------------------
/osc-installer-simple/README.md:
--------------------------------------------------------------------------------
1 | # OSC Simple Installer
2 |
3 | The **osc-simple-installer** project implements listeners to plugin event changes that are triggered by the [**osc-installer**](../osc-installer) project and automatically installs plugins.
4 |
5 | ### Dependencies
6 |
7 | This project depends on [**osc-installer**](../osc-installer) and [**osc-resolver**](../osc-resolver) and is not expected to have dependecies on other **osc-core** projects.
8 |
9 |
--------------------------------------------------------------------------------
/osc-installer-test/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 |
--------------------------------------------------------------------------------
/osc-installer-test/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | osc-installer-test
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.m2e.core.maven2Builder
15 |
16 |
17 |
18 |
19 |
20 | org.eclipse.jdt.core.javanature
21 | org.eclipse.m2e.core.maven2Nature
22 |
23 |
24 |
--------------------------------------------------------------------------------
/osc-installer-test/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding//src/main/java=UTF-8
3 | encoding//src/main/resources=UTF-8
4 |
--------------------------------------------------------------------------------
/osc-installer-test/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
3 | org.eclipse.jdt.core.compiler.compliance=1.8
4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
5 | org.eclipse.jdt.core.compiler.source=1.8
6 |
--------------------------------------------------------------------------------
/osc-installer-test/.settings/org.eclipse.jdt.ui.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.ui.ignorelowercasenames=true
3 | org.eclipse.jdt.ui.importorder=java;javax;org;com;
4 | org.eclipse.jdt.ui.ondemandthreshold=99
5 | org.eclipse.jdt.ui.staticondemandthreshold=2
6 |
--------------------------------------------------------------------------------
/osc-installer-test/.settings/org.eclipse.m2e.core.prefs:
--------------------------------------------------------------------------------
1 | activeProfiles=
2 | eclipse.preferences.version=1
3 | resolveWorkspaceProjects=true
4 | version=1
5 |
--------------------------------------------------------------------------------
/osc-installer-test/README.md:
--------------------------------------------------------------------------------
1 | # OSC Installer Test
2 |
3 | This project tests the installation of OSC as an OSGi container and utilizes the [PaxExam](https://ops4j1.jira.com/wiki/display/PAXEXAM4/Pax+Exam ) framework. Because this test is an integration test rather than a unit test, it must be in a separate project.
4 |
5 | ### Dependencies
6 | This project depends on [**osc-installer**](../osc-installer) and [**osc-resolver**](../osc-resolver).
--------------------------------------------------------------------------------
/osc-installer-test/src/test/resources/org.example.a.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-installer-test/src/test/resources/org.example.a.jar
--------------------------------------------------------------------------------
/osc-installer-test/src/test/resources/org.example.b.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-installer-test/src/test/resources/org.example.b.jar
--------------------------------------------------------------------------------
/osc-installer-test/src/test/resources/org.example.c.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-installer-test/src/test/resources/org.example.c.jar
--------------------------------------------------------------------------------
/osc-installer-test/src/test/resources/org.example.invalid-missing-rb.bar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-installer-test/src/test/resources/org.example.invalid-missing-rb.bar
--------------------------------------------------------------------------------
/osc-installer-test/src/test/resources/valid1.bar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-installer-test/src/test/resources/valid1.bar
--------------------------------------------------------------------------------
/osc-installer-test/src/test/resources/valid2.bar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-installer-test/src/test/resources/valid2.bar
--------------------------------------------------------------------------------
/osc-installer/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 |
--------------------------------------------------------------------------------
/osc-installer/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | osc-installer
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.m2e.core.maven2Builder
15 |
16 |
17 |
18 |
19 |
20 | org.eclipse.jdt.core.javanature
21 | org.eclipse.m2e.core.maven2Nature
22 |
23 |
24 |
--------------------------------------------------------------------------------
/osc-installer/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
5 | org.eclipse.jdt.core.compiler.compliance=1.8
6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate
7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate
8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate
9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
10 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
11 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
12 | org.eclipse.jdt.core.compiler.source=1.8
13 |
--------------------------------------------------------------------------------
/osc-installer/.settings/org.eclipse.m2e.core.prefs:
--------------------------------------------------------------------------------
1 | activeProfiles=
2 | eclipse.preferences.version=1
3 | resolveWorkspaceProjects=true
4 | version=1
5 |
--------------------------------------------------------------------------------
/osc-installer/README.md:
--------------------------------------------------------------------------------
1 | # OSC Installer
2 |
3 | The **osc-installer** project is used to manage OSC plugins.
4 |
5 | This project works with **[osc-resolver](../osc-resolver)** and **[osc-simple-installer](../osc-installer-simple)** to make OSGi services implemented by the plugins available to OSC upon installation.
6 |
7 | ### Dependencies
8 | This project has a direct dependency with only [**osc-resolver**](../osc-installer-simple) used to validate plugin BAR files.
--------------------------------------------------------------------------------
/osc-installer/bnd.bnd:
--------------------------------------------------------------------------------
1 | -exportcontents: org.osc.core.server.installer
2 | -conditionalpackage:\
3 | org.apache.felix.utils.manifest,\
4 | org.jboss.osgi.repository.*,\
5 | aQute.lib.*,\
6 | aQute.libg.*
7 |
--------------------------------------------------------------------------------
/osc-installer/src/main/java/org/osc/core/server/installer/InstallableManager.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.server.installer;
18 |
19 | import java.util.Collection;
20 |
21 | import org.osgi.annotation.versioning.ProviderType;
22 |
23 | @ProviderType
24 | public interface InstallableManager {
25 |
26 | Collection getInstallableUnits();
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/osc-installer/src/main/java/org/osc/core/server/installer/State.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.server.installer;
18 |
19 | public enum State {
20 | ERROR, RESOLVED, INSTALLED, INSTALLING, REMOVED
21 | }
22 |
--------------------------------------------------------------------------------
/osc-installer/src/main/java/org/osc/core/server/installer/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | @org.osgi.annotation.versioning.Version("1.0.0")
18 | package org.osc.core.server.installer;
19 |
--------------------------------------------------------------------------------
/osc-installer/src/test/resources/invalid-missing-index-path.bar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-installer/src/test/resources/invalid-missing-index-path.bar
--------------------------------------------------------------------------------
/osc-installer/src/test/resources/invalid-missing-requires.bar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-installer/src/test/resources/invalid-missing-requires.bar
--------------------------------------------------------------------------------
/osc-installer/src/test/resources/invalid-no-index.bar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-installer/src/test/resources/invalid-no-index.bar
--------------------------------------------------------------------------------
/osc-installer/src/test/resources/invalid-wrong-extension.xxx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-installer/src/test/resources/invalid-wrong-extension.xxx
--------------------------------------------------------------------------------
/osc-installer/src/test/resources/valid1.bar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-installer/src/test/resources/valid1.bar
--------------------------------------------------------------------------------
/osc-installer/src/test/resources/valid2.bar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-installer/src/test/resources/valid2.bar
--------------------------------------------------------------------------------
/osc-resolver/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/osc-resolver/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 |
--------------------------------------------------------------------------------
/osc-resolver/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | osc-resolver
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.m2e.core.maven2Builder
15 |
16 |
17 |
18 |
19 |
20 | org.eclipse.jdt.core.javanature
21 | org.eclipse.m2e.core.maven2Nature
22 |
23 |
24 |
--------------------------------------------------------------------------------
/osc-resolver/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
3 | org.eclipse.jdt.core.compiler.compliance=1.8
4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
5 | org.eclipse.jdt.core.compiler.source=1.8
6 |
--------------------------------------------------------------------------------
/osc-resolver/.settings/org.eclipse.m2e.core.prefs:
--------------------------------------------------------------------------------
1 | activeProfiles=
2 | eclipse.preferences.version=1
3 | resolveWorkspaceProjects=true
4 | version=1
5 |
--------------------------------------------------------------------------------
/osc-resolver/README.md:
--------------------------------------------------------------------------------
1 | # OSC Resolver
2 |
3 | The **osc-resolver** project is part of the management of OSC plugins plumbing together three [OSGi specifications](https://www.osgi.org/developer/specifications/): the OSGi resolver service, the OSGi repository service, and the OSGi framework wiring API.
4 |
5 | ### Dependencies
6 | This project is expected to not have direct dependencies with other **osc-core** projects but does interface with other OSGi dependencies.
--------------------------------------------------------------------------------
/osc-resolver/bnd.bnd:
--------------------------------------------------------------------------------
1 | -conditionalpackage: net.jcip.annotations
2 |
3 | -exportcontents: ${packages;VERSIONED}
4 |
--------------------------------------------------------------------------------
/osc-resolver/src/main/java/org/osc/core/server/resolver/PluginResolver.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.server.resolver;
18 |
19 | public interface PluginResolver {
20 |
21 | ResolveResult resolve(ResolveRequest request) throws Exception;
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/osc-resolver/src/main/java/org/osc/core/server/resolver/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | @org.osgi.annotation.versioning.Version("1.0.0")
18 | package org.osc.core.server.resolver;
19 |
20 |
--------------------------------------------------------------------------------
/osc-rest-server/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/osc-rest-server/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | osc-rest-server
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.m2e.core.maven2Builder
15 |
16 |
17 |
18 |
19 |
20 | org.eclipse.jdt.core.javanature
21 | org.eclipse.m2e.core.maven2Nature
22 |
23 |
24 |
--------------------------------------------------------------------------------
/osc-rest-server/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
3 | org.eclipse.jdt.core.compiler.compliance=1.8
4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
5 | org.eclipse.jdt.core.compiler.source=1.8
6 |
--------------------------------------------------------------------------------
/osc-rest-server/README.md:
--------------------------------------------------------------------------------
1 | # OSC REST Server
2 |
3 | The **osc-rest-server** project implements the REST APIs supported by OSC using [**osc-service-api**](../osc-service-api) to define payloads and to interface with the OSC business logic. This project is a thin wrapper on top of the **[osc-server](../osc-server)** project and should not contain business logic.
4 |
5 | ### Dependencies
6 | This project depends on [**osc-common**](../osc-common) and [**osc-service-api**](../osc-service-api).
--------------------------------------------------------------------------------
/osc-rest-server/api-doc.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-rest-server/api-doc.zip
--------------------------------------------------------------------------------
/osc-server-bom/README.md:
--------------------------------------------------------------------------------
1 | # OSC Server BOM
2 |
3 | This project contains files necessary to build the OSC virtual machine image.
4 |
5 | ### Building
6 | See [**Building an OSC Image**](https://github.com/opensecuritycontroller/community/blob/master/development/build_osc_image.md) for more information.
7 |
--------------------------------------------------------------------------------
/osc-server-bom/Sources/pxz-4.999.9beta.20091201git.tar.xz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-server-bom/Sources/pxz-4.999.9beta.20091201git.tar.xz
--------------------------------------------------------------------------------
/osc-server-bom/bin/pbkdf2_key_config.ini:
--------------------------------------------------------------------------------
1 | [pbkdf2_key_params]
2 | #password phrase it is string..do not give double quotes, they are consider as part of string
3 | #password=abc12345
4 | password=admin1234!@#
5 | #salt to generate the key for HMAC..default 24byets maximum 32
6 | salt=24
7 | #desired generated key length default minimum 24 maximum 32
8 | key_len=24
9 | #iteraton used to generate a password in by hashing default 4000 and maximum 4000
10 | rounds=4000
11 |
12 | #constant definations - do not change these values untill the range is tested.
13 | MIN_SALT_VAL=1
14 | MAX_SALT_VAL=32
15 | MIN_KEY_LEN_VAL=24
16 | MAX_KEY_LEN_VAL=32
17 | MIN_ROUNDS_VAL=4000
18 | MAX_ROUNDS_VAL=5000
19 |
20 |
--------------------------------------------------------------------------------
/osc-server-bom/bin/qemu-img:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-server-bom/bin/qemu-img
--------------------------------------------------------------------------------
/osc-server-bom/centos-epel.packages:
--------------------------------------------------------------------------------
1 | epel-release-6-8.noarch
2 | libdnet-1.12-6.el6.x86_64
3 | libmspack-0.5-0.1.alpha.el6.x86_64
4 | open-vm-tools
5 |
--------------------------------------------------------------------------------
/osc-server-bom/centos/boot/grub/grub.conf:
--------------------------------------------------------------------------------
1 | default=0
2 | timeout=5
3 |
4 | title Open Security Controller (vmlinuz-KERNELVERRELEASE.x86_64)
5 | kernel /vmlinuz-KERNELVERRELEASE.x86_64 ro selinux=0 root=/dev/mapper/root rd.luks.key=/etc/keyfile:/dev/sda1:/dev/sda3
6 | initrd /initrd-KERNELVERRELEASE.x86_64.img
7 |
--------------------------------------------------------------------------------
/osc-server-bom/centos/initrmfs/dracut-mods/95osc_mod/install:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | inst_hook initqueue-settled 99 "$moddir/centos_rc.sh"
3 |
4 |
--------------------------------------------------------------------------------
/osc-server-bom/make-cmd-line.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | source /etc/profile.d/proxy.sh > /dev/null 2>&1
3 | make image-format=${image-format} buildNumber=${buildNumber} -j --no-print-directory -f makefiles/master.mk
4 |
--------------------------------------------------------------------------------
/osc-server-bom/postinstall:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | #
3 | # Script to run at end of install to allow
4 | # customization of the ISC appliance
5 | #
6 |
--------------------------------------------------------------------------------
/osc-server-bom/repo/centos-epel.yum.conf:
--------------------------------------------------------------------------------
1 | [main]
2 | cachedir=/var/cache/yum/$basearch/$releasever
3 | keepcache=1
4 | debuglevel=2
5 | logfile=/var/log/yum.log
6 | exactarch=1
7 | obsoletes=1
8 | gpgcheck=1
9 | plugins=1
10 | installonly_limit=3
11 | reposdir=/etc/yum/repos.d
12 |
13 | # ISO release
14 | [epel-base]
15 | name=Centos EPEL base
16 | #baseurl=http://download.fedoraproject.org/pub/epel/6/x86_64/$basearch
17 | mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
18 | gpgcheck=1
19 | enabled=1
20 | gpgkey=http://ftp.riken.jp/Linux/fedora/epel/RPM-GPG-KEY-EPEL-6
21 |
22 |
--------------------------------------------------------------------------------
/osc-server-bom/root/boot/grub/device.map:
--------------------------------------------------------------------------------
1 | (fd0) /dev/fd0
2 |
--------------------------------------------------------------------------------
/osc-server-bom/root/etc/crypttab:
--------------------------------------------------------------------------------
1 | swap /dev/sda2 /dev/urandom swap
2 | swap /dev/hda2 /dev/urandom swap
3 |
--------------------------------------------------------------------------------
/osc-server-bom/root/etc/fstab:
--------------------------------------------------------------------------------
1 | UUID=053f2742-c607-4a40-a05c-c39cdeeb97f6 / ext4 defaults 1 1
2 | UUID=de505a44-50b7-4757-87e5-a1a547de8dd4 /boot ext4 defaults,nosuid 1 2
3 | /proc /proc proc defaults,nosuid 0 0
4 | /sys /sys sysfs defaults,nosuid 0 0
5 | /dev/mapper/swap swap swap defaults 0 0
6 | tmpfs /dev/shm tmpfs defaults,nosuid 0 0
7 | devpts /dev/pts devpts gid=5,node=620 0 0
8 |
--------------------------------------------------------------------------------
/osc-server-bom/root/etc/issue:
--------------------------------------------------------------------------------
1 | Open Security Controller
2 |
3 |
--------------------------------------------------------------------------------
/osc-server-bom/root/etc/mtab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-server-bom/root/etc/mtab
--------------------------------------------------------------------------------
/osc-server-bom/root/etc/sudoers.d/admin:
--------------------------------------------------------------------------------
1 | # Admin user can do anything. FOR NOW
2 | admin ALL=(ALL) NOPASSWD: ALL
3 |
--------------------------------------------------------------------------------
/osc-server-bom/root/etc/sysconfig/network:
--------------------------------------------------------------------------------
1 | NETWORKING=yes
2 | NETWORKING_IPV6=no
3 |
--------------------------------------------------------------------------------
/osc-server-bom/root/etc/sysconfig/network-scripts/ifcfg-eth0:
--------------------------------------------------------------------------------
1 | DEVICE=eth0
2 | BOOTPROTO=dhcp
3 | ONBOOT=yes
4 |
--------------------------------------------------------------------------------
/osc-server-bom/root/etc/system-release:
--------------------------------------------------------------------------------
1 | Open Security Controller release
2 |
--------------------------------------------------------------------------------
/osc-server-bom/root/opt/vmidc/bin/default-data/mainKeyStore.p12:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-server-bom/root/opt/vmidc/bin/default-data/mainKeyStore.p12
--------------------------------------------------------------------------------
/osc-server-bom/root/opt/vmidc/bin/default-data/osctrustore.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-server-bom/root/opt/vmidc/bin/default-data/osctrustore.jks
--------------------------------------------------------------------------------
/osc-server-bom/root/opt/vmidc/bin/default-data/plugins/.keep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-server-bom/root/opt/vmidc/bin/default-data/plugins/.keep
--------------------------------------------------------------------------------
/osc-server-bom/root/opt/vmidc/bin/default-data/vmidcServer.conf:
--------------------------------------------------------------------------------
1 | #Fri Dec 30 15:15:38 CET 2016
2 |
3 | server.reboots=0
4 | server.port=8090
5 | #devMode=true
6 |
7 | db.backup.key.alias=DB_BACKUP_KEY
8 | db.backup.key.password=%@YZ\!y7rwWSvmd83zdL6Y&*$UutU\!%sv
9 |
10 | db.backup.iv.alias=DB_BACKUP_IV
11 | db.backup.iv.password=42pJrRzUw\=k8\!E\!DkC$rmUMhvSw_Kwy\!
12 |
13 | db.connection.password.keystore.alias=DB_PASSWORD
14 | db.connection.password.keystore.password=pGszjP_6t&pbJcJqm@NFm@Qan7BPyDwB
15 |
16 | db.connection.default.password.keystore.alias=DB_DEFAULT_PASSWORD
17 | db.connection.default.password.keystore.password=JgA\!JMtuj-NgK\=MzHd3QRt-StN$PQs&^
18 |
19 | db.connection.url=jdbc\:h2\:./data/vmiDCDB;MVCC\=TRUE;LOCK_TIMEOUT\=10000;MV_STORE=FALSE;
20 | db.connection.url.extraArgs=AUTO_SERVER\=TRUE;
21 | db.connection.login=admin
22 |
23 | internal.keypair.startup.location=replace_keypair.zip
--------------------------------------------------------------------------------
/osc-server-bom/root/opt/vmidc/bin/quartz.properties:
--------------------------------------------------------------------------------
1 | # Copyright (c) Intel Corporation
2 | # Copyright (c) 2017
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | org.quartz.scheduler.instanceName = MyScheduler
16 | org.quartz.threadPool.threadCount = 3
17 | org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
--------------------------------------------------------------------------------
/osc-server-bom/root/opt/vmidc/bin/scripts/centos-6.repo:
--------------------------------------------------------------------------------
1 | # CentOS 6
2 | [centos-base]
3 | name=CentOS-6 - Base
4 | baseurl=http://ftp.linux.ncsu.edu/pub/CentOS/6/os/$basearch/
5 | gpgcheck=1
6 | gpgkey=http://ftp.linux.ncsu.edu/pub/CentOS/RPM-GPG-KEY-CentOS-6
7 | enabled=1
8 |
9 | # released updates
10 | [centos-updates]
11 | name=CentOS-$releasever - Updates
12 | baseurl=http://ftp.linux.ncsu.edu/pub/CentOS/6/updates/$basearch/
13 | gpgcheck=1
14 | gpgkey=http://ftp.linux.ncsu.edu/pub/CentOS/RPM-GPG-KEY-CentOS-6
15 | enabled=1
16 |
17 | # additional packages that may be useful
18 | [centos-extras]
19 | name=CentOS-$releasever - Extras
20 | baseurl=http://ftp.linux.ncsu.edu/pub/CentOS/6/extras/$basearch/
21 | gpgcheck=1
22 | gpgkey=http://ftp.linux.ncsu.edu/CentOS/RPM-GPG-KEY-CentOS-6
23 | enabled=1
24 |
25 | # additional packages that extend functionality of existing packages
26 | [centos-plus]
27 | name=CentOS-$releasever - Plus
28 | baseurl=http://ftp.linux.ncsu.edu/pub/CentOS/6/centosplus/$basearch/
29 | gpgcheck=1
30 | enabled=1
31 | gpgkey=http://ftp.linux.ncsu.edu/pub/CentOS/RPM-GPG-KEY-CentOS-6
--------------------------------------------------------------------------------
/osc-server-bom/root/opt/vmidc/jre/.keep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-server-bom/root/opt/vmidc/jre/.keep
--------------------------------------------------------------------------------
/osc-server-bom/root/usr/local/share/initrd/bin/.keep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-server-bom/root/usr/local/share/initrd/bin/.keep
--------------------------------------------------------------------------------
/osc-server-bom/root/usr/local/share/initrd/lib64/.keep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-server-bom/root/usr/local/share/initrd/lib64/.keep
--------------------------------------------------------------------------------
/osc-server-bom/src/boot/grub/grub.conf:
--------------------------------------------------------------------------------
1 | default=0
2 | timeout=5
3 |
4 | title Open Security Controller (vmlinuz-KERNELVERRELEASE.x86_64)
5 | kernel /vmlinuz-KERNELVERRELEASE.x86_64 ro selinux=0 root=/dev/mapper/root
6 | initrd /initrd-KERNELVERRELEASE.x86_64.img
7 |
--------------------------------------------------------------------------------
/osc-server/.gitignore:
--------------------------------------------------------------------------------
1 | *.db
--------------------------------------------------------------------------------
/osc-server/.settings/.jsdtscope:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/osc-server/.settings/com.vaadin.integration.eclipse.prefs:
--------------------------------------------------------------------------------
1 | com.vaadin.integration.eclipse.mavenLatestVersionsUpgrade=["7.3.10","7.7.5"]
2 | com.vaadin.integration.eclipse.widgetsetDirty=true
3 | eclipse.preferences.version=1
4 |
--------------------------------------------------------------------------------
/osc-server/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding//src/main/java=UTF-8
3 | encoding//src/main/resources=UTF-8
4 | encoding//src/test/java=UTF-8
5 | encoding//src/test/resources=UTF-8
6 | encoding/=UTF-8
7 |
--------------------------------------------------------------------------------
/osc-server/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
5 | org.eclipse.jdt.core.compiler.compliance=1.8
6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate
7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate
8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate
9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
10 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
11 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
12 | org.eclipse.jdt.core.compiler.source=1.8
13 |
--------------------------------------------------------------------------------
/osc-server/.settings/org.eclipse.m2e.core.prefs:
--------------------------------------------------------------------------------
1 | activeProfiles=
2 | eclipse.preferences.version=1
3 | resolveWorkspaceProjects=true
4 | version=1
5 |
--------------------------------------------------------------------------------
/osc-server/.settings/org.eclipse.wst.common.component:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | uses
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/osc-server/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/osc-server/.settings/org.eclipse.wst.common.project.facet.core.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/osc-server/.settings/org.eclipse.wst.jsdt.ui.superType.container:
--------------------------------------------------------------------------------
1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary
--------------------------------------------------------------------------------
/osc-server/.settings/org.eclipse.wst.jsdt.ui.superType.name:
--------------------------------------------------------------------------------
1 | Window
--------------------------------------------------------------------------------
/osc-server/.settings/org.eclipse.wst.validation.prefs:
--------------------------------------------------------------------------------
1 | disabled=06target
2 | eclipse.preferences.version=1
3 |
--------------------------------------------------------------------------------
/osc-server/README.md:
--------------------------------------------------------------------------------
1 | # OSC Server
2 |
3 | This project contains all business logic for OSC and provides implementation for [**osc-service-api**](../osc-service-api). **osc-server** validates inputs and persists the entities in the database through the [**osc-domain**](../osc-domain) project. This project also asynchronously updates the following external services: virtualization platforms, security managers, and SDN controllers.
4 |
5 | ### Dependencies
6 | This project depends on [**osc-common**](../osc-common), [**osc-domain**](../osc-domain), [**osc-service-api**](../osc-service-api), [**sdn-controller-api**](https://github.com/opensecuritycontroller/sdn-controller-api), and [**security-manager-api**](https://github.com/opensecuritycontroller/security-mgr-api).
7 |
8 |
--------------------------------------------------------------------------------
/osc-server/bnd.bnd:
--------------------------------------------------------------------------------
1 | # Added to support the ServiceDispatcher type
2 |
3 | -dsannotations-options: inherit
4 |
5 | # We need to customise some imports a little to avoid some overly strict version ranges
6 | Import-Package:\
7 | ${import-guava},\
8 | ${import-jta},\
9 | *
10 |
11 | # Match jclouds guava import range to reduce the risk of pain.
12 | # JClouds has a poor API which leaks guava details, so we need
13 | # to wire to the same guava as they do. Hence the wider range
14 | import-guava:\
15 | com.google.common.*;version="[16.0.1,20)"
16 |
17 | # Hibernate puts JTA 1.2 on our classpath, but everyting is still happy with 1.1
18 | # and 1.1 is used in the server
19 | import-jta:\
20 | javax.transaction;version="[1.1,2)",\
21 | javax.transaction.xa;version="[1.1,2)"
22 |
23 |
--------------------------------------------------------------------------------
/osc-server/images/Readme.txt:
--------------------------------------------------------------------------------
1 | The meta files in this folder are just templates. Rename them to meta.json and update the filenames and content and add it to the zip to make
2 | them auto importable to isc.
3 |
4 | Images are located at http://10.71.117.236//Appliance%20Images/
--------------------------------------------------------------------------------
/osc-server/images/meta_os.json:
--------------------------------------------------------------------------------
1 | {
2 | "metaDataVersion": "1.1",
3 | "model": "IPS-VM100-VSS",
4 | "managerType": "NSM",
5 | "managerVersion": "8.2",
6 | "virtualizationType": "OPENSTACK",
7 | "virtualizationVersion": "Icehouse",
8 | "softwareVersion": "8.1.7.27",
9 | "imageName": "sensorsw_vm100-vss_81727-disk1.qcow",
10 | "minIscVersion": {
11 | "major": 2,
12 | "minor": 5,
13 | "build": 3651,
14 | "versionStr": ""
15 | },
16 | "minCpus": 4,
17 | "memoryInMb": 6144,
18 | "diskSizeInGb": 50,
19 | "encapsulationTypes": ["VLAN"],
20 | "imageProperties": {
21 | "hw_disk_bus": "ide"
22 | },
23 | "configProperties": {
24 | "applianceModel": "IPS-VM100-VSS",
25 | "applianceSoftwareVersion": "8.1.7.27"
26 | }
27 | }
--------------------------------------------------------------------------------
/osc-server/src/main/java/org/osc/core/broker/model/plugin/PluginTrackerCustomizer.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.model.plugin;
18 |
19 | @FunctionalInterface
20 | public interface PluginTrackerCustomizer {
21 |
22 | void pluginEvent(PluginEvent event);
23 | }
24 |
--------------------------------------------------------------------------------
/osc-server/src/main/java/org/osc/core/broker/rest/client/ClientResponseNotOkException.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.rest.client;
18 |
19 | @SuppressWarnings("serial")
20 | public class ClientResponseNotOkException extends Exception {
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/osc-server/src/main/java/org/osc/core/broker/service/ChainedDispatch.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service;
18 |
19 | import javax.persistence.EntityManager;
20 |
21 | public interface ChainedDispatch {
22 |
23 | T dispatch(T input, EntityManager em) throws Exception;
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/osc-server/src/main/java/org/osc/core/broker/service/appliance/UploadConfig.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.appliance;
18 |
19 | public @interface UploadConfig {
20 | String upload_path();
21 |
22 | String tmp_upload_parent();
23 | }
--------------------------------------------------------------------------------
/osc-server/src/main/java/org/osc/core/broker/util/CorruptedPidException.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.util;
18 |
19 | @SuppressWarnings("serial")
20 | public class CorruptedPidException extends Exception {
21 | public CorruptedPidException() {
22 | super();
23 | }
24 |
25 | public CorruptedPidException(NumberFormatException e) {
26 | super(e);
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/osc-server/src/main/java/org/osc/core/broker/util/ServerStatusResponseInjection.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.util;
18 |
19 | public interface ServerStatusResponseInjection {
20 | String getProcessId() throws Exception;
21 | }
22 |
--------------------------------------------------------------------------------
/osc-server/src/main/resources/org/osc/core/broker/util/crypto/security.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) Intel Corporation
3 | # Copyright (c) 2017
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License");
6 | # you may not use this file except in compliance with the License.
7 | # You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | ###############################################################################
17 | # main keystore master password
18 | keystore.password=LNur%%PY9Bf&GQ+=n2^xP9BZAk*fuCHk
19 | # internal keystore master password
20 | truststore.password=abc12345
21 | aesctr.password=7a80ef764d052100dde99545be914e9c
--------------------------------------------------------------------------------
/osc-server/src/test/resources/data/osctrustore.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-server/src/test/resources/data/osctrustore.jks
--------------------------------------------------------------------------------
/osc-server/src/test/resources/oscx509test.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-server/src/test/resources/oscx509test.zip
--------------------------------------------------------------------------------
/osc-server/src/test/resources/oscx509test_x509pem.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-server/src/test/resources/oscx509test_x509pem.zip
--------------------------------------------------------------------------------
/osc-server/src/test/resources/testcertificate.crt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-server/src/test/resources/testcertificate.crt
--------------------------------------------------------------------------------
/osc-server/techdoc/ISC-Product-Guide.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-server/techdoc/ISC-Product-Guide.pdf
--------------------------------------------------------------------------------
/osc-server/techdoc/ISC-Release-Notes.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-server/techdoc/ISC-Release-Notes.pdf
--------------------------------------------------------------------------------
/osc-server/techdoc/OSC_v2 5-HelpToUI-Mapping.xlsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-server/techdoc/OSC_v2 5-HelpToUI-Mapping.xlsx
--------------------------------------------------------------------------------
/osc-server/techdoc/WebHelp.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-server/techdoc/WebHelp.zip
--------------------------------------------------------------------------------
/osc-service-api/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/osc-service-api/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | osc-service-api
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.m2e.core.maven2Builder
15 |
16 |
17 |
18 |
19 |
20 | org.eclipse.jdt.core.javanature
21 | org.eclipse.m2e.core.maven2Nature
22 |
23 |
24 |
--------------------------------------------------------------------------------
/osc-service-api/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
3 | org.eclipse.jdt.core.compiler.compliance=1.8
4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
5 | org.eclipse.jdt.core.compiler.source=1.8
6 |
--------------------------------------------------------------------------------
/osc-service-api/README.md:
--------------------------------------------------------------------------------
1 | # Service API
2 |
3 | The **osc-service-api** project defines the interfaces and data transfer objects (DTOs) to be used by other projects to communicate with the **[osc-server](../osc-server)**. The DTOs contained in the project are used by the [**osc-rest-server**](../osc-rest-server) to define the REST APIs supported by OSC.
4 | > This project should not contain any business logic.
5 |
6 | ### Dependencies
7 | This project depends on [**osc-common**](../osc-common).
8 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/annotations/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.service.annotations;
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/AcknowledgeAlertServiceApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | import org.osc.core.broker.service.request.AlertRequest;
20 | import org.osc.core.broker.service.response.EmptySuccessResponse;
21 |
22 | public interface AcknowledgeAlertServiceApi
23 | extends ServiceDispatcherApi {
24 | }
25 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/AddUserServiceApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | import org.osc.core.broker.service.request.AddUserRequest;
20 | import org.osc.core.broker.service.response.AddUserResponse;
21 |
22 | public interface AddUserServiceApi
23 | extends ServiceDispatcherApi {
24 | }
25 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/AlertGeneratorApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | public interface AlertGeneratorApi {
20 | }
21 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/DeleteAlarmServiceApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | import org.osc.core.broker.service.request.BaseIdRequest;
20 | import org.osc.core.broker.service.response.EmptySuccessResponse;
21 |
22 | public interface DeleteAlarmServiceApi
23 | extends ServiceDispatcherApi {
24 | }
25 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/DeleteAlertServiceApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | import org.osc.core.broker.service.request.AlertRequest;
20 | import org.osc.core.broker.service.response.EmptySuccessResponse;
21 |
22 | public interface DeleteAlertServiceApi
23 | extends ServiceDispatcherApi {
24 | }
25 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/DeleteApplianceServiceApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | import org.osc.core.broker.service.request.BaseIdRequest;
20 | import org.osc.core.broker.service.response.EmptySuccessResponse;
21 |
22 | public interface DeleteApplianceServiceApi
23 | extends ServiceDispatcherApi {
24 | }
25 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/DeleteUserServiceApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | import org.osc.core.broker.service.request.DeleteUserRequest;
20 | import org.osc.core.broker.service.response.EmptySuccessResponse;
21 |
22 | public interface DeleteUserServiceApi
23 | extends ServiceDispatcherApi {
24 | }
25 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/GetDtoFromEntityServiceFactoryApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | import org.osc.core.broker.service.dto.BaseDto;
20 |
21 | public interface GetDtoFromEntityServiceFactoryApi {
22 | GetDtoFromEntityServiceApi getService(Class type);
23 | }
24 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/ListRegionServiceApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | import org.osc.core.broker.service.request.BaseOpenStackRequest;
20 | import org.osc.core.broker.service.response.ListResponse;
21 |
22 | public interface ListRegionServiceApi
23 | extends ServiceDispatcherApi> {
24 | }
25 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/LockInfoServiceApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | public interface LockInfoServiceApi {
20 | String getLockInfo();
21 | }
22 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/LoginServiceApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | import org.osc.core.broker.service.request.LoginRequest;
20 | import org.osc.core.broker.service.response.LoginResponse;
21 |
22 | public interface LoginServiceApi
23 | extends ServiceDispatcherApi {
24 | }
25 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/QueryVmInfoServiceApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | import org.osc.core.broker.service.request.QueryVmInfoRequest;
20 | import org.osc.core.broker.service.response.QueryVmInfoResponse;
21 |
22 | public interface QueryVmInfoServiceApi
23 | extends ServiceDispatcherApi {
24 | }
25 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/RestConstants.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | public interface RestConstants {
20 | // login names
21 | String VMIDC_AGENT_LOGIN = "agent";
22 | String OSC_DEFAULT_LOGIN = "admin";
23 | }
24 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/RestoreServiceApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | import org.osc.core.broker.service.request.RestoreRequest;
20 | import org.osc.core.broker.service.response.EmptySuccessResponse;
21 |
22 | public interface RestoreServiceApi
23 | extends BackupFileServiceApi {
24 | }
25 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/ServiceDispatcherApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | import org.osc.core.broker.service.request.Request;
20 | import org.osc.core.broker.service.response.Response;
21 |
22 | public interface ServiceDispatcherApi {
23 | O dispatch(I request) throws Exception;
24 | }
25 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/SyncDistributedApplianceServiceApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | import org.osc.core.broker.service.request.BaseIdRequest;
20 | import org.osc.core.broker.service.response.BaseJobResponse;
21 |
22 | public interface SyncDistributedApplianceServiceApi
23 | extends ServiceDispatcherApi {
24 | }
25 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/SyncSecurityGroupServiceApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | import org.osc.core.broker.service.request.BaseIdRequest;
20 | import org.osc.core.broker.service.response.BaseJobResponse;
21 |
22 | public interface SyncSecurityGroupServiceApi
23 | extends ServiceDispatcherApi {
24 | }
25 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/UpdateUserServiceApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api;
18 |
19 | import org.osc.core.broker.service.request.UpdateUserRequest;
20 | import org.osc.core.broker.service.response.UpdateUserResponse;
21 |
22 | public interface UpdateUserServiceApi
23 | extends ServiceDispatcherApi {
24 | }
25 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.service.api;
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/plugin/PluginListener.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api.plugin;
18 |
19 | @FunctionalInterface
20 | public interface PluginListener {
21 |
22 | void pluginEvent(PluginEvent event);
23 | }
24 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/plugin/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | @org.osgi.annotation.versioning.Version("1.0.0")
18 | package org.osc.core.broker.service.api.plugin;
19 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/server/ArchiveApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api.server;
18 |
19 | import java.io.File;
20 | import java.io.IOException;
21 |
22 | public interface ArchiveApi {
23 |
24 | File archive(String inputDir, String outputFile) throws IOException;
25 |
26 | void unzip(String inputFile, String destination) throws IOException;
27 | }
28 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/server/LoggingApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api.server;
18 |
19 | public interface LoggingApi {
20 |
21 | String removeCRLF(String message);
22 | }
23 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/server/ServerTerminationListener.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api.server;
18 |
19 | public interface ServerTerminationListener {
20 | void serverStopping();
21 | }
22 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/server/UserContextApi.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.api.server;
18 |
19 | public interface UserContextApi {
20 |
21 | void setUser(String user);
22 |
23 | String getCurrentUser();
24 | }
25 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/server/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.service.api.server;
20 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/api/vc/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.service.api.vc;
20 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/broadcast/Broadcaster.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.broadcast;
18 |
19 | /**
20 | * Needs to implement this interface in order to be able to receive
21 | * broadcasted messages
22 | *
23 | */
24 | public interface Broadcaster {
25 | void broadcast(BroadcastMessage msg);
26 | }
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/broadcast/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.service.broadcast;
20 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/dto/job/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.service.dto.job;
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/dto/openstack/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.service.dto.openstack;
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/dto/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.service.dto;
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/exceptions/ExceptionConstants.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.exceptions;
18 |
19 | public interface ExceptionConstants {
20 | Long REMOTE_EXCEPTION_ERROR_CODE = 6000L;
21 | Long VMIDC_VALIDATION_EXCEPTION_ERROR_CODE = 4000L;
22 | Long VMIDC_EXCEPTION_ERROR_CODE = 5000L;
23 | }
24 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/exceptions/ExtensionNotPresentException.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.exceptions;
18 |
19 | @SuppressWarnings("serial")
20 | public class ExtensionNotPresentException extends RuntimeException {
21 |
22 | public ExtensionNotPresentException(String msg) {
23 | super(msg);
24 | }
25 |
26 | }
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/exceptions/VmidcBrokerInvalidEntryException.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.exceptions;
18 |
19 | public class VmidcBrokerInvalidEntryException extends VmidcException {
20 |
21 | private static final long serialVersionUID = 1L;
22 |
23 | public VmidcBrokerInvalidEntryException(String s) {
24 | super(s);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/exceptions/VmidcBrokerInvalidRequestException.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.exceptions;
18 |
19 | public class VmidcBrokerInvalidRequestException extends VmidcException {
20 |
21 | private static final long serialVersionUID = 1L;
22 |
23 | public VmidcBrokerInvalidRequestException(String s) {
24 | super(s);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/exceptions/VmidcDbConcurrencyException.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.exceptions;
18 |
19 | public class VmidcDbConcurrencyException extends VmidcException {
20 |
21 | private static final long serialVersionUID = 1L;
22 |
23 | public VmidcDbConcurrencyException(String s) {
24 | super(s);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/exceptions/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.service.exceptions;
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/request/AddUserRequest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.request;
18 |
19 | import org.osc.core.broker.service.dto.UserDto;
20 |
21 | public class AddUserRequest extends UserDto implements Request {
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/request/DeleteUserRequest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.request;
18 |
19 | public class DeleteUserRequest implements Request {
20 | private long id;
21 |
22 | public long getId() {
23 | return id;
24 | }
25 |
26 | public void setId(long id) {
27 | this.id = id;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/request/GetNetworkSettingsRequest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.request;
18 |
19 | public class GetNetworkSettingsRequest implements Request {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/request/ListJobRequest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.request;
18 |
19 | public class ListJobRequest implements Request {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/request/ListTaskRequest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.request;
18 |
19 | public class ListTaskRequest implements Request {
20 | private long jobId;
21 |
22 | public long getJobId() {
23 | return jobId;
24 | }
25 |
26 | public void setJobId(long jobId) {
27 | this.jobId = jobId;
28 | }
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/request/ListUserRequest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.request;
18 |
19 | public class ListUserRequest implements Request {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/request/ListVirtualSystemRequest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.request;
18 |
19 | import org.osc.core.broker.service.dto.DistributedApplianceDto;
20 |
21 |
22 |
23 | public class ListVirtualSystemRequest extends DistributedApplianceDto implements Request {
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/request/LoginRequest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.request;
18 |
19 | import org.osc.core.broker.service.dto.UserDto;
20 |
21 | public class LoginRequest extends UserDto implements Request {
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/request/MCChangeNotificationRequest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.request;
18 |
19 | import org.osc.sdk.manager.element.MgrChangeNotification;
20 |
21 | public class MCChangeNotificationRequest implements Request {
22 |
23 | public String mgrIpAddress;
24 | public MgrChangeNotification notification;
25 | }
26 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/request/Request.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.request;
18 |
19 |
20 |
21 | public interface Request {
22 | // marker interface for all incoming requests
23 | }
24 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/request/SetNetworkSettingsRequest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.request;
18 |
19 | import org.osc.core.broker.service.dto.NetworkSettingsDto;
20 |
21 | public class SetNetworkSettingsRequest extends NetworkSettingsDto implements Request {
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/request/UpdateUserRequest.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.request;
18 |
19 | import org.osc.core.broker.service.dto.UserDto;
20 |
21 | public class UpdateUserRequest extends UserDto implements Request {
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/request/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.service.request;
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/response/AddUserResponse.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.response;
18 |
19 | public class AddUserResponse implements Response {
20 | private long id;
21 |
22 | public long getId() {
23 | return id;
24 | }
25 |
26 | public void setId(long id) {
27 | this.id = id;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/response/AgentRegisterServiceResponse.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.response;
18 |
19 | public class AgentRegisterServiceResponse extends AgentRegisterResponse implements Response {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/response/GetNetworkSettingsResponse.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.response;
18 |
19 | import org.osc.core.broker.service.dto.NetworkSettingsDto;
20 |
21 | public class GetNetworkSettingsResponse extends NetworkSettingsDto implements Response {
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/response/Response.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.response;
18 |
19 | public interface Response {
20 | // marker interface for all outgoing responses
21 | }
22 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/response/UpdateUserResponse.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.response;
18 |
19 | public class UpdateUserResponse implements Response {
20 |
21 | Long jobId;
22 |
23 | public Long getJobId() {
24 | return jobId;
25 | }
26 |
27 | public void setJobId(Long jobId) {
28 | this.jobId = jobId;
29 | }
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/response/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.service.response;
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/ssl/TruststoreChangedListener.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.service.ssl;
18 |
19 | /**
20 | * Listens to all trust store changes (adding/removing/modifying trust store)
21 | */
22 | public interface TruststoreChangedListener {
23 | void truststoreChanged();
24 | }
--------------------------------------------------------------------------------
/osc-service-api/src/main/java/org/osc/core/broker/service/ssl/package-info.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 |
18 | @org.osgi.annotation.versioning.Version("1.0.0")
19 | package org.osc.core.broker.service.ssl;
20 |
--------------------------------------------------------------------------------
/osc-tools/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/osc-tools/.gitignore:
--------------------------------------------------------------------------------
1 | /target/
2 |
--------------------------------------------------------------------------------
/osc-tools/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | osc-tools
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.m2e.core.maven2Builder
15 |
16 |
17 |
18 |
19 |
20 | org.eclipse.jdt.core.javanature
21 | org.eclipse.m2e.core.maven2Nature
22 |
23 |
24 |
--------------------------------------------------------------------------------
/osc-tools/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
5 | org.eclipse.jdt.core.compiler.compliance=1.8
6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate
7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate
8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate
9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
10 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
11 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
12 | org.eclipse.jdt.core.compiler.source=1.8
13 |
--------------------------------------------------------------------------------
/osc-tools/.settings/org.eclipse.m2e.core.prefs:
--------------------------------------------------------------------------------
1 | activeProfiles=
2 | eclipse.preferences.version=1
3 | resolveWorkspaceProjects=true
4 | version=1
5 |
--------------------------------------------------------------------------------
/osc-tools/README.md:
--------------------------------------------------------------------------------
1 | # OSC Tools
2 |
3 | This project is used during build-time by Maven plugins to perform code auto-generation.
4 |
5 |
6 | ### Dependencies
7 | This project is not expected to have dependencies on other **osc-core** projects.
--------------------------------------------------------------------------------
/osc-tools/src/main/java/org/osc/core/poc/TestClass.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.poc;
18 |
19 | import java.util.ResourceBundle;
20 |
21 | public class TestClass {
22 |
23 | private String foo;
24 | private ResourceBundle bar;
25 | public String getFoo() {
26 | return this.foo;
27 | }
28 | public ResourceBundle getBar() {
29 | return this.bar;
30 | }
31 |
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/osc-tools/src/main/resources/org/osc/core/sample/messages.properties:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Copyright (c) Intel Corporation
3 | # Copyright (c) 2017
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License");
6 | # you may not use this file except in compliance with the License.
7 | # You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | ###############################################################################
17 | resource.example.bar.foo.a=some name for the resource example
18 | resource.example.bar.foo.b=some name for the resource example
19 | resource.example.bar.foo.c=some name for the resource example
20 |
--------------------------------------------------------------------------------
/osc-tools/src/main/resources/quality/java.header:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
--------------------------------------------------------------------------------
/osc-uber-kubernetes/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/osc-uber-kubernetes/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | osc-uber-kubernetes
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.m2e.core.maven2Builder
15 |
16 |
17 |
18 |
19 |
20 | org.eclipse.jdt.core.javanature
21 | org.eclipse.m2e.core.maven2Nature
22 |
23 |
24 |
--------------------------------------------------------------------------------
/osc-uber-kubernetes/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding/=UTF-8
3 |
--------------------------------------------------------------------------------
/osc-uber-kubernetes/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
3 | org.eclipse.jdt.core.compiler.compliance=1.8
4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
5 | org.eclipse.jdt.core.compiler.source=1.8
6 |
--------------------------------------------------------------------------------
/osc-uber-kubernetes/README.md:
--------------------------------------------------------------------------------
1 | # Uber Kubernetes
2 |
3 | This project creates an "uber" OSGi bundle containing non-OSGi compliant dependencies required for integration with Kubernetes.
4 | > Note: OSGi compliant dependencies should not be added here.
5 |
6 | ### Dependencies
7 | This project is not expected to have direct dependencies to other **osc-core** projects.
8 |
--------------------------------------------------------------------------------
/osc-uber-kubernetes/bnd.bnd:
--------------------------------------------------------------------------------
1 | #
2 | # Create bundle to allow openstack4j to be extracted from uber-bundle
3 | #
4 | -include target/depend.bnd
5 |
6 | -nouses: true
7 | Include-Resource:\
8 | @${kubernetes-client.dep}, \
9 | @${generex.dep}, \
10 | @${automaton.dep}, \
11 | @${okhttp.dep}, \
12 | @${okio.dep}, \
13 | @${logging-interceptor.dep}
14 |
15 | Import-Package:\
16 | !android.util,\
17 | *
18 |
19 | Export-Package:\
20 | io.fabric8.kubernetes.client, \
21 | io.fabric8.kubernetes.client.*, \
22 |
23 | -exportcontents:\
24 |
25 | # end
26 |
--------------------------------------------------------------------------------
/osc-uber-openstack4j/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/osc-uber-openstack4j/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | osc-uber-openstack4j
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.m2e.core.maven2Builder
15 |
16 |
17 |
18 |
19 |
20 | org.eclipse.jdt.core.javanature
21 | org.eclipse.m2e.core.maven2Nature
22 |
23 |
24 |
--------------------------------------------------------------------------------
/osc-uber-openstack4j/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding/=UTF-8
3 |
--------------------------------------------------------------------------------
/osc-uber-openstack4j/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
3 | org.eclipse.jdt.core.compiler.compliance=1.8
4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
5 | org.eclipse.jdt.core.compiler.source=1.8
6 |
--------------------------------------------------------------------------------
/osc-uber-openstack4j/README.md:
--------------------------------------------------------------------------------
1 | # Uber openstack4j
2 |
3 | This project creates an "uber" OSGi bundle containing non-OSGi compliant dependencies required for openstack4j.
4 | > Note: OSGi compliant dependencies should not be added here.
5 |
6 | ### Dependencies
7 | This project is not expected to have direct dependencies to other **osc-core** projects.
8 |
--------------------------------------------------------------------------------
/osc-uber-openstack4j/bnd.bnd:
--------------------------------------------------------------------------------
1 | #
2 | # Create bundle to allow openstack4j to be extracted from uber-bundle
3 | #
4 | -include target/depend.bnd
5 |
6 | -nouses: true
7 | Include-Resource:\
8 | @${btf.dep},\
9 | @${json-patch.dep},\
10 | @${jsr305.dep},\
11 | @${msg-simple.dep},\
12 | @${openstack4j-core.dep},\
13 | @${openstack4j-jersey2.dep},\
14 | @${snakeyaml.dep},\
15 | @${guava.dep}
16 |
17 | Import-Package:\
18 | org.slf4j.*,\
19 | javax.ws.rs.*,\
20 | org.glassfish.jersey.client.*,\
21 | org.glassfish.jersey.filter.*,\
22 | org.glassfish.jersey.jackson.*,\
23 | com.fasterxml.jackson.databind.*,\
24 | com.fasterxml.jackson.annotation.*
25 |
26 | # exporting javax.ws.rs with version=1.1.0 (instead of 1.1.1)
27 | # is workaround to stop jackson binding to wrong version
28 | # as it imports version="[1.1.1,2.0)"
29 | -exportcontents:\
30 | org.openstack4j.*;version=3.0.4,\
31 | org.openstack4j.openstack.*;version=3.0.4
32 |
33 | # end
34 |
--------------------------------------------------------------------------------
/osc-uber/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/osc-uber/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | osc-uber
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.m2e.core.maven2Builder
15 |
16 |
17 |
18 |
19 |
20 | org.eclipse.jdt.core.javanature
21 | org.eclipse.m2e.core.maven2Nature
22 |
23 |
24 |
--------------------------------------------------------------------------------
/osc-uber/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding//src/main/java=UTF-8
3 | encoding//src/test/java=UTF-8
4 | encoding/=UTF-8
5 |
--------------------------------------------------------------------------------
/osc-uber/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4 | org.eclipse.jdt.core.compiler.compliance=1.8
5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
8 | org.eclipse.jdt.core.compiler.source=1.8
9 |
--------------------------------------------------------------------------------
/osc-uber/README.md:
--------------------------------------------------------------------------------
1 | # OSC Uber
2 |
3 | This project creates an "uber" OSGi bundle containing non-OSGi compliant dependencies.
4 | > Note: OSGi compliant dependencies should not be added here.
5 |
6 | ### Dependencies
7 | This project is not expected to have direct dependencies to other **osc-core** projects.
8 |
--------------------------------------------------------------------------------
/osc-ui-widgetset/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/osc-ui-widgetset/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | osc-ui-widgetset
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.m2e.core.maven2Builder
15 |
16 |
17 |
18 |
19 |
20 | org.eclipse.jdt.core.javanature
21 | org.eclipse.m2e.core.maven2Nature
22 |
23 |
24 |
--------------------------------------------------------------------------------
/osc-ui-widgetset/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding/=UTF-8
3 |
--------------------------------------------------------------------------------
/osc-ui-widgetset/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
3 | org.eclipse.jdt.core.compiler.compliance=1.8
4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
5 | org.eclipse.jdt.core.compiler.source=1.8
6 |
--------------------------------------------------------------------------------
/osc-ui-widgetset/README.md:
--------------------------------------------------------------------------------
1 | # OSC UI Widget Set
2 |
3 | The **osc-ui-widgetset** project is an OSGi aggregate of run-time [Vaadin widget sets](https://dev.vaadin.com/wiki/WidgetSet) used by the [**osc-ui**](../osc-ui) project.
4 | > The OSC UI bundle depends on this project to run.
5 |
6 | ### Dependencies
7 | It is expected that this project is not dependent on any other **osc-core** projects.
8 |
--------------------------------------------------------------------------------
/osc-ui/.gitignore:
--------------------------------------------------------------------------------
1 | /src/main/webapp/VAADIN/widgetsets
2 | /src/main/webapp/VAADIN/widgetsets/**
--------------------------------------------------------------------------------
/osc-ui/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | osc-ui
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.m2e.core.maven2Builder
15 |
16 |
17 |
18 |
19 |
20 | org.eclipse.jdt.core.javanature
21 | org.eclipse.m2e.core.maven2Nature
22 |
23 |
24 |
--------------------------------------------------------------------------------
/osc-ui/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding//src/main/java=UTF-8
3 | encoding//src/main/resources=UTF-8
4 | encoding/=UTF-8
5 |
--------------------------------------------------------------------------------
/osc-ui/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
3 | org.eclipse.jdt.core.compiler.compliance=1.8
4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
5 | org.eclipse.jdt.core.compiler.source=1.8
6 |
--------------------------------------------------------------------------------
/osc-ui/README.md:
--------------------------------------------------------------------------------
1 | # OSC UI
2 |
3 | The **osc-rest-server** project exposes the Vaadin web UI used to interact with OSC. This project uses the [**osc-service-api**](../osc-service-api) to interface with the OSC business logic. This project should not contain business logic.
4 |
5 | ### Dependencies
6 | This project depends on [**osc-common**](../osc-common), [**osc-service-api**](../osc-service-api), and the [**osc-ui-widgetset**](../osc-ui-widgetset).
--------------------------------------------------------------------------------
/osc-ui/bnd.bnd:
--------------------------------------------------------------------------------
1 | # Require the HTTP whiteboard
2 | Require-Capability: \
3 | osgi.implementation;filter:="(&(osgi.implementation=osgi.http)(version>=1)(!(version>=2)))"
--------------------------------------------------------------------------------
/osc-ui/src/main/java/org/osc/core/broker/window/button/ComponentModel.java:
--------------------------------------------------------------------------------
1 | /*******************************************************************************
2 | * Copyright (c) Intel Corporation
3 | * Copyright (c) 2017
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *******************************************************************************/
17 | package org.osc.core.broker.window.button;
18 |
19 | import java.util.List;
20 |
21 | import com.vaadin.ui.Component;
22 |
23 | public interface ComponentModel {
24 |
25 | List getComponents();
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Class-Path:
3 |
4 |
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/META-INF/context.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/addons.scss:
--------------------------------------------------------------------------------
1 | /* This file is automatically managed and will be overwritten from time to time. */
2 | /* Do not manually edit this file. */
3 |
4 | /* Provided by osc-ui-widgetset.jar */
5 | @import "../../..//VAADIN/addons/stepper/stepper.scss";
6 |
7 |
8 | /* Provided by osc-ui-widgetset.jar */
9 | @import "../../../VAADIN/addons/stepper/stepper.scss";
10 |
11 |
12 | /* Import and include this mixin into your project theme to include the addon themes */
13 | @mixin addons {
14 | @include stepper;
15 | @include stepper;
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/favicon.ico
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/Body_Tile.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/Body_Tile.gif
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/Help.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/Help.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/Refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/Refresh.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/acknowledge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/acknowledge.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/add.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/back.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/cancel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/cancel.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/collapse.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/collapse.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/conform.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/conform.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/delete.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/deploy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/deploy.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/download.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/download.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/drilldown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/drilldown.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/edit.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/expand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/expand.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/headerHelp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/headerHelp.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/job-graph.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/job-graph.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/logo.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/manage_header.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/manage_header.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/register.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/register.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/setup_header.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/setup_header.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/spinner.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/spinner.gif
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/status.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/status.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/status_header.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/status_header.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/unacknowledge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/unacknowledge.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/upgrade.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/opensecuritycontroller/osc-core/4441c96fe49e4b11ce6f380a440367912190a246/osc-ui/src/main/webapp/VAADIN/themes/vmidc/img/upgrade.png
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/partials/_common.scss:
--------------------------------------------------------------------------------
1 | $default-font-family: "Open Sans", sans-serif;
2 | $default-font-size: 12px;
3 | $notification-font-size: 12px;
4 | $default-font-weight: 400;
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/partials/_infoComponent.scss:
--------------------------------------------------------------------------------
1 | .vmidc {
2 | .page-info-component {
3 | margin: -16px 0px 12px 0px;
4 | }
5 |
6 | .page-info-component-window {
7 | padding: 0 10px 10px;
8 | }
9 |
10 | .page-info-component-common {
11 | font-family: $default-font-family;
12 | font-size: $default-font-size;
13 |
14 | .page-info-title-layout {
15 | padding : 3px 12px;
16 | height: 24px;
17 | border: 1px solid #aaa;
18 | margin-top: 12px;
19 | /* background: linear-gradient(#f2f2f2, #dfdfdf 70%, #cdcdcd) repeat scroll 0 0 #f2f2f2; */
20 | background-color: #eee;
21 | }
22 |
23 | .page-info-title-layout .v-button-link{
24 | margin-top: -5px;
25 | }
26 |
27 | .page-info-content-label {
28 | padding: 5px 12px;
29 | border: 1px solid #aaa;
30 | border-top: none;
31 | }
32 |
33 |
34 | }
35 | }
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/partials/_notification.scss:
--------------------------------------------------------------------------------
1 | .vmidc {
2 |
3 | .v-Notification {
4 | font-size: $notification-font-size;
5 | }
6 |
7 | // Make error and warning text smaller
8 | .v-Notification.error.v-Notification-error * {
9 | font-size: $notification-font-size;
10 | }
11 |
12 | .v-Notification.warning.v-Notification-warning * {
13 | font-size: $notification-font-size;
14 | }
15 | }
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/partials/_selector.scss:
--------------------------------------------------------------------------------
1 | .vmidc {
2 |
3 | .selector-wrapper-title {
4 | font-size: 14px;
5 | padding: 5px 0px;
6 | }
7 |
8 | .link-button:focus:after {
9 | box-shadow: none;
10 | }
11 |
12 | .selector-button-layout{
13 | padding:60px 25px;
14 |
15 | .selector-button {
16 | margin:5px;
17 | font-size: 14px;
18 | }
19 | }
20 |
21 | }
--------------------------------------------------------------------------------
/osc-ui/src/main/webapp/VAADIN/themes/vmidc/styles.scss:
--------------------------------------------------------------------------------
1 | @import "addons.scss";
2 | @import "vmidc.scss";
3 |
4 | /* This file prefixes all rules with the theme name to avoid causing conflicts with other themes. */
5 | /* The actual styles should be defined in vmidc.scss */
6 | .vmidc {
7 | @include addons;
8 |
9 | // Include vmidc theme styles in your theme
10 | @include vmidc;
11 | }
12 |
--------------------------------------------------------------------------------