test_class.declarator: dashboardRepository
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private DashboardRepository dashboardRepository;
test_class.type: DashboardRepository
test_class.var_name: dashboardRepository
test_class.file: mirrorgate-api/src/test/java/com/bbva/arq/devops/ae/mirrorgate/repository/DashboardRepositoryImplTest.java
test_class.identifier: DashboardRepositoryImplTest
test_case.body: @Ignore
      @Test
      public void transientAndDeletedDashboardsAreNotReturnedTest() {
          final List<Dashboard> activeDashboards = dashboardRepository.getActiveDashboards();
  
          final List<String> dashboardNames = activeDashboards
              .stream()
              .map(Dashboard::getName)
              .collect(Collectors.toList());
  
          assertTrue(dashboardNames.contains("regularDashboard"));
          assertTrue(dashboardNames.contains("nullStatusDashboard"));
          assertEquals(activeDashboards.size(), 2);
      }
test_case.class_method_signature: DashboardRepositoryImplTest.transientAndDeletedDashboardsAreNotReturnedTest()
test_case.full_signature: @Ignore @Test public void transientAndDeletedDashboardsAreNotReturnedTest()
test_case.identifier: transientAndDeletedDashboardsAreNotReturnedTest
test_case.invocations: getActiveDashboards collect map stream toList assertTrue contains assertTrue contains assertEquals size
test_case.modifiers: @Ignore @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void transientAndDeletedDashboardsAreNotReturnedTest()
focal_class.declarator: mongoTemplate
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private MongoTemplate mongoTemplate;
focal_class.type: MongoTemplate
focal_class.var_name: mongoTemplate
focal_class.declarator: gridFsTemplate
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private GridFsTemplate gridFsTemplate;
focal_class.type: GridFsTemplate
focal_class.var_name: gridFsTemplate
focal_class.declarator: DASHBOARD_FIELDS = new HashMap<>() {
          {
              for (final Field f : Dashboard.class.getDeclaredFields()) {
                  put(f.getName(), "$" + f.getName());
              }
              remove("id");
          }
      }
focal_class.modifier: private static final
focal_class.original_string: private static final Map<String, String> DASHBOARD_FIELDS = new HashMap<>() {
          {
              for (final Field f : Dashboard.class.getDeclaredFields()) {
                  put(f.getName(), "$" + f.getName());
              }
              remove("id");
          }
      };
focal_class.type: Map<String, String>
focal_class.var_name: DASHBOARD_FIELDS
focal_class.file: mirrorgate-api/src/main/java/com/bbva/arq/devops/ae/mirrorgate/repository/DashboardRepositoryImpl.java
focal_class.identifier: DashboardRepositoryImpl
focal_class.interfaces: implements DashboardRepositoryCustom
focal_class.class_method_signature: DashboardRepositoryImpl.firstDashboardFields(final GroupOperation operation)
focal_class.full_signature: private static GroupOperation firstDashboardFields(final GroupOperation operation)
focal_class.identifier: firstDashboardFields
focal_class.modifiers: private static
focal_class.parameters: (final GroupOperation operation)
focal_class.return: GroupOperation
focal_class.signature: GroupOperation firstDashboardFields(final GroupOperation operation)
focal_class.class_method_signature: DashboardRepositoryImpl.getActiveAndTransientDashboards()
focal_class.full_signature: @Override public List<Dashboard> getActiveAndTransientDashboards()
focal_class.identifier: getActiveAndTransientDashboards
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<Dashboard>
focal_class.signature: List<Dashboard> getActiveAndTransientDashboards()
focal_class.class_method_signature: DashboardRepositoryImpl.getActiveDashboards()
focal_class.full_signature: @Override public List<Dashboard> getActiveDashboards()
focal_class.identifier: getActiveDashboards
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<Dashboard>
focal_class.signature: List<Dashboard> getActiveDashboards()
focal_class.class_method_signature: DashboardRepositoryImpl.getDashboardsNotInStatus(final DashboardStatus... status)
focal_class.full_signature: private List<Dashboard> getDashboardsNotInStatus(final DashboardStatus... status)
focal_class.identifier: getDashboardsNotInStatus
focal_class.modifiers: private
focal_class.parameters: (final DashboardStatus... status)
focal_class.return: List<Dashboard>
focal_class.signature: List<Dashboard> getDashboardsNotInStatus(final DashboardStatus... status)
focal_class.class_method_signature: DashboardRepositoryImpl.saveFile(final InputStream image, final String name)
focal_class.full_signature: @Override public void saveFile(final InputStream image, final String name)
focal_class.identifier: saveFile
focal_class.modifiers: @Override public
focal_class.parameters: (final InputStream image, final String name)
focal_class.return: void
focal_class.signature: void saveFile(final InputStream image, final String name)
focal_class.class_method_signature: DashboardRepositoryImpl.readFile(final String name)
focal_class.full_signature: @Override public InputStreamResource readFile(final String name)
focal_class.identifier: readFile
focal_class.modifiers: @Override public
focal_class.parameters: (final String name)
focal_class.return: InputStreamResource
focal_class.signature: InputStreamResource readFile(final String name)
focal_method.body: @Override
      public List<Dashboard> getActiveDashboards() {
          return getDashboardsNotInStatus(DELETED, TRANSIENT);
      }
focal_method.class_method_signature: DashboardRepositoryImpl.getActiveDashboards()
focal_method.full_signature: @Override public List<Dashboard> getActiveDashboards()
focal_method.identifier: getActiveDashboards
focal_method.invocations: getDashboardsNotInStatus
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: List<Dashboard>
focal_method.signature: List<Dashboard> getActiveDashboards()