Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
SncJt
Contributor III
Contributor III

Issue using MetaServlet and saveEsbTask command

Hi there,

 

I would like to publish a Route using the MetaServlet web API.

I can call it without difficulty, but I can't understand why it can't find the featureURL I give in my json base64encode field.

 

The error is :

"error":"java.lang.RuntimeException: 
Error resolving artifact she.fer.sate.util.num.E01_Batch:RNo_Batch_020_Store-feature:xml:0.1.0-SNAPSHOT: 
[Could not find artifact she.fer.sate.util.num.E01_Batch:RNo_Batch_020_Store-feature:xml:0.1.0-SNAPSHOT in talend.snapshot

My json is like this :

json: {
"actionName":"saveEsbTask",
"taskName":"RNo_Batch_020_Store",
"description":"My published Route",
"repository":"snapshots",
"featureName":"RNo_Batch_020_Store-feature",
"featureVersion":"0.1.0-SNAPSHOT",
"featureType":"ROUTE",
"runtimeContext":"*********",
"runtimeServerName":"********",
"runtimePropertyId":"RNo_Batch_020_Store",
"authPass":"---------------------------",
"authUser":"---------------------------",
"featureUrl":"mvn:she.fer.sate.util.num.E01_Batch/RNo_Batch_020_Store-feature/0.1.0-SNAPSHOT/xml",
"tag":"myTag"
}

So my featureUrl seems not to be good.

 

In nexus, I can find the route feature in snapshots, in she.fer.sate.util.num.E01_Batch...

 

Question :

- do I have to specify the branch just after "mvn:" ? (I tried, but it does not seems to work)

- Is there something wrong with my json ?

 

Thanks a lot for any help !

 

 

 

Labels (3)
1 Reply
Anonymous
Not applicable

Hello,

Are you able to publish your route to Nexus and add it to TAC as a new artifact task under Conductor successfully? Could you please clarify in which Talend version/edition you are?

Best regards

Sabrina