|
48 | 48 | visualization, |
49 | 49 | thumbnails, |
50 | 50 | ) |
| 51 | + |
51 | 52 | # setup loggers |
52 | 53 | # logging.config.fileConfig('logging.conf', disable_existing_loggers=False) |
53 | 54 | from app.search.config import indexSettings |
|
56 | 57 | logger = logging.getLogger(__name__) |
57 | 58 |
|
58 | 59 | app = FastAPI( |
59 | | - title=settings.APP_NAME, openapi_url=f"{settings.API_V2_STR}/openapi.json", |
| 60 | + title=settings.APP_NAME, |
| 61 | + openapi_url=f"{settings.API_V2_STR}/openapi.json", |
60 | 62 | description="A cloud native data management framework to support any research domain. Clowder was " |
61 | | - "developed to help researchers and scientists in data intensive domains manage raw data, complex " |
62 | | - "metadata, and automatic data pipelines. ", |
| 63 | + "developed to help researchers and scientists in data intensive domains manage raw data, complex " |
| 64 | + "metadata, and automatic data pipelines. ", |
63 | 65 | version="2.0.0-beta.1", |
64 | 66 | contact={"name": "Clowder", "url": "https://clowderframework.org/"}, |
65 | 67 | license_info={ |
|
189 | 191 | tags=["thumbnails"], |
190 | 192 | dependencies=[Depends(get_current_username)], |
191 | 193 | ) |
192 | | -api_router.include_router( |
193 | | - status.router, |
194 | | - prefix="/status", |
195 | | - tags=["status"] |
196 | | -) |
| 194 | +api_router.include_router(status.router, prefix="/status", tags=["status"]) |
197 | 195 | api_router.include_router(keycloak.router, prefix="/auth", tags=["auth"]) |
198 | 196 | app.include_router(api_router, prefix=settings.API_V2_STR) |
199 | 197 |
|
|
0 commit comments