Skip to content

Commit

Permalink
First upload
Browse files Browse the repository at this point in the history
  • Loading branch information
codebude committed Aug 19, 2019
1 parent fc0df2c commit 0a6c626
Show file tree
Hide file tree
Showing 41 changed files with 19,838 additions and 0 deletions.
Binary file not shown.
16 changes: 16 additions & 0 deletions IFlow/Source/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?><projectDescription>
<name>Webbrowser_to_CPI_SystemMonitor_RealcoreDashboard</name>
<comment/>
<projects/>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments/>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>com.sap.ide.ifl.project.support.project.nature</nature>
<nature>com.sap.ide.ifl.bsn</nature>
</natures>
</projectDescription>
43 changes: 43 additions & 0 deletions IFlow/Source/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
Manifest-Version: 1.0
SAP-RuntimeProfile: iflmap
Bundle-SymbolicName: Webbrowser_to_CPI_SystemMonitor_RealcoreDashboard; sing
leton:=true
Bundle-Name: Webbrowser_to_CPI_SystemMonitor_RealcoreDashboard
Bundle-Version: 1.0.20
Bundle-ManifestVersion: 2
SAP-ArtifactTrait:
SAP-NodeType: IFLMAP
Import-Package: com.sap.esb.application.services.cxf.interceptor,com.s
ap.esb.security,com.sap.it.op.agent.api,com.sap.it.op.agent.collector
.camel,com.sap.it.op.agent.collector.cxf,com.sap.it.op.agent.mpl,java
x.jms,javax.jws,javax.wsdl,javax.xml.bind.annotation,javax.xml.namesp
ace,javax.xml.ws,org.apache.camel;version="2.8",org.apache.camel.buil
der;version="2.8",org.apache.camel.builder.xml;version="2.8",org.apac
he.camel.component.cxf,org.apache.camel.model;version="2.8",org.apach
e.camel.processor;version="2.8",org.apache.camel.processor.aggregate;
version="2.8",org.apache.camel.spring.spi;version="2.8",org.apache.co
mmons.logging,org.apache.cxf.binding,org.apache.cxf.binding.soap,org.
apache.cxf.binding.soap.spring,org.apache.cxf.bus,org.apache.cxf.bus.
resource,org.apache.cxf.bus.spring,org.apache.cxf.buslifecycle,org.ap
ache.cxf.catalog,org.apache.cxf.configuration.jsse;version="2.5",org.
apache.cxf.configuration.spring,org.apache.cxf.endpoint,org.apache.cx
f.headers,org.apache.cxf.interceptor,org.apache.cxf.management.counte
rs;version="2.5",org.apache.cxf.message,org.apache.cxf.phase,org.apac
he.cxf.resource,org.apache.cxf.service.factory,org.apache.cxf.service
.model,org.apache.cxf.transport,org.apache.cxf.transport.common.gzip,
org.apache.cxf.transport.http,org.apache.cxf.transport.http.policy,or
g.apache.cxf.workqueue,org.apache.cxf.ws.rm.persistence,org.apache.cx
f.wsdl11,org.osgi.framework;version="1.6.0",org.slf4j;version="1.6",o
rg.springframework.beans.factory.config;version="3.0",com.sap.esb.cam
el.security.cms,org.apache.camel.spi,com.sap.esb.webservice.audit.log
,com.sap.esb.camel.endpoint.configurator.api,com.sap.esb.camel.jdbc.i
dempotency.reorg,javax.sql,org.apache.camel.processor.idempotent.jdbc
,org.osgi.service.blueprint;version="[1.0.0,2.0.0)"
SAP-BundleType: IntegrationFlow
Import-Service: com.sap.esb.webservice.audit.log.AuditLogger,com.sap.e
sb.security.KeyManagerFactory;multiple:=false,com.sap.esb.security.Tr
ustManagerFactory;multiple:=false,javax.sql.DataSource;multiple:=fals
e;filter="(dataSourceName=default)",org.apache.cxf.ws.rm.persistence.
RMStore;multiple:=false,com.sap.esb.camel.security.cms.SignatureSplit
ter;multiple:=false

