Skip to main content
Skip table of contents

Deployments

Dieser Adapter listet die auf dem Server bereitgestellten Prozesse und Ressourcen im X4 Repository auf. Die Auflistung beinhaltet auch die mithilfe von X4 Apps bereitgestellten Prozesse.

Eigenschaften (Properties)

Operation

Vom Adapter ausgeführte Operation

Mögliche Werte:

  • List: Listet alle bereitgestellten Prozesse und Ressourcen in einem XML-Dokument auf.
  • Get Image: Gibt ein Bild des Prozess-Workflows aus.
  • Get Image Metadata: Gibt die Metadaten eines Bildes des Prozess-Workflows aus.
  • Reload Repository Gibt eine Liste aller Projekte und den Repository-Typ für jedes Element aus. 
  • Reload Project: Gibt das Projekt und den Typ des zugehörigen Repositorys für jedes Element aus. 

Parameter

Adapter

Hauptklasse des Adapters (nicht verändern!)

Mögliche Werte:  de.softproject.x4.adapter.deployed.app.DeployedAppAdapter (Standard)

repository 

Repository-Name 

project 

Projektname

processPath 

Prozesspfad und -name

Statuswerte

1

Die Operation wurde erfolgreich ausgeführt.

-1

Die Operation ist aufgrund eines technischen Fehlers fehlgeschlagen.

Die Dokumentation der ReST-Schnittstelle finden Sie unter http://localhost:8080/X4/X4Api/.

Beispiele

Output der Operation List

Der Adapter erzeugt ein XML-Dokument als Output.

XML
<DeployedAppResponse>
    <Repository name="1">
        <Project name="MyProject" type="ESB" uuid="695245fa-3b07-4e0e-b9d0-b53fdcb45e51">
            <Resource path="Adapters\MyAdapter.fa"/>
            <Resource path="pom.xml"/>
            <Resource path="Processes\MyProcess.wrf"/>
            <Resource path="Resources"/>
            <Resource path="TemporaryFiles"/>
            <Resource path="Transformations"/>
            <Resource path="MyProject.wsinc"/>
        </Project>
    </Repository>
</DeployedAppResponse>

Output der Operation Get Image Metadata

CODE
<ProcessElements>
    <ProcessElement id="0" name="Start" x="17" y="119" height="32" width="32"/>
    <ProcessElement id="1" name="Stop" x="476" y="119" height="32" width="32"/>
    <ProcessElement id="2" name="Processes_Deployed.fa" x="204" y="119" height="32" width="32" path="ESBProject_1/Processes/Deployment/ProcessImage-14057/process_processImageWRF.wrf/Processes_Deployed.fa"/>
</ProcessElements>


Output der Operation Reload Project

CODE
<GetProjectResponse>
    <Project name="AMQP_Project" repository="1" isLibrary="false" projectType="ESB" projectVersion="7.2.0-SNAPSHOT" projectId="fd1a244b-245b-4c81-adb1-22499e57aa5a">
        <Properties>
            <Properties>
                <ProjectProperty>
                    <Key>disableWebService</Key>
                    <Value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:boolean">false</Value>
                </ProjectProperty>
            </Properties>
        </Properties>
        <RepositoryPaths>
            <RepositoryPath>
                <repository>1</repository>
                <project>AMQP_Project</project>
                <projectSegments>Adapters</projectSegments>
                <projectSegments>AMQP_Publisher_DE.fa</projectSegments>
                <lastProjectSegmentIndex>1</lastProjectSegmentIndex>
                <isDirectory>false</isDirectory>
                <repositoryMembership>INCLUDED</repositoryMembership>
            </RepositoryPath>
        </RepositoryPaths>
    </Project>
</GetProjectResponse>



Output der Operation Reload Repository

CODE
<GetProjectsResponse>
    <Project name="ESB_XVIER-14717_DeployedProcesses_API" repository="5" isLibrary="false" projectType="ESB" projectVersion="7.2.0-SNAPSHOT" projectId="e52c9786-f51e-4404-9642-c7727715d418">
        <Properties>
            <Properties>
                <ProjectProperty>
                    <Key>disableWebService</Key>
                    <Value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:boolean">false</Value>
                </ProjectProperty>
            </Properties>
        </Properties>
        <RepositoryPaths>
            <RepositoryPath>
                <repository>5</repository>
                <project>ESB_XVIER-14717_DeployedProcesses_API</project>
                <projectSegments>Adapters</projectSegments>
                <lastProjectSegmentIndex>0</lastProjectSegmentIndex>
                <isDirectory>true</isDirectory>
                <repositoryMembership>INCLUDED</repositoryMembership>
            </RepositoryPath>
            <RepositoryPath>
                <repository>5</repository>
                <project>ESB_XVIER-14717_DeployedProcesses_API</project>
                <projectSegments>ESB_XVIER-14717_DeployedProcesses_API.wsinc</projectSegments>
                <lastProjectSegmentIndex>0</lastProjectSegmentIndex>
                <isDirectory>false</isDirectory>
                <repositoryMembership>INCLUDED</repositoryMembership>
            </RepositoryPath>
        </RepositoryPaths>
    </Project>
    <Project name="ESBProject_1" repository="5" isLibrary="false" projectType="ESB" projectVersion="7.2.0-SNAPSHOT" projectId="6180c7b1-b858-4b7e-9f5f-b11d8768ed68">
        <Properties>
            <Properties>
                <ProjectProperty>
                    <Key>disableWebService</Key>
                    <Value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:boolean">false</Value>
                </ProjectProperty>
            </Properties>
        </Properties>
        <RepositoryPaths>
            <RepositoryPath>
                <repository>5</repository>
                <project>ESBProject_1</project>
                <projectSegments>Adapters</projectSegments>
                <lastProjectSegmentIndex>0</lastProjectSegmentIndex>
                <isDirectory>true</isDirectory>
                <repositoryMembership>INCLUDED</repositoryMembership>
            </RepositoryPath>
            <RepositoryPath>
                <repository>5</repository>
                <project>ESBProject_1</project>
                <projectSegments>ESBProject_1.wsinc</projectSegments>
                <lastProjectSegmentIndex>0</lastProjectSegmentIndex>
                <isDirectory>false</isDirectory>
                <repositoryMembership>INCLUDED</repositoryMembership>
            </RepositoryPath>
        </RepositoryPaths>
    </Project>
</GetProjectsResponse>



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.