Internal API (intapi)

Descripción

Certification quiz for the intapi template
Brian Schaad
Test por Brian Schaad, actualizado hace más de 1 año
Brian Schaad
Creado por Brian Schaad hace más de 9 años
63
0

Resumen del Recurso

Pregunta 1

Pregunta
If a query is needed that can’t be represented with the standard Spring Data finder methods (e.g. findBy…), how should it be implemented on the Repository?
Respuesta
  • Adding a method to the Repository using the @Query annotation
  • Combine the results of several findBy methods programmatically
  • Adding a method to the Repository using the @NamedQuery or @NativeNamedQuery annotation
  • Adding a QueryDSL method in a Repository custom implementation
  • Reference a stored procedure using the @NamedStoredProcedureQuery annotation

Pregunta 2

Pregunta
Does the template support Cassandra migrations?
Respuesta
  • True
  • False

Pregunta 3

Pregunta
What type of classes are used to create test data?
Respuesta
  • Converters
  • Generators
  • TestData
  • This does not exist in the template at this time
  • TestFixture

Pregunta 4

Pregunta
Which annotation is used on Taulia Domain Objects to provide a nice toString representation of the object.
Respuesta
  • @ToString
  • @Show
  • @Entity
  • @TDO
  • Import the apache commons lang library and use the ToStringBuilder.reflectionToString method

Pregunta 5

Pregunta
What actions must take place to add an attribute value property to your TDO object.
Respuesta
  • Ensure the table has an attribute-value storage container
  • Create a map to hold all the attribute values within the entity
  • Add the @AttributeValueContainer annotation to the class
  • Add getter and setter methods to the TDO that access the attribute value from a map within the TDO
  • Create a primitive field and add the @AttributeValue annotation on the field

Pregunta 6

Pregunta
What class should you extend for a TDO integration test?
Respuesta
  • GroovyTestCase
  • BaseIntegrationTdoTestCase
  • BasicTdoTestCase
  • GroovyIntegrationTestCase

Pregunta 7

Pregunta
Use TDOs as the objects that are passed into and out of public methods within an intapi.
Respuesta
  • True
  • False
Mostrar resumen completo Ocultar resumen completo

Similar

IntApi-Prochains
rahul.joshi
Insert full reference here
Rhiannon Denby
Introduction to APDD Flowchart 3
Various Studies Teacher
Sample course notes
ROGER MILLS
Template
c.holmes
Introduction To APDD Course Flowchart 2
Various Studies Teacher
Exemplar
Professor S
Drugs
Pharmacy S.
04:00 - Antihistamines
Pharmacy S.
04:00 - Antihistamines
Pharmacy Space
Fever, Fever seizures, Heatstrokes
Pharmacy S.