19 changes: 19 additions & 0 deletions IFlow/Source/src/main/resources/mapping/XsltSystemProperties.xsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:variable name="properties" select="(
'xsl:version',
'xsl:vendor',
'xsl:vendor-url',
'xsl:product-name',
'xsl:product-version')"/>
<xsl:template match="/">
<system-properties>
<xsl:for-each select="$properties">
<xsl:variable name="prop" select="."/>
<xsl:element name="{substring-after($prop, ':')}">
<xsl:value-of select="system-property($prop)"/>
</xsl:element>
</xsl:for-each>
</system-properties>
</xsl:template>
</xsl:stylesheet>
14 changes: 14 additions & 0 deletions IFlow/Source/src/main/resources/parameters.prop
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
#Mon Aug 19 08:50:25 UTC 2019
SAP_CP_HOST=api.eu1.hana.ondemand.com
SAP_CPI_AUTH_API_CREDENTIALS_BASICAUTH=
CACHE_DATASTORE_NAME=CPI_Dashboard_Cache
ROLE_LOG_AND_FILE_ACCESS=de.realcore.cpi.dashboard.logfile
SAP_CPI_TENANT_TECHNICALNAME=
SAP_CPI_AUTH_API_CREDENTIALS=
SAP_CP_AUTH_API_CREDENTIALS=
SAP_CPI_HOST=
CPU_USAGE_MESEASUREMENT_TIME_IN_MS=3000
ROLE_SECURITY_MAT_ACCESS=de.realcore.cpi.dashboard.security
DASHBOARD_URL_BASE=/realcore/cpidash
ROLE_GENERAL_ACCESS=de.realcore.cpi.dashboard
97 changes: 97 additions & 0 deletions IFlow/Source/src/main/resources/parameters.propdef
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<?xml version="1.0" encoding="UTF-8"?><parameters><parameter>
<key/>
<name>SAP_CP_AUTH_API_CREDENTIALS</name>
<type>xsd:string</type>
<isRequired>false</isRequired>
<constraint/>
<description/>
<additionalMetadata/>
</parameter><parameter>
<key/>
<name>ROLE_GENERAL_ACCESS</name>
<type>xsd:string</type>
<isRequired>false</isRequired>
<constraint/>
<description/>
<additionalMetadata/>
</parameter><parameter>
<key/>
<name>SAP_CP_HOST</name>
<type>xsd:string</type>
<isRequired>false</isRequired>
<constraint/>
<description/>
<additionalMetadata/>
</parameter><parameter>
<key/>
<name>SAP_CPI_AUTH_API_CREDENTIALS_BASICAUTH</name>
<type>xsd:string</type>
<isRequired>false</isRequired>
<constraint/>
<description/>
<additionalMetadata/>
</parameter><parameter>
<key/>
<name>DASHBOARD_URL_BASE</name>
<type>xsd:string</type>
<isRequired>false</isRequired>
<constraint/>
<description/>
<additionalMetadata/>
</parameter><parameter>
<key/>
<name>CPU_USAGE_MESEASUREMENT_TIME_IN_MS</name>
<type>xsd:string</type>
<isRequired>false</isRequired>
<constraint/>
<description/>
<additionalMetadata/>
</parameter><parameter>
<key/>
<name>CACHE_DATASTORE_NAME</name>
<type>xsd:string</type>
<isRequired>false</isRequired>
<constraint/>
<description/>
<additionalMetadata/>
</parameter><parameter>
<key/>
<name>ROLE_LOG_AND_FILE_ACCESS</name>
<type>xsd:string</type>
<isRequired>false</isRequired>
<constraint/>
<description/>
<additionalMetadata/>
</parameter><parameter>
<key/>
<name>SAP_CPI_AUTH_API_CREDENTIALS</name>
<type>xsd:string</type>
<isRequired>false</isRequired>
<constraint/>
<description/>
<additionalMetadata/>
</parameter><parameter>
<key/>
<name>SAP_CPI_TENANT_TECHNICALNAME</name>
<type>xsd:string</type>
<isRequired>false</isRequired>
<constraint/>
<description/>
<additionalMetadata/>
</parameter><parameter>
<key/>
<name>SAP_CPI_HOST</name>
<type>xsd:string</type>
<isRequired>false</isRequired>
<constraint/>
<description/>
<additionalMetadata/>
</parameter><parameter>
<key/>
<name>ROLE_SECURITY_MAT_ACCESS</name>
<type>xsd:string</type>
<isRequired>false</isRequired>
<constraint/>
<description/>
<additionalMetadata/>
</parameter><param_references><reference attribute_category="SAP_CP.Receiver.Auth" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::credentialName" attribute_uilabel="Credential Name" param_key="SAP_CP_AUTH_API_CREDENTIALS"/><reference attribute_category="SAP_CP" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::httpAddressWithoutQuery" attribute_uilabel="SAP_CP_HOST" param_key="SAP_CP_HOST"/><reference attribute_category="SAP_CP" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::httpAddressWithoutQuery" attribute_uilabel="SAP_CPI_TENANT_TECHNICALNAME" param_key="SAP_CPI_TENANT_TECHNICALNAME"/><reference attribute_category="SAP_CP.Receiver.Auth" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::credentialName" attribute_uilabel="Credential Name" param_key="SAP_CP_AUTH_API_CREDENTIALS"/><reference attribute_category="SAP_CP" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::httpAddressWithoutQuery" attribute_uilabel="SAP_CP_HOST" param_key="SAP_CP_HOST"/><reference attribute_category="SAP_CP" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::httpAddressWithoutQuery" attribute_uilabel="SAP_CPI_TENANT_TECHNICALNAME" param_key="SAP_CPI_TENANT_TECHNICALNAME"/><reference attribute_category="SAP_CPI" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::httpAddressWithoutQuery" attribute_uilabel="Address" param_key="SAP_CPI_HOST"/><reference attribute_category="Webbrowser" attribute_id="/attrId::urlPath" attribute_uilabel="" param_key="DASHBOARD_URL_BASE"/><reference attribute_category="SAP_CPI.Receiver.Auth" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::credentialName" attribute_uilabel="Credential Name" param_key="SAP_CPI_AUTH_API_CREDENTIALS"/><reference attribute_category="SAP_CPI" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::httpAddressWithoutQuery" attribute_uilabel="Address" param_key="SAP_CPI_TENANT_TECHNICALNAME"/><reference attribute_category="SAP_CPI" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::httpAddressWithoutQuery" attribute_uilabel="Address" param_key="SAP_CPI_HOST"/><reference attribute_category="Webbrowser" attribute_id="/attrId::urlPath" attribute_uilabel="" param_key="DASHBOARD_URL_BASE"/><reference attribute_category="SAP_CPI" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::httpAddressWithoutQuery" attribute_uilabel="Address" param_key="SAP_CPI_HOST"/><reference attribute_category="SAP_CPI.Receiver.Auth" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::credentialName" attribute_uilabel="Credential Name" param_key="SAP_CPI_AUTH_API_CREDENTIALS_BASICAUTH"/><reference attribute_category="SAP_CPI" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::httpAddressWithoutQuery" attribute_uilabel="Address" param_key="SAP_CPI_HOST"/><reference attribute_category="SAP_CP.Receiver.Auth" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::credentialName" attribute_uilabel="Credential Name" param_key="SAP_CP_AUTH_API_CREDENTIALS"/><reference attribute_category="SAP_CP" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::httpAddressWithoutQuery" attribute_uilabel="SAP_CP_HOST" param_key="SAP_CP_HOST"/><reference attribute_category="SAP_CP" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::httpAddressWithoutQuery" attribute_uilabel="SAP_CPI_TENANT_TECHNICALNAME" param_key="SAP_CPI_TENANT_TECHNICALNAME"/><reference attribute_category="SAP_CPI.Receiver.Auth" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::credentialName" attribute_uilabel="Credential Name" param_key="SAP_CPI_AUTH_API_CREDENTIALS"/><reference attribute_category="SAP_CPI" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::httpAddressWithoutQuery" attribute_uilabel="Address" param_key="SAP_CPI_TENANT_TECHNICALNAME"/><reference attribute_category="Webbrowser" attribute_id="/attrId::urlPath" attribute_uilabel="" param_key="DASHBOARD_URL_BASE"/><reference attribute_category="Webbrowser" attribute_id="/attrId::urlPath" attribute_uilabel="" param_key="DASHBOARD_URL_BASE"/><reference attribute_category="SAP_CPI.Receiver.Auth" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::credentialName" attribute_uilabel="Credential Name" param_key="SAP_CPI_AUTH_API_CREDENTIALS_BASICAUTH"/><reference attribute_category="SAP_CPI" attribute_id="ctype::AdapterVariant/cname::HTTP/tp::HTTP/mp::None/direction::Receiver/version::1.7.2/attrId::httpAddressWithoutQuery" attribute_uilabel="Address" param_key="SAP_CPI_HOST"/></param_references></parameters>
Loading

0 comments on commit 0a6c626

Please sign in to comment.