Release History

Release History

Data format is : YYYY-MM-DD
Version format is : major.minor.patch

2.2.1-RELEASE ( 2019-03-21 )

  1. Access Java API

    • com.poscoict.app.glue.master.access.PosMasterDataFactory 수정
      라이센스 체크 전에 GlueMaster 솔루션명 세팅

      //수정전
      private final PosMasterDataManager initializeManager()
      {
          ...
          try
          {   
              accessContext = new ClassPathXmlApplicationContext( ACCESS_CONFIG_LOCATION );
              manager = accessContext.getBean( MASTER_MANAGER_BEAN_NAME, PosMasterDataManager.class );
          } catch ( BeansException be )
          ...
          return manager;
      }
      
      //수정후
      private final PosMasterDataManager initializeManager()
      {
          ...
          try
          {        	         	
              GlueSolution.set(Solution.GlueMaster);
              accessContext = new ClassPathXmlApplicationContext( ACCESS_CONFIG_LOCATION );
              manager = accessContext.getBean( MASTER_MANAGER_BEAN_NAME, PosMasterDataManager.class );
          } catch ( BeansException be )
          ...
          return manager;
      }
      
    • com.poscoict.app.glue.master.access.util.license.LicenseManager 수정
      라이센스 체크시 GlueMaster 솔루션명 세팅하여 호출

      //수정전
      public static LicenseAPI getLicenseAPI( String licenseXmlFilePath ) throws Exception
      {
          ...
          LicenseAPI.initialize( new LicenseLogger(), licenseXmlFilePath, LicenseManager.class );
          licenseAPI = LicenseAPI.getInstance();
          licenseMode = licenseAPI.getLicenseMode();
          ...
          return licenseAPI;
      }
      
      //수정후
      public static LicenseAPI getLicenseAPI( String licenseXmlFilePath ) throws Exception
      {
          ...
          LicenseAPI.initialize( new LicenseLogger(), licenseXmlFilePath, LicenseManager.class );
          licenseAPI = LicenseAPI.getInstance();
          licenseMode = licenseAPI.getLicenseMode();
          licenseMode = licenseAPI.getLicenseMode(Solution.GlueMaster);
          ...
          return licenseAPI;
      }
      
  2. Manager

    • glue-core 라이브러리 변경 ( 4.2.7 -> 4.2.13 )
    • 마스터관리 - Access 관리에서 메인여부 칼럼 저장 안되던 부분 수정
    • com.poscoict.app.glue.master.web.MasterSessionCheckFilter 수정
      //수정전
      public void init( FilterConfig filterConfig ) throws ServletException
      {
          ...
          boolean licenseCheck = GlueStaticContext.checkLicense();
          if ( licenseCheck )
          {
              if ( LicenseManager.checkLicenseMode() == 0 )
              {
                  m_logger.info( "{}", LicenseManager.getLicenseMode() );
              } else
              {
                  m_logger.info( "{} --> check license!!", LicenseManager.getLicenseMode() );
              }
          } else
          {
              m_logger.info( "{} --> check license!!", GlueStaticContext.getLicenseMode() );
          }
      }
      
      //수정후
      public void init( FilterConfig filterConfig ) throws ServletException
      {
          ...
          GlueSolution.set(Solution.GlueMaster);
          boolean licenseCheck = GlueStaticContext.checkLicense();
          if ( licenseCheck )
          {
              if ( LicenseManager.checkLicenseMode() == 0 )
              {
                  m_logger.info( "License Mode [{}]", LicenseManager.getLicenseMode() );
              } else
              {
                  m_logger.info( "License Mode [{}] --> check license!!", LicenseManager.getLicenseMode() );
              }
          } else
          {    	
              m_logger.info( "License Mode [{}] --> check license!!", GlueStaticContext.getLicenseMode() );
          }
      }