Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump jackson-databind from 2.13.3 to 2.13.4.1 in /packages/openscore-core-quarkus #83

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
8aaeda7
Os 67 (#75)
adrielparedes Sep 30, 2022
f6e09b8
Os 71 (#76)
adrielparedes Sep 30, 2022
ce3f50f
Se agrega el package.json para ejeutar el profile de dev en el core
adrielparedes Sep 30, 2022
983507a
Se agrega el login y la redirección al home, falta guardar el token y…
adrielparedes Oct 2, 2022
d69e485
Se agrega el guardado del token
adrielparedes Oct 2, 2022
64e92ab
Se agrega una primera pantalla de pronosticos con los servicios inclu…
adrielparedes Oct 2, 2022
eb18c0d
Se acomodan los eventos del useEffect
adrielparedes Oct 3, 2022
a5965d5
Se agrega una pagina para cuando no hay contenido
adrielparedes Oct 3, 2022
927d62a
Se agregan los toasts para mostrar informacion
adrielparedes Oct 3, 2022
3b746ce
Se agregan las fechas de los partidos, falta mejorar
adrielparedes Oct 4, 2022
d2af9e2
Se agrega un estado de carga para los pronosticos
adrielparedes Oct 6, 2022
dc5ac74
Se acomodan las fechas entre el servidor y el cliente
adrielparedes Oct 6, 2022
015a0a9
se agregan los partidos del mundial
adrielparedes Oct 11, 2022
96e859d
Se elimina el core y se agregan todos los partidos con las fechas cor…
adrielparedes Oct 11, 2022
67662f1
Se arregla la fecha del partido
adrielparedes Oct 11, 2022
2f56e24
Se agrega el admin de teams y matches
adrielparedes Oct 11, 2022
8bc35a6
Se agregan las dos primeras pantallas de Admin
adrielparedes Oct 12, 2022
ba9c4e5
Se agregan paginados a los partidos
adrielparedes Oct 12, 2022
d5c8063
Se mejora la paginacion
adrielparedes Oct 12, 2022
4b0a3f8
Se agrega el countdown
adrielparedes Oct 12, 2022
53c79e8
Se mejora el estilo de la tarjeta del partido
adrielparedes Oct 12, 2022
074ded1
Se mejora la vista de la tarjeta
adrielparedes Oct 12, 2022
16f39dd
Se cambia un poco la tarjeta del partido
adrielparedes Oct 12, 2022
dccfeb3
Se mejoran los servicios de pronosticos y de resultados
adrielparedes Oct 14, 2022
89ac6cc
Se agregan los estados de colores a los partidos
adrielparedes Oct 14, 2022
70ef378
Se agergan el equema de colores para identificar los ganadores y perd…
adrielparedes Oct 14, 2022
f33bd4f
Se acomoda el resultado con los penales incluidos
adrielparedes Oct 15, 2022
95bb389
Bump jackson-databind in /packages/openscore-core-quarkus
dependabot[bot] Oct 19, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions 2022-10-02.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# 2022-10-02
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@openscore",
"name": "openscore",
"version": "1.0.0",
"main": "index.js",
"repository": "",
Expand Down
5 changes: 5 additions & 0 deletions packages/openscore-core-quarkus/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*
!target/*-runner
!target/*-runner.jar
!target/lib/*
!target/quarkus-app/*
40 changes: 40 additions & 0 deletions packages/openscore-core-quarkus/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#Maven
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
release.properties
.flattened-pom.xml

# Eclipse
.project
.classpath
.settings/
bin/

# IntelliJ
.idea
*.ipr
*.iml
*.iws

# NetBeans
nb-configuration.xml

# Visual Studio Code
.vscode
.factorypath

# OSX
.DS_Store

# Vim
*.swp
*.swo

# patch
*.orig
*.rej

# Local environment
.env
1 change: 1 addition & 0 deletions packages/openscore-core-quarkus/.mvn/wrapper/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
maven-wrapper.jar
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

import java.net.*;
import java.io.*;
import java.nio.channels.*;
import java.util.Properties;

public class MavenWrapperDownloader
{
private static final String WRAPPER_VERSION = "3.1.1";

/**
* Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided.
*/
private static final String DEFAULT_DOWNLOAD_URL =
"https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/" + WRAPPER_VERSION
+ "/maven-wrapper-" + WRAPPER_VERSION + ".jar";

/**
* Path to the maven-wrapper.properties file, which might contain a downloadUrl property to use instead of the
* default one.
*/
private static final String MAVEN_WRAPPER_PROPERTIES_PATH = ".mvn/wrapper/maven-wrapper.properties";

/**
* Path where the maven-wrapper.jar will be saved to.
*/
private static final String MAVEN_WRAPPER_JAR_PATH = ".mvn/wrapper/maven-wrapper.jar";

/**
* Name of the property which should be used to override the default download url for the wrapper.
*/
private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl";

public static void main( String args[] )
{
System.out.println( "- Downloader started" );
File baseDirectory = new File( args[0] );
System.out.println( "- Using base directory: " + baseDirectory.getAbsolutePath() );

// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File( baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH );
String url = DEFAULT_DOWNLOAD_URL;
if ( mavenWrapperPropertyFile.exists() )
{
FileInputStream mavenWrapperPropertyFileInputStream = null;
try
{
mavenWrapperPropertyFileInputStream = new FileInputStream( mavenWrapperPropertyFile );
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load( mavenWrapperPropertyFileInputStream );
url = mavenWrapperProperties.getProperty( PROPERTY_NAME_WRAPPER_URL, url );
}
catch ( IOException e )
{
System.out.println( "- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'" );
}
finally
{
try
{
if ( mavenWrapperPropertyFileInputStream != null )
{
mavenWrapperPropertyFileInputStream.close();
}
}
catch ( IOException e )
{
// Ignore ...
}
}
}
System.out.println( "- Downloading from: " + url );

File outputFile = new File( baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH );
if ( !outputFile.getParentFile().exists() )
{
if ( !outputFile.getParentFile().mkdirs() )
{
System.out.println( "- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath()
+ "'" );
}
}
System.out.println( "- Downloading to: " + outputFile.getAbsolutePath() );
try
{
downloadFileFromURL( url, outputFile );
System.out.println( "Done" );
System.exit( 0 );
}
catch ( Throwable e )
{
System.out.println( "- Error downloading" );
e.printStackTrace();
System.exit( 1 );
}
}

private static void downloadFileFromURL( String urlString, File destination )
throws Exception
{
if ( System.getenv( "MVNW_USERNAME" ) != null && System.getenv( "MVNW_PASSWORD" ) != null )
{
String username = System.getenv( "MVNW_USERNAME" );
char[] password = System.getenv( "MVNW_PASSWORD" ).toCharArray();
Authenticator.setDefault( new Authenticator()
{
@Override
protected PasswordAuthentication getPasswordAuthentication()
{
return new PasswordAuthentication( username, password );
}
} );
}
URL website = new URL( urlString );
ReadableByteChannel rbc;
rbc = Channels.newChannel( website.openStream() );
FileOutputStream fos = new FileOutputStream( destination );
fos.getChannel().transferFrom( rbc, 0, Long.MAX_VALUE );
fos.close();
rbc.close();
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar
1 change: 1 addition & 0 deletions packages/openscore-core-quarkus/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker run --name openscore-db -p 5432:5432 -e POSTGRES_PASSWORD=0p3nsc0r3 -e POSTGRES_USER=postgres -d postgres
Loading