...
Tras incluir el concepto de edificio entre las ubicaciones y las plantas, se hace necesario cambiar la estructura en la consulta, creación y modificación de recursos de infraestructura.
Quedan también obsoletos los siguientes métodos en favor de las nuevas consultas de recursos de infraestructura:
Guía detallada
Se requiere la adaptación para extraer los campos nuevos en la consulta de información y enviarlos (modificados o sin modificar) en la llamada a la creación y modificación.
El campo ubicacionFisica.planta dejará de utilizarse y se sustituirá por la estructura ubicacionFisica.edificio.planta.id
Info |
---|
Métodos REST afectados: Obtener recursos de infraestructura (listado y detalle) Expandir |
---|
title | Información adicional... |
---|
|
|
|
HTML |
---|
<div style="margin: 0 0 15px;margin-top: 0px;margin-right: 0px;margin-bottom: 15px;margin-left: 0px;border: 1px solid #000;border-radius: 4px;-webkit-box-shadow: 0 0 3px rgba(0,0,0,.19);box-shadow: 0 0 3px rgba(0,0,0,.19);border-color: |
| #ebebeb#61affe;background: rgba( |
| 235235235254,.1);">
<div style="border-color: |
| #ebebeb#61affe;display: flex;-webkit-box-align: center;align-items: center;padding: 5px;">
<span style="background: |
| #ebebeb#61affe;font-size: 14px;font-weight: 700;min-width: 80px;padding: 6px 15px;text-align: center;border-radius: 3px;text-shadow: 0 1px 0 rgba(0,0,0,.1);font-family: sans-serif;color: #fff;" |
| >PUT<>GET</span>
<span style="font-size: 16px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-flex: 0;-ms-flex: 0 3 auto;flex: 0 3 auto;-webkit-box-align: center;-ms-flex-align: center;align-items: center;word-break: break-all;padding: 0 10px;font-family: monospace;font-weight: 600;color: |
| rgb(59,65,81);text-decoration-line:line-throughcges/tablas<infraestructura</span>
<div style="font-size: 13px;-webkit-box-flex: 1;-ms-flex: 1;flex: 1;font-family: sans-serif;color: #3b4151;">Listado de |
| recursos<recursos de infraestructura</div>
</div>
</div>
<div style="margin: 0 0 15px;margin-top: 0px;margin-right: 0px;margin-bottom: 15px;margin-left: 0px;border: 1px solid #000;border-radius: 4px;-webkit-box-shadow: 0 0 3px rgba(0,0,0,.19);box-shadow: 0 0 3px rgba(0,0,0,.19);border-color: |
| #ebebeb#61affe;background: rgba( |
| 235235235254,.1);">
<div style="border-color: |
| #ebebeb#61affe;display: flex;-webkit-box-align: center;align-items: center;padding: 5px;">
<span style="background: |
| #ebebeb#61affe;font-size: 14px;font-weight: 700;min-width: 80px;padding: 6px 15px;text-align: center;border-radius: 3px;text-shadow: 0 1px 0 rgba(0,0,0,.1);font-family: sans-serif;color: #fff;" |
| >PUT<>GET</span>
<span style="font-size: 16px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-flex: 0;-ms-flex: 0 3 auto;flex: 0 3 auto;-webkit-box-align: center;-ms-flex-align: center;align-items: center;word-break: break-all;padding: 0 10px;font-family: monospace;font-weight: 600;color: |
| rgb(59,65,81);text-decoration-line:line-through;">/cges/tablas/recursos/#3b4151;">/cgescms/recursos/infraestructura/{uuidRecurso}</span>
<div style="font-size: 13px;-webkit-box-flex: 1;-ms-flex: 1;flex: 1;font-family: sans-serif;color: #3b4151;" |
| >Detallerecurso<infraestructura</div>
</div>
</div> |
|
|
Guía detallada
Se requiere la adaptación para extraer los campos nuevos en la consulta de información y enviarlos (modificados o sin modificar) en la llamada a la creación y modificación.
El campo ubicacionFisica.planta dejará de utilizarse y se sustituirá por la estructura ubicacionFisica.edificio.planta.id
Atributos obsoletos | Atributos que sustituyen |
---|
Bloque de código |
---|
theme | Confluence |
---|
firstline | 1 |
---|
| "recursos": [{
"ubicacionFisica": {
"planta": "string"
}
}] |
|
Bloque de código |
---|
theme | Confluence |
---|
firstline | 1 |
---|
| "recursos": [{
"ubicacionFisica": {
"edificio": {
"id": 0,
"nombre": "string",
"planta": {
"id": 0,
"nombre": "string"
}
}
}
}
] |
|
|
Creaciones y ediciones de recursos de infraestructura Expandir |
---|
title | Información adicional... |
---|
|
HTML |
---|
<div style="margin: 0 0 15px;margin-top: 0px;margin-right: 0px;margin-bottom: 15px;margin-left: 0px;border: 1px solid #000;border-radius: 4px;-webkit-box-shadow: 0 0 3px rgba(0,0,0,.19);box-shadow: 0 0 3px rgba(0,0,0,.19);border-color: #49cc90;background: rgba(73,204,144,.1);">
<div style="border-color: #49cc90;display: flex;-webkit-box-align: center;align-items: center;padding: 5px;">
<span style="background: #49cc90;font-size: 14px;font-weight: 700;min-width: 80px;padding: 6px 15px;text-align: center;border-radius: 3px;text-shadow: 0 1px 0 |
|
|
Info |
---|
Métodos REST afectados: Obtener recursos de infraestructura (listado y detalle) y consulta de tabla maestra de recursos. Expandir |
---|
title | Información adicional... |
---|
| HTML |
---|
<div style="margin: 0 0 15px;margin-top: 0px;margin-right: 0px;margin-bottom: 15px;margin-left: 0px;border: 1px solid #000;border-radius: 4px;-webkit-box-shadow: 0 0 3px rgba(0,0,0,.19);box-shadow: 0 0 3px rgba(0,0,0,.19);border-color: #61affe;background: rgba(97,175,254,.1);">
<div style="border-color: #61affe;display: flex;-webkit-box-align: center;align-items: center;padding: 5px;">
<span style="background: #61affe;font-size: 14px;font-weight: 700;min-width: 80px;padding: 6px 15px;text-align: center;border-radius: 3px;text-shadow: 0 1px 0 rgba(0,0,0,.1);font-family: sans-serif;color: #fff;">GET</span>
<span style="font-size: 16px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-flex: 0;-ms-flex: 0 3 auto;flex: 0 3 auto;-webkit-box-align: center;-ms-flex-align: center;align-items: center;word-break: break-all;padding: 0 10px;font-family: monospace;font-weight: 600;color: #3b4151;">/cgescms/recursos/infraestructura</span>
<div style="font-size: 13px;-webkit-box-flex: 1;-ms-flex: 1;flex: 1;font-family: sans-serif;color: #3b4151;">Listado de recursos de infraestructura</div>
</div>
</div>
<div style="margin: 0 0 15px;margin-top: 0px;margin-right: 0px;margin-bottom: 15px;margin-left: 0px;border: 1px solid #000;border-radius: 4px;-webkit-box-shadow: 0 0 3px rgba(0,0,0,.19);box-shadow: 0 0 3px rgba(0,0,0,.191);borderfont-colorfamily: #61affesans-serif;backgroundcolor: rgba(97,175,254,.1)#fff;">>POST</span>
<div<span style="borderfont-colorsize: #61affe16px;display: flex;-webkit-box-align;display: -ms-flexbox;display: center;align-itemsflex;-webkit-box-flex: center;padding: 5px;">
<span style="background: #61affe;font-size: 14px;font-weight: 700;min-width: 80px;padding: 6px 15px;text-align: center;border-radius: 3px;text-shadow: 0 1px 0 rgba(0,0,0,.1);font-family: sans-serif;color: #fff;">GET</span>
<span0;-ms-flex: 0 3 auto;flex: 0 3 auto;-webkit-box-align: center;-ms-flex-align: center;align-items: center;word-break: break-all;padding: 0 10px;font-family: monospace;font-weight: 600;color: #3b4151;">/cgescms/recursos/infraestructura</span>
<div style="font-size: 16px13px;display: -webkit-box;display-flex: 1;-ms-flexbox;displayflex: 1;flex: flex1;font-webkit-box-flexfamily: sans-serif;color: 0;-ms-flex: 0 3 auto;flex#3b4151;">Crear recurso de infraestructura</div>
</div>
</div>
<div style="margin: 0 30 auto15px;margin-webkit-box-aligntop: center0px;margin-ms-flex-alignright: center0px;alignmargin-itemsbottom: center15px;wordmargin-breakleft: break-all0px;paddingborder: 1px 0solid 10px#000;fontborder-familyradius: monospace;font-weight: 600;color: #3b4151;">/cgescms/recursos/infraestructura/{uuidRecurso}</span>
<div style="font-size: 13px;-webkit-box-flex: 1;-ms-flex: 1;flex: 1;font-family: sans-serif;color: #3b4151;">Obtener recurso de infraestructura</div>
</div>
</div>4px;-webkit-box-shadow: 0 0 3px rgba(0,0,0,.19);box-shadow: 0 0 3px rgba(0,0,0,.19);border-color: #fca130;background: rgba(252,161,48,.1);">
<div style="border-color: #fca130;display: flex;-webkit-box-align: center;align-items: center;padding: 5px;">
<span style="background: #fca130;font-size: 14px;font-weight: 700;min-width: 80px;padding: 6px 15px;text-align: center;border-radius: 3px;text-shadow: 0 1px 0 rgba(0,0,0,.1);font-family: sans-serif;color: #fff;">PUT</span>
<span style="font-size: 16px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-flex: 0;-ms-flex: 0 3 auto;flex: 0 3 auto;-webkit-box-align: center;-ms-flex-align: center;align-items: center;word-break: break-all;padding: 0 10px;font-family: monospace;font-weight: 600;color: #3b4151;">/cgescms/recursos/infraestructura/{uuidRecurso}</span>
<div style="font-size: 13px;-webkit-box-flex: 1;-ms-flex: 1;flex: 1;font-family: sans-serif;color: #3b4151;">Modificar recurso de infraestructura</div>
</div>
</div> |
Atributos obsoletos | Atributos que sustituyen |
---|
Bloque de código |
---|
theme | Confluence |
---|
firstline | 1 |
---|
| "recursos": [{
"ubicacionFisica": {
"planta": "string"
}
}] |
|
Bloque de código |
---|
theme | Confluence |
---|
firstline | 1 |
---|
| "recursos": [{
"ubicacionFisica": {
|
| Atributos obsoletos | Atributos que sustituyen |
---|
Bloque de código |
---|
theme | Confluence |
---|
firstline | 1 |
---|
| "recursos": [{
"ubicacionFisica": {
"planta": "string"
}
}] |
Bloque de código |
---|
theme | Confluence |
---|
firstline | 1 |
---|
| "recursos": [{
"ubicacionFisica": {
"edificio": {
"id": 0,
"nombre": "string",
"planta": {
"id": 0,
nombre"string" }
}
}
}
] |
Creaciones y ediciones de recursos de infraestructura Expandir |
---|
|
title | Información adicional... |
---|
|
"planta": {
"id": 0
}
}
}
}
] |
|
|
Para más información respecto al uso de métodos de la API, ver la definición .
Quedan también obsoletos los siguientes métodos en favor de las nuevas consultas de recursos de infraestructura:
HTML |
---|
<div style="margin: 0 0 15px;margin-top: 0px;margin-right: 0px;margin-bottom: 15px;margin-left: 0px;border: 1px solid #000;border-radius: 4px;-webkit-box-shadow: 0 0 3px rgba(0,0,0,.19);box-shadow: 0 0 3px rgba(0,0,0,.19);border-color: #ebebeb;background: rgba(235,235,235,.1);">
<div style="border-color: #ebebeb;display: flex;-webkit-box-align: center;align-items: center;padding: 5px;">
<span style="background: #ebebeb;font-size: 14px;font-weight: 700;min-width: 80px;padding: 6px 15px;text-align: center;border-radius: 3px;text-shadow: 0 1px 0 HTML | <div style="margin: 0 0 15px;margin-top: 0px;margin-right: 0px;margin-bottom: 15px;margin-left: 0px;border: 1px solid #000;border-radius: 4px;-webkit-box-shadow: 0 0 3px rgba(0,0,0,.19);box-shadow: 0 0 3px rgba(0,0,0,.19);border-color: #49cc90;background: rgba(73,204,144,.1);">
<div style="border-color: #49cc90;display: flex;-webkit-box-align: center;align-items: center;padding: 5px;">
<span style="background: #49cc90;font-size: 14px;font-weight: 700;min-width: 80px;padding: 6px 15px;text-align: center;border-radius: 3px;text-shadow: 0 1px 0 rgba(0,0,0,.1);font-family: sans-serif;color: #fff;">POST</span>
<span style="font-size: 16px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-flex: 0;-ms-flex: 0 3 auto;flex: 0 3 auto;-webkit-box-align: center;-ms-flex-align: center;align-items: center;word-break: break-all;padding: 0 10px;font-family: monospace;font-weight: 600;color: #3b4151;">/cgescms/recursos/infraestructura</span>
<div style="font-size: 13px;-webkit-box-flex: 1;-ms-flex: 1;flex: 1;font-family: sans-serif;color: #3b4151;">Crear recurso de infraestructura</div>
</div>
</div>
<div style="margin: 0 0 15px;margin-top: 0px;margin-right: 0px;margin-bottom: 15px;margin-left: 0px;border: 1px solid #000;border-radius: 4px;-webkit-box-shadow: 0 0 3px rgba(0,0,0,. 191); boxfont- shadowfamily: 0 0 3px rgba(0,0,0,.19);border-color: #fca130;background: rgba(252,161,48,.1);">
<div style="border-color: #fca130;display: flexsans-serif;color: #fff;">PUT</span>
<span style="font-size: 16px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-flex: 0;-ms-flex: 0 3 auto;flex: 0 3 auto;-webkit-box-align: center;-ms-flex-align -items: center; padding: 5px;">
<span style="background: #fca130;font-size: 14px;font-weight: 700;min-width: 80pxalign-items: center;word-break: break-all;padding: 6px0 15px10px; textfont- alignfamily: centermonospace; borderfont- radiusweight: 3px600; text-shadowcolor: 0 1px 0 rgba(0,0,0,.1);font-family: sans-serif;color: #fff;">PUT</span>
<spanrgb(59,65,81);text-decoration-line:line-through;">/cges/tablas/recursos/</span>
<div style="font-size: 16px13px; display: -webkit-box ;display-flex: 1;-ms- flexbox;displayflex: flex1; -webkit-box-flex: 01;font- ms-flex: 0 3 auto;flexfamily: sans-serif;color: #3b4151;">Listado de recursos</div>
</div>
</div>
<div style="margin: 0 30 auto15px;margin- webkit-box-aligntop: center0px;margin- ms-flex-alignright: center0px; alignmargin- itemsbottom: center15px; word-break: break-all;padding: 0 10px;font-family: monospace;font-weight: 600;color: #3b4151;">/cgescms/recursos/infraestructura/{uuidRecurso}</span>
<div style="font-size: 13pxmargin-left: 0px;border: 1px solid #000;border-radius: 4px;-webkit-box- flexshadow: 1;-ms-flex: 1;flex: 1;font-family: sans-serif;color: #3b4151;">Modificar recurso de infraestructura</div>
</div>
</div> |
Atributos obsoletos | Atributos que sustituyen |
---|
Bloque de código |
---|
theme | Confluence |
---|
firstline | 1 |
---|
|
"recursos": [{
"ubicacionFisica": {
"planta": "string"
}
}] |
Bloque de código |
---|
theme | Confluence |
---|
firstline | 1 |
---|
|
"recursos": [{
"ubicacionFisica": {
"edificio": {
"id": 0,
"planta": {
"id": 0
}
}
}
}
] |
Para más información respecto al uso de métodos de la API, ver la definición . 0 0 3px rgba(0,0,0,.19);box-shadow: 0 0 3px rgba(0,0,0,.19);border-color: #ebebeb;background: rgba(235,235,235,.1);">
<div style="border-color: #ebebeb;display: flex;-webkit-box-align: center;align-items: center;padding: 5px;">
<span style="background: #ebebeb;font-size: 14px;font-weight: 700;min-width: 80px;padding: 6px 15px;text-align: center;border-radius: 3px;text-shadow: 0 1px 0 rgba(0,0,0,.1);font-family: sans-serif;color: #fff;">PUT</span>
<span style="font-size: 16px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-flex: 0;-ms-flex: 0 3 auto;flex: 0 3 auto;-webkit-box-align: center;-ms-flex-align: center;align-items: center;word-break: break-all;padding: 0 10px;font-family: monospace;font-weight: 600;color: rgb(59,65,81);text-decoration-line:line-through;">/cges/tablas/recursos/{uuidRecurso}</span>
<div style="font-size: 13px;-webkit-box-flex: 1;-ms-flex: 1;flex: 1;font-family: sans-serif;color: #3b4151;">Detalle de recurso</div>
</div>
</div>
Artículos Relacionados
Jira |
---|
server | JIRA |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
serverId | aea3f5ce-c977-3088-89fe-07be16229731 |
---|
key | SERVCGES-927 |
---|
|
...