Skip to content

Commit

Permalink
Iteration 1: Final version, after little enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
ensarevlideveloper committed Aug 29, 2022
1 parent 5fab1b9 commit 14a0c98
Show file tree
Hide file tree
Showing 9 changed files with 501 additions and 760 deletions.
100 changes: 48 additions & 52 deletions mobilitysystemusecase/My.kamp4attackmodificationmarks

Large diffs are not rendered by default.

Binary file added mobilitysystemusecase/attack_iteration1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion mobilitysystemusecase/mobilityaccesspolicies.context
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
</attributeprovider>
<attributeprovider xsi:type="structure:PCMAttributeProvider" id="_N96hkBSlEe2C_4gtjShmsw" entityName="AttributeProvider Agency">
<attribute id="_iQXM0RdzEe2nfb7vqZSisA" entityName="AgencyAdmin" attributevalue="_6Qi9UBGqEe2FHuMBQuQleQ" attribute="_0Tl2shGqEe2FHuMBQuQleQ"/>
<resourcecontainer href="mobilityresourceenvironment.resourceenvironment#_V_TA0AtfEe2IgscPlV5AQA"/>
</attributeprovider>
<attributeprovider xsi:type="structure:PCMAttributeProvider" id="_mOB14BdrEe2nfb7vqZSisA" entityName="">
<attribute id="_lIz5QRd2Ee2nfb7vqZSisA" entityName="RestAPI" attributevalue="_ZNTwkBd2Ee2nfb7vqZSisA" attribute="_0Tl2shGqEe2FHuMBQuQleQ"/>
Expand Down
22 changes: 2 additions & 20 deletions mobilitysystemusecase/mobilityrepository.repository
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</interfaces__Repository>
<interfaces__Repository xsi:type="repository:OperationInterface" id="_0LRDsAqwEe2IgscPlV5AQA" entityName="Agency">
<signatures__OperationInterface id="_FwfVEAtNEe2IgscPlV5AQA" entityName="pullFromProvider" returnType__OperationSignature="_5E7ocAtMEe2IgscPlV5AQA">
<parameters__OperationSignature parameterName="providerId">
<dataType__Parameter xsi:type="repository:PrimitiveDataType" href="pathmap://PCM_MODELS/PrimitiveTypes.repository#//@dataTypes__Repository.0"/>
</parameters__OperationSignature>
<parameters__OperationSignature dataType__Parameter="_sIolEBF2Ee2Xl4KPR9I0OQ" parameterName="provider"/>
</signatures__OperationInterface>
<signatures__OperationInterface id="_KtI_0AtOEe2IgscPlV5AQA" entityName="pullFromPolicy" returnType__OperationSignature="_5E7ocAtMEe2IgscPlV5AQA"/>
</interfaces__Repository>
Expand All @@ -59,7 +57,7 @@
<parameters__OperationSignature dataType__Parameter="_sIolEBF2Ee2Xl4KPR9I0OQ" parameterName="provider"/>
</signatures__OperationInterface>
<signatures__OperationInterface id="_df6pYBQBEe2liLCwGOTKiw" entityName="getPolicyRequestFromProvider">
<parameters__OperationSignature dataType__Parameter="_J2ir0AtKEe2IgscPlV5AQA" parameterName="provider"/>
<parameters__OperationSignature dataType__Parameter="_sIolEBF2Ee2Xl4KPR9I0OQ" parameterName="provider"/>
</signatures__OperationInterface>
</interfaces__Repository>
<interfaces__Repository xsi:type="repository:OperationInterface" id="_wqdrhRQpEe2liLCwGOTKiw" entityName="ProviderApplicationNetworking">
Expand All @@ -68,27 +66,11 @@
</signatures__OperationInterface>
<signatures__OperationInterface id="_wqdrhxQpEe2liLCwGOTKiw" entityName="getDataRequestFromAgency"/>
</interfaces__Repository>
<dataTypes__Repository xsi:type="repository:CompositeDataType" id="_J2ir0AtKEe2IgscPlV5AQA" entityName="ProviderUser" parentType_CompositeDataType="_sIolEBF2Ee2Xl4KPR9I0OQ">
<innerDeclaration_CompositeDataType entityName="providerId">
<datatype_InnerDeclaration xsi:type="repository:PrimitiveDataType" href="pathmap://PCM_MODELS/PrimitiveTypes.repository#//@dataTypes__Repository.0"/>
</innerDeclaration_CompositeDataType>
<innerDeclaration_CompositeDataType entityName="providerName">
<datatype_InnerDeclaration xsi:type="repository:PrimitiveDataType" href="pathmap://PCM_MODELS/PrimitiveTypes.repository#//@dataTypes__Repository.1"/>
</innerDeclaration_CompositeDataType>
</dataTypes__Repository>
<dataTypes__Repository xsi:type="repository:CompositeDataType" id="_5E7ocAtMEe2IgscPlV5AQA" entityName="Data">
<innerDeclaration_CompositeDataType entityName="information">
<datatype_InnerDeclaration xsi:type="repository:PrimitiveDataType" href="pathmap://PCM_MODELS/PrimitiveTypes.repository#//@dataTypes__Repository.1"/>
</innerDeclaration_CompositeDataType>
</dataTypes__Repository>
<dataTypes__Repository xsi:type="repository:CompositeDataType" id="_ip29gBF2Ee2Xl4KPR9I0OQ" entityName="AgencyUser" parentType_CompositeDataType="_sIolEBF2Ee2Xl4KPR9I0OQ">
<innerDeclaration_CompositeDataType entityName="agencyId : INT">
<datatype_InnerDeclaration xsi:type="repository:PrimitiveDataType" href="pathmap://PCM_MODELS/PrimitiveTypes.repository#//@dataTypes__Repository.0"/>
</innerDeclaration_CompositeDataType>
<innerDeclaration_CompositeDataType entityName="agencyName : STRING">
<datatype_InnerDeclaration xsi:type="repository:PrimitiveDataType" href="pathmap://PCM_MODELS/PrimitiveTypes.repository#//@dataTypes__Repository.1"/>
</innerDeclaration_CompositeDataType>
</dataTypes__Repository>
<dataTypes__Repository xsi:type="repository:CompositeDataType" id="_sIolEBF2Ee2Xl4KPR9I0OQ" entityName="User">
<innerDeclaration_CompositeDataType entityName="restToken">
<datatype_InnerDeclaration xsi:type="repository:PrimitiveDataType" href="pathmap://PCM_MODELS/PrimitiveTypes.repository#//@dataTypes__Repository.1"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,37 +1,11 @@
<?xml version="1.0" encoding="ASCII"?>
<resourceenvironment:ResourceEnvironment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:resourceenvironment="http://palladiosimulator.org/PalladioComponentModel/ResourceEnvironment/5.2" entityName="MobilityResourceEnvironment">
<resourceenvironment:ResourceEnvironment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:resourceenvironment="http://palladiosimulator.org/PalladioComponentModel/ResourceEnvironment/5.2" entityName="MobilityResourceEnvironment">
<linkingResources__ResourceEnvironment id="_nKuyEAtfEe2IgscPlV5AQA" entityName="Network" connectedResourceContainers_LinkingResource="_YShAoAtfEe2IgscPlV5AQA _V_TA0AtfEe2IgscPlV5AQA">
<communicationLinkResourceSpecifications_LinkingResource id="_nKvZIAtfEe2IgscPlV5AQA">
<latency_CommunicationLinkResourceSpecification/>
<throughput_CommunicationLinkResourceSpecification/>
</communicationLinkResourceSpecifications_LinkingResource>
</linkingResources__ResourceEnvironment>
<resourceContainer_ResourceEnvironment id="_V_TA0AtfEe2IgscPlV5AQA" entityName="AgencyApplication">
<activeResourceSpecifications_ResourceContainer id="_6I_qABGNEe2Xl4KPR9I0OQ">
<schedulingPolicy href="pathmap://PCM_MODELS/Palladio.resourcetype#Delay"/>
<activeResourceType_ActiveResourceSpecification href="pathmap://PCM_MODELS/Palladio.resourcetype#_oro4gG3fEdy4YaaT-RYrLQ"/>
<processingRate_ProcessingResourceSpecification/>
</activeResourceSpecifications_ResourceContainer>
<activeResourceSpecifications_ResourceContainer xsi:type="resourceenvironment:HDDProcessingResourceSpecification" id="_8DscIBGNEe2Xl4KPR9I0OQ">
<schedulingPolicy href="pathmap://PCM_MODELS/Palladio.resourcetype#Delay"/>
<activeResourceType_ActiveResourceSpecification href="pathmap://PCM_MODELS/Palladio.resourcetype#_BIjHoQ3KEdyouMqirZIhzQ"/>
<processingRate_ProcessingResourceSpecification specification="1"/>
<writeProcessingRate/>
<readProcessingRate/>
</activeResourceSpecifications_ResourceContainer>
</resourceContainer_ResourceEnvironment>
<resourceContainer_ResourceEnvironment id="_YShAoAtfEe2IgscPlV5AQA" entityName="Provider1">
<activeResourceSpecifications_ResourceContainer id="_vSHnEBGNEe2Xl4KPR9I0OQ">
<schedulingPolicy href="pathmap://PCM_MODELS/Palladio.resourcetype#Delay"/>
<activeResourceType_ActiveResourceSpecification href="pathmap://PCM_MODELS/Palladio.resourcetype#_oro4gG3fEdy4YaaT-RYrLQ"/>
<processingRate_ProcessingResourceSpecification/>
</activeResourceSpecifications_ResourceContainer>
<activeResourceSpecifications_ResourceContainer xsi:type="resourceenvironment:HDDProcessingResourceSpecification" id="_18AsMBGNEe2Xl4KPR9I0OQ">
<schedulingPolicy href="pathmap://PCM_MODELS/Palladio.resourcetype#Delay"/>
<activeResourceType_ActiveResourceSpecification href="pathmap://PCM_MODELS/Palladio.resourcetype#_BIjHoQ3KEdyouMqirZIhzQ"/>
<processingRate_ProcessingResourceSpecification specification="1"/>
<writeProcessingRate/>
<readProcessingRate/>
</activeResourceSpecifications_ResourceContainer>
</resourceContainer_ResourceEnvironment>
<resourceContainer_ResourceEnvironment id="_V_TA0AtfEe2IgscPlV5AQA" entityName="AgencyApplication"/>
<resourceContainer_ResourceEnvironment id="_YShAoAtfEe2IgscPlV5AQA" entityName="Provider1"/>
</resourceenvironment:ResourceEnvironment>
Loading

0 comments on commit 14a0c98

Please sign in to comment.