Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
git config --global user.name "your full name"
git config --global user.email yourEmailAddressa2enmod ssla2enmod proxy_ajpgit clone https://github.com/OSGP/Config.git /home/dev/Sources/OSGP/Config
git clone https://github.com/OSGP/open-smart-grid-platform.git /home/dev/Sources/OSGP/open-smart-grid-platform
git clone https://github.com/OSGP/Documentation.git /home/dev/Sources/OSGP/Documentationsudo -u postgres /usr/bin/psql -p 5432 -f /home/dev/Sources/OSGP/Config/sql/create-users-and-databases.sqlcp -p /etc/postgresql/9.4/main/pg_hba.conf /etc/postgresql/9.4/main/pg_hba.backupservice postgresql reloadmv Vagrantfile.txt Vagrantfilemove Vagrantfile.txt Vagrantfilegit config --global user.name "your full name"
git config --global user.email yourEmailAddress./activemq consolepsql -U osp_admin -h localhost -d osgp_core -f /home/dev/Sources/OSGP/Config/sql/create-test-org.sqlthrottling.configuration.max.concurrencythrottling.client.enabled=truethrottling.configuration.name=CDMA
throttling.configuration.max.concurrency=1000
throttling.service.url=http://localhost:9090
throttling.service.timeout=PT30Shttps://localhost/web-device-simulator/devices<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/admin/devicemanagement/2014/10">
<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:CreateOrganisationRequest>
<ns1:Organisation>
<!--type: Identification-->
<ns1:OrganisationIdentification>my-org</ns1:OrganisationIdentification>
<!--type: string-->
<ns1:Name>my-org</ns1:Name>
<!--type: string-->
<ns1:Prefix>MYO</ns1:Prefix>
<!--type: PlatformFunctionGroup - enumeration: [ADMIN,USER]-->
<ns1:FunctionGroup>ADMIN</ns1:FunctionGroup>
<!--type: boolean-->
<ns1:Enabled>true</ns1:Enabled>
<!--1 or more repetitions:-->
<!--type: PlatformDomain - enumeration: [COMMON,PUBLIC_LIGHTING,TARIFF_SWITCHING]-->
<ns1:Domains>COMMON</ns1:Domains>
<ns1:Domains>PUBLIC_LIGHTING</ns1:Domains>
</ns1:Organisation>
</ns1:CreateOrganisationRequest>
</soapenv:Body>
</soapenv:Envelope><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/admin/devicemanagement/2014/10">
<soapenv:Header>
<ns:ApplicationName>AAPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:UpdateDeviceAuthorisationsRequest>
<!--1 or more repetitions:-->
<ns1:DeviceAuthorisations>
<!--type: Identification-->
<ns1:deviceIdentification>SSLD_000-00-01</ns1:deviceIdentification>
<!--type: Identification-->
<ns1:organisationIdentification>my-org</ns1:organisationIdentification>
<!--type: DeviceFunctionGroup - enumeration: [OWNER,INSTALLATION,AD_HOC,MANAGEMENT,FIRMWARE,SCHEDULING,TARIFF_SCHEDULING,CONFIGURATION,MONITORING]-->
<ns1:functionGroup>AD_HOC</ns1:functionGroup>
<!--Optional:-->
<!--type: boolean-->
</ns1:DeviceAuthorisations>
</ns1:UpdateDeviceAuthorisationsRequest>
</soapenv:Body>
</soapenv:Envelope>./create_client_cert.sh my-org 1234 1234<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10">
<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>my-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:SetLightRequest>
<!--type: Identification-->
<ns1:DeviceIdentification>SSLD_000-00-01</ns1:DeviceIdentification>
<!--1 to 6 repetitions:-->
<ns1:LightValue>
<!--Optional:-->
<!--anonymous type-->
<ns1:Index>0</ns1:Index>
<!--type: boolean-->
<ns1:On>true</ns1:On>
<!--Optional:-->
<!--anonymous type-->
<ns1:DimValue>50</ns1:DimValue>
</ns1:LightValue>
</ns1:SetLightRequest>
</soapenv:Body>
</soapenv:Envelope><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns2:SetLightAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10" xmlns:ns3="http://www.opensmartgridplatform.org/schemas/common/2014/10">
<ns2:AsyncResponse>
<ns3:CorrelationUid>my-org|||SSLD_000-00-01|||20160805150420802</ns3:CorrelationUid>
<ns3:DeviceId>SSLD_000-00-01</ns3:DeviceId>
</ns2:AsyncResponse>
</ns2:SetLightAsyncResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>/home/dev/Sources/OSGP/open-smart-grid-platform/osgp/shared/osgp-ws-admin/src/main/resources/AdminDeviceManagement.wsdl/home/dev/Sources/OSGP/open-smart-grid-platform/osgp/shared/osgp-ws-publiclighting/src/main/resources/PublicLightingAdHocManagement.wsdl/home/dev/Tools/SoapUI/bin/soapui.sh<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10">
<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:AddManufacturerRequest>
<ns1:Manufacturer>
<!--type: int-->
<ns1:Id>3</ns1:Id>
<!--anonymous type-->
<ns1:Code>MAN</ns1:Code>
<!--anonymous type-->
<ns1:Name>Manufacturer01</ns1:Name>
<!--type: boolean-->
<ns1:UsePrefix>false</ns1:UsePrefix>
</ns1:Manufacturer>
</ns1:AddManufacturerRequest>
</soapenv:Body>
</soapenv:Envelope><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/common/firmwaremanagement/2014/10">
<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:AddDeviceModelRequest>
<ns1:DeviceModel>
<ns1:Manufacturer>MAN</ns1:Manufacturer>
<!--Optional:-->
<ns1:ModelCode>MOD01</ns1:ModelCode>
<!--Optional:-->
<ns1:Description>Device model MOD01.</ns1:Description>
</ns1:DeviceModel>
</ns1:AddDeviceModelRequest>
</soapenv:Body>
</soapenv:Envelope><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/deviceinstallation/2014/10">
<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:AddDeviceRequest>
<ns1:Device>
<ns1:DeviceIdentification>SSLD_000-00-01</ns1:DeviceIdentification>
<!--Optional:-->
<ns1:Owner>test-org</ns1:Owner>
<!--Optional:-->
<ns1:Activated>false</ns1:Activated>
<!--Optional:-->
<ns1:HasSchedule>false</ns1:HasSchedule>
<!--Optional:-->
<ns1:PublicKeyPresent>false</ns1:PublicKeyPresent>
<ns1:DeviceModel>
<!--anonymous type-->
<ns1:Manufacturer>MAN</ns1:Manufacturer>
<!--Optional:-->
<!--anonymous type-->
<ns1:ModelCode>MOD01</ns1:ModelCode>
<!--Optional:-->
<!--anonymous type-->
<ns1:Description>Test device.</ns1:Description>
</ns1:DeviceModel>
</ns1:Device>
</ns1:AddDeviceRequest>
</soapenv:Body>
</soapenv:Envelope><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/admin/devicemanagement/2014/10">
<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:UpdateDeviceProtocolRequest>
<ns1:DeviceIdentification>SSLD_000-00-01</ns1:DeviceIdentification>
<ns1:ProtocolInfo>
<ns1:Id>4</ns1:Id>
<ns1:Protocol>OSLP ELSTER</ns1:Protocol>
<ns1:ProtocolVersion>1.0</ns1:ProtocolVersion>
</ns1:ProtocolInfo>
</ns1:UpdateDeviceProtocolRequest>
</soapenv:Body>
</soapenv:Envelope><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/admin/devicemanagement/2014/10">
<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:UpdateKeyRequest>
<!--type: Identification-->
<ns1:DeviceIdentification>SSLD_000-00-01</ns1:DeviceIdentification>
<!--type: string-->
<ns1:PublicKey>MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEFhUImXFJdqmputquVAc2CPdnn9Ju00M3m/Ice7wABNN+oAYKQbw/OceqvZmFF1+r4nO/vCm/f1JO5nEorE2jNQ==</ns1:PublicKey>
<!--type: long-->
<ns1:ProtocolInfoId>1</ns1:ProtocolInfoId>
</ns1:UpdateKeyRequest>
</soapenv:Body>
</soapenv:Envelope><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10">
<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:FindAllDevicesRequest>
<!--type: int-->
<ns1:Page>0</ns1:Page>
</ns1:FindAllDevicesRequest>
</soapenv:Body>
</soapenv:Envelope>https://localhost/web-device-simulator/devices<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10">
<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:SetLightRequest>
<!--type: Identification-->
<ns1:DeviceIdentification>SSLD_000-00-01</ns1:DeviceIdentification>
<!--1 to 6 repetitions:-->
<ns1:LightValue>
<!--Optional:-->
<!--anonymous type-->
<ns1:Index>0</ns1:Index>
<!--type: boolean-->
<ns1:On>true</ns1:On>
<!--Optional:-->
<!--anonymous type-->
<ns1:DimValue>100</ns1:DimValue>
</ns1:LightValue>
</ns1:SetLightRequest>
</soapenv:Body>
</soapenv:Envelope><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmartgridplatform.org/schemas/common/2014/10" xmlns:ns1="http://www.opensmartgridplatform.org/schemas/publiclighting/adhocmanagement/2014/10">
<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:SetLightAsyncRequest>
<ns1:AsyncRequest>
<!--type: CorrelationUid-->
<ns:CorrelationUid>test-org|||SSLD_000-00-01|||20160721083641940</ns:CorrelationUid>
<!--type: Identification-->
<ns:DeviceId>SSLD_000-00-01</ns:DeviceId>
</ns1:AsyncRequest>
</ns1:SetLightAsyncRequest>
</soapenv:Body>
</soapenv:Envelope>trueIndexfalse





























































































