Skip to content

Snowstorm

Mariano Botta edited this page Jul 2, 2020 · 2 revisions

Nuevo Release ANDES Neuquen

ATENCION: Ya no es necesario agregar el odontograma

Crear un code systems nuevo, remplazando la fecha por la correspondiente

{
  "branchPath": "MAIN/ODONTO/NEUQUEN-2020-02-07",
  "shortName": "NEUQUEN-2020-02-07"
}
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{
  "branchPath": "MAIN/ODONTO/NEUQUEN-2020-02-07",
"shortName": "NEUQUEN-2020-02-07"
 
}' 'http://localhost:8080/codesystems'

(*) reemplazar el dominio por el correspondeiente

{
  "branchPath": "MAIN/ODONTO/NEUQUEN-2020-02-07",
  "createCodeSystemVersion": false,
  "type": "SNAPSHOT"
}
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{
  "branchPath": "MAIN/ODONTO/NEUQUEN-2020-02-07",
  "createCodeSystemVersion": false,
  "type": "SNAPSHOT"
}' 'http://localhost:8080/imports'

Al ejecutar el curl, en el Response Headers exactamente en Location aparece el ID del importer:

{
  "cache-control": "no-cache, no-store, max-age=0, must-revalidate",
  "content-length": "0",
  "date": "Fri, 07 Feb 2020 13:10:46 GMT",
  "expires": "0",
  "location": "http://localhost:8080/imports/c941f9c5-d752-492b-bb32-5f90c2d3cfd3",
  "pragma": "no-cache",
  "x-content-type-options": "nosniff",
  "x-frame-options": "DENY",
  "x-xss-protection": "1; mode=block",
  "content-type": null
}

Con el archivo y el ID ejecutar:

curl -X POST --header 'Content-Type: multipart/form-data' --header 'Accept: application/json' 'http://localhost:8080/imports/4637b2ce-3097-4332-9f52-29efa438d923/archive'

Probar el nuevo release en Test, Demo, Prod.

Clone this wiki locally