cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Cloud Integration API IntegrationRuntimeArtifacts Bug or Feature

martinstenzig
Contributor
0 Likes
1,592

When I call the Cloud Integration API 'IntegrationRuntimeArtifacts' I receive the list of my runtime artifacts. In the __metadata section I have links to i.e. the medial_src. But when I follow those links I receive a 404 error code.

I would assume that either

a) they are correct and working or

b) they should not show up to begin with.

c) what is the best API to get 'runtime' artifact content?

Accepted Solutions (1)

Accepted Solutions (1)

MortenWittrock
SAP Mentor
SAP Mentor
0 Likes

Hi Martin

Good question. The IntegrationRuntimeArtifacts('Iflow-ID-here')/$value call returns 501 Not Implemented, which is probably accurate. I don't believe you can fetch the content of a runtime iflow artifact using the OData API at the moment (and the api.sap.com documentation does not state that you can). You can retrieve it using the design time API, though. That's what I do in CPILint.

Regards,

Morten

martinstenzig
Contributor
0 Likes

Yeah, that's where I ended up as well (using the design time artifacts API). The question I stumbled over (as I am a CPI amateur) is: Can you have the same version in runtime as you have in Design, but you made adjustments in the design time that have not been released/activated?

And thanks for the CPILint reference. Had not seen that before. I just wrote a CPIDiff tool that allows you to compare content of two CPI instances.

MortenWittrock
SAP Mentor
SAP Mentor
0 Likes

Hi martin.stenzig3

Yes. If you deploy your iflow, then use the design time API to retrieve it, the design time artifact and the runtime artifact will be the same. But if you then update and save it, the design time API will return the updated artifact and the two will no longer be the same.

Regards,

Morten

martinstenzig
Contributor
0 Likes

Thanks Morton for the sanity check. That leads me back to us needing a proper API to determine what content/resources is actually currently deployed in the runtime.

MortenWittrock
SAP Mentor
SAP Mentor

Hi martin.stenzig3

The runtime artifacts API will tell you that - you just can't use it to retrieve the deployed artifacts. At least not at the moment.

Regards,

Morten

Answers (0)