Skip to content
Branch: master
Commits on Oct 15, 2019
  1. Use a single database container for all tests (#313)

    hstonec committed Oct 15, 2019
Commits on Oct 11, 2019
  1. Write ClaimsList to Cloud SQL (#223)

    hstonec committed Oct 11, 2019
    * Rewrite ClaimsListShard with new API
    * Write ClaimsList to Cloud SQL
    * Add creationTimestamp
Commits on Oct 9, 2019
  1. Add support for nomulus tool to connect to Cloud SQL (#303)

    hstonec committed Oct 9, 2019
Commits on Oct 8, 2019
  1. Implement ZonedDateTimeConverter (#287)

    hstonec committed Oct 8, 2019
    * Implement ZonedDateTimeConverter
    * Use dedicated TestEntity for ZonedDateTimeConverterTest
Commits on Sep 27, 2019
  1. Add Cloud SQL configs for nomulus tool (#288)

    hstonec committed Sep 27, 2019
    We will use a different user for nomulus tool to connect to Cloud SQL. 
    This PR added corresponding configurations for that.
  2. Add sql scripts to create other types of user (#283)

    hstonec committed Sep 27, 2019
    1. User with read-only permission to all tables
    2. User with read-write permission to schema and all tables
  3. Add socket factory as runtime dependency (#286)

    hstonec committed Sep 27, 2019
    * Add Cloud SQL socket factory as runtime dependency
    * Lock update from
Commits on Sep 24, 2019
  1. Add JpaTransactionManagerRule (#277)

    hstonec committed Sep 24, 2019
    * Add RegistryRuntime and JpaTransactionManagerRule
    * Revert RegistryJavaRuntime change
    * Add JpaTransactionManager interface
Commits on Sep 23, 2019
  1. Make project core depend on db at test runtime (#278)

    hstonec committed Sep 23, 2019
    This PR also upgraded the version of Guava to 28.1-jre to
    resolve missing stream package issue.
Commits on Sep 20, 2019
  1. Add sql files to manage nomulus user (#274)

    hstonec committed Sep 20, 2019
Commits on Sep 19, 2019
  1. Implement JpaTransactionManager (#268)

    hstonec committed Sep 19, 2019
Commits on Sep 11, 2019
  1. Add configurations for Cloud SQL secrets (#266)

    hstonec committed Sep 11, 2019
Commits on Sep 4, 2019
  1. Consolidate EntityManagerFactoryProviderTest (#253)

    hstonec committed Sep 4, 2019
    Check if EntityManagerFactory is null before calling close() to avoid NullPointerException.
Commits on Aug 29, 2019
  1. Set up database connection pool (#234)

    hstonec committed Aug 29, 2019
    Set up database connection pool
Commits on Aug 26, 2019
  1. Add sql schema and entity class for ClaimsList (#227)

    hstonec committed Aug 26, 2019
Commits on Aug 20, 2019
  1. Remove hardcoded Java home path (#235)

    hstonec committed Aug 20, 2019
Commits on Aug 14, 2019
  1. Add Hibernate and PostgreSQL packages (#224)

    hstonec committed Aug 14, 2019
Commits on Aug 7, 2019
  1. Implement TransactionManager for datastore (#207)

    hstonec committed Aug 7, 2019
    This PR created the new interface named TransactionManager which defines
    methods to manage transaction. Also, the access to all transaction related
    methods of are restricted to package private, and they will be exposed
    by DatastoreTransactionManager which is the datastore implementation of
Commits on Aug 2, 2019
  1. Use OpenJDK8 for Gradle build (#210)

    hstonec committed Aug 2, 2019
Commits on Aug 1, 2019
  1. Hard code webdriver docker version (#208)

    hstonec committed Aug 1, 2019
Commits on Jul 26, 2019
  1. Fix deploying to alpha from workstation (#198)

    hstonec committed Jul 26, 2019
    appengineDeployAll requires appengine.deploy.version to be set
    otherwiese the deployment would fail.
Commits on Jul 23, 2019
  1. Bring back the old GoogleCredential for Drive API (#187)

    hstonec committed Jul 23, 2019
    Using the new GoogleCredentials to access Drive API caused 403 forbidden
    exception. So, this PR brought back the old GoogleCredential to
    temporarily resolve the production issue while we are figuring out the
    long term fix.
    TESTED=Deployed to alpha and verified exportPremiumTerms succeeded, see
Commits on Jul 15, 2019
  1. Fix permission issue in Beam pipeline deployment (#170)

    hstonec committed Jul 15, 2019
Commits on Jul 9, 2019
  1. Add a 30s timeout for all webdriver tests (#161)

    hstonec committed Jul 9, 2019
    Sometimes, the webdriver tests get stuck forever for no reason. It could
    be some issue in the test container but it is hard to root cause it. So,
    adding a 30s timeout can either trigger the retry earlier or let the
    test just fail.
  2. Read golden images from src directly (#159)

    hstonec committed Jul 9, 2019
    This PR prevents Gradle from copying the golden images
    to build/resources/test, so the screenshot test would
    read golden images from src/test/resources directly and
    display the path in test log if the test fails. Because
    the path pointing to the actual file in src/ folder,
    the engineer can easily find it.
Commits on Jul 3, 2019
  1. Remove injected credentials from invoice pipeline (#155)

    hstonec committed Jul 3, 2019
    We got non-serialization object error when deploying the invoicing
    pipeline. It turns out that Beam requires every field in the pipeline
    object is serilizable. However, it is non-trivial to make
    GoogleCredentialsBundle serilizable because almost all of its
    dependency are not serilizable and not contraled by us. Also,
    it is non-necessary to inject the credential as the spec11
    pipeline also writes output to GCS without having injected
    credential. So, removing the injected variable can solve the
    TESTED=First reproduced the problem locally by deploying the invoicing pipeline with the previous code; applied this change and successfully deploy the pipeline without having any issue.
Commits on Jul 2, 2019
  1. Change button color to blue style (#150)

    hstonec committed Jul 2, 2019
  2. Replace deprecated GoogleCredential with new auth lib (#129)

    hstonec committed Jul 2, 2019
    Replace deprecated GoogleCredential with new lib
    This PR also introduced a CredentialsBundle class to carry
    HttpTransport and JsonFactory object which are needed by
    most of the GCP library to instantiate client.
Commits on Jun 26, 2019
  1. Stop provisioning RegistryEnvironment from Dagger (#140)

    hstonec committed Jun 26, 2019
    We found that some webdriver tests failed because RegistryEnvironment
    was set to 'production' by other test and was carried over to the
    webdriver test, and it was nontrivial to fix them because the instance
    of RegistryEnvironment was injected into the testing web server.
    Also, to eliminate this problem from potential victims, we stopped
    provisioning RegistryEnvironment from Dagger. Instead, we just use
    RegistryEnvironment.get() function to get the instance, which indeed
    retrives the value from system property every time. If any test case
    needs to run the test with other environment, it can just simply use
    the existing SystemPropertyRule and RegistryEnvironment.${ENV}.setup
    to change it.
Commits on Jun 18, 2019
  1. Merge pull request #122 from hstonec/upgrade-google-auth-lib

    hstonec committed Jun 18, 2019
    Upgrade google-auth-library-java to latest version
  2. Upgrade google-auth-library-java to latest version

    hstonec committed Jun 18, 2019
    This is a preparation for replacing the deprecated GoogleCredential
  3. Merge pull request #105 from hstonec/deploy-beam-from-gcb

    hstonec committed Jun 18, 2019
    Add a CloudBuild task to deploy Beam pipeline
  4. Consolidate testcontainer used by WebDriver test (#112)

    hstonec committed Jun 18, 2019
    * Consolidate testcontainer used by WebDriver test
    Previously, we hard coded the version of the docker image for
    provisioning Chrome browser and WebDriver server because the
    version of the Chrome browser has to match the version of
    the webdriver client, otherwise the screenshot test will fail.
    Changing to use BrowserWebDriverContainer can delegate the match
    to the library itself because it chooses the correct docker image
    version based on the WebDriver version on our classpath.
    * Increase maxColorDiff to 20
    This is to supress the test flakness after switching to use
    BrowserWebDriverContainer to provision browser and webdriver
  5. Add a CloudBuild task to deploy Beam pipeline

    hstonec committed Jun 13, 2019
Commits on Jun 13, 2019
  1. Merge pull request #96 from google/sc/fix-uber-jar

    hstonec committed Jun 13, 2019
    Use ShadowJar plugin to generate uber jar
You can’t perform that action at this time.