-
Removida classe
Link
caseira dos projetos livraria e payfast. -
Na classe
PagamentoResource
do payfast, foi criado o métodogetTransitions
que retorna um array deLink
do JAX-RS com as transições possíveis, de acordo com o status do pagamento. -
O array de
Link
é utilizado no métodolinks
doResponseBuilder
do JAX-RS:Response.ok().entity(pagamento).links(links).build()
-
Na classe
ClienteRest
da livraria, foi modificado o código dos métodoscriarPagamento
econfirmarPagamento
para utilizar oLink
do JAX-RS.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
NestInterceptor, | |
ExecutionContext, | |
Injectable, | |
CallHandler, | |
} from '@nestjs/common'; | |
import { classToPlain } from 'class-transformer'; | |
import { map } from 'rxjs/operators'; | |
@Injectable() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Logs | |
logs | |
*.log | |
npm-debug.log* | |
# Runtime data | |
pids | |
*.pid | |
*.seed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package br.com.caelum.estoque.ws.handler; | |
import java.util.Iterator; | |
import java.util.Set; | |
import javax.xml.namespace.QName; | |
import javax.xml.soap.Node; | |
import javax.xml.soap.SOAPEnvelope; | |
import javax.xml.soap.SOAPException; | |
import javax.xml.soap.SOAPHeader; |
Testing subscript and superscript
Testing subscript subscript level 2
Testing superscript superscript level 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<!-- put this file in /packages/User/<Folder Name>/console_log.sublime-snippet then restart your Sublime Text 2 --> | |
<content><![CDATA[console.log($1);$0]]></content> | |
<tabTrigger>conl</tabTrigger> | |
<scope>text.html,source.js</scope> | |
<description>console.log()</description> | |
</snippet> | |
<snippet> | |
<!-- put this in another file /packages/User/<Folder Name>/console_dir.sublime-snippet then restart your Sublime Text 2 --> |