-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: analyse command * feat: iter over datasource * feat: analyse extraction * feat: lino analyse * feat: add extractor for oracle, mysql and db2 database * fix: remove ; at the end of SQL Query * docs: update changelog and readme --------- Co-authored-by: Adrien Aury <[email protected]> Co-authored-by: Adrien Aury <[email protected]>
- Loading branch information
1 parent
dba5981
commit 8db698f
Showing
15 changed files
with
747 additions
and
22 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// Copyright (C) 2021 CGI France | ||
// | ||
// This file is part of LINO. | ||
// | ||
// LINO is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// LINO is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with LINO. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
package main | ||
|
||
import ( | ||
infra "github.com/cgi-fr/lino/internal/infra/analyse" | ||
domain "github.com/cgi-fr/lino/pkg/analyse" | ||
) | ||
|
||
func analyseDataSourceFactory() map[string]domain.ExtractorFactory { | ||
return map[string]domain.ExtractorFactory{ | ||
"postgres": infra.NewSQLExtractorFactory(), | ||
"godror": infra.NewSQLExtractorFactory(), | ||
"godror-raw": infra.NewSQLExtractorFactory(), | ||
"mysql": infra.NewSQLExtractorFactory(), | ||
"db2": infra.NewSQLExtractorFactory(), | ||
} | ||
} | ||
|
||
func analyserFactory() domain.AnalyserFactory { | ||
return infra.RimoAnalyserFactory{} | ||
} |
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
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
Oops, something went wrong.